From 3026be2ee8383082dd0cbfd74a6e2440d921895a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 22 Aug 2023 07:15:31 +0000 Subject: [PATCH] Deploy to GitHub pages --- 3rdpartylicenses.txt | 1043 +++++++++++++++++++++++++++++++++ 404.html | 15 + assets/github.svg | 6 + assets/logo.svg | 1 + favicon.ico | Bin 0 -> 15086 bytes index.html | 15 + main.f4ad26f81d191fce.js | 32 + polyfills.7ef5cb68fba64374.js | 1 + runtime.d599c23de0356b38.js | 1 + styles.0bbf3566e012195a.css | 1 + 10 files changed, 1115 insertions(+) create mode 100644 3rdpartylicenses.txt create mode 100644 404.html create mode 100644 assets/github.svg create mode 100644 assets/logo.svg create mode 100644 favicon.ico create mode 100644 index.html create mode 100644 main.f4ad26f81d191fce.js create mode 100644 polyfills.7ef5cb68fba64374.js create mode 100644 runtime.d599c23de0356b38.js create mode 100644 styles.0bbf3566e012195a.css diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt new file mode 100644 index 00000000..337a9991 --- /dev/null +++ b/3rdpartylicenses.txt @@ -0,0 +1,1043 @@ +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2023 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/localize +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2023 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/router +MIT + +@apollo/client +MIT +The MIT License (MIT) + +Copyright (c) 2022 Apollo Graph, Inc. (Formerly Meteor Development Group, Inc.) + +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. + + + +@apollo/client/cache + +@apollo/client/core + +@apollo/client/errors + +@apollo/client/link/core + +@apollo/client/link/http + +@apollo/client/link/utils + +@apollo/client/utilities + +@apollo/client/utilities/globals + +@ecodev/natural +MIT + +@ecodev/natural-editor +MIT + +@ngbracket/ngx-layout +MIT + +@wry/context +MIT +MIT License + +Copyright (c) 2019-2021 Ben Newman + +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. + + +@wry/equality +MIT +MIT License + +Copyright (c) 2019 Ben Newman + +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. + + +@wry/trie +MIT +MIT License + +Copyright (c) 2019-2021 Ben Newman + +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. + + +apollo-angular +MIT +The MIT License (MIT) + +Copyright (c) 2015 - 2020 Kamil Kisiela + +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. + + +crelt +MIT +Copyright (C) 2020 by Marijn Haverbeke + +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. + + +graphql +MIT +MIT License + +Copyright (c) GraphQL Contributors + +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. + + +graphql-tag +MIT +The MIT License (MIT) + +Copyright (c) 2021 Apollo Graph, Inc. (Formerly Meteor Development Group, Inc.) + +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. + + +lodash-es +MIT +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +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. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +optimism +MIT +MIT License + +Copyright (c) 2016 Ben Newman + +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. + + +orderedmap +MIT +Copyright (C) 2016 by Marijn Haverbeke and others + +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. + + +prosemirror-commands +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-dropcursor +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-gapcursor +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-history +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-inputrules +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-keymap +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-menu +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-model +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-schema-basic +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-schema-list +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-state +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-tables +MIT +Copyright (C) 2015-2016 by Marijn Haverbeke and others + +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. + + +prosemirror-transform +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +prosemirror-view +MIT +Copyright (C) 2015-2017 by Marijn Haverbeke and others + +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. + + +rope-sequence +MIT +Copyright (C) 2016 by Marijn Haverbeke + +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. + + +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. + + + +ts-invariant +MIT +MIT License + +Copyright (c) 2019 Apollo GraphQL + +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. + + +ts-invariant/process + +w3c-keyname +MIT +Copyright (C) 2016 by Marijn Haverbeke and others + +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. + + +zen-observable-ts +MIT +The MIT License (MIT) + +Copyright (c) 2021 Apollo Graph, Inc. (Formerly Meteor Development Group, Inc.) + +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. + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2023 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/404.html b/404.html new file mode 100644 index 00000000..e2e0ed1e --- /dev/null +++ b/404.html @@ -0,0 +1,15 @@ + + + + + @ecodev/natural + + + + + + + + + + diff --git a/assets/github.svg b/assets/github.svg new file mode 100644 index 00000000..49884fa6 --- /dev/null +++ b/assets/github.svg @@ -0,0 +1,6 @@ + + GitHub icon + + diff --git a/assets/logo.svg b/assets/logo.svg new file mode 100644 index 00000000..6bad313b --- /dev/null +++ b/assets/logo.svg @@ -0,0 +1 @@ +Logo \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..385abf38520299f18bd2e0ea28e6c1f8689e1a19 GIT binary patch literal 15086 zcmeHOd0dp`+8)D`-|29u&M&`|GG<{LS=>V05Jg}Bl`s>O9R_j3C0oo?L^cr-WmjA} zE(w%L7FlTvWvJ-M%%u!@5nfK`cfLAxJf~ARg52Nryvy(ojzCTSeBaOcb@$9W!#nr& z+|TvQyzhNos#F71cB+vhRT$N(Y8RDitV*R)tEJ-yRH_!d_5eoq{=$JORWAO(9e;yU zREY@oy6|uohr9p3TYMR))LK+UJB3zDQ4^yMeI-U6_G+x!7h$KY-|pez z>ixRti2b@41RJ~K0A6G9vMx5_APeW%h$`o}SqN9Nx0>C`D376^>a{tCKrwgfMozqBeHC zs!r)Tq)w?mtWF)I{G4C&9GD{!KOl$&a1(F~0o(-K1l$DN1l)8OQ5&zxQ0B@BaWrlp z6+j1_k`YN%g^@)yqDE~bU`C`6aML06e0mLWSd;pFttQn^`8mJlIWRjQ-tH%EdOco4 zM-nt&ypgDJlJjMUK5Q)Tcc%l|SOK$j+$l0{0&aR;vw)6h7VN0gEVAID{F%RGM7^UK zS9+0H@%@*NN;KveqEfSZmcYw7J|ZR0ye?O>Le;m-~oLRzXbZy7gzkgB8l1%_*vuyKSl>Vo&xSgjNjJkt;9|5J1?UToR^=kcV6LW>m0Bz-NEl`Z-L|Bx4GU{ zaMMQ%o$16PXF9pqr8{FZs5thbDt8eN~GGp^6mS=Uu{pSr#92V3WWeK{5UzHY7FO5Ep`yVCg; zZgk;kH>yq0NZ92$45j@(!NC1A<9F}4-BuBB(>b>n{(atUb+E1Yf&KU3NiE~|Nr@+o zih9eqKL_rME8XbwGwyU2>rfQ_h6+0BU;9oesyV&G^N=;7G5G38zyo z&oO>?^TaxCy5zo=F6-BQ`=x%}I9u@p_x<4a2Qu!@z!SONGVU*d`zzqS`n;aFReJgi zd@7u2xdx?Eyy+A7CF>mFO@fO;nZcZYx*T(O3`8Ms?s z&{ON`;naqB71!6 znPn?}c0TyM5qY#!5!AYN1ic)iu~>sV!!UY(R03T_ ztyw5|BG+4qn>g<*;znd&;YMbwZJh&ftAYDUH*USa6ISnT+}^-GlKAvd)V_WUonGNd zo5C#DV6Wdqx;%UheI@d{H{1l=#Er`7;zsAJv=u))AN`BDu_)+^te|m4}NWyiU#dlHd zq#6CiP29wM;`}!M#7*8DVKe^pQTKx12l$NMar3$U#OF?-_PnWdWy54Do8A3;z}BER zNKY4hR#D3s@WTfj7kQ$rw~U*Bn>hah;-(bTasgX@Z}S{Bj130A|1H*gJh(CuToLOn z~_<$e2h;E)pxKZs(;r zRGaZ7R34Y(;b9>;<3q;LD-27$(@tZ@5F9;)k%XF$;I1>1W znAagU#PQaL{>JZGCKhyYepc(P#7&%G8v*;@xv-+gZ9}h8@i~(p1iw$1>zz04j=1?P zGpK!QIGx`RM1@a0X1+Gf4tcng8d9b&FG!_60l6TkHd;MTGm#{1PH^6TPe(&H*7*BfQjz!Hy-29G2;wzJ>eW#JGmd4Zed3wqWdbk_^tTHF; z%P%B;%RC|QM6S1tn}D0R#NEUt?S7jx?s2er4y93ksQ35X^}Zc9Uuh(MXA1GV=2QFb z1$69%Ahrf({K6W{smPG{-4|}+lJ^j>|A4T$Ux&RpsI4rfx~)96tF0ogqpc#oqiuU) zN8661j<(8Vgt4P-=X`VUyHY#8D2~1P%HnYr*Y((!depla{Jsf(o4^y3#1j*jxXXlk zn}FK{%yQhs^JBKwpPm2J)+pDeZF6Te70ruiDvFM1DvpV0Dv6C~Dvd)V+!kMz#z!>f z%u*|JV{h64yDzYZ0edL0hk`4i;7Ta4hXSj$u(?;K#Blfd-3t6)s{jcPm8!2%HK=|7 zkxG?eXC85mN>y)HFOCE1RqJuwDvv7h_&P>^ynbCZMH*EqCmi2Eq2%#?9CzYa9tYvL z3&-+khhzMwlE(q;I0L?>9wYlBs>dJ7<9a-8#j!m4IHAB^aK zG5Z=C;34@_FDWhFLS8NAdr9_)DDo2W%6k7sc2ZW@;LyU!o~DD^c)<&z%qx3W;Quha zsa-VJB1sJ5(wg69zNy3Unl@p+mU#)fFCB-c;ll;aE1{nl;AJosO&Ue7nY|3m?_$mi zU3v)}(=Gkaaow^|bAmpeR7I-?ypfTb7$XUg&(bEaK5*Xt6(o2Z9%& zPO}(Zl|{^}BIjkE33v~d(}&J0s-SY|j z$6Ksd#=HQv!()+mxjbJvub_!ax?(xB&wlG|A1=@ZLZkf`^H0cm1)WpUIGN75CldW4 z=x7YXo^k%H&erlW&6{b*fBnpDwU<1{zDBI^eaL%+%~zRM*0PzV%D9jR4Tj|}2-MNB z;VBmSuauXNSJ1^Sy06LUE3fi>f)-&z?l9ZQeY_d+pLtCp~=mHHyT!U@X z+^NB1DfG)1h50J-GQCySbe`=kXV3RAUnAz*DddH=C+n#E8m2{h(bd&nv}3l&1J-*! z;xh}{<2rf1%DhZ(WO~dwXc|L$=DE``@(#g#&zbWwO-|Ag1uZUP3>{yn7y31f2jx?} z>4L}ebX6~Cw4#P3<`p%G(K(&att{?q@04499lG(ef)=RAD`-2=8QP(bTv_WwrB8}A zU|RC~J~7nd0e#XkudJ7$C%>_t8=u$jD|0+T}q!w+ag&1 zcnC2q_r$pQ-TFy)UP4}3dpH8UpuZK{qN8hm-_jV1_Awn z^*Gzm53e?g{a4iBr*{Hk4!8Ih-Z1ySMU8~z75lI=ioZe6oBdOZem#);Ui7uA#GW>^ z4=JzQgKsaMO=s2zQT`0(lN$2#u3+EfYty!!HTSN&^NPK8v0q)p#qGphMgJbqTtfMR z>Hpyi(f@~T!FvDZelB`+tOva>QQ(0oE9Acot-+-$74uc*C2qFRYi?tGq5fqD54X&) zN8Y17^NKy>Xlh3fwjn(Pze|spG7W*{=f%9NPb~IZV=8g?*8d0Q zI~V;_lh~7Fy=&G-m3n&ULvm$tv^&nzlo2>sxb8yVbfeHWy*)3X_UM)Fx`h5wzkiqb zk~x3Ed>btCqIb*hNJ07(>8Q~u1y#Qd|%N1&(wwPLJ*lyEhq1A>GNlo{z{V>j@t@Q^Gex-OLhga+`(>hc zcAAT=Y(U?v0sX!PE_rtY^0GLIsQxASFXTTt@M6JJ4i^g|9WHK(a=5s49wOQtUlzwX z0E7Ad3q8Ag(X+Eht?kjTvqzuN9yyiq$6u2F|Ks0^{Q{|LumYWu6@w^a{JzG?D0ussHy;0XBG20SIL{yFeFHDJ-~q>d&foq# z_mR}1iKG5;NNZ&037&3v=bPa@*Y*4i+#}u#5B7fMVP+m++$S)9Z$0kC{#oTYTks?^ z&pPwO!h3Ahw~q6IaUc5w^9r-;dtB>xYQyC$zqP~%?6iQe%_6z(~gmk-zco$!*S_B@{*>ftBan7562!{Dttl;lEN0-fp85zFDR z6Fh3nyK{r{*=SVt$Ym#&rSg zH~gO`1D4gd1a9jRv|Fa_hnMb$wtw4wG|toE`lDIUR-t3Ju;1V$uYc4A%}#BZUh+3+ zcTAIJn%6h@4)(W-p?FT7pb6sllWBmbv%+;}Iqbau1!jy8R{#J2 literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 00000000..e2e0ed1e --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + @ecodev/natural + + + + + + + + + + diff --git a/main.f4ad26f81d191fce.js b/main.f4ad26f81d191fce.js new file mode 100644 index 00000000..c7d0eb27 --- /dev/null +++ b/main.f4ad26f81d191fce.js @@ -0,0 +1,32 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179],{590:()=>{function vt(n){return"function"==typeof n}function _h(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Om=_h(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Wc(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class We{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(vt(i))try{i()}catch(o){t=o instanceof Om?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{QM(o)}catch(a){t=t??[],a instanceof Om?t=[...t,...a.errors]:t.push(a)}}if(t)throw new Om(t)}}add(t){var e;if(t&&t!==this)if(this.closed)QM(t);else{if(t instanceof We){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&Wc(e,t)}remove(t){const{_finalizers:e}=this;e&&Wc(e,t),t instanceof We&&t._removeParent(this)}}We.EMPTY=(()=>{const n=new We;return n.closed=!0,n})();const YM=We.EMPTY;function KM(n){return n instanceof We||n&&"closed"in n&&vt(n.remove)&&vt(n.add)&&vt(n.unsubscribe)}function QM(n){vt(n)?n():n.unsubscribe()}const El={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Rm={setTimeout(n,t,...e){const{delegate:i}=Rm;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=Rm;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function XM(n){Rm.setTimeout(()=>{const{onUnhandledError:t}=El;if(!t)throw n;t(n)})}function bh(){}const Z$=b0("C",void 0,void 0);function b0(n,t,e){return{kind:n,value:t,error:e}}let Ml=null;function Nm(n){if(El.useDeprecatedSynchronousErrorHandling){const t=!Ml;if(t&&(Ml={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Ml;if(Ml=null,e)throw i}}else n()}class v0 extends We{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,KM(t)&&t.add(this)):this.destination=aj}static create(t,e,i){return new vh(t,e,i)}next(t){this.isStopped?C0(function tj(n){return b0("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?C0(function ej(n){return b0("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?C0(Z$,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ij=Function.prototype.bind;function y0(n,t){return ij.call(n,t)}class rj{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Fm(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Fm(i)}else Fm(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Fm(e)}}}class vh extends v0{constructor(t,e,i){let r;if(super(),vt(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&El.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&y0(t.next,o),error:t.error&&y0(t.error,o),complete:t.complete&&y0(t.complete,o)}):r=t}this.destination=new rj(r)}}function Fm(n){El.useDeprecatedSynchronousErrorHandling?function nj(n){El.useDeprecatedSynchronousErrorHandling&&Ml&&(Ml.errorThrown=!0,Ml.error=n)}(n):XM(n)}function C0(n,t){const{onStoppedNotification:e}=El;e&&Rm.setTimeout(()=>e(n,t))}const aj={closed:!0,next:bh,error:function oj(n){throw n},complete:bh},Pm="function"==typeof Symbol&&Symbol.observable||"@@observable";function ka(n){return n}function JM(n){return 0===n.length?ka:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let rt=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function cj(n){return n&&n instanceof v0||function lj(n){return n&&vt(n.next)&&vt(n.error)&&vt(n.complete)}(n)&&KM(n)}(e)?e:new vh(e,i,r);return Nm(()=>{const{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=ZM(i))((r,o)=>{const a=new vh({next:s=>{try{e(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Pm](){return this}pipe(...e){return JM(e)(this)}toPromise(e){return new(e=ZM(e))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return n.create=t=>new n(t),n})();function ZM(n){var t;return null!==(t=n??El.Promise)&&void 0!==t?t:Promise}const dj=_h(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let q=(()=>{class n extends rt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new eT(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new dj}next(e){Nm(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Nm(()=>{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(){Nm(()=>{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:r,observers:o}=this;return i||r?YM:(this.currentObservers=null,o.push(e),new We(()=>{this.currentObservers=null,Wc(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new rt;return e.source=this,e}}return n.create=(t,e)=>new eT(t,e),n})();class eT extends q{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:YM}}class ft extends q{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function tT(n){return vt(n?.lift)}function qt(n){return t=>{if(tT(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Vt(n,t,e,i,r){return new uj(n,t,e,i,r)}class uj extends v0{constructor(t,e,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){t.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ue(n,t){return qt((e,i)=>{let r=0;e.subscribe(Vt(i,o=>{i.next(n.call(t,o,r++))}))})}var w0=function(n,t){return(w0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])})(n,t)};function Tl(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}w0(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}var oe=function(){return oe=Object.assign||function(t){for(var e,i=1,r=arguments.length;i0&&o[o.length-1])&&(6===c[0]||2===c[0])){e=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(a){return new Promise(function(s,l){!function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}(s,l,(a=n[o](a)).done,a.value)})}}}const S0=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function aT(n){return vt(n?.then)}function sT(n){return vt(n[Pm])}function lT(n){return Symbol.asyncIterator&&vt(n?.[Symbol.asyncIterator])}function cT(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const dT=function kj(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function uT(n){return vt(n?.[dT])}function hT(n){return function rT(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(h){i[h]&&(r[h]=function(p){return new Promise(function(v,y){o.push([h,p,v,y])>1||s(h,p)})})}function s(h,p){try{!function l(h){h.value instanceof vs?Promise.resolve(h.value.v).then(c,d):u(o[0][2],h)}(i[h](p))}catch(v){u(o[0][3],v)}}function c(h){s("next",h)}function d(h){s("throw",h)}function u(h,p){h(p),o.shift(),o.length&&s(o[0][0],o[0][1])}}(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield vs(e.read());if(r)return yield vs(void 0);yield yield vs(i)}}finally{e.releaseLock()}})}function fT(n){return vt(n?.getReader)}function ti(n){if(n instanceof rt)return n;if(null!=n){if(sT(n))return function Ej(n){return new rt(t=>{const e=n[Pm]();if(vt(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(S0(n))return function Mj(n){return new rt(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,XM)})}(n);if(lT(n))return pT(n);if(uT(n))return function Aj(n){return new rt(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(fT(n))return function Ij(n){return pT(hT(n))}(n)}throw cT(n)}function pT(n){return new rt(t=>{(function Oj(n,t){var e,i,r,o;return Lo(this,void 0,void 0,function*(){try{for(e=oT(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Ma(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function Gn(n,t,e=1/0){return vt(t)?Gn((i,r)=>ue((o,a)=>t(i,o,r,a))(ti(n(i,r))),e):("number"==typeof t&&(e=t),qt((i,r)=>function Rj(n,t,e,i,r,o,a,s){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&t.complete()},p=y=>c{o&&t.next(y),c++;let w=!1;ti(e(y,d++)).subscribe(Vt(t,k=>{r?.(k),o?p(k):t.next(k)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&cv(k)):v(k)}h()}catch(k){t.error(k)}}))};return n.subscribe(Vt(t,p,()=>{u=!0,h()})),()=>{s?.()}}(i,r,n,e)))}function Lm(n=1/0){return Gn(ka,n)}const vn=new rt(n=>n.complete());function mT(n){return n&&vt(n.schedule)}function k0(n){return n[n.length-1]}function gT(n){return vt(k0(n))?n.pop():void 0}function Yc(n){return mT(k0(n))?n.pop():void 0}function E0(n,t=0){return qt((e,i)=>{e.subscribe(Vt(i,r=>Ma(i,n,()=>i.next(r),t),()=>Ma(i,n,()=>i.complete(),t),r=>Ma(i,n,()=>i.error(r),t)))})}function _T(n,t=0){return qt((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function bT(n,t){if(!n)throw new Error("Iterable cannot be null");return new rt(e=>{Ma(e,t,()=>{const i=n[Symbol.asyncIterator]();Ma(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function yn(n,t){return t?function Hj(n,t){if(null!=n){if(sT(n))return function Pj(n,t){return ti(n).pipe(_T(t),E0(t))}(n,t);if(S0(n))return function Bj(n,t){return new rt(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(aT(n))return function Lj(n,t){return ti(n).pipe(_T(t),E0(t))}(n,t);if(lT(n))return bT(n,t);if(uT(n))return function Vj(n,t){return new rt(e=>{let i;return Ma(e,t,()=>{i=n[dT](),Ma(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>vt(i?.return)&&i.return()})}(n,t);if(fT(n))return function zj(n,t){return bT(hT(n),t)}(n,t)}throw cT(n)}(n,t):ti(n)}function dt(...n){const t=Yc(n),e=function Fj(n,t){return"number"==typeof k0(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?ti(i[0]):Lm(e)(yn(i,t)):vn}function ee(...n){return yn(n,Yc(n))}function Bm(n={}){const{connector:t=(()=>new q),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let a,s,l,c=0,d=!1,u=!1;const h=()=>{s?.unsubscribe(),s=void 0},p=()=>{h(),a=l=void 0,d=u=!1},v=()=>{const y=a;p(),y?.unsubscribe()};return qt((y,w)=>{c++,!u&&!d&&h();const k=l=l??t();w.add(()=>{c--,0===c&&!u&&!d&&(s=M0(v,r))}),k.subscribe(w),!a&&c>0&&(a=new vh({next:D=>k.next(D),error:D=>{u=!0,h(),s=M0(p,e,D),k.error(D)},complete:()=>{d=!0,h(),s=M0(p,i),k.complete()}}),ti(y).subscribe(a))})(o)}}function M0(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new vh({next:()=>{i.unsubscribe(),n()}});return ti(t(...e)).subscribe(i)}function xt(n,t){return qt((e,i)=>{let r=null,o=0,a=!1;const s=()=>a&&!r&&i.complete();e.subscribe(Vt(i,l=>{r?.unsubscribe();let c=0;const d=o++;ti(n(l,d)).subscribe(r=Vt(i,u=>i.next(t?t(l,u,d,c++):u),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function ys(n,t=ka){return n=n??$j,qt((e,i)=>{let r,o=!0;e.subscribe(Vt(i,a=>{const s=t(a);(o||!n(r,s))&&(o=!1,r=s,i.next(a))}))})}function $j(n,t){return n===t}function Pt(n){for(let t in n)if(n[t]===Pt)return t;throw Error("Could not find renamed property on target object.")}function Vm(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function qn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(qn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function T0(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const jj=Pt({__forward_ref__:Pt});function st(n){return n.__forward_ref__=st,n.toString=function(){return qn(this())},n}function Ge(n){return A0(n)?n():n}function A0(n){return"function"==typeof n&&n.hasOwnProperty(jj)&&n.__forward_ref__===st}function I0(n){return n&&!!n.\u0275providers}const vT="https://g.co/ng/security#xss";class z extends Error{constructor(t,e){super(function zm(n,t){return`NG0${Math.abs(n)}${t?": "+t:""}`}(t,e)),this.code=t}}function Ye(n){return"string"==typeof n?n:null==n?"":String(n)}function Hm(n,t){throw new z(-201,!1)}function Nt(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}function L(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Oe(n){return{providers:n.providers||[],imports:n.imports||[]}}function $m(n){return yT(n,jm)||yT(n,wT)}function yT(n,t){return n.hasOwnProperty(t)?n[t]:null}function CT(n){return n&&(n.hasOwnProperty(O0)||n.hasOwnProperty(Xj))?n[O0]:null}const jm=Pt({\u0275prov:Pt}),O0=Pt({\u0275inj:Pt}),wT=Pt({ngInjectableDef:Pt}),Xj=Pt({ngInjectorDef:Pt});var Fe=(()=>((Fe=Fe||{})[Fe.Default=0]="Default",Fe[Fe.Host=1]="Host",Fe[Fe.Self=2]="Self",Fe[Fe.SkipSelf=4]="SkipSelf",Fe[Fe.Optional=8]="Optional",Fe))();let R0;function xT(){return R0}function nr(n){const t=R0;return R0=n,t}function DT(n,t,e){const i=$m(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Fe.Optional?null:void 0!==t?t:void Hm(qn(n))}const Wt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),yh={},N0="__NG_DI_FLAG__",Um="ngTempTokenPath",Zj=/\n/gm,ST="__source";let Kc;function ws(n){const t=Kc;return Kc=n,t}function nU(n,t=Fe.Default){if(void 0===Kc)throw new z(-203,!1);return null===Kc?DT(n,void 0,t):Kc.get(n,t&Fe.Optional?null:void 0,t)}function I(n,t=Fe.Default){return(xT()||nU)(Ge(n),t)}function ne(n,t=Fe.Default){return I(n,Gm(t))}function Gm(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function F0(n){const t=[];for(let e=0;e((Bo=Bo||{})[Bo.OnPush=0]="OnPush",Bo[Bo.Default=1]="Default",Bo))(),ir=(()=>{return(n=ir||(ir={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",ir;var n})();const Vo={},Mt=[],qm=Pt({\u0275cmp:Pt}),P0=Pt({\u0275dir:Pt}),L0=Pt({\u0275pipe:Pt}),ET=Pt({\u0275mod:Pt}),Aa=Pt({\u0275fac:Pt}),wh=Pt({__NG_ELEMENT_ID__:Pt}),MT=Pt({__NG_ENV_ID__:Pt});function TT(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}function B0(n,t,e){let i=0;for(;it){a=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const p=8&i?h:null;if(p&&-1!==TT(p,c,0)||2&i&&c!==h){if(co(i))return!1;a=!0}}}}else{if(!a&&!co(i)&&!co(l))return!1;if(a&&co(l))continue;a=!1,i=l|1&i}}return co(i)||a}function co(n){return 0==(1&n)}function cU(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!co(a)&&(t+=PT(o,r),r=""),i=a,o=o||!co(i);e++}return""!==r&&(t+=PT(o,r)),t}function $(n){return Ta(()=>{const t=BT(n),e={...t,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Bo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||ir.Emulated,styles:n.styles||Mt,_:null,schemas:n.schemas||null,tView:null,id:""};VT(e);const i=n.dependencies;return e.directiveDefs=Wm(i,!1),e.pipeDefs=Wm(i,!0),e.id=function wU(n){let t=0;const e=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const r of e)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(e),e})}function bU(n){return At(n)||bi(n)}function vU(n){return null!==n}function Re(n){return Ta(()=>({type:n.type,bootstrap:n.bootstrap||Mt,declarations:n.declarations||Mt,imports:n.imports||Mt,exports:n.exports||Mt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function LT(n,t){if(null==n)return Vo;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}function R(n){return Ta(()=>{const t=BT(n);return VT(t),t})}function $i(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function At(n){return n[qm]||null}function bi(n){return n[P0]||null}function rr(n){return n[L0]||null}function xr(n,t){const e=n[ET]||null;if(!e&&!0===t)throw new Error(`Type ${qn(n)} does not have '\u0275mod' property.`);return e}function BT(n){const t={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:n.inputs||Vo,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||Mt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:LT(n.inputs,t),outputs:LT(n.outputs)}}function VT(n){n.features?.forEach(t=>t(n))}function Wm(n,t){if(!n)return null;const e=t?rr:bU;return()=>("function"==typeof n?n():n).map(i=>e(i)).filter(vU)}const Wn=0,be=1,Qe=2,cn=3,uo=4,Dh=5,vi=6,Xc=7,On=8,Jc=9,Il=10,Xe=11,Sh=12,zT=13,Zc=14,Rn=15,kh=16,ed=17,zo=18,Eh=19,HT=20,xs=21,Ia=22,Ym=23,Km=24,pt=25,V0=1,$T=2,Ho=7,td=9,yi=11;function Dr(n){return Array.isArray(n)&&"object"==typeof n[V0]}function or(n){return Array.isArray(n)&&!0===n[V0]}function z0(n){return 0!=(4&n.flags)}function Ol(n){return n.componentOffset>-1}function Xm(n){return 1==(1&n.flags)}function ho(n){return!!n.template}function H0(n){return 0!=(512&n[Qe])}function Rl(n,t){return n.hasOwnProperty(Aa)?n[Aa]:null}let MU=Wt.WeakRef??class EU{constructor(t){this.ref=t}deref(){return this.ref}},AU=0,$o=null,Jm=!1;function ni(n){const t=$o;return $o=n,t}class WT{constructor(){this.id=AU++,this.ref=function TU(n){return new MU(n)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,e]of this.producers){const i=e.producerNode.deref();if(void 0!==i&&e.atTrackingVersion===this.trackingVersion){if(i.producerPollStatus(e.seenValueVersion))return!0}else this.producers.delete(t),i?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Jm;Jm=!0;try{for(const[e,i]of this.consumers){const r=i.consumerNode.deref();void 0!==r&&r.trackingVersion===i.atTrackingVersion?r.onConsumerDependencyMayHaveChanged():(this.consumers.delete(e),r?.producers.delete(this.id))}}finally{Jm=t}}producerAccessed(){if(Jm)throw new Error("");if(null===$o)return;let t=$o.producers.get(this.id);void 0===t?(t={consumerNode:$o.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:$o.trackingVersion},$o.producers.set(this.id,t),this.consumers.set($o.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=$o.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==$o?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let YT=null;function KT(n){const t=ni(null);try{return n()}finally{ni(t)}}const QT=()=>{};class NU extends WT{constructor(t,e,i){super(),this.watch=t,this.schedule=e,this.dirty=!1,this.cleanupFn=QT,this.registerOnCleanup=r=>{this.cleanupFn=r},this.consumerAllowSignalWrites=i}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=ni(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=QT,this.watch(this.registerOnCleanup)}finally{ni(t)}}cleanup(){this.cleanupFn()}}class FU{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Je(){return XT}function XT(n){return n.type.prototype.ngOnChanges&&(n.setInput=LU),PU}function PU(){const n=ZT(this),t=n?.current;if(t){const e=n.previous;if(e===Vo)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function LU(n,t,e,i){const r=this.declaredInputs[e],o=ZT(n)||function BU(n,t){return n[JT]=t}(n,{previous:Vo,current:null}),a=o.current||(o.current={}),s=o.previous,l=s[r];a[r]=new FU(l&&l.currentValue,t,s===Vo),n[i]=t}Je.ngInherit=!0;const JT="__ngSimpleChanges__";function ZT(n){return n[JT]||null}const jo=function(n,t,e){},eA="svg";function Jt(n){for(;Array.isArray(n);)n=n[Wn];return n}function tg(n,t){return Jt(t[n])}function ar(n,t){return Jt(t[n.index])}function nA(n,t){return n.data[t]}function nd(n,t){return n[t]}function Sr(n,t){const e=t[n];return Dr(e)?e:e[Wn]}function Ds(n,t){return null==t?null:n[t]}function iA(n){n[ed]=0}function GU(n){1024&n[Qe]||(n[Qe]|=1024,oA(n,1))}function rA(n){1024&n[Qe]&&(n[Qe]&=-1025,oA(n,-1))}function oA(n,t){let e=n[cn];if(null===e)return;e[Dh]+=t;let i=e;for(e=e[cn];null!==e&&(1===t&&1===i[Dh]||-1===t&&0===i[Dh]);)e[Dh]+=t,i=e,e=e[cn]}function aA(n,t){if(256==(256&n[Qe]))throw new z(911,!1);null===n[xs]&&(n[xs]=[]),n[xs].push(t)}const je={lFrame:gA(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function lA(){return je.bindingsEnabled}function id(){return null!==je.skipHydrationRootTNode}function K(){return je.lFrame.lView}function Ct(){return je.lFrame.tView}function B(n){return je.lFrame.contextLView=n,n[On]}function V(n){return je.lFrame.contextLView=null,n}function ci(){let n=cA();for(;null!==n&&64===n.type;)n=n.parent;return n}function cA(){return je.lFrame.currentTNode}function Th(){const n=je.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}function Uo(n,t){const e=je.lFrame;e.currentTNode=n,e.isParent=t}function W0(){return je.lFrame.isParent}function Y0(){je.lFrame.isParent=!1}function ji(){const n=je.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Oa(){return je.lFrame.bindingIndex}function rd(){return je.lFrame.bindingIndex++}function Ra(n){const t=je.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function hA(n){je.lFrame.inI18n=n}function iG(n,t){const e=je.lFrame;e.bindingIndex=e.bindingRootIndex=n,K0(t)}function K0(n){je.lFrame.currentDirectiveIndex=n}function Q0(n){const t=je.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function fA(){return je.lFrame.currentQueryIndex}function X0(n){je.lFrame.currentQueryIndex=n}function oG(n){const t=n[be];return 2===t.type?t.declTNode:1===t.type?n[vi]:null}function pA(n,t,e){if(e&Fe.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&Fe.Host||(r=oG(o),null===r||(o=o[Zc],10&r.type))););if(null===r)return!1;t=r,n=o}const i=je.lFrame=mA();return i.currentTNode=t,i.lView=n,!0}function J0(n){const t=mA(),e=n[be];je.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function mA(){const n=je.lFrame,t=null===n?null:n.child;return null===t?gA(n):t}function gA(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function _A(){const n=je.lFrame;return je.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const bA=_A;function Z0(){const n=_A();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Ui(){return je.lFrame.selectedIndex}function Nl(n){je.lFrame.selectedIndex=n}function dn(){const n=je.lFrame;return nA(n.tView,n.selectedIndex)}function Ci(){je.lFrame.currentNamespace=eA}function Ss(){!function cG(){je.lFrame.currentNamespace=null}()}let yA=!0;function ng(){return yA}function ks(n){yA=n}function ig(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[ed]+=65536),(s>13>16&&(3&n[Qe])===t&&(n[Qe]+=8192,wA(s,o)):wA(s,o)}const od=-1;class Ah{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function xA(n){return n!==od}function ag(n){return 32767&n}function sg(n,t){let e=function mG(n){return n>>16}(n),i=t;for(;e>0;)i=i[Zc],e--;return i}let nC=!0;function lg(n){const t=nC;return nC=n,t}const DA=255,SA=5;let gG=0;const Go={};function cg(n,t){const e=kA(n,t);if(-1!==e)return e;const i=t[be];i.firstCreatePass&&(n.injectorIndex=t.length,iC(i.data,n),iC(t,null),iC(i.blueprint,null));const r=rC(n,t),o=n.injectorIndex;if(xA(r)){const a=ag(r),s=sg(r,t),l=s[be].data;for(let c=0;c<8;c++)t[o+c]=s[a+c]|l[a+c]}return t[o+8]=r,o}function iC(n,t){n.push(0,0,0,0,0,0,0,0,t)}function kA(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function rC(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=RA(r),null===i)return od;if(e++,r=r[Zc],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return od}function oC(n,t,e){!function _G(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(wh)&&(i=e[wh]),null==i&&(i=e[wh]=gG++);const r=i&DA;t.data[n+(r>>SA)]|=1<=0?t&DA:CG:t}(e);if("function"==typeof o){if(!pA(t,n,i))return i&Fe.Host?EA(r,0,i):MA(t,e,i,r);try{const a=o(i);if(null!=a||i&Fe.Optional)return a;Hm()}finally{bA()}}else if("number"==typeof o){let a=null,s=kA(n,t),l=od,c=i&Fe.Host?t[Rn][vi]:null;for((-1===s||i&Fe.SkipSelf)&&(l=-1===s?rC(n,t):t[s+8],l!==od&&OA(i,!1)?(a=t[be],s=ag(l),t=sg(l,t)):s=-1);-1!==s;){const d=t[be];if(IA(o,s,d.data)){const u=vG(s,t,e,a,i,c);if(u!==Go)return u}l=t[s+8],l!==od&&OA(i,t[be].data[s+8]===c)&&IA(o,s,t)?(a=d,s=ag(l),t=sg(l,t)):s=-1}}return r}function vG(n,t,e,i,r,o){const a=t[be],s=a.data[n+8],d=dg(s,a,e,null==i?Ol(s)&&nC:i!=a&&0!=(3&s.type),r&Fe.Host&&o===s);return null!==d?Fl(t,a,d,s):Go}function dg(n,t,e,i,r){const o=n.providerIndexes,a=t.data,s=1048575&o,l=n.directiveStart,d=o>>20,h=r?s+d:n.directiveEnd;for(let p=i?s:s+d;p=l&&v.type===e)return p}if(r){const p=a[l];if(p&&ho(p)&&p.type===e)return l}return null}function Fl(n,t,e,i){let r=n[e];const o=t.data;if(function hG(n){return n instanceof Ah}(r)){const a=r;a.resolving&&function Uj(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new z(-200,`Circular dependency in DI detected for ${n}${e}`)}(function Rt(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Ye(n)}(o[e]));const s=lg(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?nr(a.injectImpl):null;pA(n,i,Fe.Default);try{r=n[e]=a.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function dG(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const a=XT(t);(e.preOrderHooks??=[]).push(n,a),(e.preOrderCheckHooks??=[]).push(n,a)}r&&(e.preOrderHooks??=[]).push(0-n,r),o&&((e.preOrderHooks??=[]).push(n,o),(e.preOrderCheckHooks??=[]).push(n,o))}(e,o[e],t)}finally{null!==l&&nr(l),lg(s),a.resolving=!1,bA()}}return r}function IA(n,t,e){return!!(e[t+(n>>SA)]&1<{const t=n.prototype.constructor,e=t[Aa]||aC(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Aa]||aC(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function aC(n){return A0(n)?()=>{const t=aC(Ge(n));return t&&t()}:Rl(n)}function RA(n){const t=n[be],e=t.type;return 2===e?t.declTNode:1===e?n[vi]:null}function wi(n){return function bG(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function sC(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return s.annotation=a,s;function s(l,c,d){const u=l.hasOwnProperty(ld)?l[ld]:Object.defineProperty(l,ld,{value:[]})[ld];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(a),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function Rh(n,t){n.forEach(e=>Array.isArray(e)?Rh(e,t):t(e))}function FA(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function ug(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Nh(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function EG(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function lC(n,t){const e=ud(n,t);if(e>=0)return n[1|e]}function ud(n,t){return function PA(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),a=n[o<t?r=o:i=o+1}return~(r<((sr=sr||{})[sr.Important=1]="Important",sr[sr.DashCase=2]="DashCase",sr))();const YG=/^>|^->||--!>|)/,QG="\u200b$1\u200b";const pC=new Map;let XG=0;const gC="__ngContext__";function xi(n,t){Dr(t)?(n[gC]=t[Eh],function ZG(n){pC.set(n[Eh],n)}(t)):n[gC]=t}let _C;function bC(n,t){return _C(n,t)}function Lh(n){const t=n[cn];return or(t)?t[cn]:t}function nI(n){return rI(n[Sh])}function iI(n){return rI(n[uo])}function rI(n){for(;null!==n&&!or(n);)n=n[uo];return n}function pd(n,t,e,i,r){if(null!=i){let o,a=!1;or(i)?o=i:Dr(i)&&(a=!0,i=i[Wn]);const s=Jt(i);0===n&&null!==e?null==r?cI(t,e,s):Pl(t,e,s,r||null,!0):1===n&&null!==e?Pl(t,e,s,r||null,!0):2===n?wg(t,s,a):3===n&&t.destroyNode(s),null!=o&&function Cq(n,t,e,i,r){const o=e[Ho];o!==Jt(e)&&pd(t,n,i,o,r);for(let s=yi;st.replace(KG,QG))}(t))}function vg(n,t,e){return n.createElement(t,e)}function aI(n,t){const e=n[td],i=e.indexOf(t);rA(t),e.splice(i,1)}function yC(n,t){if(n.length<=yi)return;const e=yi+t,i=n[e];if(i){const r=i[kh];null!==r&&r!==n&&aI(r,i),t>0&&(n[e-1][uo]=i[uo]);const o=ug(n,yi+t);!function dq(n,t){Vh(n,t,t[Xe],2,null,null),t[Wn]=null,t[vi]=null}(i[be],i);const a=o[zo];null!==a&&a.detachView(o[be]),i[cn]=null,i[uo]=null,i[Qe]&=-129}return i}function sI(n,t){if(!(256&t[Qe])){const e=t[Xe];t[Ym]?.destroy(),t[Km]?.destroy(),e.destroyNode&&Vh(n,t,e,3,null,null),function fq(n){let t=n[Sh];if(!t)return CC(n[be],n);for(;t;){let e=null;if(Dr(t))e=t[Sh];else{const i=t[yi];i&&(e=i)}if(!e){for(;t&&!t[uo]&&t!==n;)Dr(t)&&CC(t[be],t),t=t[cn];null===t&&(t=n),Dr(t)&&CC(t[be],t),e=t&&t[uo]}t=e}}(t)}}function CC(n,t){if(!(256&t[Qe])){t[Qe]&=-129,t[Qe]|=256,function _q(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[a]():i[-a].unsubscribe(),o+=2}else e[o].call(i[e[o+1]]);null!==i&&(t[Xc]=null);const r=t[xs];if(null!==r){t[xs]=null;for(let o=0;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===ir.None||o===ir.Emulated)return null}return ar(i,e)}}function Pl(n,t,e,i,r){n.insertBefore(t,e,i,r)}function cI(n,t,e){n.appendChild(t,e)}function dI(n,t,e,i,r){null!==i?Pl(n,t,e,i,r):cI(n,t,e)}function yg(n,t){return n.parentNode(t)}function uI(n,t,e){return fI(n,t,e)}function hI(n,t,e){return 40&n.type?ar(n,e):null}let xC,xg,EC,Dg,fI=hI;function pI(n,t){fI=n,xC=t}function Cg(n,t,e,i){const r=wC(n,i,t),o=t[Xe],s=uI(i.parent||t[vi],i,t);if(null!=r)if(Array.isArray(e))for(let l=0;ln,createScript:n=>n,createScriptURL:n=>n})}catch{}return xg}()?.createHTML(n)||n}function zh(){if(void 0!==EC)return EC;if(typeof document<"u")return document;throw new z(210,!1)}function MC(){if(void 0===Dg&&(Dg=null,Wt.trustedTypes))try{Dg=Wt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Dg}function yI(n){return MC()?.createHTML(n)||n}function wI(n){return MC()?.createScriptURL(n)||n}class Ll{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vT})`}}class Mq extends Ll{getTypeName(){return"HTML"}}class Tq extends Ll{getTypeName(){return"Style"}}class Aq extends Ll{getTypeName(){return"Script"}}class Iq extends Ll{getTypeName(){return"URL"}}class Oq extends Ll{getTypeName(){return"ResourceURL"}}function Er(n){return n instanceof Ll?n.changingThisBreaksApplicationSecurity:n}function qo(n,t){const e=function Rq(n){return n instanceof Ll&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${vT})`)}return e===t}function xI(n){const t=new zq(n);return function Hq(){try{return!!(new window.DOMParser).parseFromString(md(""),"text/html")}catch{return!1}}()?new Vq(t):t}class Vq{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(md(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class zq{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=md(t),e}}const $q=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sg(n){return(n=String(n)).match($q)?n:"unsafe:"+n}function Fa(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function Hh(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const DI=Fa("area,br,col,hr,img,wbr"),SI=Fa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kI=Fa("rp,rt"),TC=Hh(DI,Hh(SI,Fa("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")),Hh(kI,Fa("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")),Hh(kI,SI)),AC=Fa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),EI=Hh(AC,Fa("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"),Fa("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")),jq=Fa("script,style,template");class Uq{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;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)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!TC.hasOwnProperty(e))return this.sanitizedSomething=!0,!jq.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();TC.hasOwnProperty(e)&&!DI.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(MI(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Gq=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qq=/([^\#-~ |!])/g;function MI(n){return n.replace(/&/g,"&").replace(Gq,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qq,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let kg;function TI(n,t){let e=null;try{kg=kg||xI(n);let i=t?String(t):"";e=kg.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=kg.getInertBodyElement(i)}while(i!==o);return md((new Uq).sanitizeChildren(IC(e)||e))}finally{if(e){const i=IC(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function IC(n){return"content"in n&&function Wq(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var It=(()=>((It=It||{})[It.NONE=0]="NONE",It[It.HTML=1]="HTML",It[It.STYLE=2]="STYLE",It[It.SCRIPT=3]="SCRIPT",It[It.URL=4]="URL",It[It.RESOURCE_URL=5]="RESOURCE_URL",It))();function OC(n){const t=$h();return t?yI(t.sanitize(It.HTML,n)||""):qo(n,"HTML")?yI(Er(n)):TI(zh(),Ye(n))}function Wo(n){const t=$h();return t?t.sanitize(It.URL,n)||"":qo(n,"URL")?Er(n):Sg(Ye(n))}function AI(n){const t=$h();if(t)return wI(t.sanitize(It.RESOURCE_URL,n)||"");if(qo(n,"ResourceURL"))return wI(Er(n));throw new z(904,!1)}function $h(){const n=K();return n&&n[Il].sanitizer}class F{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=L({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const jh=new F("ENVIRONMENT_INITIALIZER"),OI=new F("INJECTOR",-1),RI=new F("INJECTOR_DEF_TYPES");class NI{get(t,e=yh){if(e===yh){const i=new Error(`NullInjectorError: No provider for ${qn(t)}!`);throw i.name="NullInjectorError",i}return e}}function Eg(n){return{\u0275providers:n}}function RC(...n){return{\u0275providers:FI(0,n),\u0275fromNgModule:!0}}function FI(n,...t){const e=[],i=new Set;let r;return Rh(t,o=>{const a=o;NC(a,e,[],i)&&(r||=[],r.push(a))}),void 0!==r&&PI(r,e),e}function PI(n,t){for(let e=0;e{t.push(o)})}}function NC(n,t,e,i){if(!(n=Ge(n)))return!1;let r=null,o=CT(n);const a=!o&&At(n);if(o||a){if(a&&!a.standalone)return!1;r=n}else{const l=n.ngModule;if(o=CT(l),!o)return!1;r=l}const s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){const l="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const c of l)NC(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!s){let c;i.add(r);try{Rh(o.imports,d=>{NC(d,t,e,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&PI(c,t)}if(!s){const c=Rl(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:Mt},{provide:RI,useValue:r,multi:!0},{provide:jh,useValue:()=>I(r),multi:!0})}const l=o.providers;null==l||s||FC(l,d=>{t.push(d)})}}return r!==n&&void 0!==n.providers}function FC(n,t){for(let e of n)I0(e)&&(e=e.\u0275providers),Array.isArray(e)?FC(e,t):t(e)}const Zq=Pt({provide:String,useValue:Pt});function PC(n){return null!==n&&"object"==typeof n&&Zq in n}function Bl(n){return"function"==typeof n}const LC=new F("Set Injector scope."),Mg={},tW={};let BC;function Tg(){return void 0===BC&&(BC=new NI),BC}class Yo{}class VC extends Yo{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,HC(t,a=>this.processProvider(a)),this.records.set(OI,gd(void 0,this)),r.has("environment")&&this.records.set(Yo,gd(void 0,this));const o=this.records.get(LC);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(RI.multi,Mt,Fe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const e=ws(this),i=nr(void 0);try{return t()}finally{ws(e),nr(i)}}get(t,e=yh,i=Fe.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(MT))return t[MT](this);i=Gm(i);const r=ws(this),o=nr(void 0);try{if(!(i&Fe.SkipSelf)){let s=this.records.get(t);if(void 0===s){const l=function aW(n){return"function"==typeof n||"object"==typeof n&&n instanceof F}(t)&&$m(t);s=l&&this.injectableDefInScope(l)?gd(zC(t),Mg):null,this.records.set(t,s)}if(null!=s)return this.hydrate(t,s)}return(i&Fe.Self?Tg():this.parent).get(t,e=i&Fe.Optional&&e===yh?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Um]=a[Um]||[]).unshift(qn(t)),r)throw a;return function rU(n,t,e,i){const r=n[Um];throw t[ST]&&r.unshift(t[ST]),n.message=function oU(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=qn(t);if(Array.isArray(t))r=t.map(qn).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):qn(s)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(Zj,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[Um]=null,n}(a,t,"R3InjectorError",this.source)}throw a}finally{nr(o),ws(r)}}resolveInjectorInitializers(){const t=ws(this),e=nr(void 0);try{const i=this.get(jh.multi,Mt,Fe.Self);for(const r of i)r()}finally{ws(t),nr(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(qn(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processProvider(t){let e=Bl(t=Ge(t))?t:Ge(t&&t.provide);const i=function iW(n){return PC(n)?gd(void 0,n.useValue):gd(VI(n),Mg)}(t);if(Bl(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=gd(void 0,Mg,!0),r.factory=()=>F0(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Mg&&(e.value=tW,e.value=e.factory()),"object"==typeof e.value&&e.value&&function oW(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Ge(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function zC(n){const t=$m(n),e=null!==t?t.factory:Rl(n);if(null!==e)return e;if(n instanceof F)throw new z(204,!1);if(n instanceof Function)return function nW(n){const t=n.length;if(t>0)throw Nh(t,"?"),new z(204,!1);const e=function Qj(n){return n&&(n[jm]||n[wT])||null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new z(204,!1)}function VI(n,t,e){let i;if(Bl(n)){const r=Ge(n);return Rl(r)||zC(r)}if(PC(n))i=()=>Ge(n.useValue);else if(function BI(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...F0(n.deps||[]));else if(function LI(n){return!(!n||!n.useExisting)}(n))i=()=>I(Ge(n.useExisting));else{const r=Ge(n&&(n.useClass||n.provide));if(!function rW(n){return!!n.deps}(n))return Rl(r)||zC(r);i=()=>new r(...F0(n.deps))}return i}function gd(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function HC(n,t){for(const e of n)Array.isArray(e)?HC(e,t):e&&I0(e)?HC(e.\u0275providers,t):t(e)}const Ag=new F("AppId",{providedIn:"root",factory:()=>sW}),sW="ng",zI=new F("Platform Initializer"),Hr=new F("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ot=new F("AnimationModuleType"),$C=new F("CSP nonce",{providedIn:"root",factory:()=>zh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let $I=(n,t)=>null;function jI(n,t){return $I(n,t)}class gW{}class qI{}class bW{resolveComponentFactory(t){throw function _W(n){const t=Error(`No component factory found for ${qn(n)}.`);return t.ngComponent=n,t}(t)}}let Es=(()=>{class n{}return n.NULL=new bW,n})();function vW(){return _d(ci(),K())}function _d(n,t){return new W(ar(n,t))}let W=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=vW,n})();function yW(n){return n instanceof W?n.nativeElement:n}class Wh{}let Pa=(()=>{class n{constructor(){this.destroyNode=null}}return n.__NG_ELEMENT_ID__=()=>function CW(){const n=K(),e=Sr(ci().index,n);return(Dr(e)?e:n)[Xe]}(),n})(),wW=(()=>{class n{}return n.\u0275prov=L({token:n,providedIn:"root",factory:()=>null}),n})();class Vl{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const xW=new Vl("16.1.2"),ZC={};function Yh(n){for(;n;){n[Qe]|=64;const t=Lh(n);if(H0(n)&&!t)return n;n=t}return null}function ew(n){return n.ngOriginalError}class $r{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&ew(t);for(;e&&ew(e);)e=ew(e);return e||null}}const QI=new F("",{providedIn:"root",factory:()=>!1});function La(n){return n instanceof Function?n():n}class tO extends WT{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Yh(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,e,i){const r=ni(this);this.trackingVersion++;try{t(e,i)}finally{ni(r)}}destroy(){this.trackingVersion++}}let Pg=null;function nO(){return Pg??=new tO,Pg}function iO(n,t){return n[t]??nO()}function rO(n,t){const e=nO();e.hasReadASignal&&(n[t]=Pg,e.lView=n,Pg=new tO)}const Ze={};function b(n){oO(Ct(),K(),Ui()+n,!1)}function oO(n,t,e,i){if(!i)if(3==(3&t[Qe])){const o=n.preOrderCheckHooks;null!==o&&rg(t,o,e)}else{const o=n.preOrderHooks;null!==o&&og(t,o,0,e)}Nl(e)}function dO(n,t=null,e=null,i){const r=uO(n,t,e,i);return r.resolveInjectorInitializers(),r}function uO(n,t=null,e=null,i,r=new Set){const o=[e||Mt,RC(n)];return i=i||("object"==typeof n?void 0:qn(n)),new VC(o,t||Tg(),i||null,r)}let Yt=(()=>{class n{static create(e,i){if(Array.isArray(e))return dO({name:""},i,e,"");{const r=e.name??"";return dO({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=yh,n.NULL=new NI,n.\u0275prov=L({token:n,providedIn:"any",factory:()=>I(OI)}),n.__NG_ELEMENT_ID__=-1,n})();function g(n,t=Fe.Default){const e=K();return null===e?I(n,t):TA(ci(),e,Ge(n),t)}function Mr(){throw new Error("invalid")}function Lg(n,t,e,i,r,o,a,s,l,c,d){const u=t.blueprint.slice();return u[Wn]=r,u[Qe]=140|i,(null!==c||n&&2048&n[Qe])&&(u[Qe]|=2048),iA(u),u[cn]=u[Zc]=n,u[On]=e,u[Il]=a||n&&n[Il],u[Xe]=s||n&&n[Xe],u[Jc]=l||n&&n[Jc]||null,u[vi]=o,u[Eh]=function JG(){return XG++}(),u[Ia]=d,u[HT]=c,u[Rn]=2==t.type?n[Rn]:u,u}function vd(n,t,e,i,r){let o=n.data[t];if(null===o)o=tw(n,t,e,i,r),function nG(){return je.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=e,o.value=i,o.attrs=r;const a=Th();o.injectorIndex=null===a?-1:a.injectorIndex}return Uo(o,!0),o}function tw(n,t,e,i,r){const o=cA(),a=W0(),l=n.data[t]=function UW(n,t,e,i,r,o){let a=t?t.injectorIndex:-1,s=0;return id()&&(s|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,e,t,i,r);return null===n.firstChild&&(n.firstChild=l),null!==o&&(a?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}function Kh(n,t,e,i){if(0===e)return-1;const r=t.length;for(let o=0;opt&&oO(n,t,pt,!1),jo(s?2:0,r),s)o.runInContext(e,i,r);else{const c=ni(null);try{e(i,r)}finally{ni(c)}}}finally{s&&null===t[Ym]&&rO(t,Ym),Nl(a),jo(s?3:1,r)}}function nw(n,t,e){if(z0(t)){const i=ni(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;anull;function mO(n,t,e,i){for(let r in n)if(n.hasOwnProperty(r)){e=null===e?{}:e;const o=n[r];null===i?gO(e,t,r,o):i.hasOwnProperty(r)&&gO(e,t,i[r],o)}return e}function gO(n,t,e,i){n.hasOwnProperty(e)?n[e].push(t,i):n[e]=[t,i]}function Tr(n,t,e,i,r,o,a,s){const l=ar(t,e);let d,c=t.inputs;!s&&null!=c&&(d=c[i])?(dw(n,e,d,i,r),Ol(t)&&function WW(n,t){const e=Sr(t,n);16&e[Qe]||(e[Qe]|=64)}(e,t.index)):3&t.type&&(i=function qW(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),r=null!=a?a(r,t.value||"",i):r,o.setProperty(l,i,r))}function aw(n,t,e,i){if(lA()){const r=null===i?null:{"":-1},o=function ZW(n,t){const e=n.directiveRegistry;let i=null,r=null;if(e)for(let o=0;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=s&&a.push(s),a.push(e,i,o)}}(n,t,i,Kh(n,e,r.hostVars,Ze),r)}function lw(n,t,e,i,r,o,a){if(null==o)n.removeAttribute(t,r,e);else{const s=null==a?Ye(o):a(o,i||"",r);n.setAttribute(t,r,s,e)}}function oY(n,t,e,i,r,o){const a=o[t];if(null!==a)for(let s=0;s{class n{}return n.__NG_ELEMENT_ID__=uY,n.__NG_ENV_ID__=t=>t,n})();class dY extends hw{constructor(t){super(),this._lView=t}onDestroy(t){return aA(this._lView,t),()=>function qU(n,t){if(null===n[xs])return;const e=n[xs].indexOf(t);-1!==e&&n[xs].splice(e,1)}(this._lView,t)}}function uY(){return new dY(K())}let kO=(()=>{class n{constructor(){this.all=new Set,this.queue=new Map}create(e,i,r){const o=typeof Zone>"u"?null:Zone.current,a=new NU(e,c=>{this.all.has(c)&&this.queue.set(c,o)},r);let s;this.all.add(a),a.notify();const l=()=>{a.cleanup(),s?.(),this.all.delete(a),this.queue.delete(a)};return s=i?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[e,i]of this.queue)this.queue.delete(e),i?i.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}}return n.\u0275prov=L({token:n,providedIn:"root",factory:()=>new n}),n})();function Vg(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(null!==t)for(let a=0;a0){MO(n,1);const r=n[be].components;null!==r&&AO(n,r,1)}}function AO(n,t,e){for(let i=0;i-1&&(yC(t,i),ug(e,i))}this._attachedToViewContainer=!1}sI(this._lView[be],this._lView)}onDestroy(t){aA(this._lView,t)}markForCheck(){Yh(this._cdRefInjectingView||this._lView)}detach(){this._lView[Qe]&=-129}reattach(){this._lView[Qe]|=128}detectChanges(){zg(this._lView[be],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function hq(n,t){Vh(n,t,t[Xe],2,null,null)}(this._lView[be],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new z(902,!1);this._appRef=t}}class gY extends Xh{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;zg(t[be],t,t[On],!1)}checkNoChanges(){}get context(){return null}}class IO extends Es{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=At(t);return new Jh(e,this.ngModule)}}function OO(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class bY{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=Gm(i);const r=this.injector.get(t,ZC,i);return r!==ZC||e===ZC?r:this.parentInjector.get(t,e,i)}}class Jh extends qI{get inputs(){return OO(this.componentDef.inputs)}get outputs(){return OO(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function mU(n){return n.map(pU).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Yo?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new bY(t,o):t,s=a.get(Wh,null);if(null===s)throw new z(407,!1);const d={rendererFactory:s,sanitizer:a.get(wW,null),effectManager:a.get(kO,null)},u=s.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=i?function VW(n,t,e,i){const o=i.get(QI,!1)||e===ir.ShadowDom,a=n.selectRootElement(t,o);return function zW(n){pO(n)}(a),a}(u,i,this.componentDef.encapsulation,a):vg(u,h,function _Y(n){const t=n.toLowerCase();return"svg"===t?eA:"math"===t?"math":null}(h)),w=this.componentDef.signals?4608:this.componentDef.onPush?576:528,k=ow(0,null,null,1,0,null,null,null,null,null,null),D=Lg(null,k,null,w,null,null,d,u,a,null,null);let M,A;J0(D);try{const O=this.componentDef;let he,P=null;O.findHostDirectiveDefs?(he=[],P=new Map,O.findHostDirectiveDefs(O,he,P),he.push(O)):he=[O];const le=function yY(n,t){const e=n[be],i=pt;return n[i]=t,vd(e,i,2,"#host",null)}(D,p),Ve=function CY(n,t,e,i,r,o,a){const s=r[be];!function wY(n,t,e,i){for(const r of n)t.mergedAttrs=xh(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Vg(t,t.mergedAttrs,!0),null!==e&&vI(i,e,t))}(i,n,t,a);let l=null;null!==t&&(l=jI(t,r[Jc]));const c=o.rendererFactory.createRenderer(t,e);let d=16;e.signals?d=4096:e.onPush&&(d=64);const u=Lg(r,fO(e),null,d,r[n.index],n,o,c,null,null,l);return s.firstCreatePass&&sw(s,n,i.length-1),Bg(r,u),r[n.index]=u}(le,p,O,he,D,d,u);A=nA(k,pt),p&&function DY(n,t,e,i){if(i)B0(n,e,["ng-version",xW.full]);else{const{attrs:r,classes:o}=function gU(n){const t=[],e=[];let i=1,r=2;for(;i0&&bI(n,e,o.join(" "))}}(u,O,p,i),void 0!==e&&function SY(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=xh(r.hostAttrs,e=xh(e,r.hostAttrs))}}(i)}function Hg(n){return n===Vo?{}:n===Mt?[]:n}function MY(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function TY(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function AY(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}function LO(n){const t=n.inputConfig,e={};for(const i in t)if(t.hasOwnProperty(i)){const r=t[i];Array.isArray(r)&&r[2]&&(e[i]=r[2])}n.inputTransforms=e}function $g(n){return!!fw(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function fw(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Qo(n,t,e){return n[t]=e}function Di(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function zl(n,t,e,i){const r=Di(n,t,e);return Di(n,t+1,i)||r}function jr(n,t,e,i,r,o){const a=zl(n,t,e,i);return zl(n,t+2,r,o)||a}function ie(n,t,e,i){const r=K();return Di(r,rd(),t)&&(Ct(),function Ko(n,t,e,i,r,o){const a=ar(n,t);lw(t[Xe],a,o,n.value,e,i,r)}(dn(),r,n,t,e,i)),ie}function Cd(n,t,e,i){return Di(n,rd(),e)?t+Ye(e)+i:Ze}function S(n,t,e,i,r,o,a,s){const l=K(),c=Ct(),d=n+pt,u=c.firstCreatePass?function tK(n,t,e,i,r,o,a,s,l){const c=t.consts,d=vd(t,n,4,a||null,Ds(c,s));aw(t,e,d,Ds(c,l)),ig(t,d);const u=d.tView=ow(2,d,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,d),u.queries=t.queries.embeddedTView(d)),d}(d,c,l,t,e,i,r,o,a):c.data[d];Uo(u,!1);const h=QO(c,l,u,n);ng()&&Cg(c,l,h,u),xi(h,l),Bg(l,l[d]=yO(h,l,h,u)),Xm(u)&&iw(c,l,u),null!=a&&rw(l,u,s)}let QO=function XO(n,t,e,i){return ks(!0),t[Xe].createComment("")};function mt(n){return nd(function tG(){return je.lFrame.contextLView}(),pt+n)}function _(n,t,e){const i=K();return Di(i,rd(),t)&&Tr(Ct(),dn(),i,n,t,i[Xe],e,!1),_}function vw(n,t,e,i,r){const a=r?"class":"style";dw(n,e,t.inputs[a],a,i)}function f(n,t,e,i){const r=K(),o=Ct(),a=pt+n,s=r[Xe],l=o.firstCreatePass?function oK(n,t,e,i,r,o){const a=t.consts,l=vd(t,n,2,i,Ds(a,r));return aw(t,e,l,Ds(a,o)),null!==l.attrs&&Vg(l,l.attrs,!1),null!==l.mergedAttrs&&Vg(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(a,o,r,t,e,i):o.data[a],c=JO(o,r,l,s,t,n);r[a]=c;const d=Xm(l);return Uo(l,!0),vI(s,c,l),32!=(32&l.flags)&&ng()&&Cg(o,r,c,l),0===function WU(){return je.lFrame.elementDepthCount}()&&xi(c,r),function YU(){je.lFrame.elementDepthCount++}(),d&&(iw(o,r,l),nw(o,l,r)),null!==i&&rw(r,l),f}function m(){let n=ci();W0()?Y0():(n=n.parent,Uo(n,!1));const t=n;(function QU(n){return je.skipHydrationRootTNode===n})(t)&&function eG(){je.skipHydrationRootTNode=null}(),function KU(){je.lFrame.elementDepthCount--}();const e=Ct();return e.firstCreatePass&&(ig(e,n),z0(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function fG(n){return 0!=(8&n.flags)}(t)&&vw(e,t,K(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function pG(n){return 0!=(16&n.flags)}(t)&&vw(e,t,K(),t.stylesWithoutHost,!1),m}function T(n,t,e,i){return f(n,t,e,i),m(),T}let JO=(n,t,e,i,r,o)=>(ks(!0),vg(i,r,function vA(){return je.lFrame.currentNamespace}()));function Dt(n,t,e){const i=K(),r=Ct(),o=n+pt,a=r.firstCreatePass?function lK(n,t,e,i,r){const o=t.consts,a=Ds(o,i),s=vd(t,n,8,"ng-container",a);return null!==a&&Vg(s,a,!0),aw(t,e,s,Ds(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,i,t,e):r.data[o];Uo(a,!0);const s=ZO(r,i,a,n);return i[o]=s,ng()&&Cg(r,i,s,a),xi(s,i),Xm(a)&&(iw(r,i,a),nw(r,a,i)),null!=e&&rw(i,a),Dt}function St(){let n=ci();const t=Ct();return W0()?Y0():(n=n.parent,Uo(n,!1)),t.firstCreatePass&&(ig(t,n),z0(n)&&t.queries.elementEnd(n)),St}function Gi(n,t,e){return Dt(n,t,e),St(),Gi}let ZO=(n,t,e,i)=>(ks(!0),vC(t[Xe],""));function Y(){return K()}function rf(n){return!!n&&"function"==typeof n.then}function eR(n){return!!n&&"function"==typeof n.subscribe}function E(n,t,e,i){const r=K(),o=Ct(),a=ci();return tR(o,r,r[Xe],a,n,t,i),E}function af(n,t){const e=ci(),i=K(),r=Ct();return tR(r,i,DO(Q0(r.data),e,i),e,n,t),af}function tR(n,t,e,i,r,o,a){const s=Xm(i),c=n.firstCreatePass&&xO(n),d=t[On],u=wO(t);let h=!0;if(3&i.type||a){const y=ar(i,t),w=a?a(y):y,k=u.length,D=a?A=>a(Jt(A[i.index])):i.index;let M=null;if(!a&&s&&(M=function uK(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?s[l]:null}"string"==typeof a&&(o+=2)}return null}(n,t,r,i.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=o,M.__ngLastListenerFn__=o,h=!1;else{o=iR(i,t,d,o,!1);const A=e.listen(w,r,o);u.push(o,A),c&&c.push(r,D,k,k+1)}}else o=iR(i,t,d,o,!1);const p=i.outputs;let v;if(h&&null!==p&&(v=p[r])){const y=v.length;if(y)for(let w=0;w-1?Sr(n.index,t):t);let l=nR(t,e,i,a),c=o.__ngNextListenerFn__;for(;c;)l=nR(t,e,c,a)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&a.preventDefault(),l}}function x(n=1){return function aG(n){return(je.lFrame.contextLView=function sG(n,t){for(;n>0;)t=t[Zc],n--;return t}(n,je.lFrame.contextLView))[On]}(n)}function hK(n,t){let e=null;const i=function dU(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function Cw(n){return 2|n}function Hl(n){return(131068&n)>>2}function ww(n,t){return-131069&n|t<<2}function xw(n){return 1|n}function hR(n,t,e,i,r){const o=n[e+1],a=null===t;let s=i?Ms(o):Hl(o),l=!1;for(;0!==s&&(!1===l||a);){const d=n[s+1];bK(n[s],t)&&(l=!0,n[s+1]=i?xw(d):Cw(d)),s=i?Ms(d):Hl(d)}l&&(n[e+1]=i?Cw(o):xw(o))}function bK(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&ud(n,t)>=0}const Kn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fR(n){return n.substring(Kn.key,Kn.keyEnd)}function vK(n){return n.substring(Kn.value,Kn.valueEnd)}function pR(n,t){const e=Kn.textEnd;return e===t?-1:(t=Kn.keyEnd=function wK(n,t,e){for(;t32;)t++;return t}(n,Kn.key=t,e),Td(n,t,e))}function mR(n,t){const e=Kn.textEnd;let i=Kn.key=Td(n,t,e);return e===i?-1:(i=Kn.keyEnd=function xK(n,t,e){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(n,i,e),i=_R(n,i,e),i=Kn.value=Td(n,i,e),i=Kn.valueEnd=function DK(n,t,e){let i=-1,r=-1,o=-1,a=t,s=a;for(;a32&&(s=a),o=r,r=i,i=-33&l}return s}(n,i,e),_R(n,i,e))}function gR(n){Kn.key=0,Kn.keyEnd=0,Kn.value=0,Kn.valueEnd=0,Kn.textEnd=n.length}function Td(n,t,e){for(;t=0;e=mR(t,e))wR(n,fR(t),vK(t))}function Xo(n,t){for(let e=function yK(n){return gR(n),pR(n,Td(n,0,Kn.textEnd))}(t);e>=0;e=pR(t,e))kr(n,fR(t),!0)}function po(n,t,e,i){const r=K(),o=Ct(),a=Ra(2);o.firstUpdatePass&&CR(o,n,a,i),t!==Ze&&Di(r,a,t)&&xR(o,o.data[Ui()],r,r[Xe],n,r[a+1]=function RK(n,t){return null==n||""===n||("string"==typeof t?n+=t:"object"==typeof n&&(n=qn(Er(n)))),n}(t,e),i,a)}function mo(n,t,e,i){const r=Ct(),o=Ra(2);r.firstUpdatePass&&CR(r,null,o,i);const a=K();if(e!==Ze&&Di(a,o,e)){const s=r.data[Ui()];if(SR(s,i)&&!yR(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(e=T0(l,e||"")),vw(r,s,a,e,i)}else!function OK(n,t,e,i,r,o,a,s){r===Ze&&(r=Mt);let l=0,c=0,d=0=n.expandoStartIndex}function CR(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[Ui()],a=yR(n,e);SR(o,i)&&null===t&&!a&&(t=!1),t=function kK(n,t,e,i){const r=Q0(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=sf(e=Dw(null,n,t,e,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||n[a]!==r)if(e=Dw(r,n,t,e,i),null===o){let l=function EK(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Hl(i))return n[Ms(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=Dw(null,n,t,l[1],i),l=sf(l,t.attrs,i),function MK(n,t,e,i){n[Ms(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function TK(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)):d=e,r)if(0!==l){const h=Ms(n[s+1]);n[i+1]=Yg(h,s),0!==h&&(n[h+1]=ww(n[h+1],i)),n[s+1]=function pK(n,t){return 131071&n|t<<17}(n[s+1],i)}else n[i+1]=Yg(s,0),0!==s&&(n[s+1]=ww(n[s+1],i)),s=i;else n[i+1]=Yg(l,0),0===s?s=i:n[l+1]=ww(n[l+1],i),l=i;c&&(n[i+1]=Cw(n[i+1])),hR(n,d,i,!0),hR(n,d,i,!1),function _K(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&ud(o,t)>=0&&(e[i+1]=xw(e[i+1]))}(t,d,n,i,o),a=Yg(s,l),o?t.classBindings=a:t.styleBindings=a}(r,o,t,e,a,i)}}function Dw(n,t,e,i,r){let o=null;const a=e.directiveEnd;let s=e.directiveStylingLast;for(-1===s?s=e.directiveStart:s++;s0;){const l=n[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=e[r+1];h===Ze&&(h=u?Mt:void 0);let p=u?lC(h,i):d===i?h:void 0;if(c&&!Kg(p)&&(p=lC(l,i)),Kg(p)&&(s=p,a))return s;const v=n[r+1];r=a?Ms(v):Hl(v)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(s=lC(l,i))}return s}function Kg(n){return void 0!==n}function SR(n,t){return 0!=(n.flags&(t?8:16))}function C(n,t=""){const e=K(),i=Ct(),r=n+pt,o=i.firstCreatePass?vd(i,r,1,t,null):i.data[r],a=kR(i,e,o,t,n);e[r]=a,ng()&&Cg(i,e,a,o),Uo(o,!1)}let kR=(n,t,e,i,r)=>(ks(!0),bg(t[Xe],i));function xe(n){return me("",n,""),xe}function me(n,t,e){const i=K(),r=Cd(i,n,t,e);return r!==Ze&&Ba(i,Ui(),r),me}function Sw(n,t,e,i,r){const o=K(),a=function wd(n,t,e,i,r,o){const s=zl(n,Oa(),e,r);return Ra(2),s?t+Ye(e)+i+Ye(r)+o:Ze}(o,n,t,e,i,r);return a!==Ze&&Ba(o,Ui(),a),Sw}function Ts(n,t,e,i,r,o,a,s,l){const c=K(),d=function Dd(n,t,e,i,r,o,a,s,l,c){const u=jr(n,Oa(),e,r,a,l);return Ra(4),u?t+Ye(e)+i+Ye(r)+o+Ye(a)+s+Ye(l)+c:Ze}(c,n,t,e,i,r,o,a,s,l);return d!==Ze&&Ba(c,Ui(),d),Ts}function go(n,t,e,i,r,o,a,s,l,c,d){const u=K(),h=function Sd(n,t,e,i,r,o,a,s,l,c,d,u){const h=Oa();let p=jr(n,h,e,r,a,l);return p=Di(n,h+4,d)||p,Ra(5),p?t+Ye(e)+i+Ye(r)+o+Ye(a)+s+Ye(l)+c+Ye(d)+u:Ze}(u,n,t,e,i,r,o,a,s,l,c,d);return h!==Ze&&Ba(u,Ui(),h),go}function kw(n,t,e,i,r,o,a,s,l,c,d,u,h){const p=K(),v=function kd(n,t,e,i,r,o,a,s,l,c,d,u,h,p){const v=Oa();let y=jr(n,v,e,r,a,l);return y=zl(n,v+4,d,h)||y,Ra(6),y?t+Ye(e)+i+Ye(r)+o+Ye(a)+s+Ye(l)+c+Ye(d)+u+Ye(h)+p:Ze}(p,n,t,e,i,r,o,a,s,l,c,d,u,h);return v!==Ze&&Ba(p,Ui(),v),kw}function Si(n,t,e){const i=K();return Di(i,rd(),t)&&Tr(Ct(),dn(),i,n,t,i[Xe],e,!0),Si}function lf(n,t,e){const i=K();if(Di(i,rd(),t)){const o=Ct(),a=dn();Tr(o,a,i,n,t,DO(Q0(o.data),a,i),e,!0)}return lf}const $l=void 0;var eQ=["en",[["a","p"],["AM","PM"],$l],[["AM","PM"],$l,$l],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],$l,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],$l,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",$l,"{1} 'at' {0}",$l],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ZK(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Ad={};function HR(n){return function qi(n){const t=function tQ(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=$R(t);if(e)return e;const i=t.split("-")[0];if(e=$R(i),e)return e;if("en"===i)return eQ;throw new z(701,!1)}(n)[ge.PluralCase]}function $R(n){return n in Ad||(Ad[n]=Wt.ng&&Wt.ng.common&&Wt.ng.common.locales&&Wt.ng.common.locales[n]),Ad[n]}var ge=(()=>((ge=ge||{})[ge.LocaleId=0]="LocaleId",ge[ge.DayPeriodsFormat=1]="DayPeriodsFormat",ge[ge.DayPeriodsStandalone=2]="DayPeriodsStandalone",ge[ge.DaysFormat=3]="DaysFormat",ge[ge.DaysStandalone=4]="DaysStandalone",ge[ge.MonthsFormat=5]="MonthsFormat",ge[ge.MonthsStandalone=6]="MonthsStandalone",ge[ge.Eras=7]="Eras",ge[ge.FirstDayOfWeek=8]="FirstDayOfWeek",ge[ge.WeekendRange=9]="WeekendRange",ge[ge.DateFormat=10]="DateFormat",ge[ge.TimeFormat=11]="TimeFormat",ge[ge.DateTimeFormat=12]="DateTimeFormat",ge[ge.NumberSymbols=13]="NumberSymbols",ge[ge.NumberFormats=14]="NumberFormats",ge[ge.CurrencyCode=15]="CurrencyCode",ge[ge.CurrencySymbol=16]="CurrencySymbol",ge[ge.CurrencyName=17]="CurrencyName",ge[ge.Currencies=18]="Currencies",ge[ge.Directionality=19]="Directionality",ge[ge.PluralCase=20]="PluralCase",ge[ge.ExtraData=21]="ExtraData",ge))();const nQ=["zero","one","two","few","many"],Id="en-US",Qg={marker:"element"},Xg={marker:"ICU"};var Cn=(()=>((Cn=Cn||{})[Cn.SHIFT=2]="SHIFT",Cn[Cn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Cn[Cn.COMMENT=2]="COMMENT",Cn))();let jR=Id;function UR(n){(function Vr(n,t){null==n&&Nt(t,n,null,"!=")})(n,"Expected localeId to be defined"),"string"==typeof n&&(jR=n.toLowerCase().replace(/_/g,"-"))}function GR(n,t,e){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?hI(n,0,e):Jt(e[r])}function qR(n,t,e,i,r){const o=t.insertBeforeIndex;if(Array.isArray(o)){let a=i,s=null;if(3&t.type||(s=a,a=r),null!==a&&-1===t.componentOffset)for(let l=1;l1)for(let e=n.length-2;e>=0;e--){const i=n[e];YR(i)||aQ(i,t)&&null===sQ(i)&&lQ(i,t.index)}}function YR(n){return!(64&n.type)}function aQ(n,t){return YR(t)||n.index>t.index}function sQ(n){const t=n.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function lQ(n,t){const e=n.insertBeforeIndex;Array.isArray(e)?e[0]=t:(pI(GR,qR),n.insertBeforeIndex=t)}function cf(n,t){const e=n.data[t];return null===e||"string"==typeof e?null:e.hasOwnProperty("currentCaseLViewIndex")?e:e.value}function uQ(n,t,e){const i=tw(n,e,64,null,null);return WR(t,i),i}function Jg(n,t){const e=t[n.currentCaseLViewIndex];return null===e?e:e<0?~e:e}function KR(n){return n>>>17}function QR(n){return(131070&n)>>>1}let df=0,uf=0;function JR(n,t,e,i){const r=e[Xe];let a,o=null;for(let s=0;s>>1,e),null,null,p,v,null)}else switch(l){case Xg:const c=t[++s],d=t[++s];null===e[d]&&xi(e[d]=vC(r,c),e);break;case Qg:const u=t[++s],h=t[++s];null===e[h]&&xi(e[h]=vg(r,u,null),e)}}}function ZR(n,t,e,i,r){for(let o=0;o>>2;switch(3&d){case 1:const h=e[++c],p=e[++c],v=n.data[u];"string"==typeof v?lw(t[Xe],t[u],null,v,h,l,p):Tr(n,v,t,h,l,t[Xe],p,!1);break;case 0:const y=t[u];null!==y&&oI(t[Xe],y,l);break;case 2:gQ(n,cf(n,u),t,l);break;case 3:e2(n,cf(n,u),i,t)}}}}else{const l=e[o+1];if(l>0&&3==(3&l)){const d=cf(n,l>>>2);t[d.currentCaseLViewIndex]<0&&e2(n,d,i,t)}}o+=s}}function e2(n,t,e,i){let r=i[t.currentCaseLViewIndex];if(null!==r){let o=df;r<0&&(r=i[t.currentCaseLViewIndex]=~r,o=-1),ZR(n,i,t.update[r],e,o)}}function gQ(n,t,e,i){const r=function _Q(n,t){let e=n.cases.indexOf(t);if(-1===e)switch(n.type){case 1:{const i=function iQ(n,t){const e=HR(t)(parseInt(n,10)),i=nQ[e];return void 0!==i?i:"other"}(t,function oQ(){return jR}());e=n.cases.indexOf(i),-1===e&&"other"!==i&&(e=n.cases.indexOf("other"));break}case 0:e=n.cases.indexOf("other")}return-1===e?null:e}(t,i);if(Jg(t,e)!==r&&(t2(n,t,e),e[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const a=e[t.anchorIdx];a&&JR(n,t.create[r],e,a)}}function t2(n,t,e){let i=Jg(t,e);if(null!==i){const r=t.remove[i];for(let o=0;o0){const s=tg(a,e);null!==s&&wg(e[Xe],s)}else t2(n,cf(n,~a),e)}}}function bQ(){const n=[];let e,i,t=-1;function o(s,l){t=0;const c=Jg(s,l);i=null!==c?s.remove[c]:Mt}function a(){if(t0?e[s]:(n.push(t,i),o(e[be].data[~s],e),a())}return 0===n.length?null:(i=n.pop(),t=n.pop(),a())}return function r(s,l){for(e=l;n.length;)n.pop();return o(s.value,l),a}}const Zg=/\ufffd(\d+):?\d*\ufffd/gi,yQ=/\ufffd(\d+)\ufffd/,r2=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,hf="\ufffd",CQ=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,wQ=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,xQ=/\uE500/g;function o2(n,t,e,i,r,o,a){const s=Kh(n,i,1,null);let l=s<e.length&&e.push(l)}return{type:i,mainBinding:r,cases:t,values:e}}function Ew(n){if(!n)return[];let t=0;const e=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(n);){const s=o.index;if("}"==o[0]){if(e.pop(),0==e.length){const l=n.substring(t,s);r2.test(l)?i.push(IQ(l)):i.push(l),t=s+1}}else{if(0==e.length){const l=n.substring(t,s);i.push(l),t=s+1}e.push("{")}}const a=n.substring(t);return i.push(a),i}function OQ(n,t,e,i,r,o,a,s){const l=[],c=[],d=[];t.cases.push(o),t.create.push(l),t.remove.push(c),t.update.push(d);const h=xI(zh()).getInertBodyElement(a),p=IC(h)||h;return p?c2(n,t,e,i,l,c,d,p,r,s,0):0}function c2(n,t,e,i,r,o,a,s,l,c,d){let u=0,h=s.firstChild;for(;h;){const p=Kh(n,e,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const v=h,y=v.tagName.toLowerCase();if(TC.hasOwnProperty(y)){Mw(r,Qg,y,l,p),n.data[p]=y;const M=v.attributes;for(let A=0;A>>Cn.SHIFT;let u=n[d];null===u&&(u=n[d]=(a&Cn.COMMENT)===Cn.COMMENT?r.createComment(s):bg(r,s)),c&&null!==e&&Pl(r,e,u,i,!1)}})(r,l.create,d,s&&8&s.type?r[s.index]:null),hA(!0)}function Ce(n,t,e){h2(n,t,e),function f2(){hA(!1)}()}function Tw(n){return function fQ(n){n&&(df|=1<>20;if(Bl(n)||!n.multi){const p=new Ah(l,r,g),v=Ow(s,t,r?d:d+h,u);-1===v?(oC(cg(c,a),o,s),Iw(o,n,t.length),t.push(s),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(p),a.push(p)):(e[v]=p,a[v]=p)}else{const p=Ow(s,t,d+h,u),v=Ow(s,t,d,d+h),w=v>=0&&e[v];if(r&&!w||!r&&!(p>=0&&e[p])){oC(cg(c,a),o,s);const k=function QQ(n,t,e,i,r){const o=new Ah(n,e,g);return o.multi=[],o.index=t,o.componentProviders=0,m2(o,r,i&&!e),o}(r?KQ:YQ,e.length,r,i,l);!r&&w&&(e[v].providerFactory=k),Iw(o,n,t.length,0),t.push(s),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(k),a.push(k)}else Iw(o,n,p>-1?p:v,m2(e[r?v:p],l,!r&&i));!r&&i&&w&&e[v].componentProviders++}}}function Iw(n,t,e,i){const r=Bl(t),o=function eW(n){return!!n.useClass}(t);if(r||o){const l=(o?Ge(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.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 m2(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Ow(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function WQ(n,t,e){const i=Ct();if(i.firstCreatePass){const r=ho(n);Aw(e,i.data,i.blueprint,r,!0),Aw(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class Od{}class g2{}class Nw extends Od{constructor(t,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new IO(this);const r=xr(t);this._bootstrapComponents=La(r.bootstrap),this._r3Injector=uO(t,e,[{provide:Od,useValue:this},{provide:Es,useValue:this.componentFactoryResolver},...i],qn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Fw extends g2{constructor(t){super(),this.moduleType=t}create(t){return new Nw(this.moduleType,t,[])}}class _2 extends Od{constructor(t){super(),this.componentFactoryResolver=new IO(this),this.instance=null;const e=new VC([...t.providers,{provide:Od,useValue:this},{provide:Es,useValue:this.componentFactoryResolver}],t.parent||Tg(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Pw(n,t,e=null){return new _2({providers:n,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector}let ZQ=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=FI(0,e.type),r=i.length>0?Pw([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=L({token:n,providedIn:"environment",factory:()=>new n(I(Yo))}),n})();function Se(n){n.getStandaloneInjector=t=>t.get(ZQ).getOrCreateStandaloneInjector(n)}function wn(n,t,e){const i=ji()+n,r=K();return r[i]===Ze?Qo(r,i,e?t.call(e):t()):function Zh(n,t){return n[t]}(r,i)}function As(n,t,e,i){return D2(K(),ji(),n,t,e,i)}function e_(n,t,e,i,r){return function S2(n,t,e,i,r,o,a){const s=t+e;return zl(n,s,r,o)?Qo(n,s+2,a?i.call(a,r,o):i(r,o)):pf(n,s+2)}(K(),ji(),n,t,e,i,r)}function pf(n,t){const e=n[t];return e===Ze?void 0:e}function D2(n,t,e,i,r,o){const a=t+e;return Di(n,a,r)?Qo(n,a+1,o?i.call(o,r):i(r)):pf(n,a+1)}function Q(n,t){const e=Ct();let i;const r=n+pt;e.firstCreatePass?(i=function mX(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Rl(i.type)),a=nr(g);try{const s=lg(!1),l=o();return lg(s),function rK(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,K(),r,l),l}finally{nr(a)}}function X(n,t,e){const i=n+pt,r=K(),o=nd(r,i);return function mf(n,t){return n[be].data[t].pure}(r,i)?D2(r,ji(),t,o.transform,e,o):o.transform(e)}function Bw(n){return t=>{setTimeout(n,void 0,t)}}const j=class yX extends q{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),a=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=Bw(o),r&&(r=Bw(r)),a&&(a=Bw(a)));const s=super.subscribe({next:r,error:o,complete:a});return t instanceof We&&t.add(s),s}};function CX(){return this._results[Symbol.iterator]()}class Jo{get changes(){return this._changes||(this._changes=new j)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Jo.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=CX)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=function zr(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function SG(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=DX,n})();const wX=kt,xX=class extends wX{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e,null)}createEmbeddedViewImpl(t,e,i){const a=this._declarationTContainer.tView,s=Lg(this._declarationLView,a,t,4096&this._declarationLView[Qe]?4096:16,null,a.declTNode,null,null,null,e||null,i||null);s[kh]=this._declarationLView[this._declarationTContainer.index];const c=this._declarationLView[zo];return null!==c&&(s[zo]=c.createEmbeddedView(a)),uw(a,s,t),new Xh(s)}};function DX(){return t_(ci(),K())}function t_(n,t){return 4&n.type?new xX(t,n,_d(n,t)):null}let Ft=(()=>{class n{}return n.__NG_ELEMENT_ID__=IX,n})();function IX(){return N2(ci(),K())}const OX=Ft,O2=class extends OX{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return _d(this._hostTNode,this._hostLView)}get injector(){return new ad(this._hostTNode,this._hostLView)}get parentInjector(){const t=rC(this._hostTNode,this._hostLView);if(xA(t)){const e=sg(t,this._hostLView),i=ag(t);return new ad(e[be].data[i+8],e)}return new ad(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=R2(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-yi}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedViewImpl(e||{},o,null);return this.insertImpl(s,r,false),s}createComponent(t,e,i,r,o){const a=t&&!function Oh(n){return"function"==typeof n}(t);let s;if(a)s=e;else{const y=e||{};s=y.index,i=y.injector,r=y.projectableNodes,o=y.environmentInjector||y.ngModuleRef}const l=a?t:new Jh(At(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const w=(a?c:this.parentInjector).get(Yo,null);w&&(o=w)}At(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,s,false),p}insert(t,e){return this.insertImpl(t,e,!1)}insertImpl(t,e,i){const r=t._lView,o=r[be];if(function UU(n){return or(n[cn])}(r)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const c=r[cn],d=new O2(c,c[vi],c[cn]);d.detach(d.indexOf(t))}}const a=this._adjustIndex(e),s=this._lContainer;if(function pq(n,t,e,i){const r=yi+i,o=e.length;i>0&&(e[r-1][uo]=t),i0)i.push(a[s/2]);else{const c=o[s+1],d=t[-l];for(let u=yi;u{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=ne(rN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const r of this.appInits){const o=r();if(rf(o))e.push(o);else if(eR(o)){const a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});e.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),oN=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Zo=new F("LocaleId",{providedIn:"root",factory:()=>ne(Zo,Fe.Optional|Fe.SkipSelf)||function lJ(){return typeof $localize<"u"&&$localize.locale||Id}()});let Jw=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ft(!1)}add(){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.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class dJ{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let uJ=(()=>{class n{compileModuleSync(e){return new Fw(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=La(xr(e).declarations).reduce((a,s)=>{const l=At(s);return l&&a.push(new Jh(l)),a},[]);return new dJ(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function lN(...n){}class ce{constructor({enableLongStackTrace:t=!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 z(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function pJ(){let n=Wt.requestAnimationFrame,t=Wt.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function _J(n){const t=()=>{!function gJ(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Wt,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,ex(n),n.isCheckStableRunning=!0,Zw(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),ex(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,a,s)=>{try{return cN(n),e.invokeTask(r,o,a,s)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),dN(n)}},onInvoke:(e,i,r,o,a,s,l)=>{try{return cN(n),e.invoke(r,o,a,s,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),dN(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,ex(n),Zw(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ce.isInAngularZone())throw new z(909,!1)}static assertNotInAngularZone(){if(ce.isInAngularZone())throw new z(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,mJ,lN,lN);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const mJ={};function Zw(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function ex(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function cN(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function dN(n){n._nesting--,Zw(n)}const uN=new F("",{providedIn:"root",factory:hN});function hN(){const n=ne(ce);let t=!0;return dt(new rt(r=>{t=n.isStable&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks,n.runOutsideAngular(()=>{r.next(t),r.complete()})}),new rt(r=>{let o;n.runOutsideAngular(()=>{o=n.onStable.subscribe(()=>{ce.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks&&(t=!0,r.next(!0))})})});const a=n.onUnstable.subscribe(()=>{ce.assertInAngularZone(),t&&(t=!1,n.runOutsideAngular(()=>{r.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}}).pipe(Bm()))}const fN=new F("");let Is=null;const rx=new F("PlatformDestroyListeners"),r_=new F("appBootstrapListener");function DJ(n){try{const{rootComponent:t,appProviders:e,platformProviders:i}=n,r=function xJ(n=[]){if(Is)return Is;const t=function _N(n=[],t){return Yt.create({name:t,providers:[{provide:LC,useValue:"platform"},{provide:rx,useValue:new Set([()=>Is=null])},...n]})}(n);return Is=t,function mN(){!function OU(n){YT=n}(()=>{throw new z(600,!1)})}(),function gN(n){n.get(zI,null)?.forEach(e=>e())}(t),t}(i),o=[TJ(),...e||[]],s=new _2({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=s.get(ce);return l.run(()=>{s.resolveInjectorInitializers();const c=s.get($r,null);let d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:p=>{c.handleError(p)}})});const u=()=>s.destroy(),h=r.get(rx);return h.add(u),s.onDestroy(()=>{d.unsubscribe(),h.delete(u)}),function yN(n,t,e){try{const i=e();return rf(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(c,l,()=>{const p=s.get(Xw);return p.runInitializers(),p.donePromise.then(()=>{UR(s.get(Zo,Id)||Id);const y=s.get(Va);return void 0!==t&&y.bootstrap(t),y})})})}catch(t){return Promise.reject(t)}}let Va=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ne(xN),this.zoneIsStable=ne(uN),this.componentTypes=[],this.components=[],this.isStable=ne(Jw).hasPendingTasks.pipe(xt(e=>e?ee(!1):this.zoneIsStable),ys(),Bm()),this._injector=ne(Yo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof qI;if(!this._injector.get(Xw).done)throw!r&&function Qc(n){const t=At(n)||bi(n)||rr(n);return null!==t&&t.standalone}(e),new z(405,!1);let a;a=r?e:this._injector.get(Es).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const s=function CJ(n){return n.isBoundToModule}(a)?void 0:this._injector.get(Od),c=a.create(Yt.NULL,[],i||a.selector,s),d=c.location.nativeElement,u=c.injector.get(fN,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),o_(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new z(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;o_(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(r_,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(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),()=>o_(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new z(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function o_(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const xN=new F("",{providedIn:"root",factory:()=>ne($r).handleError.bind(void 0)});function EJ(){const n=ne(ce),t=ne($r);return e=>n.runOutsideAngular(()=>t.handleError(e))}let MJ=(()=>{class n{constructor(){this.zone=ne(ce),this.applicationRef=ne(Va)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function DN(n){return[{provide:ce,useFactory:n},{provide:jh,multi:!0,useFactory:()=>{const t=ne(MJ,{optional:!0});return()=>t.initialize()}},{provide:xN,useFactory:EJ},{provide:uN,useFactory:hN}]}function TJ(n){return Eg([[],DN(()=>new ce(function vN(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}(n)))])}let ze=(()=>{class n{}return n.__NG_ELEMENT_ID__=AJ,n})();function AJ(n){return function IJ(n,t,e){if(Ol(n)&&!e){const i=Sr(n.index,t);return new Xh(i,i)}return 47&n.type?new Xh(t[Rn],t):null}(ci(),K(),16==(16&n))}class MN{constructor(){}supports(t){return $g(t)}create(t){return new LJ(t)}}const PJ=(n,t)=>t;class LJ{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||PJ}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(r,s),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,s,a,r)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,a,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new BJ(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=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(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new TN),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new TN),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class BJ{constructor(t,e){this.item=t,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 VJ{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class TN{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new VJ,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function AN(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),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(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new HJ(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class HJ{constructor(t){this.key=t,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 ON(){return new Gr([new MN])}let Gr=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||ON()),deps:[[n,new Na,new fo]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new z(901,!1)}}return n.\u0275prov=L({token:n,providedIn:"root",factory:ON}),n})();function RN(){return new _f([new IN])}let _f=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||RN()),deps:[[n,new Na,new fo]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new z(901,!1)}}return n.\u0275prov=L({token:n,providedIn:"root",factory:RN}),n})();function Fd(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function c_(n){return!!n&&(n instanceof rt||vt(n.lift)&&vt(n.subscribe))}const d_=_h(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:tZ}=Array,{getPrototypeOf:nZ,prototype:iZ,keys:rZ}=Object;function zN(n){if(1===n.length){const t=n[0];if(tZ(t))return{args:t,keys:null};if(function oZ(n){return n&&"object"==typeof n&&nZ(n)===iZ}(t)){const e=rZ(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:aZ}=Array;function hx(n){return ue(t=>function sZ(n,t){return aZ(t)?n(...t):n(t)}(n,t))}function HN(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function Ul(...n){const t=Yc(n),e=gT(n),{args:i,keys:r}=zN(n);if(0===i.length)return yn([],t);const o=new rt(function lZ(n,t,e=ka){return i=>{$N(t,()=>{const{length:r}=n,o=new Array(r);let a=r,s=r;for(let l=0;l{const c=yn(n[l],t);let d=!1;c.subscribe(Vt(i,u=>{o[l]=u,d||(d=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,t,r?a=>HN(r,a):ka));return e?o.pipe(hx(e)):o}function $N(n,t,e){n?Ma(e,n,t):t()}function jN(){return Lm(1)}function Pd(...n){return jN()(yn(n,Yc(n)))}function Ld(n){return new rt(t=>{ti(n()).subscribe(t)})}function Bd(n,t){const e=vt(n)?n:()=>n,i=r=>r.error(e());return new rt(t?r=>t.schedule(i,0,r):i)}function fx(){return qt((n,t)=>{let e=null;n._refCount++;const i=Vt(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}class px extends rt{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,tT(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new We;const e=this.getSubject();t.add(this.source.subscribe(Vt(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=We.EMPTY)}return t}refCount(){return fx()(this)}}let mx=null;function Os(){return mx}class dZ{}const ye=new F("DocumentToken");let UN=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:function(){return ne(uZ)},providedIn:"platform"}),n})(),uZ=(()=>{class n extends UN{constructor(){super(),this._doc=ne(ye),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Os().getBaseHref(this._doc)}onPopState(e){const i=Os().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Os().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,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:function(){return new n},providedIn:"platform"}),n})();function GN(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function qN(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Gl(n){return n&&"?"!==n[0]?"?"+n:n}let u_=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:function(){return ne(fZ)},providedIn:"root"}),n})();const hZ=new F("appBaseHref");let fZ=(()=>{class n extends u_{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ne(ye).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 GN(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Gl(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const a=this.prepareExternalUrl(r+Gl(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){const a=this.prepareExternalUrl(r+Gl(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(I(UN),I(hZ,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),bf=(()=>{class n{constructor(e){this._subject=new j,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function gZ(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(qN(WN(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Gl(i))}normalize(e){return n.stripTrailingSlash(function mZ(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,WN(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Gl(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Gl(i)),r)}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._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(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Gl,n.joinWithSlash=GN,n.stripTrailingSlash=qN,n.\u0275fac=function(e){return new(e||n)(I(u_))},n.\u0275prov=L({token:n,factory:function(){return function pZ(){return new bf(I(u_))}()},providedIn:"root"}),n})();function WN(n){return n.replace(/\/index.html$/,"")}function nF(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const Sx=/\s+/,iF=[];let Yr=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=iF,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Sx):iF}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Sx):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 r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(Sx).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(g(Gr),g(_f),g(W),g(Pa))},n.\u0275dir=R({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class eee{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Zt=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,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((r,o,a)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new eee(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const s=i.get(o);i.move(s,a),oF(s,r)}});for(let r=0,o=i.length;r{oF(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(kt),g(Gr))},n.\u0275dir=R({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function oF(n,t){n.context.$implicit=t.item}let Le=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new tee,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){aF("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){aF("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}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(kt))},n.\u0275dir=R({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class tee{constructor(){this.$implicit=null,this.ngIf=null}}function aF(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${qn(t)}'.`)}class kx{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let ql=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),Cf=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new kx(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(kt),g(ql,9))},n.\u0275dir=R({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),sF=(()=>{class n{constructor(e,i,r){r._addDefault(new kx(e,i))}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(kt),g(ql,9))},n.\u0275dir=R({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),cF=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,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[r,o]=e.split("."),a=-1===r.indexOf("-")?void 0:sr.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_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))}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(_f),g(Pa))},n.\u0275dir=R({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),n})(),Vd=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(r,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(g(Ft))},n.\u0275dir=R({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Je]}),n})();function yo(n,t){return new z(2100,!1)}class iee{createSubscription(t,e){return KT(()=>t.subscribe({next:e,error:i=>{throw i}}))}dispose(t){KT(()=>t.unsubscribe())}}class ree{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const oee=new ree,aee=new iee;let wf=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(rf(e))return oee;if(eR(e))return aee;throw yo()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(g(ze,16))},n.\u0275pipe=$i({name:"async",type:n,pure:!1,standalone:!0}),n})(),dF=(()=>{class n{transform(e){if(null==e)return null;if("string"!=typeof e)throw yo();return e.toUpperCase()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=$i({name:"uppercase",type:n,pure:!0,standalone:!0}),n})(),Kr=(()=>{class n{transform(e){return JSON.stringify(e,null,2)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=$i({name:"json",type:n,pure:!1,standalone:!0}),n})(),ke=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const hF="browser";function Wl(n){return n===hF}function Tx(n){return"server"===n}class pF{}function lt(n){return n<=0?()=>vn:qt((t,e)=>{let i=0;t.subscribe(Vt(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function zt(...n){const t=Yc(n);return qt((e,i)=>{(t?Pd(n,e,t):Pd(n,e)).subscribe(i)})}function Be(n,t){return qt((e,i)=>{let r=0;e.subscribe(Vt(i,o=>n.call(t,o,r++)&&i.next(o)))})}function x_(n){return qt((t,e)=>{let i=!1;t.subscribe(Vt(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function vF(n=Yee){return qt((t,e)=>{let i=!1;t.subscribe(Vt(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function Yee(){return new d_}function Qr(n,t){const e=arguments.length>=2;return i=>i.pipe(n?Be((r,o)=>n(r,o,i)):ka,lt(1),e?x_(t):vF(()=>new d_))}function Df(n,t){return vt(t)?Gn(n,t,1):Gn(n,1)}function Ht(n,t,e){const i=vt(n)||t||e?{next:n,error:t,complete:e}:n;return i?qt((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let s=!0;r.subscribe(Vt(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;s=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;s=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;s&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):ka}function Xr(n){return qt((t,e)=>{let o,i=null,r=!1;i=t.subscribe(Vt(e,void 0,void 0,a=>{o=ti(n(a,Xr(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function Ox(n){return n<=0?()=>vn:qt((t,e)=>{let i=[];t.subscribe(Vt(e,r=>{i.push(r),n{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function yF(n,t){const e=arguments.length>=2;return i=>i.pipe(n?Be((r,o)=>n(r,o,i)):ka,Ox(1),e?x_(t):vF(()=>new d_))}function D_(n){return ue(()=>n)}function Co(n){return qt((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}class Xee extends dZ{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Rx extends Xee{static makeCurrent(){!function cZ(n){mx||(mx=n)}(new Rx)}onAndCancel(t,e,i){return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function Jee(){return Sf=Sf||document.querySelector("base"),Sf?Sf.getAttribute("href"):null}();return null==e?null:function Zee(n){S_=S_||document.createElement("a"),S_.setAttribute("href",n);const t=S_.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Sf=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return nF(document.cookie,t)}}let S_,Sf=null,tte=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const Nx=new F("EventManagerPlugins");let CF=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new z(5101,!1);return this._eventNameToPlugin.set(e,i),i}}return n.\u0275fac=function(e){return new(e||n)(I(Nx),I(ce))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();class wF{constructor(t){this._doc=t}}const Fx="ng-app-id";let xF=(()=>{class n{constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Tx(o),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(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${Fx}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(e,i){const r=this.styleRef;if(r.has(e)){const o=r.get(e);return o.usage+=i,o.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===e)return r.delete(i),o.removeAttribute(Fx),o;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Fx,this.appId),a}}addStyleToHost(e,i){const r=this.getStyleElement(e,i);e.appendChild(r);const o=this.styleRef,a=o.get(i)?.elements;a?a.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return n.\u0275fac=function(e){return new(e||n)(I(ye),I(Ag),I($C,8),I(Hr))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const Px={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/"},Lx=/%COMP%/g,ote=new F("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function SF(n,t){return t.map(e=>e.replace(Lx,n))}let Bx=(()=>{class n{constructor(e,i,r,o,a,s,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.doc=a,this.platformId=s,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Tx(s),this.defaultRenderer=new Vx(e,a,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===ir.ShadowDom&&(i={...i,encapsulation:ir.Emulated});const r=this.getOrCreateRenderer(e,i);return r instanceof EF?r.applyToHost(e):r instanceof zx&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestory,u=this.platformIsServer;switch(i.encapsulation){case ir.Emulated:o=new EF(l,c,i,this.appId,d,a,s,u);break;case ir.ShadowDom:return new cte(l,c,e,i,a,s,this.nonce,u);default:o=new zx(l,c,i,d,a,s,u)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}}return n.\u0275fac=function(e){return new(e||n)(I(CF),I(xF),I(Ag),I(ote),I(ye),I(Hr),I(ce),I($C))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();class Vx{constructor(t,e,i,r){this.eventManager=t,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(Px[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(kF(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(kF(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?this.doc.querySelector(t):t;if(!i)throw new z(5104,!1);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=Px[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=Px[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(sr.DashCase|sr.Important)?t.style.setProperty(e,i,r&sr.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&sr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){if("string"==typeof t&&!(t=Os().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(i))}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))&&e.preventDefault()}}}function kF(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class cte extends Vx{constructor(t,e,i,r,o,a,s,l){super(t,o,a,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=SF(r.id,r.styles);for(const d of c){const u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class zx extends Vx{constructor(t,e,i,r,o,a,s,l){super(t,o,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=l?SF(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class EF extends zx{constructor(t,e,i,r,o,a,s,l){const c=r+"-"+i.id;super(t,e,i,o,a,s,l,c),this.contentAttr=function ate(n){return"_ngcontent-%COMP%".replace(Lx,n)}(c),this.hostAttr=function ste(n){return"_nghost-%COMP%".replace(Lx,n)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}let dte=(()=>{class n extends wF{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const MF=["alt","control","meta","shift"],ute={"\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"},hte={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let fte=(()=>{class n extends wF{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),a=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Os().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),MF.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),a+=c+".")}),a+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(e,i){let r=ute[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),MF.forEach(a=>{a!==r&&(0,hte[a])(e)&&(o+=a+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();function TF(n){return{appProviders:[...yte,...n?.providers??[]],platformProviders:bte}}const bte=[{provide:Hr,useValue:hF},{provide:zI,useValue:function mte(){Rx.makeCurrent()},multi:!0},{provide:ye,useFactory:function _te(){return function Eq(n){EC=n}(document),document},deps:[]}],yte=[{provide:LC,useValue:"root"},{provide:$r,useFactory:function gte(){return new $r},deps:[]},{provide:Nx,useClass:dte,multi:!0,deps:[ye,ce,Hr]},{provide:Nx,useClass:fte,multi:!0,deps:[ye]},Bx,xF,CF,{provide:Wh,useExisting:Bx},{provide:pF,useClass:tte,deps:[]},[]];let AF=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(I(ye))},n.\u0275prov=L({token:n,factory:function(e){let i=null;return i=e?new e:function wte(){return new AF(I(ye))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let kf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:function(e){let i=null;return i=e?new(e||n):I(RF),i},providedIn:"root"}),n})(),RF=(()=>{class n extends kf{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case It.NONE:return i;case It.HTML:return qo(i,"HTML")?Er(i):TI(this._doc,String(i)).toString();case It.STYLE:return qo(i,"Style")?Er(i):i;case It.SCRIPT:if(qo(i,"Script"))return Er(i);throw new z(5200,!1);case It.URL:return qo(i,"URL")?Er(i):Sg(String(i));case It.RESOURCE_URL:if(qo(i,"ResourceURL"))return Er(i);throw new z(5201,!1);default:throw new z(5202,!1)}}bypassSecurityTrustHtml(e){return function Nq(n){return new Mq(n)}(e)}bypassSecurityTrustStyle(e){return function Fq(n){return new Tq(n)}(e)}bypassSecurityTrustScript(e){return function Pq(n){return new Aq(n)}(e)}bypassSecurityTrustUrl(e){return function Lq(n){return new Iq(n)}(e)}bypassSecurityTrustResourceUrl(e){return function Bq(n){return new Oq(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(I(ye))},n.\u0275prov=L({token:n,factory:function(e){let i=null;return i=e?new e:function kte(n){return new RF(n.get(ye))}(I(Yt)),i},providedIn:"root"}),n})();const tt="primary",Ef=Symbol("RouteTitle");class Ete{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function zd(n){return new Ete(n)}function Mte(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function PF(n){return n.length>0?n[n.length-1]:null}function Ns(n){return c_(n)?n:rf(n)?yn(Promise.resolve(n)):ee(n)}const Ate={exact:function VF(n,t,e){if(!Yl(n.segments,t.segments)||!k_(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!VF(n.children[i],t.children[i],e))return!1;return!0},subset:zF},LF={exact:function Ite(n,t){return ea(n,t)},subset:function Ote(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>FF(n[e],t[e]))},ignored:()=>!0};function BF(n,t,e){return Ate[e.paths](n.root,t.root,e.matrixParams)&&LF[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function zF(n,t,e){return HF(n,t,t.segments,e)}function HF(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!Yl(r,e)||t.hasChildren()||!k_(r,e,i))}if(n.segments.length===e.length){if(!Yl(n.segments,e)||!k_(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!zF(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(Yl(n.segments,r)&&k_(n.segments,r,i)&&n.children[tt])&&HF(n.children[tt],t,o,i)}}function k_(n,t,e){return t.every((i,r)=>LF[e](n[r].parameters,i.parameters))}class Hd{constructor(t=new Lt([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zd(this.queryParams)),this._queryParamMap}toString(){return Fte.serialize(this)}}class Lt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return M_(this)}}class Mf{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=zd(this.parameters)),this._parameterMap}toString(){return UF(this)}}function Yl(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let Tf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:function(){return new E_},providedIn:"root"}),n})();class E_{parse(t){const e=new qte(t);return new Hd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Af(t.root,!0)}`,i=function Bte(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${T_(e)}=${T_(r)}`).join("&"):`${T_(e)}=${T_(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${i}${"string"==typeof t.fragment?`#${function Pte(n){return encodeURI(n)}(t.fragment)}`:""}`}}const Fte=new E_;function M_(n){return n.segments.map(t=>UF(t)).join("/")}function Af(n,t){if(!n.hasChildren())return M_(n);if(t){const e=n.children[tt]?Af(n.children[tt],!1):"",i=[];return Object.entries(n.children).forEach(([r,o])=>{r!==tt&&i.push(`${r}:${Af(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function Nte(n,t){let e=[];return Object.entries(n.children).forEach(([i,r])=>{i===tt&&(e=e.concat(t(r,i)))}),Object.entries(n.children).forEach(([i,r])=>{i!==tt&&(e=e.concat(t(r,i)))}),e}(n,(i,r)=>r===tt?[Af(n.children[tt],!1)]:[`${r}:${Af(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[tt]?`${M_(n)}/${e[0]}`:`${M_(n)}/(${e.join("//")})`}}function $F(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function T_(n){return $F(n).replace(/%3B/gi,";")}function $x(n){return $F(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function A_(n){return decodeURIComponent(n)}function jF(n){return A_(n.replace(/\+/g,"%20"))}function UF(n){return`${$x(n.path)}${function Lte(n){return Object.keys(n).map(t=>`;${$x(t)}=${$x(n[t])}`).join("")}(n.parameters)}`}const Vte=/^[^\/()?;#]+/;function jx(n){const t=n.match(Vte);return t?t[0]:""}const zte=/^[^\/()?;=#]+/,$te=/^[^=?&#]+/,Ute=/^[^&#]+/;class qte{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Lt([],{}):new Lt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[tt]=new Lt(t,e)),i}parseSegment(){const t=jx(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new z(4009,!1);return this.capture(t),new Mf(A_(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function Hte(n){const t=n.match(zte);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=jx(this.remaining);r&&(i=r,this.capture(i))}t[A_(e)]=A_(i)}parseQueryParam(t){const e=function jte(n){const t=n.match($te);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function Gte(n){const t=n.match(Ute);return t?t[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const r=jF(e),o=jF(i);if(t.hasOwnProperty(r)){let a=t[r];Array.isArray(a)||(a=[a],t[r]=a),a.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=jx(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new z(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=tt);const a=this.parseChildren();e[o]=1===Object.keys(a).length?a[tt]:new Lt([],a),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new z(4011,!1)}}function GF(n){return n.segments.length>0?new Lt([],{[tt]:n}):n}function qF(n){const t={};for(const i of Object.keys(n.children)){const o=qF(n.children[i]);if(i===tt&&0===o.segments.length&&o.hasChildren())for(const[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function Wte(n){if(1===n.numberOfChildren&&n.children[tt]){const t=n.children[tt];return new Lt(n.segments.concat(t.segments),t.children)}return n}(new Lt(n.segments,t))}function Kl(n){return n instanceof Hd}function WF(n){let t;const r=GF(function e(o){const a={};for(const l of o.children){const c=e(l);a[l.outlet]=c}const s=new Lt(o.url,a);return o===n&&(t=s),s}(n.root));return t??r}function YF(n,t,e,i){let r=n;for(;r.parent;)r=r.parent;if(0===t.length)return Ux(r,r,r,e,i);const o=function Kte(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new QF(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===a?(o.split("/").forEach((s,l)=>{0==l&&"."===s||(0==l&&""===s?e=!0:".."===s?t++:""!=s&&r.push(s))}),r):[...r,o]},[]);return new QF(e,t,i)}(t);if(o.toRoot())return Ux(r,r,new Lt([],{}),e,i);const a=function Qte(n,t,e){if(n.isAbsolute)return new O_(t,!0,0);if(!e)return new O_(t,!1,NaN);if(null===e.parent)return new O_(e,!0,0);const i=I_(n.commands[0])?0:1;return function Xte(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new z(4005,!1);r=i.segments.length}return new O_(i,!1,r-o)}(e,e.segments.length-1+i,n.numberOfDoubleDots)}(o,r,n),s=a.processChildren?Of(a.segmentGroup,a.index,o.commands):XF(a.segmentGroup,a.index,o.commands);return Ux(r,a.segmentGroup,s,e,i)}function I_(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function If(n){return"object"==typeof n&&null!=n&&n.outlets}function Ux(n,t,e,i,r){let a,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`}),a=n===t?e:KF(n,t,e);const s=GF(qF(a));return new Hd(s,o,r)}function KF(n,t,e){const i={};return Object.entries(n.children).forEach(([r,o])=>{i[r]=o===t?e:KF(o,t,e)}),new Lt(n.segments,i)}class QF{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&I_(i[0]))throw new z(4003,!1);const r=i.find(If);if(r&&r!==PF(i))throw new z(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class O_{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function XF(n,t,e){if(n||(n=new Lt([],{})),0===n.segments.length&&n.hasChildren())return Of(n,t,e);const i=function Zte(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const a=n.segments[r],s=e[i];if(If(s))break;const l=`${s}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!ZF(l,c,a))return o;i+=2}else{if(!ZF(l,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(r[o]=XF(n.children[o],t,a))}),Object.entries(n.children).forEach(([o,a])=>{void 0===i[o]&&(r[o]=a)}),new Lt(n.segments,r)}}function Gx(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof i&&(i=[i]),null!==i&&(t[e]=Gx(new Lt([],{}),0,i))}),t}function JF(n){const t={};return Object.entries(n).forEach(([e,i])=>t[e]=`${i}`),t}function ZF(n,t,e){return n==e.path&&ea(t,e.parameters)}const Rf="imperative";class ta{constructor(t,e){this.id=t,this.url=e}}class qx extends ta{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ql extends ta{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class R_ extends ta{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class N_ extends ta{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=16}}class F_ extends ta{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class tne extends ta{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nne extends ta{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ine extends ta{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class rne extends ta{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class one extends ta{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ane{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sne{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class lne{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cne{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dne{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class une{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hne{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Nf,this.attachRef=null}}let Nf=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new hne,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class eP{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Wx(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=Wx(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Yx(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return Yx(t,this._root).map(e=>e.value)}}function Wx(n,t){if(n===t.value)return t;for(const e of t.children){const i=Wx(n,e);if(i)return i}return null}function Yx(n,t){if(n===t.value)return[t];for(const e of t.children){const i=Yx(n,e);if(i.length)return i.unshift(t),i}return[]}class Ha{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function $d(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class tP extends eP{constructor(t,e){super(t),this.snapshot=e,Kx(this,t)}toString(){return this.snapshot.toString()}}function nP(n,t){const e=function fne(n,t){const a=new P_([],{},{},"",{},tt,t,null,{});return new rP("",new Ha(a,[]))}(0,t),i=new ft([new Mf("",{})]),r=new ft({}),o=new ft({}),a=new ft({}),s=new ft(""),l=new Ar(i,r,a,s,o,tt,t,e.root);return l.snapshot=e.root,new tP(new Ha(l,[]),e)}class Ar{constructor(t,e,i,r,o,a,s,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ue(c=>c[Ef]))??ee(void 0),this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ue(t=>zd(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ue(t=>zd(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function iP(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function pne(n){return n.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class P_{get title(){return this.data?.[Ef]}constructor(t,e,i,r,o,a,s,l,c){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=zd(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zd(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class rP extends eP{constructor(t,e){super(e),this.url=t,Kx(this,e)}toString(){return oP(this._root)}}function Kx(n,t){t.value._routerState=n,t.children.forEach(e=>Kx(n,e))}function oP(n){const t=n.children.length>0?` { ${n.children.map(oP).join(", ")} } `:"";return`${n.value}${t}`}function Qx(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,ea(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),ea(t.params,e.params)||n.paramsSubject.next(e.params),function Tte(n,t){if(n.length!==t.length)return!1;for(let e=0;eea(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||Xx(n.parent,t.parent))}let Xl=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=tt,this.activateEvents=new j,this.deactivateEvents=new j,this.attachEvents=new j,this.detachEvents=new j,this.parentContexts=ne(Nf),this.location=ne(Ft),this.changeDetector=ne(ze),this.environmentInjector=ne(Yo),this.inputBinder=ne(L_,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new z(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new z(4013,!1);this._activatedRoute=e;const r=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new mne(e,s,r.injector);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Je]}),n})();class mne{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===Ar?this.route:t===Nf?this.childContexts:this.parent.get(t,e)}}const L_=new F("");function Ff(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function _ne(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Ff(n,i,r);return Ff(n,i)})}(n,t,e);return new Ha(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>Ff(n,s)),a}}const i=function bne(n){return new Ar(new ft(n.url),new ft(n.params),new ft(n.queryParams),new ft(n.fragment),new ft(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Ff(n,o));return new Ha(i,r)}}const Jx="ngNavigationCancelingError";function sP(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=Kl(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=lP(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function lP(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[Jx]=!0,i.cancellationCode=t,e&&(i.url=e),i}function cP(n){return dP(n)&&Kl(n.url)}function dP(n){return n&&n[Jx]}let uP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:1,vars:0,template:function(e,i){1&e&&T(0,"router-outlet")},dependencies:[Xl],encapsulation:2}),n})();function Zx(n){const t=n.children&&n.children.map(Zx),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==tt&&(e.component=uP),e}function wo(n){return n.outlet||tt}function Pf(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Sne{constructor(t,e,i,r,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),Qx(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=$d(e);t.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(t,e,a.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=$d(t);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],r);if(i&&i.outlet){const a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=$d(t);for(const a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,e,i){const r=$d(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new une(o.value.snapshot))}),t.children.length&&this.forwardEvent(new cne(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(Qx(r),r===o)if(r.component){const a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Qx(s.route.value),this.activateChildRoutes(t,null,a.children)}else{const s=Pf(r.snapshot);a.attachRef=null,a.route=r,a.injector=s,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,i)}}class hP{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class B_{constructor(t,e){this.component=t,this.route=e}}function kne(n,t,e){const i=n._root;return Lf(i,t?t._root:null,e,[i.value])}function jd(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function Kj(n){return null!==$m(n)}(n)?t.get(n):n:i}function Lf(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=$d(t);return n.children.forEach(a=>{(function Mne(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,a=t?t.value:null,s=e?e.getContext(n.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const l=function Tne(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!Yl(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Yl(n.url,t.url)||!ea(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xx(n,t)||!ea(n.queryParams,t.queryParams);default:return!Xx(n,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new hP(i)):(o.data=a.data,o._resolvedData=a._resolvedData),Lf(n,t,o.component?s?s.children:null:e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new B_(s.outlet.component,a))}else a&&Bf(t,s,r),r.canActivateChecks.push(new hP(i)),Lf(n,null,o.component?s?s.children:null:e,i,r)})(a,o[a.value.outlet],e,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Bf(s,e.getContext(a),r)),r}function Bf(n,t,e){const i=$d(n),r=n.value;Object.entries(i).forEach(([o,a])=>{Bf(a,r.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new B_(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function Vf(n){return"function"==typeof n}function fP(n){return n instanceof d_||"EmptyError"===n?.name}const V_=Symbol("INITIAL_VALUE");function Ud(){return xt(n=>Ul(n.map(t=>t.pipe(lt(1),zt(V_)))).pipe(ue(t=>{for(const e of t)if(!0!==e){if(e===V_)return V_;if(!1===e||e instanceof Hd)return e}return!0}),Be(t=>t!==V_),lt(1)))}function pP(n){return function sj(...n){return JM(n)}(Ht(t=>{if(Kl(t))throw sP(0,t)}),ue(t=>!0===t))}class z_{constructor(t){this.segmentGroup=t||null}}class mP{constructor(t){this.urlTree=t}}function Gd(n){return Bd(new z_(n))}function gP(n){return Bd(new mP(n))}class Kne{constructor(t,e){this.urlSerializer=t,this.urlTree=e}noMatchError(t){return new z(4002,!1)}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return ee(i);if(r.numberOfChildren>1||!r.children[tt])return Bd(new z(4e3,!1));r=r.children[tt]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new Hd(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Object.entries(t).forEach(([r,o])=>{if("string"==typeof o&&o.startsWith(":")){const s=o.substring(1);i[r]=e[s]}else i[r]=o}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let a={};return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(t,l,i,r)}),new Lt(o,a)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new z(4001,!1);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}const e1={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Qne(n,t,e,i,r){const o=t1(n,t,e);return o.matched?(i=function vne(n,t){return n.providers&&!n._injector&&(n._injector=Pw(n.providers,t,`Route: ${n.path}`)),n._injector??t}(t,i),function qne(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?ee(r.map(a=>{const s=jd(a,n);return Ns(function Fne(n){return n&&Vf(n.canMatch)}(s)?s.canMatch(t,e):n.runInContext(()=>s(t,e)))})).pipe(Ud(),pP()):ee(!0)}(i,t,e).pipe(ue(a=>!0===a?o:{...e1}))):ee(o)}function t1(n,t,e){if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...e1}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||Mte)(e,n,t);if(!r)return{...e1};const o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});const a=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function _P(n,t,e,i){return e.length>0&&function Zne(n,t,e){return e.some(i=>H_(n,t,i)&&wo(i)!==tt)}(n,e,i)?{segmentGroup:new Lt(t,Jne(i,new Lt(e,n.children))),slicedSegments:[]}:0===e.length&&function eie(n,t,e){return e.some(i=>H_(n,t,i))}(n,e,i)?{segmentGroup:new Lt(n.segments,Xne(n,0,e,i,n.children)),slicedSegments:e}:{segmentGroup:new Lt(n.segments,n.children),slicedSegments:e}}function Xne(n,t,e,i,r){const o={};for(const a of i)if(H_(n,e,a)&&!r[wo(a)]){const s=new Lt([],{});o[wo(a)]=s}return{...r,...o}}function Jne(n,t){const e={};e[tt]=t;for(const i of n)if(""===i.path&&wo(i)!==tt){const r=new Lt([],{});e[wo(i)]=r}return e}function H_(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}class rie{constructor(t,e,i,r,o,a,s){this.injector=t,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new Kne(this.urlSerializer,this.urlTree)}noMatchError(t){return new z(4002,!1)}recognize(){const t=_P(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,tt).pipe(Xr(e=>{if(e instanceof mP)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof z_?this.noMatchError(e):e}),ue(e=>{const i=new P_([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,{}),r=new Ha(i,e),o=new rP("",r),a=function Yte(n,t,e=null,i=null){return YF(WF(n),t,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,tt).pipe(Xr(i=>{throw i instanceof z_?this.noMatchError(i):i}))}inheritParamsAndData(t){const e=t.value,i=iP(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r,!0)}processChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return yn(r).pipe(Df(o=>{const a=i.children[o],s=function xne(n,t){const e=n.filter(i=>wo(i)===t);return e.push(...n.filter(i=>wo(i)!==t)),e}(e,o);return this.processSegmentGroup(t,s,a,o)}),function Qee(n,t){return qt(function Kee(n,t,e,i,r){return(o,a)=>{let s=e,l=t,c=0;o.subscribe(Vt(a,d=>{const u=c++;l=s?n(l,d,u):(s=!0,d),i&&a.next(l)},r&&(()=>{s&&a.next(l),a.complete()})))}}(n,t,arguments.length>=2,!0))}((o,a)=>(o.push(...a),o)),x_(null),yF(),Gn(o=>{if(null===o)return Gd(i);const a=bP(o);return function oie(n){n.sort((t,e)=>t.value.outlet===tt?-1:e.value.outlet===tt?1:t.value.outlet.localeCompare(e.value.outlet))}(a),ee(a)}))}processSegment(t,e,i,r,o,a){return yn(e).pipe(Df(s=>this.processSegmentAgainstRoute(s._injector??t,e,s,i,r,o,a).pipe(Xr(l=>{if(l instanceof z_)return ee(null);throw l}))),Qr(s=>!!s),Xr(s=>{if(fP(s))return function nie(n,t,e){return 0===t.length&&!n.children[e]}(i,r,o)?ee([]):Gd(i);throw s}))}processSegmentAgainstRoute(t,e,i,r,o,a,s){return function tie(n,t,e,i){return!!(wo(n)===i||i!==tt&&H_(t,e,n))&&("**"===n.path||t1(t,n,e).matched)}(i,r,o,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,r,i,o,a,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,a):Gd(r):Gd(r)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,a){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?gP(o):this.applyRedirects.lineralizeSegments(i,o).pipe(Gn(a=>{const s=new Lt(a,{});return this.processSegment(t,e,s,a,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,a){const{matched:s,consumedSegments:l,remainingSegments:c,positionalParamSegments:d}=t1(e,r,o);if(!s)return Gd(e);const u=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?gP(u):this.applyRedirects.lineralizeSegments(r,u).pipe(Gn(h=>this.processSegment(t,i,e,h.concat(c),a,!1)))}matchSegmentAgainstRoute(t,e,i,r,o,a){let s;if("**"===i.path){const l=r.length>0?PF(r).parameters:{};s=ee({snapshot:new P_(r,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,vP(i),wo(i),i.component??i._loadedComponent??null,i,yP(i)),consumedSegments:[],remainingSegments:[]}),e.children={}}else s=Qne(e,i,r,t).pipe(ue(({matched:l,consumedSegments:c,remainingSegments:d,parameters:u})=>l?{snapshot:new P_(c,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,vP(i),wo(i),i.component??i._loadedComponent??null,i,yP(i)),consumedSegments:c,remainingSegments:d}:null));return s.pipe(xt(l=>null===l?Gd(e):this.getChildConfig(t=i._injector??t,i,r).pipe(xt(({routes:c})=>{const d=i._loadedInjector??t,{snapshot:u,consumedSegments:h,remainingSegments:p}=l,{segmentGroup:v,slicedSegments:y}=_P(e,h,p,c);if(0===y.length&&v.hasChildren())return this.processChildren(d,c,v).pipe(ue(k=>null===k?null:[new Ha(u,k)]));if(0===c.length&&0===y.length)return ee([new Ha(u,[])]);const w=wo(i)===o;return this.processSegment(d,c,v,y,w?tt:o,!0).pipe(ue(k=>[new Ha(u,k)]))}))))}getChildConfig(t,e,i){return e.children?ee({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?ee({routes:e._loadedRoutes,injector:e._loadedInjector}):function Gne(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?ee(!0):ee(r.map(a=>{const s=jd(a,n);return Ns(function Ine(n){return n&&Vf(n.canLoad)}(s)?s.canLoad(t,e):n.runInContext(()=>s(t,e)))})).pipe(Ud(),pP())}(t,e,i).pipe(Gn(r=>r?this.configLoader.loadChildren(t,e).pipe(Ht(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function Yne(n){return Bd(lP(!1,3))}())):ee({routes:[],injector:t})}}function aie(n){const t=n.value.routeConfig;return t&&""===t.path}function bP(n){const t=[],e=new Set;for(const i of n){if(!aie(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=bP(i.children);t.push(new Ha(i.value,r))}return t.filter(i=>!e.has(i))}function vP(n){return n.data||{}}function yP(n){return n.resolve||{}}function CP(n){return"string"==typeof n.title||null===n.title}function n1(n){return xt(t=>{const e=n(t);return e?yn(e).pipe(ue(()=>t)):ee(t)})}const $_=new F("ROUTES");let wP=(()=>{class n{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=ne(uJ)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ee(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Ns(e.loadComponent()).pipe(ue(xP),Ht(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Co(()=>{this.componentLoaders.delete(e)})),r=new px(i,()=>new q).pipe(fx());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ee({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(ue(s=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c;return Array.isArray(s)?c=s:(l=s.create(e).injector,c=l.get($_,[],Fe.Self|Fe.Optional).flat()),{routes:c.map(Zx),injector:l}}),Co(()=>{this.childrenLoaders.delete(i)})),a=new px(o,()=>new q).pipe(fx());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(e){return Ns(e()).pipe(ue(xP),Gn(i=>i instanceof g2||Array.isArray(i)?ee(i):yn(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function xP(n){return function fie(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let j_=(()=>{class n{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new q,this.configLoader=ne(wP),this.environmentInjector=ne(Yo),this.urlSerializer=ne(Tf),this.rootContexts=ne(Nf),this.inputBindingEnabled=null!==ne(L_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ee(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new sne(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new ane(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new ft({id:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Rf,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Be(i=>0!==i.id),ue(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),xt(i=>{let r=!1,o=!1;return ee(i).pipe(Ht(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),xt(a=>{const s=e.browserUrlTree.toString(),l=!e.navigated||a.extractedUrl.toString()!==s||s!==e.currentUrlTree.toString();if(!l&&"reload"!==(a.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const d="";return this.events.next(new N_(a.id,e.serializeUrl(i.rawUrl),d,0)),e.rawUrlTree=a.rawUrl,a.resolve(null),vn}if(e.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return DP(a.source)&&(e.browserUrlTree=a.extractedUrl),ee(a).pipe(xt(d=>{const u=this.transitions?.getValue();return this.events.next(new qx(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),u!==this.transitions?.getValue()?vn:Promise.resolve(d)}),function sie(n,t,e,i,r,o){return Gn(a=>function iie(n,t,e,i,r,o,a="emptyOnly"){return new rie(n,t,e,i,r,a,o).recognize()}(n,t,e,i,a.extractedUrl,r,o).pipe(ue(({state:s,tree:l})=>({...a,targetSnapshot:s,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Ht(d=>{if(i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},"eager"===e.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=e.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);e.setBrowserUrl(h,d)}e.browserUrlTree=d.urlAfterRedirects}const u=new tne(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:d,extractedUrl:u,source:h,restoredState:p,extras:v}=a,y=new qx(d,this.urlSerializer.serialize(u),h,p);this.events.next(y);const w=nP(0,this.rootComponentType).snapshot;return ee(i={...a,targetSnapshot:w,urlAfterRedirects:u,extras:{...v,skipLocationChange:!1,replaceUrl:!1}})}{const d="";return this.events.next(new N_(a.id,e.serializeUrl(i.extractedUrl),d,1)),e.rawUrlTree=a.rawUrl,a.resolve(null),vn}}),Ht(a=>{const s=new nne(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),ue(a=>i={...a,guards:kne(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function Lne(n,t){return Gn(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=e;return 0===a.length&&0===o.length?ee({...e,guardsResult:!0}):function Bne(n,t,e,i){return yn(n).pipe(Gn(r=>function Une(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?ee(o.map(s=>{const l=Pf(t)??r,c=jd(s,l);return Ns(function Nne(n){return n&&Vf(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,i):l.runInContext(()=>c(n,t,e,i))).pipe(Qr())})).pipe(Ud()):ee(!0)}(r.component,r.route,e,t,i)),Qr(r=>!0!==r,!0))}(a,i,r,n).pipe(Gn(s=>s&&function Ane(n){return"boolean"==typeof n}(s)?function Vne(n,t,e,i){return yn(t).pipe(Df(r=>Pd(function Hne(n,t){return null!==n&&t&&t(new lne(n)),ee(!0)}(r.route.parent,i),function zne(n,t){return null!==n&&t&&t(new dne(n)),ee(!0)}(r.route,i),function jne(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>function Ene(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(a)).filter(a=>null!==a).map(a=>Ld(()=>ee(a.guards.map(l=>{const c=Pf(a.node)??e,d=jd(l,c);return Ns(function Rne(n){return n&&Vf(n.canActivateChild)}(d)?d.canActivateChild(i,n):c.runInContext(()=>d(i,n))).pipe(Qr())})).pipe(Ud())));return ee(o).pipe(Ud())}(n,r.path,e),function $ne(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return ee(!0);const r=i.map(o=>Ld(()=>{const a=Pf(t)??e,s=jd(o,a);return Ns(function One(n){return n&&Vf(n.canActivate)}(s)?s.canActivate(t,n):a.runInContext(()=>s(t,n))).pipe(Qr())}));return ee(r).pipe(Ud())}(n,r.route,e))),Qr(r=>!0!==r,!0))}(i,o,n,t):ee(s)),ue(s=>({...e,guardsResult:s})))})}(this.environmentInjector,a=>this.events.next(a)),Ht(a=>{if(i.guardsResult=a.guardsResult,Kl(a.guardsResult))throw sP(0,a.guardsResult);const s=new ine(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(s)}),Be(a=>!!a.guardsResult||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),n1(a=>{if(a.guards.canActivateChecks.length)return ee(a).pipe(Ht(s=>{const l=new rne(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(l)}),xt(s=>{let l=!1;return ee(s).pipe(function lie(n,t){return Gn(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return ee(e);let o=0;return yn(r).pipe(Df(a=>function cie(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!CP(r)&&(o[Ef]=r.title),function die(n,t,e,i){const r=function uie(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return ee({});const o={};return yn(r).pipe(Gn(a=>function hie(n,t,e,i){const r=Pf(t)??i,o=jd(n,r);return Ns(o.resolve?o.resolve(t,e):r.runInContext(()=>o(t,e)))}(n[a],t,e,i).pipe(Qr(),Ht(s=>{o[a]=s}))),Ox(1),D_(o),Xr(a=>fP(a)?vn:Bd(a)))}(o,n,t,i).pipe(ue(a=>(n._resolvedData=a,n.data=iP(n,e).resolve,r&&CP(r)&&(n.data[Ef]=r.title),null)))}(a.route,i,n,t)),Ht(()=>o++),Ox(1),Gn(a=>o===r.length?ee(e):vn))})}(e.paramsInheritanceStrategy,this.environmentInjector),Ht({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",2))}}))}),Ht(s=>{const l=new one(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(l)}))}),n1(a=>{const s=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ht(d=>{l.component=d}),ue(()=>{})));for(const d of l.children)c.push(...s(d));return c};return Ul(s(a.targetSnapshot.root)).pipe(x_(),lt(1))}),n1(()=>this.afterPreactivation()),ue(a=>{const s=function gne(n,t,e){const i=Ff(n,t._root,e?e._root:void 0);return new tP(i,t)}(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i={...a,targetRouterState:s}}),Ht(a=>{e.currentUrlTree=a.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),e.routerState=a.targetRouterState,"deferred"===e.urlUpdateStrategy&&(a.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,a),e.browserUrlTree=a.urlAfterRedirects)}),((n,t,e,i)=>ue(r=>(new Sne(t,r.targetRouterState,r.currentRouterState,e,i).activate(n),r)))(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),lt(1),Ht({next:a=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Ql(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{r=!0}}),Co(()=>{r||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Xr(a=>{if(o=!0,dP(a)){cP(a)||(e.navigated=!0,e.restoreHistory(i,!0));const s=new R_(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode);if(this.events.next(s),cP(a)){const l=e.urlHandlingStrategy.merge(a.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||DP(i.source)};e.scheduleNavigation(l,Rf,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const s=new F_(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);this.events.next(s);try{i.resolve(e.errorHandler(a))}catch(l){i.reject(l)}}return vn}))}))}cancelNavigationTransition(e,i,r){const o=new R_(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function DP(n){return n!==Rf}let SP=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===tt);return i}getResolvedTitleForRoute(e){return e.data[Ef]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:function(){return ne(pie)},providedIn:"root"}),n})(),pie=(()=>{class n extends SP{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(I(AF))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mie=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:function(){return ne(_ie)},providedIn:"root"}),n})();class gie{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let _ie=(()=>{class n extends gie{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const r1=new F("",{providedIn:"root",factory:()=>({})});let bie=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:function(){return ne(vie)},providedIn:"root"}),n})(),vie=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Ir=(()=>((Ir=Ir||{})[Ir.COMPLETE=0]="COMPLETE",Ir[Ir.FAILED=1]="FAILED",Ir[Ir.REDIRECTING=2]="REDIRECTING",Ir))();function yie(n){throw n}function Cie(n,t,e){return t.parse("/")}const wie={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xie={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ii=(()=>{class n{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=ne(oN),this.isNgZoneEnabled=!1,this.options=ne(r1,{optional:!0})||{},this.pendingTasks=ne(Jw),this.errorHandler=this.options.errorHandler||yie,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Cie,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=ne(bie),this.routeReuseStrategy=ne(mie),this.titleStrategy=ne(SP),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=ne($_,{optional:!0})?.flat()??[],this.navigationTransitions=ne(j_),this.urlSerializer=ne(Tf),this.location=ne(bf),this.componentInputBindingEnabled=!!ne(L_,{optional:!0}),this.isNgZoneEnabled=ne(ce)instanceof ce&&ce.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Hd,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=nP(0,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId??0},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Rf,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,r){const o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const s=this.parseUrl(e);this.scheduleNavigation(s,i,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Zx),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a;let u,d=null;switch(s){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}null!==d&&(d=this.removeEmptyProps(d));try{u=WF(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),u=this.currentUrlTree.root}return YF(u,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=Kl(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Rf,null,i)}navigate(e,i={skipLocationChange:!1}){return function Die(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(e,i,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,l,c;a?(s=a.resolve,l=a.reject,c=a.promise):c=new Promise((u,h)=>{s=u,l=h});const d=this.pendingTasks.add();return function kP(n,t){n.events.pipe(Be(e=>e instanceof Ql||e instanceof R_||e instanceof F_||e instanceof N_),ue(e=>e instanceof Ql||e instanceof N_?Ir.COMPLETE:e instanceof R_&&(0===e.code||1===e.code)?Ir.REDIRECTING:Ir.FAILED),Be(e=>e!==Ir.REDIRECTING),lt(1)).subscribe(()=>{t()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:s,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const a={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",a)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,(this.browserPageId??0)+1)};this.location.go(r,"",o)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dr=(()=>{class n{constructor(e,i,r,o,a,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s,this.href=null,this.commands=null,this.onChanges=new q,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Ql&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,r,o,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||r||o||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function II(n,t,e){return function Jq(n,t){return"src"===t&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===t&&("base"===n||"link"===n)?AI:Wo}(t,e)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return n.\u0275fac=function(e){return new(e||n)(g(ii),g(Ar),wi("tabindex"),g(Pa),g(W),g(u_))},n.\u0275dir=R({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,i){1&e&&E("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&ie("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Fd],skipLocationChange:["skipLocationChange","skipLocationChange",Fd],replaceUrl:["replaceUrl","replaceUrl",Fd],routerLink:"routerLink"},standalone:!0,features:[LO,Je]}),n})();const o1=new F("");function MP(n){return n.routerState.root}function TP(){const n=ne(Yt);return t=>{const e=n.get(Va);if(t!==e.components[0])return;const i=n.get(ii),r=n.get(AP);1===n.get(a1)&&i.initialNavigation(),n.get(IP,null,Fe.Optional)?.setUpPreloading(),n.get(o1,null,Fe.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const AP=new F("",{factory:()=>new q}),a1=new F("",{providedIn:"root",factory:()=>1}),IP=new F(""),Nie=new F("cdk-dir-doc",{providedIn:"root",factory:function Fie(){return ne(ye)}}),Pie=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Qt=(()=>{class n{constructor(e){this.value="ltr",this.change=new j,e&&(this.value=function Lie(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?Pie.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(I(Nie,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),qd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();class Bie extends We{constructor(t,e){super()}schedule(t,e=0){return this}}const U_={setInterval(n,t,...e){const{delegate:i}=U_;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=U_;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class G_ extends Bie{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return U_.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&U_.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Wc(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}let s1,Vie=1;const q_={};function RP(n){return n in q_&&(delete q_[n],!0)}const zie={setImmediate(n){const t=Vie++;return q_[t]=!0,s1||(s1=Promise.resolve()),s1.then(()=>RP(t)&&n()),t},clearImmediate(n){RP(n)}},{setImmediate:Hie,clearImmediate:$ie}=zie,W_={setImmediate(...n){const{delegate:t}=W_;return(t?.setImmediate||Hie)(...n)},clearImmediate(n){const{delegate:t}=W_;return(t?.clearImmediate||$ie)(n)},delegate:void 0},l1={now:()=>(l1.delegate||Date).now(),delegate:void 0};class zf{constructor(t,e=zf.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}zf.now=l1.now;class Y_ extends zf{constructor(t,e=zf.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const K_=new class Uie extends Y_{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class jie extends G_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=W_.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(W_.clearImmediate(e),t._scheduled===e&&(t._scheduled=void 0))}});function NP(n){for(let t in n){let e=n[t]??"";switch(t){case"display":n.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+t]=e;break;case"flex-direction":n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+t]=isNaN(+e)?"0":e}}return n}const c1="inline",Q_=["row","column","row-reverse","column-reverse"];function FP(n){let[t,e,i]=PP(n);return function qie(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}(t,e,i)}function PP(n){n=n?.toLowerCase()??"";let[t,e,i]=n.split(" ");return Q_.find(r=>r===t)||(t=Q_[0]),e===c1&&(e=i!==c1?i:"",i=c1),[t,Gie(e),!!i]}function Hf(n){let[t]=PP(n);return t.indexOf("row")>-1}function Gie(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}function ja(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}const Wd=new Y_(G_),Wie=Wd;function Fs(n,t=Wd){return qt((e,i)=>{let r=null,o=null,a=null;const s=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=a+n,d=t.now();if(d{o=c,a=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}function se(n){return qt((t,e)=>{ti(n).subscribe(Vt(e,()=>e.complete(),bh)),!e.closed&&t.subscribe(e)})}const Kie={provide:r_,useFactory:function Yie(n,t){return()=>{if(Wl(t)){const e=Array.from(n.querySelectorAll(`[class*=${LP}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${LP}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[ye,Hr],multi:!0},LP="flex-layout-";let Qie=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Kie]}),n})();class Ps{constructor(t=!1,e="all",i="",r="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new Ps(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Xie=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){const o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){const r=this.stylesheet.get(e);let o="";if(r){const a=r.get(i);("number"==typeof a||"string"==typeof a)&&(o=a+"")}return o}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Jie={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Ls=new F("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Jie}),Zie=new F("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),ere=new F("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function d1(n,t){return n=n?.clone()??new Ps,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}class Ua{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}}let na=(()=>{class n{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};"string"==typeof i&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:NP(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){const r=this.layoutConfig.disableVendorPrefixes?e:NP(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){const i="flex-direction";let r=this.lookupStyle(e,i);return[r||"row",this.lookupInlineStyle(e,i)||Tx(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,i){return e.getAttribute(i)??""}lookupInlineStyle(e,i){return Wl(this._platformId)?e.style.getPropertyValue(i):function tre(n,t){return BP(n)[t]??""}(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(Wl(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{const o=e[r],a=Array.isArray(o)?o:[o];a.sort();for(let s of a)s=s?s+"":"",Wl(this._platformId)||!this._serverModuleLoaded?Wl(this._platformId)?i.style.setProperty(r,s):nre(i,r,s):this._serverStylesheet.addStyleToElement(i,r,s)})}}return n.\u0275fac=function(e){return new(e||n)(I(Xie),I(Zie),I(Hr),I(Ls))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function nre(n,t,e){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=BP(n);i[t]=e??"",function ire(n,t){let e="";for(const i in t)t[i]&&(e+=`${i}:${t[i]};`);n.setAttribute("style",e)}(n,i)}function BP(n){const t={},e=n.getAttribute("style");if(e){const i=e.split(/;+/g);for(let r=0;r0){const a=o.indexOf(":");if(-1===a)throw new Error(`Invalid CSS style: ${o}`);t[o.substr(0,a).trim()]=o.substr(a+1).trim()}}}return t}function Yd(n,t){return(t&&t.priority||0)-(n&&n.priority||0)}function rre(n,t){return(n.priority||0)-(t.priority||0)}let X_=(()=>{class n{constructor(e,i,r){this._zone=e,this._platformId=i,this._document=r,this.source=new ft(new Ps(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(r=>r.matches)}observe(e,i=!1){if(e&&e.length){const r=this._observable$.pipe(Be(a=>!i||e.indexOf(a.mediaQuery)>-1));return dt(new rt(a=>{const s=this.registerQuery(e);if(s.length){const l=s.pop();s.forEach(c=>{a.next(c)}),this.source.next(l)}a.complete()}),r)}return this._observable$}registerQuery(e){const i=Array.isArray(e)?e:[e],r=[];return function ore(n,t){const e=n.filter(i=>!VP[i]);if(e.length>0){const i=e.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @ngbracket/ngx-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${i} {.fx-query-test{ }}\n`)),t.head.appendChild(r),e.forEach(o=>VP[o]=r)}catch(r){console.error(r)}}}(i,this._document),i.forEach(o=>{const a=l=>{this._zone.run(()=>this.source.next(new Ps(l.matches,o)))};let s=this.registry.get(o);s||(s=this.buildMQL(o),s.addListener(a),this.pendingRemoveListenerFns.push(()=>s.removeListener(a)),this.registry.set(o,s)),s.matches&&r.push(new Ps(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function sre(n,t){return t&&window.matchMedia("all").addListener?window.matchMedia(n):function are(n){const t=new EventTarget;return t.matches="all"===n||""===n,t.media=n,t.addListener=()=>{},t.removeListener=()=>{},t.addEventListener=()=>{},t.dispatchEvent=()=>!1,t.onchange=null,t}(n)}(e,Wl(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(I(ce),I(Hr),I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const VP={},lre=/(\.|-|_)/g;function cre(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}const fre=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],zP="(orientation: portrait) and (max-width: 599.98px)",HP="(orientation: landscape) and (max-width: 959.98px)",$P="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",jP="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",UP="(orientation: portrait) and (min-width: 840px)",GP="(orientation: landscape) and (min-width: 1280px)",Ga={HANDSET:`${zP}, ${HP}`,TABLET:`${$P} , ${jP}`,WEB:`${UP}, ${GP} `,HANDSET_PORTRAIT:`${zP}`,TABLET_PORTRAIT:`${$P} `,WEB_PORTRAIT:`${UP}`,HANDSET_LANDSCAPE:`${HP}`,TABLET_LANDSCAPE:`${jP}`,WEB_LANDSCAPE:`${GP}`},pre=[{alias:"handset",priority:2e3,mediaQuery:Ga.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Ga.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Ga.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Ga.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Ga.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Ga.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Ga.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Ga.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Ga.WEB_PORTRAIT,overlapping:!0}],mre=new F("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=ne(ere),t=ne(Ls),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r]));return function hre(n,t=[]){const e={};return n.forEach(i=>{e[i.alias]=i}),t.forEach(i=>{e[i.alias]?ja(e[i.alias],i):e[i.alias]=i}),function ure(n){return n.forEach(t=>{t.suffix||(t.suffix=function dre(n){return n.replace(lre,"|").split("|").map(cre).join("")}(t.alias),t.overlapping=!!t.overlapping)}),n}(Object.keys(e).map(i=>e[i]))}((t.disableDefaultBps?[]:fre).concat(t.addOrientationBps?pre:[]),e)}});let J_=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(rre)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,i){let r=this.findByMap.get(e);return r||(r=this.items.find(i)??null,this.findByMap.set(e,r)),r??null}}return n.\u0275fac=function(e){return new(e||n)(I(mre))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Kd="print",gre={alias:Kd,mediaQuery:Kd,priority:1e3};let qP=(()=>{class n{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new _re,this.deactivations=[]}withPrintQuery(e){return[...e,Kd]}isPrintEvent(e){return e.mediaQuery.startsWith(Kd)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(Yd)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=i?.mediaQuery??""),d1(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Ps(!0,Kd))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{this.isPrintEvent(i)?i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!i.matches){const r=this.breakpoints.findByQuery(i.mediaQuery);if(r){const o=this.formerActivations&&this.formerActivations.includes(r),a=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||a)&&(this.deactivations.push(r),this.deactivations.sort(Yd))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(I(J_),I(Ls),I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class _re{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(gre),t.sort(Yd),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(i=>i.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function bre(n){return n?.mediaQuery.startsWith(Kd)??!1}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}let qa=(()=>{class n{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new q,this.observeActivations()}onMediaChange(e){const i=this.findByQuery(e.mediaQuery);if(i){e=d1(e,i);const r=this.activatedBreakpoints.indexOf(i);e.matches&&-1===r?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(Yd),this.updateStyles()):!e.matches&&-1!==r&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(Yd),this.updateStyles())}}init(e,i,r,o,a=[]){WP(this.updateMap,e,i,r),WP(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,a)}getValue(e,i,r){const o=this.elementMap.get(e);if(o){const a=void 0!==r?o.get(r):this.getActivatedValues(o,i);if(a)return a.get(i)}}hasValue(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);if(o)return void 0!==o.get(i)||!1}return!1}setValue(e,i,r,o){let a=this.elementMap.get(e);if(a){const l=(a.get(o)??new Map).set(i,r);a.set(o,l),this.elementMap.set(e,a)}else a=(new Map).set(o,(new Map).set(i,r)),this.elementMap.set(e,a);const s=this.getValue(e,i);void 0!==s&&this.updateElement(e,i,s)}trackValue(e,i){return this.subject.asObservable().pipe(Be(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{const r=new Set(this.elementKeyMap.get(i));let o=this.getActivatedValues(e);o&&o.forEach((a,s)=>{this.updateElement(i,s,a),r.delete(s)}),r.forEach(a=>{if(o=this.getActivatedValues(e,a),o){const s=o.get(a);this.updateElement(i,a,s)}else this.clearElement(i,a)})})}clearElement(e,i){const r=this.clearMap.get(e);if(r){const o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){const o=this.updateMap.get(e);if(o){const a=o.get(i);a&&(a(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){const i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((o,a)=>r.delete(a)),this.elementMap.delete(e))}triggerUpdate(e,i){const r=this.elementMap.get(e);if(r){const o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((a,s)=>this.updateElement(e,s,a)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){const s=dt(...r).subscribe(()=>{const l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,s)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;oi.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Ht(this.hook.interceptEvents(this)),Be(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(I(X_),I(J_),I(qP))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function WP(n,t,e,i){if(void 0!==i){const r=n.get(t)??new Map;r.set(e,i),n.set(t,r)}}let Bs=(()=>{class n{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new q,this.styleCache=new Map}ngOnChanges(e){Object.keys(e).forEach(i=>{if(-1!==this.inputs.indexOf(i)){const r=i.split(".").slice(1).join(".");this.setValue(e[i].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){const r=this.styleBuilder,o=r.shouldCache;let a=this.styleCache.get(e);(!a||!o)&&(a=r.buildStyles(e,i),o&&this.styleCache.set(e,a)),this.mru={...a},this.applyStyleToElement(a),r.sideEffect(e,a,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){const[r,o]=this.styler.getFlowDirection(e);if(!o&&i){const a=FP(r);this.styler.applyStyleToElements(a,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Ua),g(na),g(qa))},n.\u0275dir=R({type:n,features:[Je]}),n})();EventTarget;let YP=(()=>{class n{constructor(e,i,r){this.breakpoints=e,this.matchMedia=i,this.hook=r,this.filterOverlaps=!1,this.destroyed$=new q,this._media$=this.watchActivations()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}asObservable(){return this._media$}isActive(e){return function xre(n){return n.flatMap(t=>t.split(",")).map(t=>t.trim())}(function Cre(n){return Array.isArray(n)?n:[n]}(e)).some(r=>{const o=function wre(n,t){return(t.findByAlias(n)??t.findByQuery(n))?.mediaQuery??null}(r,this.breakpoints);return null!==o&&this.matchMedia.isActive(o)})}watchActivations(){const e=this.breakpoints.items.map(i=>i.mediaQuery);return this.buildObservable(e)}buildObservable(e){return this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Be(a=>a.matches),Fs(0,K_),xt(a=>ee(this.findAllActivations())),ue(a=>this.filterOverlaps?a.filter(s=>this.breakpoints.findByQuery(s.mediaQuery)?.overlapping??!0):a),Be(a=>a.filter(l=>l.mediaQuery.length>0).length>0),ys((a,s)=>{if(a.length!==s.length)return!1;const l=a.map(u=>u.mediaQuery),c=new Set(s.map(u=>u.mediaQuery));return 0===new Set(l.filter(u=>!c.has(u))).size}),se(this.destroyed$))}findAllActivations(){return this.matchMedia.activations.map(r=>new Ps(!0,r)).map(r=>this.hook.isPrintEvent(r)?this.hook.updateEvent(r):r).map(r=>d1(r,this.breakpoints.findByQuery(r.mediaQuery))).sort(Yd)}}return n.\u0275fac=function(e){return new(e||n)(I(J_),I(X_),I(qP))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function KP(n,t="1",e="1"){let i=[t,e,n],r=n.indexOf("calc");if(r>0){i[2]=QP(n.substring(r).trim());let o=n.substr(0,r).trim().split(" ");2==o.length&&(i[0]=o[0],i[1]=o[1])}else if(0==r)i[2]=QP(n.trim());else{let o=n.split(" ");i=3===o.length?o:[t,e,n]}return i}function QP(n){return n.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function Z_(n,t){if(void 0===t)return n;const e=i=>{const r=+i.slice(0,-1);return n.endsWith("x")&&!isNaN(r)?`${r*t.value}${t.unit}`:n};return n.includes(" ")?n.split(" ").map(e).join(" "):e(n)}const Tre={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let Are=(()=>{class n extends Ua{buildStyles(e){return Tre}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),JP=(()=>{class n extends Bs{constructor(e,i,r,o){super(e,r,i,o),this.styleCache=Ire,this.addStyles("")}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(na),g(Are),g(qa))},n.\u0275dir=R({type:n,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[N]}),n})();const Ire=new Map;let Gre=(()=>{class n extends Ua{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...a]=e.split(" "),s=a.join(" ");const l=i.direction.indexOf("column")>-1?"column":"row",c=Hf(l)?"max-width":"max-height",d=Hf(l)?"min-width":"min-height",u=String(s).indexOf("calc")>-1,h=u||"auto"===s,p=String(s).indexOf("%")>-1&&!u,v=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let y=u||v;r="0"==r?0:r,o="0"==o?0:o;const w=!r&&!o;let k={};const D={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":s="row"===l?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,s="auto";break;case"grow":s="100%";break;case"noshrink":o=0,s="auto";break;case"auto":break;case"none":r=0,o=0,s="auto";break;default:!y&&!p&&!isNaN(s)&&(s+="%"),"0%"===s&&(y=!0),"0px"===s&&(s="0%"),k=ja(D,u?{"flex-grow":r,"flex-shrink":o,"flex-basis":y?s:"100%"}:{flex:`${r} ${o} ${y?s:"100%"}`})}return k.flex||k["flex-grow"]||(k=ja(D,u?{"flex-grow":r,"flex-shrink":o,"flex-basis":s}:{flex:`${r} ${o} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(k[d]=w||y&&r?s:null,k[c]=w||!h&&o?s:null),k[d]||k[c]?i.hasWrap&&(k[u?"flex-basis":"flex"]=k[c]?u?k[c]:`${r} ${o} ${k[c]}`:u?k[d]:`${r} ${o} ${k[d]}`):k=ja(D,u?{"flex-grow":r,"flex-shrink":o,"flex-basis":s}:{flex:`${r} ${o} ${s}`}),ja(k,{"box-sizing":"border-box"})}}return n.\u0275fac=function(e){return new(e||n)(I(Ls))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qre=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let Wre=(()=>{class n extends Bs{get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}constructor(e,i,r,o,a){super(e,o,i,a),this.layoutConfig=r,this.marshal=a,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(se(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(se(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const r=e.value.split(" ");this.direction=r[0],this.wrap=void 0!==r[1]&&"wrap"===r[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const r=this.direction,o=r.startsWith("row"),a=this.wrap;o&&a?this.styleCache=Qre:o&&!a?this.styleCache=Yre:!o&&a?this.styleCache=Xre:!o&&!a&&(this.styleCache=Kre);const l=KP(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:a})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const i=KP(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(na),g(Ls),g(Gre),g(qa))},n.\u0275dir=R({type:n,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[N]}),n})(),Qd=(()=>{class n extends Wre{constructor(){super(...arguments),this.inputs=qre}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[N]}),n})();const Yre=new Map,Kre=new Map,Qre=new Map,Xre=new Map;let Jre=(()=>{class n extends Ua{buildStyles(e,i){const r={},[o,a]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;default:r["justify-content"]="flex-start"}switch(a){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;default:r["align-items"]=r["align-content"]="stretch"}return ja(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":"stretch"===a?Hf(i.layout)?null:"100%":null,"max-height":"stretch"===a&&Hf(i.layout)?"100%":null})}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Zre=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let eoe=(()=>{class n extends Bs{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(se(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const i=this.layout||"row",r=this.inline;"row"===i&&r?this.styleCache=ooe:"row"!==i||r?"row-reverse"===i&&r?this.styleCache=soe:"row-reverse"!==i||r?"column"===i&&r?this.styleCache=aoe:"column"!==i||r?"column-reverse"===i&&r?this.styleCache=loe:"column-reverse"===i&&!r&&(this.styleCache=roe):this.styleCache=noe:this.styleCache=ioe:this.styleCache=toe,this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),Q_.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(na),g(Jre),g(qa))},n.\u0275dir=R({type:n,features:[N]}),n})(),Wa=(()=>{class n extends eoe{constructor(){super(...arguments),this.inputs=Zre}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[N]}),n})();const toe=new Map,noe=new Map,ioe=new Map,roe=new Map,ooe=new Map,aoe=new Map,soe=new Map,loe=new Map,ZP={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let coe=(()=>{class n extends Ua{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(eb)?function _oe(n,t){const[e,i]=n.split(" "),o=c=>`-${c}`;let a="0px",s=o(i??e),l="0px";return"rtl"===t?l=o(e):a=o(e),{margin:`0px ${a} ${s} ${l}`}}(e=Z_(e=e.slice(0,e.indexOf(eb)),this._config.multiplier),i.directionality):{}}sideEffect(e,i,r){const o=r.items;if(e.endsWith(eb)){const a=function goe(n,t){const[e,i]=n.split(" ");let o="0px",s="0px";return"rtl"===t?s=e:o=e,{padding:`0px ${o} ${i??e} ${s}`}}(e=Z_(e=e.slice(0,e.indexOf(eb)),this._config.multiplier),r.directionality);this._styler.applyStyleToElements(a,r.items)}else{e=Z_(e,this._config.multiplier),e=this.addFallbackUnit(e);const a=o.pop(),s=function boe(n,t){const e=eL(t.directionality,t.layout),i={...ZP};return i[e]=n,i}(e,r);this._styler.applyStyleToElements(s,o),this._styler.applyStyleToElements(ZP,[a])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}}return n.\u0275fac=function(e){return new(e||n)(I(na),I(Ls))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const doe=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let uoe=(()=>{class n extends Bs{get childrenNodes(){const e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}constructor(e,i,r,o,a,s){super(e,a,o,s),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new q;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(se(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const r=e.value.split(" ");this.layout=r[0],Q_.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const i=this.childrenNodes.filter(r=>1===r.nodeType&&this.willDisplay(r)).sort((r,o)=>{const a=+this.styler.lookupStyle(r,"order"),s=+this.styler.lookupStyle(o,"order");return isNaN(a)||isNaN(s)||a===s?0:a>s?1:-1});if(i.length>0){const r=this.directionality.value,o=this.layout;"row"===o&&"rtl"===r?this.styleCache=hoe:"row"===o&&"rtl"!==r?this.styleCache=poe:"column"===o&&"rtl"===r?this.styleCache=foe:"column"===o&&"rtl"!==r&&(this.styleCache=moe),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){const e=Object.keys(this.mru).length>0,i=e?"padding":eL(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){const i=this.marshal.getValue(e,"show-hide");return!0===i||void 0===i&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{e.some(r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce),g(Qt),g(na),g(coe),g(qa))},n.\u0275dir=R({type:n,features:[N]}),n})(),Pn=(()=>{class n extends uoe{constructor(){super(...arguments),this.inputs=doe}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[N]}),n})();const hoe=new Map,foe=new Map,poe=new Map,moe=new Map,eb=" grid";function eL(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===n?"margin-left":"margin-right";case"row-reverse":return"rtl"===n?"margin-right":"margin-left"}}let voe=(()=>{class n extends Ua{buildStyles(e,{display:i}){const r=FP(e);return{...r,display:"none"===i?i:r.display}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const yoe=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let Coe=(()=>{class n extends Bs{constructor(e,i,r,o,a){super(e,r,i,o),this._config=a,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){const r=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=tL.get(r)??new Map,tL.set(r,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:r}),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(na),g(voe),g(qa),g(Ls))},n.\u0275dir=R({type:n,features:[N]}),n})(),En=(()=>{class n extends Coe{constructor(){super(...arguments),this.inputs=yoe}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[N]}),n})();const tL=new Map;let Ln=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Qie,qd]}),n})(),woe=(()=>{class n{constructor(){this.title="natural"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-root"]],standalone:!0,features:[Se],decls:2,vars:0,consts:[["fxFlexFill","","fxLayout","column",1,"app-component"]],template:function(e,i){1&e&&(f(0,"div",0),T(1,"router-outlet"),m())},dependencies:[Ln,En,JP,Xl]}),n})();function $f(n){return($f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function ur(n,t,e){return(t=function Doe(n){var t=function xoe(n,t){if("object"!==$f(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==$f(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"===$f(t)?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const Eoe=new class koe extends Y_{}(class Soe extends G_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!=i&&i>0||null==i&&this.delay>0?super.requestAsyncId(t,e,i):(t.flush(this),0)}});var Ke=(()=>((Ke=Ke||{})[Ke.loading=1]="loading",Ke[Ke.setVariables=2]="setVariables",Ke[Ke.fetchMore=3]="fetchMore",Ke[Ke.refetch=4]="refetch",Ke[Ke.poll=6]="poll",Ke[Ke.ready=7]="ready",Ke[Ke.error=8]="error",Ke))();function jf(n){return!!n&&n<7}var u1="Invariant Violation",nL=Object.setPrototypeOf,Moe=void 0===nL?function(n,t){return n.__proto__=t,n}:nL,Mn=function(n){function t(e){void 0===e&&(e=u1);var i=n.call(this,"number"==typeof e?u1+": "+e+" (see https://github.com/apollographql/invariant-packages)":e)||this;return i.framesToPop=1,i.name=u1,Moe(i,t.prototype),i}return Tl(t,n),t}(Error);function Te(n,t){if(!n)throw new Mn(t)}var n,tb=["debug","log","warn","error","silent"],h1=tb.indexOf("log");function nb(n){return function(){if(tb.indexOf(n)>=h1)return(console[n]||console.log).apply(console,arguments)}}function Jr(n){try{return n()}catch{}}(n=Te||(Te={})).debug=nb("debug"),n.log=nb("log"),n.warn=nb("warn"),n.error=nb("error");const iL=Jr(function(){return globalThis})||Jr(function(){return window})||Jr(function(){return self})||Jr(function(){return global})||Jr(function(){return Jr.constructor("return this")()});var rL="__",oL=[rL,rL].join("DEV");const f1=function Toe(){try{return!!__DEV__}catch{return Object.defineProperty(iL,oL,{value:"production"!==Jr(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),iL[oL]}}();function Vs(n){try{return n()}catch{}}var p1=Vs(function(){return globalThis})||Vs(function(){return window})||Vs(function(){return self})||Vs(function(){return global})||Vs(function(){return Vs.constructor("return this")()}),m1=!1;function ib(n,t){if(!n)throw new Error(t)}!function Aoe(){p1&&!Vs(function(){return"production"})&&!Vs(function(){return process})&&(Object.defineProperty(p1,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),m1=!0)}();const Ioe=10,sL=2;function g1(n){return rb(n,[])}function rb(n,t){switch(typeof n){case"string":return JSON.stringify(n);case"function":return n.name?`[function ${n.name}]`:"[function]";case"object":return function Ooe(n,t){if(null===n)return"null";if(t.includes(n))return"[Circular]";const e=[...t,n];if(function Roe(n){return"function"==typeof n.toJSON}(n)){const i=n.toJSON();if(i!==n)return"string"==typeof i?i:rb(i,e)}else if(Array.isArray(n))return function Foe(n,t){if(0===n.length)return"[]";if(t.length>sL)return"[Array]";const e=Math.min(Ioe,n.length),i=n.length-e,r=[];for(let o=0;o1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}(n,e);return function Noe(n,t){const e=Object.entries(n);return 0===e.length?"{}":t.length>sL?"["+function Poe(n){const t=Object.prototype.toString.call(n).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof n.constructor){const e=n.constructor.name;if("string"==typeof e&&""!==e)return e}return t}(n)+"]":"{ "+e.map(([r,o])=>r+": "+rb(o,t)).join(", ")+" }"}(n,e)}(n,t);default:return String(n)}}const Loe=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(t,e){return t instanceof e}:function(t,e){if(t instanceof e)return!0;if("object"==typeof t&&null!==t){var i;const r=e.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in t?t[Symbol.toStringTag]:null===(i=t.constructor)||void 0===i?void 0:i.name)){const a=g1(t);throw new Error(`Cannot use ${r} "${a}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class _1{constructor(t,e="GraphQL request",i={line:1,column:1}){"string"==typeof t||ib(!1,`Body must be a string. Received: ${g1(t)}.`),this.body=t,this.name=e,this.locationOffset=i,this.locationOffset.line>0||ib(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ib(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function lL(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e1,s=!1,c=arguments[1];return new o(function(d){return r.subscribe({next:function(u){var h=!s;if(s=!0,!h||a)try{c=i(c,u)}catch(p){return d.error(p)}else c=u},error:function(u){d.error(u)},complete:function(){if(!s&&!a)return d.error(new TypeError("Cannot reduce an empty sequence"));d.next(c),d.complete()}})})},t.concat=function(){for(var i=this,r=arguments.length,o=new Array(r),a=0;a=0&&s.splice(h,1),c()}});s.push(u)},error:function(d){a.error(d)},complete:function(){c()}});function c(){l.closed&&0===s.length&&a.complete()}return function(){s.forEach(function(d){return d.unsubscribe()}),l.unsubscribe()}})},t[w1]=function(){return this},n.from=function(i){var r="function"==typeof this?this:n;if(null==i)throw new TypeError(i+" is not an object");var o=ob(i,w1);if(o){var a=o.call(i);if(Object(a)!==a)throw new TypeError(a+" is not an object");return function Uoe(n){return n instanceof nn}(a)&&a.constructor===r?a:new r(function(s){return a.subscribe(s)})}if(y1("iterator")&&(o=ob(i,joe)))return new r(function(s){ab(function(){if(!s.closed){for(var c,l=function Hoe(n,t){var e=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(e)return(e=e.call(n)).next.bind(e);if(Array.isArray(n)||(e=function $oe(n,t){if(n){if("string"==typeof n)return lL(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);if("Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return lL(n,t)}}(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var i=0;return function(){return i>=n.length?{done:!0}:{done:!1,value:n[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o.call(i));!(c=l()).done;)if(s.next(c.value),s.closed)return;s.complete()}})});if(Array.isArray(i))return new r(function(s){ab(function(){if(!s.closed){for(var l=0;l0){var i=e.connection.filter?e.connection.filter:[];i.sort();var r={};return i.forEach(function(s){r[s]=t[s]}),"".concat(e.connection.key,"(").concat(Gf(r),")")}return e.connection.key}var o=n;if(t){var a=Gf(t);o+="(".concat(a,")")}return e&&Object.keys(e).forEach(function(s){-1===oae.indexOf(s)&&(e[s]&&Object.keys(e[s]).length?o+="@".concat(s,"(").concat(Gf(e[s]),")"):o+="@".concat(s))}),o},{setStringify:function(n){var t=Gf;return Gf=n,t}}),function(t){return JSON.stringify(t,sae)});function sae(n,t){return hr(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(e,i){return e[i]=t[i],e},{})),t}function lae(n,t){if(n.arguments&&n.arguments.length){var e={};return n.arguments.forEach(function(i){return Jd(e,i.name,i.value,t)}),e}return null}function S1(n){return n.alias?n.alias.value:n.name.value}function sb(n){return"Field"===n.kind}function lb(n){__DEV__?Te(n&&"Document"===n.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):Te(n&&"Document"===n.kind,47);var t=n.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new Mn('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new Mn(48);return e});return __DEV__?Te(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):Te(t.length<=1,49),n}function cb(n){return lb(n),n.definitions.filter(function(t){return"OperationDefinition"===t.kind})[0]}function k1(n){return n.definitions.filter(function(t){return"OperationDefinition"===t.kind&&!!t.name}).map(function(t){return t.name.value})[0]||null}function fL(n){return n.definitions.filter(function(t){return"FragmentDefinition"===t.kind})}function E1(n){lb(n);for(var t,e=0,i=n.definitions;e((ia=ia||{}).QUERY="query",ia.MUTATION="mutation",ia.SUBSCRIPTION="subscription",ia))(),J=(()=>((J=J||{}).NAME="Name",J.DOCUMENT="Document",J.OPERATION_DEFINITION="OperationDefinition",J.VARIABLE_DEFINITION="VariableDefinition",J.SELECTION_SET="SelectionSet",J.FIELD="Field",J.ARGUMENT="Argument",J.FRAGMENT_SPREAD="FragmentSpread",J.INLINE_FRAGMENT="InlineFragment",J.FRAGMENT_DEFINITION="FragmentDefinition",J.VARIABLE="Variable",J.INT="IntValue",J.FLOAT="FloatValue",J.STRING="StringValue",J.BOOLEAN="BooleanValue",J.NULL="NullValue",J.ENUM="EnumValue",J.LIST="ListValue",J.OBJECT="ObjectValue",J.OBJECT_FIELD="ObjectField",J.DIRECTIVE="Directive",J.NAMED_TYPE="NamedType",J.LIST_TYPE="ListType",J.NON_NULL_TYPE="NonNullType",J.SCHEMA_DEFINITION="SchemaDefinition",J.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",J.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",J.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",J.FIELD_DEFINITION="FieldDefinition",J.INPUT_VALUE_DEFINITION="InputValueDefinition",J.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",J.UNION_TYPE_DEFINITION="UnionTypeDefinition",J.ENUM_TYPE_DEFINITION="EnumTypeDefinition",J.ENUM_VALUE_DEFINITION="EnumValueDefinition",J.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",J.DIRECTIVE_DEFINITION="DirectiveDefinition",J.SCHEMA_EXTENSION="SchemaExtension",J.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",J.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",J.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",J.UNION_TYPE_EXTENSION="UnionTypeExtension",J.ENUM_TYPE_EXTENSION="EnumTypeExtension",J.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",J))();const Jl=Object.freeze({});function Ya(n,t,e=gL){const i=new Map;for(const k of Object.values(J))i.set(k,T1(t,k));let r,d,u,o=Array.isArray(n),a=[n],s=-1,l=[],c=n;const h=[],p=[];do{s++;const k=s===a.length,D=k&&0!==l.length;if(k){if(d=0===p.length?void 0:h[h.length-1],c=u,u=p.pop(),D)if(o){c=c.slice();let A=0;for(const[O,he]of l){const P=O-A;null===he?(c.splice(P,1),A++):c[P]=he}}else{c=Object.defineProperties({},Object.getOwnPropertyDescriptors(c));for(const[A,O]of l)c[A]=O}s=r.index,a=r.keys,l=r.edits,o=r.inArray,r=r.prev}else if(u){if(d=o?s:a[s],c=u[d],null==c)continue;h.push(d)}let M;if(!Array.isArray(c)){var v,y;_L(c)||ib(!1,`Invalid AST Node: ${g1(c)}.`);const A=k?null===(v=i.get(c.kind))||void 0===v?void 0:v.leave:null===(y=i.get(c.kind))||void 0===y?void 0:y.enter;if(M=A?.call(t,c,d,u,h,p),M===Jl)break;if(!1===M){if(!k){h.pop();continue}}else if(void 0!==M&&(l.push([d,M]),!k)){if(!_L(M)){h.pop();continue}c=M}}var w;void 0===M&&D&&l.push([d,c]),k?h.pop():(r={inArray:o,index:s,keys:a,edits:l,prev:r},o=Array.isArray(c),a=o?c:null!==(w=e[c.kind])&&void 0!==w?w:[],s=-1,l=[],u&&p.push(u),u=c)}while(void 0!==r);return 0!==l.length?l[l.length-1][1]:n}function T1(n,t){const e=n[t];return"object"==typeof e?e:"function"==typeof e?{enter:e,leave:void 0}:{enter:n.enter,leave:n.leave}}function Yf(n,t,e){var i=new Set(n),r=i.size;return Ya(t,{Directive:function(o){if(i.delete(o.name.value)&&(!e||!i.size))return Jl}}),e?!i.size:i.size=0});var I1=function(n,t,e){var i=new Error(e);throw i.name="ServerError",i.response=n,i.statusCode=n.status,i.result=t,i},O1=Symbol(),Zd=function(n){function t(e){var i=e.graphQLErrors,r=e.protocolErrors,o=e.clientErrors,a=e.networkError,s=e.errorMessage,l=e.extraInfo,c=n.call(this,s)||this;return c.name="ApolloError",c.graphQLErrors=i||[],c.protocolErrors=r||[],c.clientErrors=o||[],c.networkError=a||null,c.message=s||function(n){var t=Al(Al(Al([],n.graphQLErrors,!0),n.clientErrors,!0),n.protocolErrors,!0);return n.networkError&&t.push(n.networkError),t.map(function(e){return hr(e)&&e.message||"Error message not found."}).join("\n")}(c),c.extraInfo=l,c.__proto__=t.prototype,c}return Tl(t,n),t}(Error),yL=Array.isArray;function zs(n){return Array.isArray(n)&&n.length>0}var Hae=Object.prototype.hasOwnProperty;function CL(){for(var n=[],t=0;t1)for(var i=new R1,r=1;r=0;--s){var l=a[s],d=isNaN(+l)?{}:[];d[l]=o,o=d}e=i.merge(e,o)}),e}var DL=Object.prototype.hasOwnProperty;function Wae(n){var t={};return n.split("\n").forEach(function(e){var i=e.indexOf(":");if(i>-1){var r=e.slice(0,i).trim().toLowerCase(),o=e.slice(i+1).trim();t[r]=o}}),t}function SL(n,t){n.status>=300&&I1(n,function(){try{return JSON.parse(t)}catch{return t}}(),"Response not successful: Received status code ".concat(n.status));try{return JSON.parse(t)}catch(r){var i=r;throw i.name="ServerParseError",i.response=n,i.statusCode=n.status,i.bodyText=t,i}}function N1(n,t){var e,i;"AbortError"!==n.name&&(n.result&&n.result.errors&&n.result.data&&(null===(e=t.next)||void 0===e||e.call(t,n.result)),null===(i=t.error)||void 0===i||i.call(t,n))}function F1(n){return 9===n||32===n}function Kf(n){return n>=48&&n<=57}function kL(n){return n>=97&&n<=122||n>=65&&n<=90}function EL(n){return kL(n)||95===n}function Xae(n){return kL(n)||Kf(n)||95===n}function Jae(n){var t;let e=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let a=0;a0===s?a:a.slice(e)).slice(null!==(t=i)&&void 0!==t?t:0,r+1)}function Zae(n){let t=0;for(;tn.value},Variable:{leave:n=>"$"+n.name},Document:{leave:n=>De(n.definitions,"\n\n")},OperationDefinition:{leave(n){const t=gt("(",De(n.variableDefinitions,", "),")"),e=De([n.operation,De([n.name,t]),De(n.directives," ")]," ");return("query"===e?"":e+" ")+n.selectionSet}},VariableDefinition:{leave:({variable:n,type:t,defaultValue:e,directives:i})=>n+": "+t+gt(" = ",e)+gt(" ",De(i," "))},SelectionSet:{leave:({selections:n})=>xo(n)},Field:{leave({alias:n,name:t,arguments:e,directives:i,selectionSet:r}){const o=gt("",n,": ")+t;let a=o+gt("(",De(e,", "),")");return a.length>80&&(a=o+gt("(\n",fb(De(e,"\n")),"\n)")),De([a,De(i," "),r]," ")}},Argument:{leave:({name:n,value:t})=>n+": "+t},FragmentSpread:{leave:({name:n,directives:t})=>"..."+n+gt(" ",De(t," "))},InlineFragment:{leave:({typeCondition:n,directives:t,selectionSet:e})=>De(["...",gt("on ",n),De(t," "),e]," ")},FragmentDefinition:{leave:({name:n,typeCondition:t,variableDefinitions:e,directives:i,selectionSet:r})=>`fragment ${n}${gt("(",De(e,", "),")")} on ${t} ${gt("",De(i," ")," ")}`+r},IntValue:{leave:({value:n})=>n},FloatValue:{leave:({value:n})=>n},StringValue:{leave:({value:n,block:t})=>t?function ese(n,t){const e=n.replace(/"""/g,'\\"""'),i=e.split(/\r\n|[\n\r]/g),r=1===i.length,o=i.length>1&&i.slice(1).every(p=>0===p.length||F1(p.charCodeAt(0))),a=e.endsWith('\\"""'),s=n.endsWith('"')&&!a,l=n.endsWith("\\"),c=s||l,d=!(null!=t&&t.minimize)&&(!r||n.length>70||c||o||a);let u="";const h=r&&F1(n.charCodeAt(0));return(d&&!h||o)&&(u+="\n"),u+=e,(d||c)&&(u+="\n"),'"""'+u+'"""'}(n):function tse(n){return`"${n.replace(nse,ise)}"`}(n)},BooleanValue:{leave:({value:n})=>n?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:n})=>n},ListValue:{leave:({values:n})=>"["+De(n,", ")+"]"},ObjectValue:{leave:({fields:n})=>"{"+De(n,", ")+"}"},ObjectField:{leave:({name:n,value:t})=>n+": "+t},Directive:{leave:({name:n,arguments:t})=>"@"+n+gt("(",De(t,", "),")")},NamedType:{leave:({name:n})=>n},ListType:{leave:({type:n})=>"["+n+"]"},NonNullType:{leave:({type:n})=>n+"!"},SchemaDefinition:{leave:({description:n,directives:t,operationTypes:e})=>gt("",n,"\n")+De(["schema",De(t," "),xo(e)]," ")},OperationTypeDefinition:{leave:({operation:n,type:t})=>n+": "+t},ScalarTypeDefinition:{leave:({description:n,name:t,directives:e})=>gt("",n,"\n")+De(["scalar",t,De(e," ")]," ")},ObjectTypeDefinition:{leave:({description:n,name:t,interfaces:e,directives:i,fields:r})=>gt("",n,"\n")+De(["type",t,gt("implements ",De(e," & ")),De(i," "),xo(r)]," ")},FieldDefinition:{leave:({description:n,name:t,arguments:e,type:i,directives:r})=>gt("",n,"\n")+t+(ML(e)?gt("(\n",fb(De(e,"\n")),"\n)"):gt("(",De(e,", "),")"))+": "+i+gt(" ",De(r," "))},InputValueDefinition:{leave:({description:n,name:t,type:e,defaultValue:i,directives:r})=>gt("",n,"\n")+De([t+": "+e,gt("= ",i),De(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:n,name:t,interfaces:e,directives:i,fields:r})=>gt("",n,"\n")+De(["interface",t,gt("implements ",De(e," & ")),De(i," "),xo(r)]," ")},UnionTypeDefinition:{leave:({description:n,name:t,directives:e,types:i})=>gt("",n,"\n")+De(["union",t,De(e," "),gt("= ",De(i," | "))]," ")},EnumTypeDefinition:{leave:({description:n,name:t,directives:e,values:i})=>gt("",n,"\n")+De(["enum",t,De(e," "),xo(i)]," ")},EnumValueDefinition:{leave:({description:n,name:t,directives:e})=>gt("",n,"\n")+De([t,De(e," ")]," ")},InputObjectTypeDefinition:{leave:({description:n,name:t,directives:e,fields:i})=>gt("",n,"\n")+De(["input",t,De(e," "),xo(i)]," ")},DirectiveDefinition:{leave:({description:n,name:t,arguments:e,repeatable:i,locations:r})=>gt("",n,"\n")+"directive @"+t+(ML(e)?gt("(\n",fb(De(e,"\n")),"\n)"):gt("(",De(e,", "),")"))+(i?" repeatable":"")+" on "+De(r," | ")},SchemaExtension:{leave:({directives:n,operationTypes:t})=>De(["extend schema",De(n," "),xo(t)]," ")},ScalarTypeExtension:{leave:({name:n,directives:t})=>De(["extend scalar",n,De(t," ")]," ")},ObjectTypeExtension:{leave:({name:n,interfaces:t,directives:e,fields:i})=>De(["extend type",n,gt("implements ",De(t," & ")),De(e," "),xo(i)]," ")},InterfaceTypeExtension:{leave:({name:n,interfaces:t,directives:e,fields:i})=>De(["extend interface",n,gt("implements ",De(t," & ")),De(e," "),xo(i)]," ")},UnionTypeExtension:{leave:({name:n,directives:t,types:e})=>De(["extend union",n,De(t," "),gt("= ",De(e," | "))]," ")},EnumTypeExtension:{leave:({name:n,directives:t,values:e})=>De(["extend enum",n,De(t," "),xo(e)]," ")},InputObjectTypeExtension:{leave:({name:n,directives:t,fields:e})=>De(["extend input",n,De(t," "),xo(e)]," ")}};function De(n,t=""){var e;return null!==(e=n?.filter(i=>i).join(t))&&void 0!==e?e:""}function xo(n){return gt("{\n",fb(De(n,"\n")),"\n}")}function gt(n,t,e=""){return null!=t&&""!==t?n+t+e:""}function fb(n){return gt(" ",n.replace(/\n/g,"\n "))}function ML(n){var t;return null!==(t=n?.some(e=>e.includes("\n")))&&void 0!==t&&t}var use={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},TL=function(n,t){return t(n)};function IL(n){return new nn(function(t){t.error(n)})}var OL=Jr(function(){return fetch}),mse=function(n){void 0===n&&(n={});var t=n.uri,e=void 0===t?"/graphql":t,i=n.fetch,r=n.print,o=void 0===r?TL:r,a=n.includeExtensions,s=n.preserveHeaderCase,l=n.useGETForQueries,c=n.includeUnusedVariables,d=void 0!==c&&c,u=function nT(n,t){var e={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(n);r"u")throw __DEV__?new Mn("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new Mn(23)}(i||OL);var h={http:{includeExtensions:a,preserveHeaderCase:s},options:u.fetchOptions,credentials:u.credentials,headers:u.headers};return new Wf(function(p){var v=function(n,t){return n.getContext().uri||("function"==typeof t?t(n):t||"/graphql")}(p,e),y=p.getContext(),w={};if(y.clientAwareness){var k=y.clientAwareness,D=k.name,M=k.version;D&&(w["apollographql-client-name"]=D),M&&(w["apollographql-client-version"]=M)}var Ne,A=oe(oe({},w),y.headers),he=function AL(n,t){for(var e=[],i=2;i"u")return{controller:!1,signal:!1};var n=new AbortController;return{controller:n,signal:n.signal}}();(Ne=Dn.controller)&&(P.signal=Dn.signal)}var Tt,we="OperationDefinition"===(Tt=E1(p.query)).kind&&"subscription"===Tt.operation,Me=Yf(["defer"],p.query);if(l&&!p.query.definitions.some(function(Tt){return"OperationDefinition"===Tt.kind&&"mutation"===Tt.operation})&&(P.method="GET"),Me||we){P.headers=P.headers||{};var Ae="multipart/mixed;";we&&Me&&__DEV__&&Te.warn("Multipart-subscriptions do not support @defer"),we?Ae+="boundary=graphql;subscriptionSpec=1.0,application/json":Me&&(Ae+="deferSpec=20220824,application/json"),P.headers.accept=Ae}if("GET"===P.method){var at=function pse(n,t){var e=[],i=function(u,h){e.push("".concat(u,"=").concat(encodeURIComponent(h)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var r=void 0;try{r=A1(t.variables,"Variables map")}catch(u){return{parseError:u}}i("variables",r)}if(t.extensions){var o=void 0;try{o=A1(t.extensions,"Extensions map")}catch(u){return{parseError:u}}i("extensions",o)}var a="",s=n,l=n.indexOf("#");-1!==l&&(a=n.substr(l),s=n.substr(0,l));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+e.join("&")+a}}(v,le),bn=at.newURI,Hi=at.parseError;if(Hi)return IL(Hi);v=bn}else try{P.body=A1(le,"Payload")}catch(Tt){return IL(Tt)}return new nn(function(Tt){return(i||Jr(function(){return fetch})||OL)(v,P).then(function(bt){var Sa;p.setContext({response:bt});var kl=null===(Sa=bt.headers)||void 0===Sa?void 0:Sa.get("content-type");return null!==kl&&/^multipart\/mixed/i.test(kl)?function qae(n,t){var e,i,r,o,a;return Lo(this,void 0,void 0,function(){var s,l,c,d,u,h,p,v,y,w,k,D,M,A,O,he,P,le,Ve,Ne,Dn,Vi,Bt;return Ea(this,function(zi){switch(zi.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");s=new TextDecoder("utf-8"),l=null===(e=n.headers)||void 0===e?void 0:e.get("content-type"),c="boundary=",d=l?.includes(c)?l?.substring(l?.indexOf(c)+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",u="\r\n--".concat(d),h="",p=Lae(n),v=!0,zi.label=1;case 1:return v?[4,p.next()]:[3,3];case 2:for(y=zi.sent(),k=y.done,D="string"==typeof(w=y.value)?w:s.decode(w),M=h.length-u.length+1,v=!k,A=(h+=D).indexOf(u,M);A>-1;){if(O=void 0,Vi=[h.slice(0,A),h.slice(A+u.length)],h=Vi[1],he=(O=Vi[0]).indexOf("\r\n\r\n"),P=Wae(O.slice(0,he)),(le=P["content-type"])&&-1===le.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(Ve=O.slice(he))try{Ne=SL(n,Ve),Object.keys(Ne).length>1||"data"in Ne||"incremental"in Ne||"errors"in Ne||"payload"in Ne?Gae(Ne)?(Dn={},"payload"in Ne&&(Dn=oe({},Ne.payload)),"errors"in Ne&&(Dn=oe(oe({},Dn),{extensions:oe(oe({},"extensions"in Dn?Dn.extensions:null),(Bt={},Bt[O1]=Ne.errors,Bt))})),null===(i=t.next)||void 0===i||i.call(t,Dn)):null===(r=t.next)||void 0===r||r.call(t,Ne):1===Object.keys(Ne).length&&"hasNext"in Ne&&!Ne.hasNext&&(null===(o=t.complete)||void 0===o||o.call(t))}catch(bs){N1(bs,t)}A=h.indexOf(u)}return[3,1];case 3:return null===(a=t.complete)||void 0===a||a.call(t),[2]}})})}(bt,Tt):function Yae(n,t,e){(function Kae(n){return function(t){return t.text().then(function(e){return SL(t,e)}).then(function(e){return t.status>=300&&I1(t,e,"Response not successful: Received status code ".concat(t.status)),!Array.isArray(e)&&!DL.call(e,"data")&&!DL.call(e,"errors")&&I1(t,e,"Server response was missing for query '".concat(Array.isArray(n)?n.map(function(i){return i.operationName}):n.operationName,"'.")),e})}})(t)(n).then(function(i){var r,o;null===(r=e.next)||void 0===r||r.call(e,i),null===(o=e.complete)||void 0===o||o.call(e)}).catch(function(i){return N1(i,e)})}(bt,p,Tt)}).catch(function(bt){return N1(bt,Tt)}),function(){Ne&&Ne.abort()}})})},gse=function(n){function t(e){void 0===e&&(e={});var i=n.call(this,mse(e).request)||this;return i.options=e,i}return Tl(t,n),t}(Wf);const{toString:RL,hasOwnProperty:_se}=Object.prototype,NL=Function.prototype.toString,P1=new Map;function Yi(n,t){try{return L1(n,t)}finally{P1.clear()}}function L1(n,t){if(n===t)return!0;const e=RL.call(n);if(e!==RL.call(t))return!1;switch(e){case"[object Array]":if(n.length!==t.length)return!1;case"[object Object]":{if(PL(n,t))return!0;const r=FL(n),o=FL(t),a=r.length;if(a!==o.length)return!1;for(let s=0;s=0&&n.indexOf(t,e)===e}(r,vse)}}return!1}function FL(n){return Object.keys(n).filter(bse,n)}function bse(n){return void 0!==this[n]}const vse="{ [native code] }";function PL(n,t){let e=P1.get(n);if(e){if(e.has(t))return!0}else P1.set(n,e=new Set);return e.add(t),!1}const Cse=()=>Object.create(null),{forEach:wse,slice:xse}=Array.prototype,{hasOwnProperty:Dse}=Object.prototype;class B1{constructor(t=!0,e=Cse){this.weakness=t,this.makeData=e}lookup(...t){return this.lookupArray(t)}lookupArray(t){let e=this;return wse.call(t,i=>e=e.getChildTrie(i)),Dse.call(e,"data")?e.data:e.data=this.makeData(xse.call(t))}peek(...t){return this.peekArray(t)}peekArray(t){let e=this;for(let i=0,r=t.length;e&&i=0;--a)t.definitions[a].kind===J.OPERATION_DEFINITION&&++o;var s=function $L(n){var t=new Set,e=[];return n.forEach(function(i){i.name?t.add(i.name):i.test&&e.push(i.test)}),function(i){return t.has(i.name.value)||e.some(function(r){return r(i)})}}(n),l=n.some(function(D){return D.remove}),c=function(D){return l&&D&&D.some(s)},d=new Map,u=!1,h={enter:function(D){if(c(D.directives))return u=!0,null}},p=Ya(t,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(D,M,A,O,he){var P=r(he);P&&P.variables.add(D.name.value)}},FragmentSpread:{enter:function(D,M,A,O,he){if(c(D.directives))return u=!0,null;var P=r(he);P&&P.fragmentSpreads.add(D.name.value)}},FragmentDefinition:{enter:function(D,M,A,O){d.set(JSON.stringify(O),D)},leave:function(D,M,A,O){return D===d.get(JSON.stringify(O))?D:o>0&&D.selectionSet.selections.every(function(P){return P.kind===J.FIELD&&"__typename"===P.name.value})?(i(D.name.value).removed=!0,u=!0,null):void 0}},Directive:{leave:function(D){if(s(D))return u=!0,null}}});if(!u)return t;var v=function(D){return D.transitiveVars||(D.transitiveVars=new Set(D.variables),D.removed||D.fragmentSpreads.forEach(function(M){v(i(M)).transitiveVars.forEach(function(A){D.transitiveVars.add(A)})})),D},y=new Set;p.definitions.forEach(function(D){D.kind===J.OPERATION_DEFINITION?v(e(D.name&&D.name.value)).fragmentSpreads.forEach(function(M){y.add(M)}):D.kind===J.FRAGMENT_DEFINITION&&0===o&&!i(D.name.value).removed&&y.add(D.name.value)}),y.forEach(function(D){v(i(D)).fragmentSpreads.forEach(function(M){y.add(M)})});var k={enter:function(D){if(function(D){return!(y.has(D)&&!i(D).removed)}(D.name.value))return null}};return j1(Ya(p,{FragmentSpread:k,FragmentDefinition:k,OperationDefinition:{leave:function(D){if(D.variableDefinitions){var M=v(e(D.name&&D.name.value)).transitiveVars;if(M.size0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(nn);function QL(n){var t=n.options,e=t.fetchPolicy,i=t.nextFetchPolicy;return"cache-and-network"===e||"network-only"===e?n.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=i,"function"==typeof i?i.apply(this,arguments):e}}):n.reobserve()}function Vse(n){__DEV__&&Te.error("Unhandled error",n.message,n.stack)}function XL(n){__DEV__&&n&&__DEV__&&Te.debug("Missing cache result fields: ".concat(JSON.stringify(n)),n)}function JL(n){return n.kind===J.FIELD||n.kind===J.FRAGMENT_SPREAD||n.kind===J.INLINE_FRAGMENT}WL(G1);var qse=function(){return Object.create(null)},e3=Array.prototype,Wse=e3.forEach,Yse=e3.slice,Kse=function(){function n(t,e){void 0===t&&(t=!0),void 0===e&&(e=qse),this.weakness=t,this.makeData=e}return n.prototype.lookup=function(){for(var t=[],e=0;eglobalThis)||n3(()=>global)||Object.create(null),W1=r3[q1]||Array[q1]||function(n){try{Object.defineProperty(r3,q1,{value:n,enumerable:!1,writable:!1,configurable:!0})}finally{return n}}(class{constructor(){this.id=["slot",Xse++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=di;t;t=t.parent)if(this.id in t.slots){const e=t.slots[this.id];if(e===t3)break;return t!==di&&(di.slots[this.id]=e),!0}return di&&(di.slots[this.id]=t3),!1}getValue(){if(this.hasValue())return di.slots[this.id]}withValue(t,e,i,r){const a=di;di={parent:a,slots:{__proto__:null,[this.id]:t}};try{return e.apply(r,i)}finally{di=a}}static bind(t){const e=di;return function(){const i=di;try{return di=e,t.apply(this,arguments)}finally{di=i}}}static noContext(t,e,i){if(!di)return t.apply(i,e);{const r=di;try{return di=null,t.apply(i,e)}finally{di=r}}}});function tle(){}!function(){function n(t,e){void 0===t&&(t=1/0),void 0===e&&(e=tle),this.max=t,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}n.prototype.has=function(t){return this.map.has(t)},n.prototype.get=function(t){var e=this.getNode(t);return e&&e.value},n.prototype.getNode=function(t){var e=this.map.get(t);if(e&&e!==this.newest){var i=e.older,r=e.newer;r&&(r.older=i),i&&(i.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e},n.prototype.set=function(t,e){var i=this.getNode(t);return i?i.value=e:(i={key:t,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=i),this.newest=i,this.oldest=this.oldest||i,this.map.set(t,i),i.value)},n.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},n.prototype.delete=function(t){var e=this.map.get(t);return!!e&&(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(t),this.dispose(e.value,t),!0)}}();var K1,mb=new W1,Q1=void 0===(K1=Array.from)?function(n){var t=[];return n.forEach(function(e){return t.push(e)}),t}:K1;function gb(n){var t=n.unsubscribe;"function"==typeof t&&(n.unsubscribe=void 0,t())}var Xf=[],rle=100;function nu(n,t){if(!n)throw new Error(t||"assertion failure")}function a3(n){switch(n.length){case 0:throw new Error("unknown value");case 1:return n[0];case 2:throw n[1]}}function s3(n){var t=mb.getValue();if(t)return n.parents.add(t),t.childValues.has(n)||t.childValues.set(n,[]),Hs(n)?d3(t,n):u3(t,n),t}function cle(n,t){n.recomputing=!0,n.value.length=0;try{n.value[0]=n.fn.apply(null,t)}catch(e){n.value[1]=e}n.recomputing=!1}function Hs(n){return n.dirty||!(!n.dirtyChildren||!n.dirtyChildren.size)}function l3(n){X1(n,d3)}function c3(n){X1(n,u3)}function X1(n,t){var e=n.parents.size;if(e)for(var i=Q1(n.parents),r=0;r0&&e===t.length&&n[e-1]===t[e-1]}(e,t.value)||n.setDirty(),h3(n,t),!Hs(n)&&c3(n)}function h3(n,t){var e=n.dirtyChildren;e&&(e.delete(t),0===e.size&&(Xf.length0&&n.childValues.forEach(function(t,e){p3(n,e)}),n.forgetDeps(),nu(null===n.dirtyChildren)}function p3(n,t){t.parents.delete(n),n.childValues.delete(t),h3(n,t)}!function(){function n(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++n.count}n.prototype.peek=function(){if(1===this.value.length&&!Hs(this))return s3(this),this.value[0]},n.prototype.recompute=function(t){return nu(!this.recomputing,"already recomputing"),s3(this),Hs(this)?function lle(n,t){return f3(n),mb.withValue(n,cle,[n,t]),function ule(n,t){if("function"==typeof n.subscribe)try{gb(n),n.unsubscribe=n.subscribe.apply(null,t)}catch{return n.setDirty(),!1}return!0}(n,t)&&function dle(n){n.dirty=!1,!Hs(n)&&c3(n)}(n),a3(n.value)}(this,t):a3(this.value)},n.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,l3(this),gb(this))},n.prototype.dispose=function(){var t=this;this.setDirty(),f3(this),X1(this,function(e,i){e.setDirty(),p3(e,t)})},n.prototype.forget=function(){this.dispose()},n.prototype.dependOn=function(t){t.add(this),this.deps||(this.deps=Xf.pop()||new Set),this.deps.add(t)},n.prototype.forgetDeps=function(){var t=this;this.deps&&(Q1(this.deps).forEach(function(e){return e.delete(t)}),this.deps.clear(),Xf.push(this.deps),this.deps=null)},n.count=0}(),function m3(){var n=new Kse("function"==typeof WeakMap);return function(){return n.lookupArray(arguments)}}();var g3=new W1,b3=function(){function n(t){var e=t.cache,i=t.client,r=t.resolvers,o=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=e,i&&(this.client=i),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return n.prototype.addResolvers=function(t){var e=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(i){e.resolvers=CL(e.resolvers,i)}):this.resolvers=CL(this.resolvers,t)},n.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},n.prototype.getResolvers=function(){return this.resolvers||{}},n.prototype.runResolvers=function(t){var e=t.document,i=t.remoteResult,r=t.context,o=t.variables,a=t.onlyRunForcedResolvers,s=void 0!==a&&a;return Lo(this,void 0,void 0,function(){return Ea(this,function(l){return e?[2,this.resolveDocument(e,i.data,r,o,this.fragmentMatcher,s).then(function(c){return oe(oe({},i),{data:c.result})})]:[2,i]})})},n.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},n.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},n.prototype.clientQuery=function(t){return Yf(["client"],t)&&this.resolvers?t:null},n.prototype.serverQuery=function(t){return function Nse(n){return lb(n),UL([{test:function(e){return"client"===e.name.value},remove:!0}],n)}(t)},n.prototype.prepareContext=function(t){var e=this.cache;return oe(oe({},t),{cache:e,getCacheKey:function(i){return e.identify(i)}})},n.prototype.addExportedVariables=function(t,e,i){return void 0===e&&(e={}),void 0===i&&(i={}),Lo(this,void 0,void 0,function(){return Ea(this,function(r){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,e)||{},this.prepareContext(i),e).then(function(o){return oe(oe({},e),o.exportedVariables)})]:[2,oe({},e)]})})},n.prototype.shouldForceResolvers=function(t){var e=!1;return Ya(t,{Directive:{enter:function(i){if("client"===i.name.value&&i.arguments&&(e=i.arguments.some(function(r){return"always"===r.name.value&&"BooleanValue"===r.value.kind&&!0===r.value.value})))return Jl}}}),e},n.prototype.buildRootValueFromCache=function(t,e){return this.cache.diff({query:Rse(t),variables:e,returnPartialData:!0,optimistic:!1}).result},n.prototype.resolveDocument=function(t,e,i,r,o,a){return void 0===i&&(i={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),Lo(this,void 0,void 0,function(){var s,l,c,d,u,h,p,v,y,w;return Ea(this,function(D){return s=E1(t),l=fL(t),c=VL(l),d=this.collectSelectionsToResolve(s,c),h=(u=s.operation)?u.charAt(0).toUpperCase()+u.slice(1):"Query",v=(p=this).cache,y=p.client,w={fragmentMap:c,context:oe(oe({},i),{cache:v,client:y}),variables:r,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:d,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,e,w).then(function(M){return{result:M,exportedVariables:w.exportedVariables}})]})})},n.prototype.resolveSelectionSet=function(t,e,i,r){return Lo(this,void 0,void 0,function(){var o,a,s,l,c,d=this;return Ea(this,function(u){return o=r.fragmentMap,a=r.context,s=r.variables,l=[i],c=function(h){return Lo(d,void 0,void 0,function(){var p;return Ea(this,function(y){return(e||r.selectionsToResolve.has(h))&&function yae(n,t){var e=n.directives;return!e||!e.length||function xae(n){var t=[];return n&&n.length&&n.forEach(function(e){if(function wae(n){var t=n.name.value;return"skip"===t||"include"===t}(e)){var i=e.arguments,r=e.name.value;__DEV__?Te(i&&1===i.length,"Incorrect number of arguments for the @".concat(r," directive.")):Te(i&&1===i.length,41);var o=i[0];__DEV__?Te(o.name&&"if"===o.name.value,"Invalid argument for the @".concat(r," directive.")):Te(o.name&&"if"===o.name.value,42);var a=o.value;__DEV__?Te(a&&("Variable"===a.kind||"BooleanValue"===a.kind),"Argument for the @".concat(r," directive must be a variable or a boolean value.")):Te(a&&("Variable"===a.kind||"BooleanValue"===a.kind),43),t.push({directive:e,ifArgument:o})}}),t}(e).every(function(i){var r=i.directive,o=i.ifArgument,a=!1;return"Variable"===o.value.kind?(a=t&&t[o.value.name.value],__DEV__?Te(void 0!==a,"Invalid variable referenced in @".concat(r.name.value," directive.")):Te(void 0!==a,40)):a=o.value.value,"skip"===r.name.value?!a:a})}(h,s)?sb(h)?[2,this.resolveField(h,e,i,r).then(function(w){var k;typeof w<"u"&&l.push(((k={})[S1(h)]=w,k))})]:(function dae(n){return"InlineFragment"===n.kind}(h)?p=h:(p=o[h.name.value],__DEV__?Te(p,"No fragment named ".concat(h.name.value)):Te(p,11)),p&&p.typeCondition&&r.fragmentMatcher(i,p.typeCondition.name.value,a)?[2,this.resolveSelectionSet(p.selectionSet,e,i,r).then(function(w){l.push(w)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(c)).then(function(){return wL(l)})]})})},n.prototype.resolveField=function(t,e,i,r){return Lo(this,void 0,void 0,function(){var o,a,s,l,c,d,u,h,p,v=this;return Ea(this,function(y){return i?(o=r.variables,a=t.name.value,s=S1(t),l=a!==s,c=i[s]||i[a],d=Promise.resolve(c),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(u=i.__typename||r.defaultOperationType,(h=this.resolvers&&this.resolvers[u])&&(p=h[l?a:s])&&(d=Promise.resolve(g3.withValue(this.cache,p,[i,lae(t,o),r.context,{field:t,fragmentMap:r.fragmentMap}])))),[2,d.then(function(w){var k,D;if(void 0===w&&(w=c),t.directives&&t.directives.forEach(function(A){"export"===A.name.value&&A.arguments&&A.arguments.forEach(function(O){"as"===O.name.value&&"StringValue"===O.value.kind&&(r.exportedVariables[O.value.value]=w)})}),!t.selectionSet||null==w)return w;var M=null!==(D=null===(k=t.directives)||void 0===k?void 0:k.some(function(A){return"client"===A.name.value}))&&void 0!==D&&D;return Array.isArray(w)?v.resolveSubSelectedArray(t,e||M,w,r):t.selectionSet?v.resolveSelectionSet(t.selectionSet,e||M,w,r):void 0})]):[2,null]})})},n.prototype.resolveSubSelectedArray=function(t,e,i,r){var o=this;return Promise.all(i.map(function(a){return null===a?null:Array.isArray(a)?o.resolveSubSelectedArray(t,e,a,r):t.selectionSet?o.resolveSelectionSet(t.selectionSet,e,a,r):void 0}))},n.prototype.collectSelectionsToResolve=function(t,e){var i=function(a){return!Array.isArray(a)},r=this.selectionsToResolveCache;return function o(a){if(!r.has(a)){var s=new Set;r.set(a,s),Ya(a,{Directive:function(l,c,d,u,h){"client"===l.name.value&&h.forEach(function(p){i(p)&&JL(p)&&s.add(p)})},FragmentSpread:function(l,c,d,u,h){var p=e[l.name.value];__DEV__?Te(p,"No fragment named ".concat(l.name.value)):Te(p,12);var v=o(p);v.size>0&&(h.forEach(function(y){i(y)&&JL(y)&&s.add(y)}),s.add(l),v.forEach(function(y){s.add(y)}))}})}return r.get(a)}(t)},n}(),iu=new(ub?WeakMap:Map);function Z1(n,t){var e=n[t];"function"==typeof e&&(n[t]=function(){return iu.set(n,(iu.get(n)+1)%1e15),e.apply(this,arguments)})}function v3(n){n.notifyTimeout&&(clearTimeout(n.notifyTimeout),n.notifyTimeout=void 0)}var eD=function(){function n(t,e){void 0===e&&(e=t.generateQueryId()),this.queryId=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var i=this.cache=t.cache;iu.has(i)||(iu.set(i,0),Z1(i,"evict"),Z1(i,"modify"),Z1(i,"reset"))}return n.prototype.init=function(t){var e=t.networkStatus||Ke.loading;return this.variables&&this.networkStatus!==Ke.loading&&!Yi(this.variables,t.variables)&&(e=Ke.setVariables),Yi(t.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},n.prototype.reset=function(){v3(this),this.dirty=!1},n.prototype.getDiff=function(t){void 0===t&&(t=this.variables);var e=this.getDiffOptions(t);if(this.lastDiff&&Yi(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=t);var i=this.observableQuery;if(i&&"no-cache"===i.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},n.prototype.updateLastDiff=function(t,e){this.lastDiff=t?{diff:t,options:e||this.getDiffOptions()}:void 0},n.prototype.getDiffOptions=function(t){var e;return void 0===t&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:null===(e=this.observableQuery)||void 0===e?void 0:e.options.canonizeResults}},n.prototype.setDiff=function(t){var e=this,i=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(t),!this.dirty&&!Yi(i&&i.result,t&&t.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},n.prototype.setObservableQuery=function(t){var e=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){e.getDiff().fromOptimisticTransaction?t.observe():QL(t)})):delete this.oqListener)},n.prototype.notify=function(){var t=this;v3(this),this.shouldNotify()&&this.listeners.forEach(function(e){return e(t)}),this.dirty=!1},n.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(jf(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if("cache-only"!==t&&"cache-and-network"!==t)return!1}return!0},n.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=n.prototype.cancel,this.subscriptions.forEach(function(e){return e.unsubscribe()});var t=this.observableQuery;t&&t.stopPolling()}},n.prototype.cancel=function(){},n.prototype.updateWatch=function(t){var e=this;void 0===t&&(t=this.variables);var i=this.observableQuery;if(!i||"no-cache"!==i.options.fetchPolicy){var r=oe(oe({},this.getDiffOptions(t)),{watcher:this,callback:function(o){return e.setDiff(o)}});(!this.lastWatch||!Yi(r,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},n.prototype.resetLastWrite=function(){this.lastWrite=void 0},n.prototype.shouldWrite=function(t,e){var i=this.lastWrite;return!(i&&i.dmCount===iu.get(this.cache)&&Yi(e,i.variables)&&Yi(t.data,i.result.data))},n.prototype.markResult=function(t,e,i,r){var o=this,a=new R1,s=zs(t.errors)?t.errors.slice(0):[];if(this.reset(),"incremental"in t&&zs(t.incremental)){var l=xL(this.getDiff().result,t);t.data=l}else if("hasNext"in t&&t.hasNext){var c=this.getDiff();t.data=a.merge(c.result,t.data)}this.graphQLErrors=s,"no-cache"===i.fetchPolicy?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(i.variables)):0!==r&&(tD(t,i.errorPolicy)?this.cache.performTransaction(function(d){if(o.shouldWrite(t,i.variables))d.writeQuery({query:e,data:t.data,variables:i.variables,overwrite:1===r}),o.lastWrite={result:t,variables:i.variables,dmCount:iu.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete)return void(t.data=o.lastDiff.diff.result);var u=o.getDiffOptions(i.variables),h=d.diff(u);o.stopped||o.updateWatch(i.variables),o.updateLastDiff(h,u),h.complete&&(t.data=h.result)}):this.lastWrite=void 0)},n.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Ke.ready},n.prototype.markError=function(t){return this.networkStatus=Ke.error,this.lastWrite=void 0,this.reset(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},n}();function tD(n,t){void 0===t&&(t="none");var e="ignore"===t||"all"===t,i=!pb(n);return!i&&e&&n.data&&(i=!0),i}var ple=Object.prototype.hasOwnProperty,mle=function(){function n(t){var e=t.cache,i=t.link,r=t.defaultOptions,o=t.queryDeduplication,a=void 0!==o&&o,s=t.onBroadcast,l=t.ssrMode,c=void 0!==l&&l,d=t.clientAwareness,u=void 0===d?{}:d,h=t.localState,p=t.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(ub?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=e,this.link=i,this.defaultOptions=r||Object.create(null),this.queryDeduplication=a,this.clientAwareness=u,this.localState=h||new b3({cache:e}),this.ssrMode=c,this.assumeImmutableResults=!!p,(this.onBroadcast=s)&&(this.mutationStore=Object.create(null))}return n.prototype.stop=function(){var t=this;this.queries.forEach(function(e,i){t.stopQueryNoBroadcast(i)}),this.cancelPendingFetches(__DEV__?new Mn("QueryManager stopped while query was in flight"):new Mn(14))},n.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(e){return e(t)}),this.fetchCancelFns.clear()},n.prototype.mutate=function(t){var e,i,r=t.mutation,o=t.variables,a=t.optimisticResponse,s=t.updateQueries,l=t.refetchQueries,c=void 0===l?[]:l,d=t.awaitRefetchQueries,u=void 0!==d&&d,h=t.update,p=t.onQueryUpdated,v=t.fetchPolicy,y=void 0===v?(null===(e=this.defaultOptions.mutate)||void 0===e?void 0:e.fetchPolicy)||"network-only":v,w=t.errorPolicy,k=void 0===w?(null===(i=this.defaultOptions.mutate)||void 0===i?void 0:i.errorPolicy)||"none":w,D=t.keepRootFields,M=t.context;return Lo(this,void 0,void 0,function(){var A,O,P,le,Ve;return Ea(this,function(Ne){switch(Ne.label){case 0:return __DEV__?Te(r,"mutation option is required. You must specify your GraphQL document in the mutation option."):Te(r,15),__DEV__?Te("network-only"===y||"no-cache"===y,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):Te("network-only"===y||"no-cache"===y,16),A=this.generateMutationId(),O=this.transform(r),P=O.hasClientExports,r=this.cache.transformForLink(O.document),o=this.getVariables(r,o),P?[4,this.localState.addExportedVariables(r,o,M)]:[3,2];case 1:o=Ne.sent(),Ne.label=2;case 2:return le=this.mutationStore&&(this.mutationStore[A]={mutation:r,variables:o,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:A,document:r,variables:o,fetchPolicy:y,errorPolicy:k,context:M,updateQueries:s,update:h,keepRootFields:D}),this.broadcastQueries(),Ve=this,[2,new Promise(function(Dn,Vi){return H1(Ve.getObservableFromLink(r,oe(oe({},M),{optimisticResponse:a}),o,!1),function(Bt){if(pb(Bt)&&"none"===k)throw new Zd({graphQLErrors:$1(Bt)});le&&(le.loading=!1,le.error=null);var zi=oe({},Bt);return"function"==typeof c&&(c=c(zi)),"ignore"===k&&pb(zi)&&delete zi.errors,Ve.markMutationResult({mutationId:A,result:zi,document:r,variables:o,fetchPolicy:y,errorPolicy:k,context:M,update:h,updateQueries:s,awaitRefetchQueries:u,refetchQueries:c,removeOptimistic:a?A:void 0,onQueryUpdated:p,keepRootFields:D})}).subscribe({next:function(Bt){Ve.broadcastQueries(),(!("hasNext"in Bt)||!1===Bt.hasNext)&&Dn(Bt)},error:function(Bt){le&&(le.loading=!1,le.error=Bt),a&&Ve.cache.removeOptimistic(A),Ve.broadcastQueries(),Vi(Bt instanceof Zd?Bt:new Zd({networkError:Bt}))}})})]}})})},n.prototype.markMutationResult=function(t,e){var i=this;void 0===e&&(e=this.cache);var r=t.result,o=[],a="no-cache"===t.fetchPolicy;if(!a&&tD(r,t.errorPolicy)){if(eu(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),eu(r)&&zs(r.incremental)){var s=e.diff({id:"ROOT_MUTATION",query:this.transform(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}),l=void 0;s.result&&(l=xL(s.result,r)),typeof l<"u"&&(r.data=l,o.push({result:l,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var c=t.updateQueries;c&&this.queries.forEach(function(u,h){var p=u.observableQuery,v=p&&p.queryName;if(v&&ple.call(c,v)){var y=c[v],w=i.queries.get(h),k=w.document,D=w.variables,M=e.diff({query:k,variables:D,returnPartialData:!0,optimistic:!1}),A=M.result;if(M.complete&&A){var he=y(A,{mutationResult:r,queryName:k&&k1(k)||void 0,queryVariables:D});he&&o.push({result:he,dataId:"ROOT_QUERY",query:k,variables:D})}}})}if(o.length>0||t.refetchQueries||t.update||t.onQueryUpdated||t.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(u){a||o.forEach(function(y){return u.write(y)});var h=t.update,p=!function Uae(n){return eu(n)||function jae(n){return"hasNext"in n&&"data"in n}(n)}(r)||eu(r)&&!r.hasNext;if(h){if(!a){var v=u.diff({id:"ROOT_MUTATION",query:i.transform(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});v.complete&&("incremental"in(r=oe(oe({},r),{data:v.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}p&&h(u,r,{context:t.context,variables:t.variables})}!a&&!t.keepRootFields&&p&&u.modify({id:"ROOT_MUTATION",fields:function(y,w){return"__typename"===w.fieldName?y:w.DELETE}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(u){return d.push(u)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(d).then(function(){return r})}return Promise.resolve(r)},n.prototype.markMutationOptimistic=function(t,e){var i=this,r="function"==typeof t?t(e.variables):t;return this.cache.recordOptimisticTransaction(function(o){try{i.markMutationResult(oe(oe({},e),{result:{data:r}}),o)}catch(a){__DEV__&&Te.error(a)}},e.mutationId)},n.prototype.fetchQuery=function(t,e,i){return this.fetchQueryObservable(t,e,i).promise},n.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(e,i){t[i]={variables:e.variables,networkStatus:e.networkStatus,networkError:e.networkError,graphQLErrors:e.graphQLErrors}}),t},n.prototype.resetErrors=function(t){var e=this.queries.get(t);e&&(e.networkError=void 0,e.graphQLErrors=[])},n.prototype.transform=function(t){var e=this.transformCache;if(!e.has(t)){var i=this.cache.transformDocument(t),r=function Tse(n){return UL([Mse],lb(n))}(i),o=this.localState.clientQuery(i),a=r&&this.localState.serverQuery(r),s={document:i,hasClientExports:Cae(i),hasForcedResolvers:this.localState.shouldForceResolvers(i),clientQuery:o,serverQuery:a,defaultVars:fae(cb(i)),asQuery:oe(oe({},i),{definitions:i.definitions.map(function(c){return"OperationDefinition"===c.kind&&"query"!==c.operation?oe(oe({},c),{operation:"query"}):c})})},l=function(c){c&&!e.has(c)&&e.set(c,s)};l(t),l(i),l(o),l(a)}return e.get(t)},n.prototype.getVariables=function(t,e){return oe(oe({},this.transform(t).defaultVars),e)},n.prototype.watchQuery=function(t){typeof(t=oe(oe({},t),{variables:this.getVariables(t.query,t.variables)})).notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var e=new eD(this),i=new G1({queryManager:this,queryInfo:e,options:t});return this.queries.set(i.queryId,e),e.init({document:i.query,observableQuery:i,variables:i.variables}),i},n.prototype.query=function(t,e){var i=this;return void 0===e&&(e=this.generateQueryId()),__DEV__?Te(t.query,"query option is required. You must specify your GraphQL document in the query option."):Te(t.query,17),__DEV__?Te("Document"===t.query.kind,'You must wrap the query string in a "gql" tag.'):Te("Document"===t.query.kind,18),__DEV__?Te(!t.returnPartialData,"returnPartialData option only supported on watchQuery."):Te(!t.returnPartialData,19),__DEV__?Te(!t.pollInterval,"pollInterval option only supported on watchQuery."):Te(!t.pollInterval,20),this.fetchQuery(e,t).finally(function(){return i.stopQuery(e)})},n.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},n.prototype.generateRequestId=function(){return this.requestIdCounter++},n.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},n.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},n.prototype.stopQueryInStoreNoBroadcast=function(t){var e=this.queries.get(t);e&&e.stop()},n.prototype.clearStore=function(t){return void 0===t&&(t={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new Mn("Store reset while query was in flight (not completed in link chain)"):new Mn(21)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=Ke.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},n.prototype.getObservableQueries=function(t){var e=this;void 0===t&&(t="active");var i=new Map,r=new Map,o=new Set;return Array.isArray(t)&&t.forEach(function(a){"string"==typeof a?r.set(a,!1):function Koe(n){return hr(n)&&"Document"===n.kind&&Array.isArray(n.definitions)}(a)?r.set(e.transform(a).document,!1):hr(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var l=a.observableQuery,c=a.document;if(l){if("all"===t)return void i.set(s,l);var d=l.queryName;if("standby"===l.options.fetchPolicy||"active"===t&&!l.hasObservers())return;("active"===t||d&&r.has(d)||c&&r.has(c))&&(i.set(s,l),d&&r.set(d,!0),c&&r.set(c,!0))}}),o.size&&o.forEach(function(a){var s=qL("legacyOneTimeQuery"),l=e.getQuery(s).init({document:a.query,variables:a.variables}),c=new G1({queryManager:e,queryInfo:l,options:oe(oe({},a),{fetchPolicy:"network-only"})});Te(c.queryId===s),l.setObservableQuery(c),i.set(s,c)}),__DEV__&&r.size&&r.forEach(function(a,s){a||__DEV__&&Te.warn("Unknown query ".concat("string"==typeof s?"named ":"").concat(JSON.stringify(s,null,2)," requested in refetchQueries options.include array"))}),i},n.prototype.reFetchObservableQueries=function(t){var e=this;void 0===t&&(t=!1);var i=[];return this.getObservableQueries(t?"all":"active").forEach(function(r,o){var a=r.options.fetchPolicy;r.resetLastResults(),(t||"standby"!==a&&"cache-only"!==a)&&i.push(r.refetch()),e.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(i)},n.prototype.setObservableQuery=function(t){this.getQuery(t.queryId).setObservableQuery(t)},n.prototype.startGraphQLSubscription=function(t){var e=this,i=t.query,r=t.fetchPolicy,o=t.errorPolicy,a=t.variables,s=t.context,l=void 0===s?{}:s;i=this.transform(i).document,a=this.getVariables(i,a);var c=function(u){return e.getObservableFromLink(i,l,u).map(function(h){"no-cache"!==r&&(tD(h,o)&&e.cache.write({query:i,result:h.data,dataId:"ROOT_SUBSCRIPTION",variables:u}),e.broadcastQueries());var p=pb(h),v=function Bae(n){return!!n.extensions&&Array.isArray(n.extensions[O1])}(h);if(p||v){var y={};throw p&&(y.graphQLErrors=h.errors),v&&(y.protocolErrors=h.extensions[O1]),new Zd(y)}return h})};if(this.transform(i).hasClientExports){var d=this.localState.addExportedVariables(i,a,l).then(c);return new nn(function(u){var h=null;return d.then(function(p){return h=p.subscribe(u)},u.error),function(){return h&&h.unsubscribe()}})}return c(a)},n.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},n.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},n.prototype.removeQuery=function(t){this.fetchCancelFns.delete(t),this.queries.has(t)&&(this.getQuery(t).stop(),this.queries.delete(t))},n.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){return t.notify()})},n.prototype.getLocalState=function(){return this.localState},n.prototype.getObservableFromLink=function(t,e,i,r){var a,o=this;void 0===r&&(r=null!==(a=e?.queryDeduplication)&&void 0!==a?a:this.queryDeduplication);var s,l=this.transform(t).serverQuery;if(l){var d=this.inFlightLinkObservables,u=this.link,h={query:l,variables:i,operationName:k1(l)||void 0,context:this.prepareContext(oe(oe({},e),{forceFetch:!r}))};if(e=h.context,r){var p=d.get(l)||new Map;d.set(l,p);var v=Ese(i);if(!(s=p.get(v))){var y=new tu([M1(u,h)]);p.set(v,s=y),y.beforeNext(function(){p.delete(v)&&p.size<1&&d.delete(l)})}}else s=new tu([M1(u,h)])}else s=new tu([nn.of({data:{}})]),e=this.prepareContext(e);var w=this.transform(t).clientQuery;return w&&(s=H1(s,function(k){return o.localState.runResolvers({document:w,remoteResult:k,context:e,variables:i})})),s},n.prototype.getResultsFromLink=function(t,e,i){var r=t.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(this.transform(t.document).document);return H1(this.getObservableFromLink(o,i.context,i.variables),function(a){var s=$1(a),l=s.length>0;if(r>=t.lastRequestId){if(l&&"none"===i.errorPolicy)throw t.markError(new Zd({graphQLErrors:s}));t.markResult(a,o,i,e),t.markReady()}var c={data:a.data,loading:!1,networkStatus:Ke.ready};return l&&"ignore"!==i.errorPolicy&&(c.errors=s,c.networkStatus=Ke.error),c},function(a){var s=function Vae(n){return n.hasOwnProperty("graphQLErrors")}(a)?a:new Zd({networkError:a});throw r>=t.lastRequestId&&t.markError(s),s})},n.prototype.fetchQueryObservable=function(t,e,i){return this.fetchConcastWithInfo(t,e,i).concast},n.prototype.fetchConcastWithInfo=function(t,e,i){var r=this;void 0===i&&(i=Ke.loading);var he,P,o=this.transform(e.query).document,a=this.getVariables(o,e.variables),s=this.getQuery(t),l=this.defaultOptions.watchQuery,c=e.fetchPolicy,u=e.errorPolicy,p=e.returnPartialData,y=e.notifyOnNetworkStatusChange,k=e.context,M=Object.assign({},e,{query:o,variables:a,fetchPolicy:void 0===c?l&&l.fetchPolicy||"cache-first":c,errorPolicy:void 0===u?l&&l.errorPolicy||"none":u,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==y&&y,context:void 0===k?{}:k}),A=function(Ve){M.variables=Ve;var Ne=r.fetchQueryByPolicy(s,M,i);return"standby"!==M.fetchPolicy&&Ne.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",e),Ne},O=function(){return r.fetchCancelFns.delete(t)};if(this.fetchCancelFns.set(t,function(Ve){O(),setTimeout(function(){return he.cancel(Ve)})}),this.transform(M.query).hasClientExports)he=new tu(this.localState.addExportedVariables(M.query,M.variables,M.context).then(A).then(function(Ve){return Ve.sources})),P=!0;else{var le=A(M.variables);P=le.fromLink,he=new tu(le.sources)}return he.promise.then(O,O),{concast:he,fromLink:P}},n.prototype.refetchQueries=function(t){var e=this,i=t.updateCache,r=t.include,o=t.optimistic,a=void 0!==o&&o,s=t.removeOptimistic,l=void 0===s?a?qL("refetchQueries"):void 0:s,c=t.onQueryUpdated,d=new Map;r&&this.getObservableQueries(r).forEach(function(h,p){d.set(p,{oq:h,lastDiff:e.getQuery(p).getDiff()})});var u=new Map;return i&&this.cache.batch({update:i,optimistic:a&&l||!1,removeOptimistic:l,onWatchUpdated:function(h,p,v){var y=h.watcher instanceof eD&&h.watcher.observableQuery;if(y){if(c){d.delete(y.queryId);var w=c(y,p,v);return!0===w&&(w=y.refetch()),!1!==w&&u.set(y,w),w}null!==c&&d.set(y.queryId,{oq:y,lastDiff:v,diff:p})}}}),d.size&&d.forEach(function(h,p){var k,v=h.oq,y=h.lastDiff,w=h.diff;if(c){if(!w){var D=v.queryInfo;D.reset(),w=D.getDiff()}k=c(v,w,y)}(!c||!0===k)&&(k=v.refetch()),!1!==k&&u.set(v,k),p.indexOf("legacyOneTimeQuery")>=0&&e.stopQueryNoBroadcast(p)}),l&&this.cache.removeOptimistic(l),u},n.prototype.fetchQueryByPolicy=function(t,e,i){var r=this,o=e.query,a=e.variables,s=e.fetchPolicy,l=e.refetchWritePolicy,c=e.errorPolicy,d=e.returnPartialData,u=e.context,h=e.notifyOnNetworkStatusChange,p=t.networkStatus;t.init({document:this.transform(o).document,variables:a,networkStatus:i});var v=function(){return t.getDiff(a)},y=function(A,O){void 0===O&&(O=t.networkStatus||Ke.loading);var he=A.result;__DEV__&&!d&&!Yi(he,{})&&XL(A.missing);var P=function(le){return nn.of(oe({data:le,loading:jf(O),networkStatus:O},A.complete?null:{partial:!0}))};return he&&r.transform(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:he},context:u,variables:a,onlyRunForcedResolvers:!0}).then(function(le){return P(le.data||void 0)}):"none"===c&&O===Ke.refetch&&Array.isArray(A.missing)?P(void 0):P(he)},w="no-cache"===s?0:i===Ke.refetch&&"merge"!==l?1:2,k=function(){return r.getResultsFromLink(t,w,{variables:a,context:u,fetchPolicy:s,errorPolicy:c})},D=h&&"number"==typeof p&&p!==i&&jf(i);switch(s){default:case"cache-first":return(M=v()).complete?{fromLink:!1,sources:[y(M,t.markReady())]}:d||D?{fromLink:!0,sources:[y(M),k()]}:{fromLink:!0,sources:[k()]};case"cache-and-network":var M;return(M=v()).complete||d||D?{fromLink:!0,sources:[y(M),k()]}:{fromLink:!0,sources:[k()]};case"cache-only":return{fromLink:!1,sources:[y(v(),t.markReady())]};case"network-only":return D?{fromLink:!0,sources:[y(v()),k()]}:{fromLink:!0,sources:[k()]};case"no-cache":return D?{fromLink:!0,sources:[y(t.getDiff()),k()]}:{fromLink:!0,sources:[k()]};case"standby":return{fromLink:!1,sources:[]}}},n.prototype.getQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new eD(this,t)),this.queries.get(t)},n.prototype.prepareContext=function(t){void 0===t&&(t={});var e=this.localState.prepareContext(t);return oe(oe({},e),{clientAwareness:this.clientAwareness})},n}();function nD(n,t){return KL(n,t,t.variables&&{variables:oe(oe({},n&&n.variables),t.variables)})}var y3=!1,C3=function(){function n(t){var e=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var i=t.uri,a=t.cache,s=t.ssrMode,l=void 0!==s&&s,c=t.ssrForceFetchDelay,d=void 0===c?0:c,u=t.connectToDevTools,h=void 0===u?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:u,p=t.queryDeduplication,v=void 0===p||p,y=t.defaultOptions,w=t.assumeImmutableResults,k=void 0!==w&&w,D=t.resolvers,M=t.typeDefs,A=t.fragmentMatcher,O=t.name,he=t.version,P=t.link;if(P||(P=i?new gse({uri:i,credentials:t.credentials,headers:t.headers}):Wf.empty()),!a)throw __DEV__?new Mn("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new Mn(9);if(this.link=P,this.cache=a,this.disableNetworkFetches=l||d>0,this.queryDeduplication=v,this.defaultOptions=y||Object.create(null),this.typeDefs=M,d&&setTimeout(function(){return e.disableNetworkFetches=!1},d),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),h&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!y3&&h&&__DEV__&&(y3=!0,typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var le=window.navigator,Ve=le&&le.userAgent,Ne=void 0;"string"==typeof Ve&&(Ve.indexOf("Chrome/")>-1?Ne="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":Ve.indexOf("Firefox/")>-1&&(Ne="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Ne&&__DEV__&&Te.log("Download the Apollo DevTools for a better development experience: "+Ne)}this.version="3.7.16",this.localState=new b3({cache:a,client:this,resolvers:D,fragmentMatcher:A}),this.queryManager=new mle({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:v,ssrMode:l,clientAwareness:{name:O,version:he},localState:this.localState,assumeImmutableResults:k,onBroadcast:h?function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.getQueryStore(),mutations:e.queryManager.mutationStore||{}},dataWithOptimisticResults:e.cache.extract(!0)})}:void 0})}return n.prototype.stop=function(){this.queryManager.stop()},n.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=nD(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&("network-only"===t.fetchPolicy||"cache-and-network"===t.fetchPolicy)&&(t=oe(oe({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},n.prototype.query=function(t){return this.defaultOptions.query&&(t=nD(this.defaultOptions.query,t)),__DEV__?Te("cache-and-network"!==t.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):Te("cache-and-network"!==t.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===t.fetchPolicy&&(t=oe(oe({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},n.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=nD(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},n.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},n.prototype.readQuery=function(t,e){return void 0===e&&(e=!1),this.cache.readQuery(t,e)},n.prototype.readFragment=function(t,e){return void 0===e&&(e=!1),this.cache.readFragment(t,e)},n.prototype.writeQuery=function(t){var e=this.cache.writeQuery(t);return!1!==t.broadcast&&this.queryManager.broadcastQueries(),e},n.prototype.writeFragment=function(t){var e=this.cache.writeFragment(t);return!1!==t.broadcast&&this.queryManager.broadcastQueries(),e},n.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},n.prototype.__requestRaw=function(t){return M1(this.link,t)},n.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return t.reFetchObservableQueries()})},n.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(e){return e()}))})},n.prototype.onResetStore=function(t){var e=this;return this.resetStoreCallbacks.push(t),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter(function(i){return i!==t})}},n.prototype.onClearStore=function(t){var e=this;return this.clearStoreCallbacks.push(t),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter(function(i){return i!==t})}},n.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},n.prototype.refetchQueries=function(t){var e=this.queryManager.refetchQueries(t),i=[],r=[];e.forEach(function(a,s){i.push(s),r.push(a)});var o=Promise.all(r);return o.queries=i,o.results=r,o.catch(function(a){__DEV__&&Te.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(a))}),o},n.prototype.getObservableQueries=function(t){return void 0===t&&(t="active"),this.queryManager.getObservableQueries(t)},n.prototype.extract=function(t){return this.cache.extract(t)},n.prototype.restore=function(t){return this.cache.restore(t)},n.prototype.addResolvers=function(t){this.localState.addResolvers(t)},n.prototype.setResolvers=function(t){this.localState.setResolvers(t)},n.prototype.getResolvers=function(){return this.localState.getResolvers()},n.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},n.prototype.setLink=function(t){this.link=this.queryManager.link=t},n}();function _le(n,t){if(!n)throw new Error(t??"Unexpected invariant triggered.")}const ble=/\r\n|[\n\r]/g;function iD(n,t){let e=0,i=1;for(const r of n.body.matchAll(ble)){if("number"==typeof r.index||_le(!1),r.index>=t)break;e=r.index+r[0].length,i+=1}return{line:i,column:t+1-e}}function vle(n){return w3(n.source,iD(n.source,n.start))}function w3(n,t){const e=n.locationOffset.column-1,i="".padStart(e)+n.body,r=t.line-1,a=t.line+(n.locationOffset.line-1),l=t.column+(1===t.line?e:0),c=`${n.name}:${a}:${l}\n`,d=i.split(/\r\n|[\n\r]/g),u=d[r];if(u.length>120){const h=Math.floor(l/80),p=l%80,v=[];for(let y=0;y["|",y]),["|","^".padStart(p)],["|",v[h+1]]])}return c+x3([[a-1+" |",d[r-1]],[`${a} |`,u],["|","^".padStart(l)],[`${a+1} |`,d[r+1]]])}function x3(n){const t=n.filter(([i,r])=>void 0!==r),e=Math.max(...t.map(([i])=>i.length));return t.map(([i,r])=>i.padStart(e)+(r?" "+r:"")).join("\n")}class rD extends Error{constructor(t,...e){var i,r,o;const{nodes:a,source:s,positions:l,path:c,originalError:d,extensions:u}=function yle(n){const t=n[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:n[1],positions:n[2],path:n[3],originalError:n[4],extensions:n[5]}:t}(e);super(t),this.name="GraphQLError",this.path=c??void 0,this.originalError=d??void 0,this.nodes=D3(Array.isArray(a)?a:a?[a]:void 0);const h=D3(null===(i=this.nodes)||void 0===i?void 0:i.map(v=>v.loc).filter(v=>null!=v));this.source=s??(null==h||null===(r=h[0])||void 0===r?void 0:r.source),this.positions=l??h?.map(v=>v.start),this.locations=l&&s?l.map(v=>iD(s,v)):h?.map(v=>iD(v.source,v.start));const p=function gle(n){return"object"==typeof n&&null!==n}(d?.extensions)?d?.extensions:void 0;this.extensions=null!==(o=u??p)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,rD):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const e of this.nodes)e.loc&&(t+="\n\n"+vle(e.loc));else if(this.source&&this.locations)for(const e of this.locations)t+="\n\n"+w3(this.source,e);return t}toJSON(){const t={message:this.message};return null!=this.locations&&(t.locations=this.locations),null!=this.path&&(t.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function D3(n){return void 0===n||0===n.length?void 0:n}function ri(n,t,e){return new rD(`Syntax Error: ${e}`,{source:n,positions:[t]})}var fn=(()=>((fn=fn||{}).QUERY="QUERY",fn.MUTATION="MUTATION",fn.SUBSCRIPTION="SUBSCRIPTION",fn.FIELD="FIELD",fn.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",fn.FRAGMENT_SPREAD="FRAGMENT_SPREAD",fn.INLINE_FRAGMENT="INLINE_FRAGMENT",fn.VARIABLE_DEFINITION="VARIABLE_DEFINITION",fn.SCHEMA="SCHEMA",fn.SCALAR="SCALAR",fn.OBJECT="OBJECT",fn.FIELD_DEFINITION="FIELD_DEFINITION",fn.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",fn.INTERFACE="INTERFACE",fn.UNION="UNION",fn.ENUM="ENUM",fn.ENUM_VALUE="ENUM_VALUE",fn.INPUT_OBJECT="INPUT_OBJECT",fn.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",fn))(),H=(()=>((H=H||{}).SOF="",H.EOF="",H.BANG="!",H.DOLLAR="$",H.AMP="&",H.PAREN_L="(",H.PAREN_R=")",H.SPREAD="...",H.COLON=":",H.EQUALS="=",H.AT="@",H.BRACKET_L="[",H.BRACKET_R="]",H.BRACE_L="{",H.PIPE="|",H.BRACE_R="}",H.NAME="Name",H.INT="Int",H.FLOAT="Float",H.STRING="String",H.BLOCK_STRING="BlockString",H.COMMENT="Comment",H))();class Cle{constructor(t){const e=new mL(H.SOF,0,0,0,0);this.source=t,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==H.EOF)do{if(t.next)t=t.next;else{const e=xle(this,t.end);t.next=e,e.prev=t,t=e}}while(t.kind===H.COMMENT);return t}}function ru(n){return n>=0&&n<=55295||n>=57344&&n<=1114111}function _b(n,t){return S3(n.charCodeAt(t))&&k3(n.charCodeAt(t+1))}function S3(n){return n>=55296&&n<=56319}function k3(n){return n>=56320&&n<=57343}function Zl(n,t){const e=n.source.body.codePointAt(t);if(void 0===e)return H.EOF;if(e>=32&&e<=126){const i=String.fromCodePoint(e);return'"'===i?"'\"'":`"${i}"`}return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function Bn(n,t,e,i,r){return new mL(t,e,i,n.line,1+e-n.lineStart,r)}function xle(n,t){const e=n.source.body,i=e.length;let r=t;for(;r=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:-1}function Tle(n,t){const e=n.source.body;switch(e.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw ri(n.source,t,`Invalid character escape sequence: "${e.slice(t,t+2)}".`)}function Ale(n,t){const e=n.source.body,i=e.length;let r=n.lineStart,o=t+3,a=o,s="";const l=[];for(;othis.parseValueLiteral(t),H.BRACKET_R)})}parseObject(t){return this.node(this._lexer.token,{kind:J.OBJECT,fields:this.any(H.BRACE_L,()=>this.parseObjectField(t),H.BRACE_R)})}parseObjectField(t){const e=this._lexer.token,i=this.parseName();return this.expectToken(H.COLON),this.node(e,{kind:J.OBJECT_FIELD,name:i,value:this.parseValueLiteral(t)})}parseDirectives(t){const e=[];for(;this.peek(H.AT);)e.push(this.parseDirective(t));return e}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const e=this._lexer.token;return this.expectToken(H.AT),this.node(e,{kind:J.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let e;if(this.expectOptionalToken(H.BRACKET_L)){const i=this.parseTypeReference();this.expectToken(H.BRACKET_R),e=this.node(t,{kind:J.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(H.BANG)?this.node(t,{kind:J.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:J.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(H.STRING)||this.peek(H.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");const i=this.parseConstDirectives(),r=this.many(H.BRACE_L,this.parseOperationTypeDefinition,H.BRACE_R);return this.node(t,{kind:J.SCHEMA_DEFINITION,description:e,directives:i,operationTypes:r})}parseOperationTypeDefinition(){const t=this._lexer.token,e=this.parseOperationType();this.expectToken(H.COLON);const i=this.parseNamedType();return this.node(t,{kind:J.OPERATION_TYPE_DEFINITION,operation:e,type:i})}parseScalarTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");const i=this.parseName(),r=this.parseConstDirectives();return this.node(t,{kind:J.SCALAR_TYPE_DEFINITION,description:e,name:i,directives:r})}parseObjectTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");const i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:J.OBJECT_TYPE_DEFINITION,description:e,name:i,interfaces:r,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(H.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(H.BRACE_L,this.parseFieldDefinition,H.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,e=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(H.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:J.FIELD_DEFINITION,description:e,name:i,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(H.PAREN_L,this.parseInputValueDef,H.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,e=this.parseDescription(),i=this.parseName();this.expectToken(H.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(H.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:J.INPUT_VALUE_DEFINITION,description:e,name:i,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");const i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:J.INTERFACE_TYPE_DEFINITION,description:e,name:i,interfaces:r,directives:o,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:J.UNION_TYPE_DEFINITION,description:e,name:i,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(H.EQUALS)?this.delimitedMany(H.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:J.ENUM_TYPE_DEFINITION,description:e,name:i,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(H.BRACE_L,this.parseEnumValueDefinition,H.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,e=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(t,{kind:J.ENUM_VALUE_DEFINITION,description:e,name:i,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw ri(this._lexer.source,this._lexer.token.start,`${vb(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:J.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:i,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(H.BRACE_L,this.parseInputValueDef,H.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===H.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const e=this.parseConstDirectives(),i=this.optionalMany(H.BRACE_L,this.parseOperationTypeDefinition,H.BRACE_R);if(0===e.length&&0===i.length)throw this.unexpected();return this.node(t,{kind:J.SCHEMA_EXTENSION,directives:e,operationTypes:i})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const e=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(t,{kind:J.SCALAR_TYPE_EXTENSION,name:e,directives:i})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const e=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===i.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(t,{kind:J.OBJECT_TYPE_EXTENSION,name:e,interfaces:i,directives:r,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const e=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===i.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(t,{kind:J.INTERFACE_TYPE_EXTENSION,name:e,interfaces:i,directives:r,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const e=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(t,{kind:J.UNION_TYPE_EXTENSION,name:e,directives:i,types:r})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const e=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(t,{kind:J.ENUM_TYPE_EXTENSION,name:e,directives:i,values:r})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const e=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===i.length&&0===r.length)throw this.unexpected();return this.node(t,{kind:J.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:i,fields:r})}parseDirectiveDefinition(){const t=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(H.AT);const i=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:J.DIRECTIVE_DEFINITION,description:e,name:i,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(H.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,e=this.parseName();if(Object.prototype.hasOwnProperty.call(fn,e.value))return e;throw this.unexpected(t)}node(t,e){return!0!==this._options.noLocation&&(e.loc=new bae(t,this._lexer.lastToken,this._lexer.source)),e}peek(t){return this._lexer.token.kind===t}expectToken(t){const e=this._lexer.token;if(e.kind===t)return this.advanceLexer(),e;throw ri(this._lexer.source,e.start,`Expected ${M3(t)}, found ${vb(e)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t&&(this.advanceLexer(),!0)}expectKeyword(t){const e=this._lexer.token;if(e.kind!==H.NAME||e.value!==t)throw ri(this._lexer.source,e.start,`Expected "${t}", found ${vb(e)}.`);this.advanceLexer()}expectOptionalKeyword(t){const e=this._lexer.token;return e.kind===H.NAME&&e.value===t&&(this.advanceLexer(),!0)}unexpected(t){const e=t??this._lexer.token;return ri(this._lexer.source,e.start,`Unexpected ${vb(e)}.`)}any(t,e,i){this.expectToken(t);const r=[];for(;!this.expectOptionalToken(i);)r.push(e.call(this));return r}optionalMany(t,e,i){if(this.expectOptionalToken(t)){const r=[];do{r.push(e.call(this))}while(!this.expectOptionalToken(i));return r}return[]}many(t,e,i){this.expectToken(t);const r=[];do{r.push(e.call(this))}while(!this.expectOptionalToken(i));return r}delimitedMany(t,e){this.expectOptionalToken(t);const i=[];do{i.push(e.call(this))}while(this.expectOptionalToken(t));return i}advanceLexer(){const{maxTokens:t}=this._options,e=this._lexer.advance();if(void 0!==t&&e.kind!==H.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw ri(this._lexer.source,e.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function vb(n){const t=n.value;return M3(n.kind)+(null!=t?` "${t}"`:"")}function M3(n){return function wle(n){return n===H.BANG||n===H.DOLLAR||n===H.AMP||n===H.PAREN_L||n===H.PAREN_R||n===H.SPREAD||n===H.COLON||n===H.EQUALS||n===H.AT||n===H.BRACKET_L||n===H.BRACKET_R||n===H.BRACE_L||n===H.PIPE||n===H.BRACE_R}(n)?`"${n}"`:n}var yb=new Map,aD=new Map,T3=!0,Cb=!1;function A3(n){return n.replace(/[\s,]+/g," ").trim()}function Ple(n){var t=A3(n);if(!yb.has(t)){var e=function Ole(n,t){return new bb(n,t).parseDocument()}(n,{experimentalFragmentVariables:Cb,allowLegacyFragmentVariables:Cb});if(!e||"Document"!==e.kind)throw new Error("Not a valid GraphQL document.");yb.set(t,function Fle(n){var t=new Set(n.definitions);t.forEach(function(i){i.loc&&delete i.loc,Object.keys(i).forEach(function(r){var o=i[r];o&&"object"==typeof o&&t.add(o)})});var e=n.loc;return e&&(delete e.startToken,delete e.endToken),n}(function Nle(n){var t=new Set,e=[];return n.definitions.forEach(function(i){if("FragmentDefinition"===i.kind){var r=i.name.value,o=function Rle(n){return A3(n.source.body.substring(n.start,n.end))}(i.loc),a=aD.get(r);a&&!a.has(o)?T3&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||aD.set(r,a=new Set),a.add(o),t.has(o)||(t.add(o),e.push(i))}else e.push(i)}),oe(oe({},n),{definitions:e})}(e)))}return yb.get(t)}function ou(n){for(var t=[],e=1;e(n().then(e=>{t.closed||(t.next(e),t.complete())},e=>{t.closed||t.error(e)}),()=>t.unsubscribe()))}(function(n){n.gql=ep_gql,n.resetCaches=ep_resetCaches,n.disableFragmentWarnings=ep_disableFragmentWarnings,n.enableExperimentalFragmentVariables=ep_enableExperimentalFragmentVariables,n.disableExperimentalFragmentVariables=ep_disableExperimentalFragmentVariables})(ou||(ou={})),ou.default=ou;class $le{constructor(t){ur(this,"zone",void 0),ur(this,"now",Date.now?Date.now:()=>+new Date),this.zone=t}schedule(t,e=0,i){return this.zone.run(()=>Eoe.schedule(t,e,i))}}function O3(n){return n[Pm]=()=>n,n}function R3(n,t){return n.pipe(E0(new $le(t)))}function N3(n,t,e){return n&&typeof n[t]<"u"?n[t]:e}class Ule{constructor(t,e,i){ur(this,"obsQuery",void 0),ur(this,"valueChanges",void 0),ur(this,"queryId",void 0),this.obsQuery=t;const r=R3(yn(O3(this.obsQuery)),e);this.valueChanges=i.useInitialLoading?r.pipe(function jle(n){return function(e){return new rt(function(r){const o=n.getCurrentResult(),{loading:a,errors:s,error:l,partial:c,data:d}=o,{partialRefetch:u,fetchPolicy:h}=n.options,p=s||l;return u&&c&&(!d||0===Object.keys(d).length)&&"cache-only"!==h&&!a&&!p&&r.next({...o,loading:!0,networkStatus:Ke.loading}),e.subscribe(r)})}}(this.obsQuery)):r,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(t){return this.obsQuery.refetch(t)}fetchMore(t){return this.obsQuery.fetchMore(t)}subscribeToMore(t){return this.obsQuery.subscribeToMore(t)}updateQuery(t){return this.obsQuery.updateQuery(t)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(t){return this.obsQuery.startPolling(t)}setOptions(t){return this.obsQuery.setOptions(t)}setVariables(t){return this.obsQuery.setVariables(t)}}const Gle=new F("APOLLO_FLAGS"),qle=new F("APOLLO_OPTIONS"),Wle=new F("APOLLO_NAMED_OPTIONS");class F3{constructor(t,e,i){ur(this,"ngZone",void 0),ur(this,"flags",void 0),ur(this,"_client",void 0),ur(this,"useInitialLoading",void 0),ur(this,"useMutationLoading",void 0),this.ngZone=t,this.flags=e,this._client=i,this.useInitialLoading=N3(e,"useInitialLoading",!1),this.useMutationLoading=N3(e,"useMutationLoading",!1)}watchQuery(t){return new Ule(this.ensureClient().watchQuery({...t}),this.ngZone,{useInitialLoading:this.useInitialLoading,...t})}query(t){return I3(()=>this.ensureClient().query({...t}))}mutate(t){return function Hle(n,t){return t?n.pipe(zt({loading:!0}),ue(e=>({...e,loading:!!e.loading}))):n.pipe(ue(e=>({...e,loading:!1})))}(I3(()=>this.ensureClient().mutate({...t})),t.useMutationLoading??this.useMutationLoading)}subscribe(t,e){const i=yn(O3(this.ensureClient().subscribe({...t})));return e&&!0!==e.useZone?i:R3(i,this.ngZone)}getClient(){return this.client}setClient(t){this.client=t}get client(){return this._client}set client(t){if(this._client)throw new Error("Client has been already defined");this._client=t}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let $s=(()=>{class n extends F3{constructor(e,i,r,o){if(super(e,o),ur(this,"_ngZone",void 0),ur(this,"map",new Map),this._ngZone=e,i&&this.createDefault(i),r&&"object"==typeof r)for(let a in r)r.hasOwnProperty(a)&&this.create(r[a],a)}create(e,i){sD(i)?this.createDefault(e):this.createNamed(i,e)}default(){return this}use(e){return sD(e)?this.default():this.map.get(e)}createDefault(e){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new C3(e))}createNamed(e,i){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new F3(this._ngZone,this.flags,new C3(i)))}removeClient(e){sD(e)?this._client=void 0:this.map.delete(e)}}return ur(n,"\u0275fac",function(e){return new(e||n)(I(ce),I(qle,8),I(Wle,8),I(Gle,8))}),ur(n,"\u0275prov",L({token:n,factory:n.\u0275fac})),n})();function sD(n){return!n||"default"===n}const wb=function Yle(n,...t){return ou(n,...t)};class xb{}class Db{}class Do{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Do?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Do;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Do?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(s=>-1===o.indexOf(s)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(t,e){const i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Kle{encodeKey(t){return P3(t)}encodeValue(t){return P3(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Xle=/%(\d[a-f0-9])/gi,Jle={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function P3(n){return encodeURIComponent(n).replace(Xle,(t,e)=>Jle[e]??t)}function Sb(n){return`${n}`}class js{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Kle,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Qle(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,s]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(Sb):[Sb(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new js({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Sb(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(Sb(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Zle{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function L3(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function B3(n){return typeof Blob<"u"&&n instanceof Blob}function V3(n){return typeof FormData<"u"&&n instanceof FormData}class tp{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function ece(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Do),this.context||(this.context=new Zle),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":su.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((u,h)=>u.set(h,t.setParams[h]),c)),new tp(e,i,o,{params:c,headers:l,context:d,reportProgress:s,responseType:r,withCredentials:a})}}var Vn=(()=>((Vn=Vn||{})[Vn.Sent=0]="Sent",Vn[Vn.UploadProgress=1]="UploadProgress",Vn[Vn.ResponseHeader=2]="ResponseHeader",Vn[Vn.DownloadProgress=3]="DownloadProgress",Vn[Vn.Response=4]="Response",Vn[Vn.User=5]="User",Vn))();class lD{constructor(t,e=200,i="OK"){this.headers=t.headers||new Do,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class cD extends lD{constructor(t={}){super(t),this.type=Vn.ResponseHeader}clone(t={}){return new cD({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class au extends lD{constructor(t={}){super(t),this.type=Vn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new au({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class z3 extends lD{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function dD(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let np=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof tp)o=e;else{let l,c;l=r.headers instanceof Do?r.headers:new Do(r.headers),r.params&&(c=r.params instanceof js?r.params:new js({fromObject:r.params})),o=new tp(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const a=ee(o).pipe(Df(l=>this.handler.handle(l)));if(e instanceof tp||"events"===r.observe)return a;const s=a.pipe(Be(l=>l instanceof au));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(ue(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return s.pipe(ue(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return s.pipe(ue(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return s.pipe(ue(l=>l.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${r.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 js).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,dD(r,i))}post(e,i,r={}){return this.request("POST",e,dD(r,i))}put(e,i,r={}){return this.request("PUT",e,dD(r,i))}}return n.\u0275fac=function(e){return new(e||n)(I(xb))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();function j3(n,t){return t(n)}const ip=new F(""),U3=new F("");let G3=(()=>{class n extends xb{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=ne(Jw)}handle(e){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(ip),...this.injector.get(U3,[])]));this.chain=r.reduceRight((o,a)=>function rce(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(o,a,this.injector),j3)}const i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Co(()=>this.pendingTasks.remove(i)))}}return n.\u0275fac=function(e){return new(e||n)(I(Db),I(Yo))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const dce=/^\)\]\}',?\n/;let W3=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new z(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?yn(i.\u0275loadImpl()):ee(null)).pipe(xt(()=>new rt(o=>{const a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((y,w)=>a.setRequestHeader(y,w.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const y=e.detectContentTypeHeader();null!==y&&a.setRequestHeader("Content-Type",y)}if(e.responseType){const y=e.responseType.toLowerCase();a.responseType="json"!==y?y:"text"}const s=e.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const y=a.statusText||"OK",w=new Do(a.getAllResponseHeaders()),k=function uce(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(a)||e.url;return l=new cD({headers:w,status:a.status,statusText:y,url:k}),l},d=()=>{let{headers:y,status:w,statusText:k,url:D}=c(),M=null;204!==w&&(M=typeof a.response>"u"?a.responseText:a.response),0===w&&(w=M?200:0);let A=w>=200&&w<300;if("json"===e.responseType&&"string"==typeof M){const O=M;M=M.replace(dce,"");try{M=""!==M?JSON.parse(M):null}catch(he){M=O,A&&(A=!1,M={error:he,text:M})}}A?(o.next(new au({body:M,headers:y,status:w,statusText:k,url:D||void 0})),o.complete()):o.error(new z3({error:M,headers:y,status:w,statusText:k,url:D||void 0}))},u=y=>{const{url:w}=c(),k=new z3({error:y,status:a.status||0,statusText:a.statusText||"Unknown Error",url:w||void 0});o.error(k)};let h=!1;const p=y=>{h||(o.next(c()),h=!0);let w={type:Vn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),"text"===e.responseType&&a.responseText&&(w.partialText=a.responseText),o.next(w)},v=y=>{let w={type:Vn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),o.next(w)};return a.addEventListener("load",d),a.addEventListener("error",u),a.addEventListener("timeout",u),a.addEventListener("abort",u),e.reportProgress&&(a.addEventListener("progress",p),null!==s&&a.upload&&a.upload.addEventListener("progress",v)),a.send(s),o.next({type:Vn.Sent}),()=>{a.removeEventListener("error",u),a.removeEventListener("abort",u),a.removeEventListener("load",d),a.removeEventListener("timeout",u),e.reportProgress&&(a.removeEventListener("progress",p),null!==s&&a.upload&&a.upload.removeEventListener("progress",v)),a.readyState!==a.DONE&&a.abort()}})))}}return n.\u0275fac=function(e){return new(e||n)(I(pF))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const uD=new F("XSRF_ENABLED"),Y3=new F("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),K3=new F("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Q3{}let pce=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,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=nF(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(I(ye),I(Hr),I(Y3))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();function mce(n,t){const e=n.url.toLowerCase();if(!ne(uD)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=ne(Q3).getToken(),r=ne(K3);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}const hD=function wce(n,t){for(var e=-1,i=t.length,r=n.length;++e0&&e(s)?t>1?o4(s,t-1,e,i,r):hD(r,s):i||(r[r.length]=s)}return r},fD=function Wce(n){return null!=n&&n.length?a4(n,1):[]},lu=function Qce(n,t){return n===t||n!=n&&t!=t},Eb=function Xce(n,t){for(var e=n.length;e--;)if(lu(n[e][0],t))return e;return-1};var Zce=Array.prototype.splice;function cu(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t-1},cu.prototype.set=function ade(n,t){var e=this.__data__,i=Eb(e,n);return i<0?(++this.size,e.push([n,t])):e[i][1]=t,this};const Mb=cu,Or=function gde(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)},pD=function Cde(n){if(!Or(n))return!1;var t=tc(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},mD=ra["__core-js_shared__"];var s4=function(){var n=/[^.]+$/.exec(mD&&mD.keys&&mD.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();var kde=Function.prototype.toString;const nc=function Ede(n){if(null!=n){try{return kde.call(n)}catch{}try{return n+""}catch{}}return""};var Tde=/^\[object .+?Constructor\]$/,Nde=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Pde=function Fde(n){return!(!Or(n)||function xde(n){return!!s4&&s4 in n}(n))&&(pD(n)?Nde:Tde).test(nc(n))},ic=function Vde(n,t){var e=function Lde(n,t){return n?.[t]}(n,t);return Pde(e)?e:void 0},op=ic(ra,"Map"),ap=ic(Object,"create");var Yde=Object.prototype.hasOwnProperty;var Jde=Object.prototype.hasOwnProperty;function du(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t-1&&n%1==0&&n<=9007199254740991},pu=function zue(n){return null!=n&&vD(n.length)&&!pD(n)},sp=function Hue(n){return oa(n)&&pu(n)};var y4="object"==typeof exports&&exports&&!exports.nodeType&&exports,C4=y4&&"object"==typeof module&&module&&!module.nodeType&&module,w4=C4&&C4.exports===y4?ra.Buffer:void 0;const mu=(w4?w4.isBuffer:void 0)||function $ue(){return!1};var x4=Function.prototype.toString,Que=Object.prototype.hasOwnProperty,Xue=x4.call(Object);const D4=function Jue(n){if(!oa(n)||"[object Object]"!=tc(n))return!1;var t=bD(n);if(null===t)return!0;var e=Que.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&x4.call(e)==Xue};var en={};en["[object Float32Array]"]=en["[object Float64Array]"]=en["[object Int8Array]"]=en["[object Int16Array]"]=en["[object Int32Array]"]=en["[object Uint8Array]"]=en["[object Uint8ClampedArray]"]=en["[object Uint16Array]"]=en["[object Uint32Array]"]=!0,en["[object Arguments]"]=en["[object Array]"]=en["[object ArrayBuffer]"]=en["[object Boolean]"]=en["[object DataView]"]=en["[object Date]"]=en["[object Error]"]=en["[object Function]"]=en["[object Map]"]=en["[object Number]"]=en["[object Object]"]=en["[object RegExp]"]=en["[object Set]"]=en["[object String]"]=en["[object WeakMap]"]=!1;const lp=function She(n){return function(t){return n(t)}};var S4="object"==typeof exports&&exports&&!exports.nodeType&&exports,cp=S4&&"object"==typeof module&&module&&!module.nodeType&&module,yD=cp&&cp.exports===S4&&J3.process;const gu=function(){try{return cp&&cp.require&&cp.require("util").types||yD&&yD.binding&&yD.binding("util")}catch{}}();var k4=gu&&gu.isTypedArray;const Fb=k4?lp(k4):function xhe(n){return oa(n)&&vD(n.length)&&!!en[tc(n)]},CD=function The(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]};var Ihe=Object.prototype.hasOwnProperty;const wD=function Ohe(n,t,e){var i=n[t];(!Ihe.call(n,t)||!lu(i,e)||void 0===e&&!(t in n))&&Ob(n,t,e)},_u=function Rhe(n,t,e,i){var r=!e;e||(e={});for(var o=-1,a=t.length;++o-1&&n%1==0&&n0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}(rfe);const O4=dfe,dp=function ufe(n,t){return O4(I4(n,t,DD),n+"")},R4=function hfe(n,t,e){if(!Or(e))return!1;var i=typeof t;return!!("number"==i?pu(e)&&Pb(t,e.length):"string"==i&&t in e)&&lu(e[t],n)},N4=function ffe(n){return dp(function(t,e){var i=-1,r=e.length,o=r>1?e[r-1]:void 0,a=r>2?e[2]:void 0;for(o=n.length>3&&"function"==typeof o?(r--,o):void 0,a&&R4(e[0],e[1],a)&&(o=r<3?void 0:o,r=1),t=Object(t);++i-1&&+n[s].path>0)r[o[s].replace(":","")]=n[s].path;else if(o[s]!==n[s].path){a=!1;break}}if(a){const s=n.reduce((l,c)=>So(l,c.parameters),{});return{component:i.component,injector:e,resolve:i.resolve??{},params:So(r,s),rule:i,route:{segments:n,path:n.map(l=>l.path).join("/")}}}}return n.length>1?F4(n.slice(0,-1),t,e):null}const P4=(n,t,e)=>{const i=function mfe(n,t){return fD(up(n,t).map(e=>e.route.segments))}(n,e.data?e.data.panelsRoutes:[]);return i.length?{consumed:i}:null};function Lb(n){var t=-1,e=null==n?0:n.length;for(this.__data__=new Ab;++ts))return!1;var c=o.get(n),d=o.get(t);if(c&&d)return c==t&&d==n;var u=-1,h=!0,p=2&e?new Bb:void 0;for(o.set(n,t),o.set(t,n);++u-1},ND=function Npe(n,t,e){for(var i=-1,r=null==n?0:n.length;++i=200&&(o=hp,a=!1,t=new Bb(t));e:for(;++r{const{length:a}=e;if(!a)return void o.complete();const s=new Array(a);let l=a,c=a;for(let d=0;d{u||(u=!0,c--),s[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?HN(i,s):s),o.complete())}))}});return t?r.pipe(hx(t)):r}const eB=new F("NaturalPanelsHooksConfig");function te(n){return null!=n&&"false"!=`${n}`}function pn(n,t=0){return tB(n)?Number(n):t}function tB(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function zb(n){return Array.isArray(n)?n:[n]}function zn(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Ka(n){return n instanceof W?n.nativeElement:n}function nB(n,t=/\s+/){const e=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(t);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}const Hpe=["addListener","removeListener"],$pe=["addEventListener","removeEventListener"],jpe=["on","off"];function Eo(n,t,e,i){if(vt(e)&&(i=e,e=void 0),i)return Eo(n,t,e).pipe(hx(i));const[r,o]=function qpe(n){return vt(n.addEventListener)&&vt(n.removeEventListener)}(n)?$pe.map(a=>s=>n[a](t,s,e)):function Upe(n){return vt(n.addListener)&&vt(n.removeListener)}(n)?Hpe.map(iB(n,t)):function Gpe(n){return vt(n.on)&&vt(n.off)}(n)?jpe.map(iB(n,t)):[];if(!r&&S0(n))return Gn(a=>Eo(a,t,e))(ti(n));if(!r)throw new TypeError("Invalid event target");return new rt(a=>{const s=(...l)=>a.next(1o(s)})}function iB(n,t){return e=>i=>n[e](t,i)}const mp={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=mp;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new We(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=mp;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=mp;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};new class Ype extends Y_{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class Wpe extends G_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=mp.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(mp.cancelAnimationFrame(e),t._scheduled=void 0)}});function oc(n=0,t,e=Wie){let i=-1;return null!=t&&(mT(t)?e=t:i=t),new rt(r=>{let o=function Xpe(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function rB(n,t=Wd){return function Qpe(n){return qt((t,e)=>{let i=!1,r=null,o=null,a=!1;const s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}a&&e.complete()},l=()=>{o=null,a&&e.complete()};t.subscribe(Vt(e,c=>{i=!0,r=c,o||ti(n(c)).subscribe(o=Vt(e,s,l))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>oc(n,t))}let FD;try{FD=typeof Intl<"u"&&Intl.v8BreakIterator}catch{FD=!1}let wu,yt=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Wl(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&&!FD)&&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}}return n.\u0275fac=function(e){return new(e||n)(I(Hr))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const oB=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function aB(){if(wu)return wu;if("object"!=typeof document||!document)return wu=new Set(oB),wu;let n=document.createElement("input");return wu=new Set(oB.filter(t=>(n.setAttribute("type",t),n.type===t))),wu}let gp,Hb,ac,PD;function Mo(n){return function Jpe(){if(null==gp&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gp=!0}))}finally{gp=gp||!1}return gp}()?n:!!n.capture}function sB(){if(null==ac){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ac=!1,ac;if("scrollBehavior"in document.documentElement.style)ac=!0;else{const n=Element.prototype.scrollTo;ac=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ac}function _p(){if("object"!=typeof document||!document)return 0;if(null==Hb){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),Hb=0,0===n.scrollLeft&&(n.scrollLeft=1,Hb=0===n.scrollLeft?1:2),n.remove()}return Hb}function xu(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function Qa(n){return n.composedPath?n.composedPath()[0]:n.target}function LD(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}let bp=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new q,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}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 rt(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(rB(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ee()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Be(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Ka(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Eo(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(I(ce),I(yt),I(ye,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vp=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new q,this._elementScrolled=new rt(a=>this.ngZone.runOutsideAngular(()=>Eo(this.elementRef.nativeElement,"scroll").pipe(se(this._destroyed)).subscribe(a)))}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,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=_p()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==_p()?e.left=e.right:1==_p()&&(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;sB()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?r:i:"end"==e&&(e=a?i:r),a&&2==_p()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&1==_p()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(bp),g(ce),g(Qt,8))},n.\u0275dir=R({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),n})(),Xa=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new q,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const 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:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(rB(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}}}return n.\u0275fac=function(e){return new(e||n)(I(yt),I(ce),I(ye,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ja=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})(),BD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[qd,Ja,qd,Ja]}),n})();function lB(n,t=!1){return qt((e,i)=>{let r=0;e.subscribe(Vt(i,o=>{const a=n(o,r++);(a||t)&&i.next(o),!a&&i.complete()}))})}class VD{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class aa extends VD{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class sa extends VD{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class ime extends VD{constructor(t){super(),this.element=t instanceof W?t.nativeElement:t}}class yp{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof aa?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof sa?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof ime?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class cB extends yp{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=a=>{const s=a.element,l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Yt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let rme=(()=>{class n extends sa{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Ft))},n.\u0275dir=R({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[N]}),n})(),Rr=(()=>{class n extends yp{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new j,this.attachDomPortal=o=>{const a=o.element,s=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=r}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,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}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}}return n.\u0275fac=function(e){return new(e||n)(g(Es),g(Ft),g(ye))},n.\u0275dir=R({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[N]}),n})(),Za=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();function on(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}const dB=sB();class pme{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=zn(-this._previousScrollPosition.left),t.style.top=zn(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),dB&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),dB&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_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 mme{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(Be(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=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class uB{enable(){}disable(){}attach(){}}function $D(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function hB(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class gme{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}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:r}=this._viewportRuler.getViewportSize();$D(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let _me=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new uB,this.close=a=>new mme(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new pme(this._viewportRuler,this._document),this.reposition=a=>new gme(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(I(bp),I(Xa),I(ce),I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class qs{constructor(t){if(this.scrollStrategy=new uB,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class bme{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let fB=(()=>{class n{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()}}return n.\u0275fac=function(e){return new(e||n)(I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vme=(()=>{class n extends fB{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const s=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);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)}}return n.\u0275fac=function(e){return new(e||n)(I(ye),I(ce,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yme=(()=>{class n extends fB{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Qa(o)},this._clickListener=o=>{const a=Qa(o),s="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;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(a)||d.overlayElement.contains(s))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}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)}}return n.\u0275fac=function(e){return new(e||n)(I(ye),I(yt),I(ce,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Gb=(()=>{class n{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||LD()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new q,this._outsidePointerEvents=new q,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(lt(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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=zn(this._config.width),t.height=zn(this._config.height),t.minWidth=zn(this._config.minWidth),t.minHeight=zn(this._config.minHeight),t.maxWidth=zn(this._config.maxWidth),t.maxHeight=zn(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=zb(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(se(dt(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()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const pB="cdk-overlay-connected-position-bounding-box",Cme=/([A-Za-z%]+)$/;class mB{get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new q,this._resizeSubscription=We.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(pB),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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 t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let a;for(let s of this._preferredPositions){let l=this._getOriginPoint(t,r,s),c=this._getOverlayPoint(l,e,s),d=this._getOverlayFit(c,e,i,s);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!a||a.overlayFit.visibleAreal&&(l=d,s=c)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&sc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(pB),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){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,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;r="start"==i.originX?a:s}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=_B(e);let{x:a,y:s}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let h=0-s,p=s+o.height-i.height,v=this._subtractOverflows(o.width,0-a,a+o.width-i.width),y=this._subtractOverflows(o.height,h,p),w=v*y;return{visibleArea:w,isCompletelyWithinViewport:o.width*o.height===w,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,a=gB(this._overlayRef.getConfig().minHeight),s=gB(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=r)&&(t.fitsInViewportHorizontally||null!=s&&s<=o)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=_B(e),o=this._viewportRect,a=Math.max(t.x+r.width-o.width,0),s=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let d=0,u=0;return d=r.width<=o.width?c||-a:t.xv&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-v/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=i.width-t.x+this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)u=t.x,d=i.right-t.x;else{const p=Math.min(i.right-t.x+i.left,t.x),v=this._lastBoundingBoxSize.width;d=2*p,u=t.x-p,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-v/2)}return{top:a,left:u,bottom:s,right:h,width:d,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=zn(i.height),r.top=zn(i.top),r.bottom=zn(i.bottom),r.width=zn(i.width),r.left=zn(i.left),r.right=zn(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=zn(o)),a&&(r.maxWidth=zn(a))}this._lastBoundingBoxSize=i,sc(this._boundingBox.style,r)}_resetBoundingBoxStyles(){sc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){sc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();sc(i,this._getExactOverlayY(e,t,d)),sc(i,this._getExactOverlayX(e,t,d))}else i.position="static";let s="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=zn(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=zn(a.maxWidth):o&&(i.maxWidth="")),sc(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=zn(o.y),r}_getExactOverlayX(t,e,i){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=zn(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:hB(t,i),isOriginOutsideView:$D(t,i),isOverlayClipped:hB(e,i),isOverlayOutsideView:$D(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=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+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&zb(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof W)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function sc(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function gB(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(Cme);return e&&"px"!==e?null:parseFloat(t)}return n||null}function _B(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const bB="cdk-global-overlay-wrapper";class wme{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(bB),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,l=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==o&&"100vh"!==o||s&&"100%"!==s&&"100vh"!==s),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let p="",v="",y="";l?y="flex-start":"center"===d?(y="center",h?v=u:p=u):h?"left"===d||"end"===d?(y="flex-end",p=u):("right"===d||"start"===d)&&(y="flex-start",v=u):"left"===d||"start"===d?(y="flex-start",p=u):("right"===d||"end"===d)&&(y="flex-end",v=u),t.position=this._cssPosition,t.marginLeft=l?"0":p,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":v,e.justifyContent=y,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(bB),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let xme=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new wme}flexibleConnectedTo(e){return new mB(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(I(Xa),I(ye),I(yt),I(Gb))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Dme=0,Jn=(()=>{class n{constructor(e,i,r,o,a,s,l,c,d,u,h,p){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=s,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=p}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),a=new qs(e);return a.direction=a.direction||this._directionality.value,new xp(o,i,r,a,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-"+Dme++,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(Va)),new cB(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(I(_me),I(Gb),I(Es),I(xme),I(vme),I(Yt),I(ce),I(ye),I(Qt),I(bf),I(yme),I(Ot,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Sme=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],vB=new F("cdk-connected-overlay-scroll-strategy");let jD=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),n})(),yB=(()=>{class n{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=te(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=te(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=te(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=te(e)}get push(){return this._push}set push(e){this._push=te(e)}constructor(e,i,r,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=We.EMPTY,this._attachSubscription=We.EMPTY,this._detachSubscription=We.EMPTY,this._positionSubscription=We.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new j,this.positionChange=new j,this.attach=new j,this.detach=new j,this.overlayKeydown=new j,this.overlayOutsideClick=new j,this._templatePortal=new sa(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Sme);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!on(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new qs({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof jD?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(lB(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(Jn),g(kt),g(Ft),g(vB),g(Qt,8))},n.\u0275dir=R({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Je]}),n})();const Eme={provide:vB,deps:[Jn],useFactory:function kme(n){return()=>n.scrollStrategies.reposition()}};let Ws=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Jn,Eme],imports:[qd,Za,BD,BD]}),n})();function UD(n){return Be((t,e)=>n<=e)}let CB=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Mme=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Ka(e);return new rt(r=>{const a=this._observeElement(i).subscribe(r);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new q,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(I(CB))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),GD=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=te(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=pn(e),this._subscribe()}constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new j,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Fs(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(Mme),g(W),g(ce))},n.\u0275dir=R({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),qb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[CB]}),n})();const wB=new Set;let lc,Tme=(()=>{class n{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ime}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ame(n,t){if(!wB.has(n))try{lc||(lc=document.createElement("style"),t&&(lc.nonce=t),lc.setAttribute("type","text/css"),document.head.appendChild(lc)),lc.sheet&&(lc.sheet.insertRule(`@media ${n} {body{ }}`,0),wB.add(n))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(I(yt),I($C,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ime(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let Dp=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new q}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return xB(zb(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Ul(xB(zb(e)).map(a=>this._registerQuery(a).observable));return o=Pd(o.pipe(lt(1)),o.pipe(UD(1),Fs(0))),o.pipe(ue(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new rt(a=>{const s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(zt(i),ue(({matches:a})=>({query:e,matches:a})),se(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(I(Tme),I(ce))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function xB(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function WD(n,t,e){const i=Wb(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))}function Sp(n,t,e){const r=Wb(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}function Wb(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const SB="cdk-describedby-message",Yb="cdk-describedby-host";let YD=0,kB=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+YD++,this._document=e,this._id=ne(Ag)+"-"+YD++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=KD(i,r);"string"!=typeof i?(EB(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=KD(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Yb}="${this._id}"]`);for(let i=0;i0!=r.indexOf(SB));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);WD(e,"aria-describedby",r.messageElement.id),e.setAttribute(Yb,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,Sp(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Yb)}_isElementDescribedByMessage(e,i){const r=Wb(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=r.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(I(ye),I(yt))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function KD(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function EB(n,t){n.id||(n.id=`${SB}-${t}-${YD++}`)}class MB{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new q,this._typeaheadSubscription=We.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new q,this.change=new q,t instanceof Jo&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ht(e=>this._pressedLetters.push(e)),Fs(t),Be(()=>this._pressedLetters.length>0),ue(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.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._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Jo?this._items.toArray():this._items}}class TB extends MB{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class kp extends MB{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let Du=(()=>{class n{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Rme(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function Ome(n){try{return n.frameElement}catch{return null}}(function Hme(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(i&&(-1===IB(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=IB(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function Vme(n){let t=n.nodeName.toLowerCase(),e="input"===t&&n.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function zme(n){return!function Fme(n){return function Lme(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function Nme(n){let t=n.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(n)||function Pme(n){return function Bme(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||AB(n))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return n.\u0275fac=function(e){return new(e||n)(I(yt))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function AB(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let t=n.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function IB(n){if(!AB(n))return null;const t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class OB{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,e,i,r,o=!1){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let i=0;i=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(lt(1)).subscribe(t)}}let Ep=(()=>{class n{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new OB(e,this._checker,this._ngZone,this._document,i)}}return n.\u0275fac=function(e){return new(e||n)(I(Du),I(ce),I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$me=(()=>{class n{get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=te(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=te(e)}constructor(e,i,r){this._elementRef=e,this._focusTrapFactory=i,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=xu(),this.focusTrap.focusInitialElementWhenReady()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Ep),g(ye))},n.\u0275dir=R({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Je]}),n})();class jme extends OB{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(t,e,i,r,o,a,s){super(t,e,i,r,s.defer),this._focusTrapManager=o,this._inertStrategy=a,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const Ume=new F("FOCUS_TRAP_INERT_STRATEGY");class Gme{constructor(){this._listener=null}preventFocus(t){this._listener&&t._document.removeEventListener("focus",this._listener,!0),this._listener=e=>this._trapFocus(t,e),t._ngZone.runOutsideAngular(()=>{t._document.addEventListener("focus",this._listener,!0)})}allowFocus(t){this._listener&&(t._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(t,e){const i=e.target,r=t._element;i&&!r.contains(i)&&!i.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{t.enabled&&!r.contains(t._document.activeElement)&&t.focusFirstTabbableElement()})}}let qme=(()=>{class n{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(r=>r!==e);let i=this._focusTrapStack;i.length&&i[i.length-1]._disable(),i.push(e),e._enable()}deregister(e){e._disable();const i=this._focusTrapStack,r=i.indexOf(e);-1!==r&&(i.splice(r,1),i.length&&i[i.length-1]._enable())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wme=(()=>{class n{constructor(e,i,r,o,a){this._checker=e,this._ngZone=i,this._focusTrapManager=r,this._document=o,this._inertStrategy=a||new Gme}create(e,i={defer:!1}){let r;return r="boolean"==typeof i?{defer:i}:i,new jme(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,r)}}return n.\u0275fac=function(e){return new(e||n)(I(Du),I(ce),I(qme),I(ye),I(Ume,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function QD(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function XD(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const Yme=new F("cdk-input-modality-detector-options"),Kme={ignoreKeys:[18,17,224,91,16]},Su=Mo({passive:!0,capture:!0});let Qme=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new ft(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Qa(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(QD(a)?"keyboard":"mouse"),this._mostRecentTarget=Qa(a))},this._onTouchstart=a=>{XD(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Qa(a))},this._options={...Kme,...o},this.modalityDetected=this._modality.pipe(UD(1)),this.modalityChanged=this.modalityDetected.pipe(ys()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Su),r.addEventListener("mousedown",this._onMousedown,Su),r.addEventListener("touchstart",this._onTouchstart,Su)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Su),document.removeEventListener("mousedown",this._onMousedown,Su),document.removeEventListener("touchstart",this._onTouchstart,Su))}}return n.\u0275fac=function(e){return new(e||n)(I(yt),I(ce),I(ye),I(Yme,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Xme=new F("liveAnnouncerElement",{providedIn:"root",factory:function Jme(){return null}}),Zme=new F("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ege=0,JD=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==a&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),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),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{constructor(e,i,r,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,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 q,this._rootNodeFocusAndBlurListener=s=>{for(let c=Qa(s);c;c=c.parentElement)"focus"===s.type?this._onFocus(s,c):this._onBlur(s,c)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const r=Ka(e);if(!this._platform.isBrowser||1!==r.nodeType)return ee(null);const o=function eme(n){if(function Zpe(){if(null==PD){const n=typeof document<"u"?document.head:null;PD=!(!n||!n.createShadowRoot&&!n.attachShadow)}return PD}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;const s={checkChildren:i,subject:new q,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const i=Ka(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Ka(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}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 1===this._detectionMode||!!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,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Qa(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,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,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Kb),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Kb)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(se(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Kb),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Kb),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new j}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(fr))},n.\u0275dir=R({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),n})();const FB="cdk-high-contrast-black-on-white",PB="cdk-high-contrast-white-on-black",ZD="cdk-high-contrast-active";let LB=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=ne(Dp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;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,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(ZD,FB,PB),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(ZD,FB):2===i&&e.add(ZD,PB)}}}return n.\u0275fac=function(e){return new(e||n)(I(yt),I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qb=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(I(LB))},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[qb]}),n})();function nge(n,t){}class Xb{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 BB=(()=>{class n extends yp{constructor(e,i,r,o,a,s,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_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 r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,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 r=xu(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(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=xu();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=xu())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Ep),g(ye,8),g(Xb),g(Du),g(ce),g(xp),g(fr))},n.\u0275cmp=$({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&ve(Rr,7),2&e){let r;U(r=G())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&ie("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[N],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&S(0,nge,0,0,"ng-template",0)},dependencies:[Rr],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),n})();class eS{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new q,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!on(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(t,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const VB=new F("DialogScrollStrategy"),ige=new F("DialogData"),rge=new F("DefaultDialogConfig"),age={provide:VB,deps:[Jn],useFactory:function oge(n){return()=>n.scrollStrategies.block()}};let sge=0,zB=(()=>{class n{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,o,a,s){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._ariaHiddenElements=new Map,this.afterAllClosed=Ld(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(zt(void 0))),this._scrollStrategy=s}open(e,i){(i={...this._defaultOptions||new Xb,...i}).id=i.id||"cdk-dialog-"+sge++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),a=this._overlay.create(o),s=new eS(a,i),l=this._attachContainer(a,s,i);return s.containerInstance=l,this._attachDialogContent(e,s,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){tS(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){tS(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),tS(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new qs({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,r){const o=r.injector||r.viewContainerRef?.injector,a=[{provide:Xb,useValue:r},{provide:eS,useValue:i},{provide:xp,useValue:e}];let s;r.container?"function"==typeof r.container?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=BB;const l=new aa(s,r.viewContainerRef,Yt.create({parent:o||this._injector,providers:a}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof kt){const a=this._createInjector(o,i,r,void 0);let s={$implicit:o.data,dialogRef:i};o.templateContext&&(s={...s,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new sa(e,null,s,a))}else{const a=this._createInjector(o,i,r,this._injector),s=r.attachComponentPortal(new aa(e,o.viewContainerRef,a,o.componentFactoryResolver));i.componentInstance=s.instance}}_createInjector(e,i,r,o){const a=e.injector||e.viewContainerRef?.injector,s=[{provide:ige,useValue:e.data},{provide:eS,useValue:i}];return e.providers&&("function"==typeof e.providers?s.push(...e.providers(i,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(Qt,null,{optional:!0}))&&s.push({provide:Qt,useValue:{value:e.direction,change:ee()}}),Yt.create({parent:a||o,providers:s})}_removeOpenDialog(e,i){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.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 r=i.length-1;r>-1;r--){const o=i[r];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return n.\u0275fac=function(e){return new(e||n)(I(Jn),I(Yt),I(rge,8),I(n,12),I(Gb),I(VB))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();function tS(n,t){let e=n.length;for(;e--;)t(n[e])}let lge=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[zB,age],imports:[Ws,Za,Qb,Za]}),n})();const cge=["text"];function dge(n,t){if(1&n&&T(0,"mat-pseudo-checkbox",6),2&n){const e=x();_("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function uge(n,t){1&n&&T(0,"mat-pseudo-checkbox",7),2&n&&_("disabled",x().disabled)}function hge(n,t){if(1&n&&(f(0,"span",8),C(1),m()),2&n){const e=x();b(1),me("(",e.group.label,")")}}const fge=[[["mat-icon"]],"*"],pge=["mat-icon","*"];let mge=(()=>{class n{}return n.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",n.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",n.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",n.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",n})(),gge=(()=>{class n{}return n.COMPLEX="375ms",n.ENTERING="225ms",n.EXITING="195ms",n})();const bge=new F("mat-sanity-checks",{providedIn:"root",factory:function _ge(){return!0}});let Ue=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!LD()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(I(LB),I(bge,8),I(ye))},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[qd,qd]}),n})();function Ao(n){return class extends n{get disabled(){return this._disabled}set disabled(t){this._disabled=te(t)}constructor(...t){super(...t),this._disabled=!1}}}function Ys(n,t){return class extends n{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function Ks(n){return class extends n{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=te(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function cc(n,t=0){return class extends n{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?pn(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function nS(n){return class extends n{updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}function jB(n){return class extends n{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new rt(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const vge=new F("MAT_DATE_LOCALE",{providedIn:"root",factory:function yge(){return ne(Zo)}});class Hn{constructor(){this._localeChanges=new q,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let i=this.isValid(t),r=this.isValid(e);return i&&r?!this.compareDate(t,e):i==r}return t==e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}const es=new F("mat-date-formats"),Cge=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function iS(n,t){const e=Array(n);for(let i=0;i{class n extends Hn{constructor(e,i){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return iS(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return iS(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){const i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return iS(7,r=>this._format(i,new Date(2017,0,r+1)))}getYearName(e){const i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,r){let o=this._createDateWithOverflow(e,i,r);return o.getMonth(),o}today(){return new Date}parse(e,i){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const r=new Intl.DateTimeFormat(this.locale,{...i,timeZone:"utc"});return this._format(r,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,12*i)}addCalendarMonths(e,i){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+i)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(Cge.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,i,r){const o=new Date;return o.setFullYear(e,i,r),o.setHours(0,0,0,0),o}_2digit(e){return("00"+e).slice(-2)}_format(e,i){const r=new Date;return r.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),r.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(r)}}return n.\u0275fac=function(e){return new(e||n)(I(vge,8),I(yt))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const wge={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let xge=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[{provide:Hn,useClass:UB}]}),n})(),Dge=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[{provide:es,useValue:wge}],imports:[xge]}),n})(),Mp=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Sge{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const GB=Mo({passive:!0,capture:!0});class kge{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Qa(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){const o=this._events.get(e);if(o){const a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,GB)})}removeHandler(t,e,i){const r=this._events.get(t);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,GB)))}}const qB={enterDuration:225,exitDuration:150},WB=Mo({passive:!0,capture:!0}),YB=["mousedown","touchstart"],KB=["mouseup","mouseleave","touchend","touchcancel"];class dc{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Ka(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...qB,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const a=i.radius||function Mge(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),s=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=s-a+"px",d.style.top=l-a+"px",d.style.height=2*a+"px",d.style.width=2*a+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),p=u.transitionDuration,v="none"===u.transitionProperty||"0s"===p||"0s, 0s"===p||0===r.width&&0===r.height,y=new Sge(this,d,i,v);d.style.transform="scale3d(1, 1, 1)",y.state=0,i.persistent||(this._mostRecentTransientRipple=y);let w=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const k=()=>this._finishRippleTransition(y),D=()=>this._destroyRipple(y);d.addEventListener("transitionend",k),d.addEventListener("transitioncancel",D),w={onTransitionEnd:k,onTransitionCancel:D}}),this._activeRipples.set(y,w),(v||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...qB,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Ka(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,YB.forEach(i=>{dc._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{KB.forEach(e=>{this._triggerElement.addEventListener(e,this,WB)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=QD(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(YB.forEach(e=>dc._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&KB.forEach(e=>t.removeEventListener(e,this,WB)))}}dc._eventManager=new kge;const uc=new F("mat-ripple-global-options");let Ei=(()=>{class n{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,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new dc(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce),g(yt),g(uc,8),g(Ot,8))},n.\u0275dir=R({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&de("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),Io=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Ue]}),n})(),Tge=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return n.\u0275fac=function(e){return new(e||n)(g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&de("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),n})(),QB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue]}),n})();const rS=new F("MAT_OPTION_PARENT_COMPONENT"),oS=new F("MatOptgroup");let Age=0;class XB{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let Ige=(()=>{class n{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=te(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Age++,this.onSelectionChange=new j,this._stateChanges=new q}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!on(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new XB(this,e))}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&ve(cge,7),2&e){let r;U(r=G())&&(i._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),da=(()=>{class n extends Ige{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(rS,8),g(oS,8))},n.\u0275cmp=$({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,i){1&e&&E("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Si("id",i.id),ie("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),de("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[N],ngContentSelectors:pge,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(qe(fge),S(0,dge,1,2,"mat-pseudo-checkbox",0),re(1),f(2,"span",1,2),re(4,1),m(),S(5,uge,1,1,"mat-pseudo-checkbox",3),S(6,hge,2,1,"span",4),T(7,"div",5)),2&e&&(_("ngIf",i.multiple),b(5),_("ngIf",!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator),b(1),_("ngIf",i.group&&i.group._inert),b(1),_("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Ei,Le,Tge],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();function JB(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let a=0;ae+i?Math.max(0,n-i+t):e}let Oo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Io,ke,Ue,QB]}),n})();class e8{}class Oge{}const ts="*";function mn(n,t){return{type:7,name:n,definitions:t,options:{}}}function it(n,t=null){return{type:4,styles:t,timings:n}}function Jb(n,t=null){return{type:3,steps:n,options:t}}function aS(n,t=null){return{type:2,steps:n,options:t}}function _e(n){return{type:6,styles:n,offset:null}}function _t(n,t,e){return{type:0,name:n,styles:t,options:e}}function ku(n){return{type:5,steps:n}}function ot(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function Zb(n=null){return{type:9,options:n}}function Eu(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}class Ap{constructor(t=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class t8{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function Rge(n,t){}class ev{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",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 lS="mdc-dialog--open",n8="mdc-dialog--opening",i8="mdc-dialog--closing";let Pge=(()=>{class n extends BB{constructor(e,i,r,o,a,s,l,c){super(e,i,r,o,a,s,l,c),this._animationStateChanged=new j}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Ep),g(ye,8),g(ev),g(Du),g(ce),g(xp),g(fr))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],features:[N],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})();const r8="--mat-dialog-transition-duration";function o8(n){return null==n?null:"number"==typeof n?n:n.endsWith("ms")?pn(n.substring(0,n.length-2)):n.endsWith("s")?1e3*pn(n.substring(0,n.length-1)):"0"===n?0:null}let Lge=(()=>{class n extends Pge{constructor(e,i,r,o,a,s,l,c,d){super(e,i,r,o,a,s,l,d),this._animationMode=c,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?o8(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?o8(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(r8,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(n8,lS)),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(lS),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(lS),this._animationsEnabled?(this._hostElement.style.setProperty(r8,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(i8)),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(n8,i8)}_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()})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Ep),g(ye,8),g(ev),g(Du),g(ce),g(xp),g(Ot,8),g(fr))},n.\u0275cmp=$({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,i){2&e&&(Si("id",i._config.id),ie("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),de("_mat-animation-noopable",!i._animationsEnabled))},features:[N],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(f(0,"div",0)(1,"div",1),S(2,Rge,0,0,"ng-template",2),m()())},dependencies:[Rr],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%;transform:scale(0.8);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}.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--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.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{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow: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);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--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-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{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}),n})();class Qs{constructor(t,e,i){this._ref=t,this._containerInstance=i,this._afterOpened=new q,this._beforeClosed=new q,this._state=0,this.disableClose=e.disableClose,this.id=t.id,i._animationStateChanged.pipe(Be(r=>"opened"===r.state),lt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Be(r=>"closed"===r.state),lt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),dt(this.backdropClick(),this.keydownEvents().pipe(Be(r=>27===r.keyCode&&!this.disableClose&&!on(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),a8(this,"keydown"===r.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Be(e=>"closing"===e.state),lt(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,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(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function a8(n,t,e){return n._closeInteractionType=t,n.close(e)}const hc=new F("MatMdcDialogData"),Bge=new F("mat-mdc-dialog-default-options"),s8=new F("mat-mdc-dialog-scroll-strategy"),zge={provide:s8,deps:[Jn],useFactory:function Vge(n){return()=>n.scrollStrategies.block()}};let Hge=0,$ge=(()=>{class n{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,r,o,a,s,l,c,d,u){this._overlay=e,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q,this._afterOpenedAtThisLevel=new q,this._idPrefix="mat-dialog-",this.dialogConfigClass=ev,this.afterAllClosed=Ld(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(zt(void 0))),this._scrollStrategy=s,this._dialog=i.get(zB)}open(e,i){let r;(i={...this._defaultOptions||new ev,...i}).id=i.id||`${this._idPrefix}${Hge++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=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:Xb,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(a,s,l)=>(r=new this._dialogRefConstructor(a,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}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()}}return n.\u0275fac=function(e){Mr()},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})(),Xs=(()=>{class n extends $ge{constructor(e,i,r,o,a,s,l,c){super(e,i,o,s,l,a,Qs,Lge,hc,c),this._idPrefix="mat-mdc-dialog-"}}return n.\u0275fac=function(e){return new(e||n)(I(Jn),I(Yt),I(bf,8),I(Bge,8),I(s8),I(n,12),I(Gb),I(Ot,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})(),jge=0,fc=(()=>{class n{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=l8(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){a8(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return n.\u0275fac=function(e){return new(e||n)(g(Qs,8),g(W),g(Xs))},n.\u0275dir=R({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&E("click",function(o){return i._onButtonClick(o)}),2&e&&ie("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Je]}),n})(),pc=(()=>{class n{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r,this.id="mat-mdc-dialog-title-"+jge++}ngOnInit(){this._dialogRef||(this._dialogRef=l8(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return n.\u0275fac=function(e){return new(e||n)(g(Qs,8),g(W),g(Xs))},n.\u0275dir=R({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,i){2&e&&Si("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),n})(),mc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),n})(),gc=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(e,i){2&e&&de("mat-mdc-dialog-actions-align-center","center"===i.align)("mat-mdc-dialog-actions-align-end","end"===i.align)},inputs:{align:"align"}}),n})();function l8(n,t){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?t.find(i=>i.id===e.id):null}let Js=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Xs,zge],imports:[lge,Ws,Za,Ue,Ue]}),n})();function d8(n){return n.map(t=>t.toString()).join("/")}function u8(n,t){return n.route.path===t.route.path&&n.rule===t.rule&&pp(n.params,t.params)}let h8=(()=>{class n{static get opened(){return this._opened}constructor(e,i,r,o,a){this.router=e,this.dialog=i,this.injector=r,this.hooksConfig=o,this.mediaService=a,this.afterAllClosed=new q,this.counter=1,this.panelClass="panel",this.oldFullConfig=[],this.panelsOffsetH=35,this.panelsOffsetV=40,this.media=null,this.mediaService.asObservable().subscribe(s=>{for(const l of s)this.media?this.media!==l.mqAlias&&(this.media=l.mqAlias,this.updateComponentsPosition()):this.media=l.mqAlias})}start(e){n._opened=!0,this.routeSub=e.url.subscribe(i=>{this.updatePanels(i,e.snapshot.data.panelsRoutes)}),this.navSub=this.router.events.subscribe(i=>{if(!(i instanceof F_))return;if(i.url.endsWith("/"))return this.stop(),void this.router.navigateByUrl("panels-reached-invalid-url");this.counter++;const r=i.url+";pc="+this.counter,o=(new E_).parse(r).root.children.primary.segments,a=up(o,e.snapshot.data.panelsRoutes,this.injector);if(a.length)return this.appendConfigToCurrentUrl(a);const c=up(fD(this.dialog.openDialogs.map(d=>d.componentInstance.panelData.config.route.segments)).slice(-1).concat(o),e.snapshot.data.panelsRoutes,this.injector);return this.appendConfigToCurrentUrl(c)})}appendConfigToCurrentUrl(e){const i=this.router.errorHandler;e&&(this.router.errorHandler=()=>{});const r=e.map(o=>d8(o.route.segments)).join("/");this.router.navigateByUrl(this.router.url+"/"+r).then(()=>{this.router.errorHandler=i})}stop(){n._opened=!1,this.routeSub?.unsubscribe(),this.navSub?.unsubscribe(),this.dialog.closeAll(),this.oldFullConfig=[],this.afterAllClosed.next()}goToPanelByComponent(e){this.goToPanelByIndex(this.getPanelIndex(e))}goToPenultimatePanel(){this.goToPanelByIndex(this.dialog.openDialogs.length-2)}goToPanelByIndex(e){const i=this.dialog.openDialogs.slice(e+1).map(r=>d8(r.componentInstance.panelData.config.route.segments)).join("/");this.router.navigateByUrl(this.router.url.replace("/"+i,""))}selectPanelByIndex(e){const i=this.dialog.openDialogs[this.dialog.openDialogs.length-1];this.updateComponentsPosition();for(let r=this.dialog.openDialogs.length-1;r>=e+1;r--)this.dialog.openDialogs[r].close();return i.afterClosed()}updatePanels(e,i){const r=up(e,i,this.injector),o=Z4(this.oldFullConfig,r,u8),a=Z4(r,this.oldFullConfig,u8),s=this.oldFullConfig.length-o.length-1;o.length&&a.length?this.selectPanelByIndex(s).subscribe(()=>{this.openPanels(a,r).subscribe(()=>this.updateComponentsPosition())}):o.length&&!a.length?this.selectPanelByIndex(s).subscribe(()=>this.updateComponentsPosition()):!o.length&&a.length&&this.openPanels(a,r).subscribe(()=>this.updateComponentsPosition()),this.oldFullConfig=r}openPanels(e,i){const r=new q;return ko(e.map(a=>this.getResolvedData(a))).subscribe(a=>{for(let s=0;s{r.next(null)})}),r}getResolvedData(e){if(!e.resolve||e.resolve&&0===Object.keys(e.resolve).length)return ee({});const i=Object.keys(e.resolve),r={},o=e.injector;return o&&i.forEach(a=>{r[a]=function IW(n,t){n instanceof VC&&n.assertNotDestroyed();const e=ws(n),i=nr(void 0);try{return t()}finally{ws(e),nr(i)}}(o,()=>e.resolve[a](e))}),ko(r).pipe(ue(a=>a.model||a))}openPanel(e,i){const o=this.dialog.open(e,{panelClass:this.panelClass,closeOnNavigation:!1,hasBackdrop:0===this.dialog.openDialogs.length,height:"100%",width:"960px",position:{top:"0",right:"0"}});o.componentInstance.initPanel(i),o.beforeClosed().subscribe(()=>{const a=this.getPanelIndex(o.componentInstance);this.goToPanelByIndex(a-1)})}getPanelIndex(e){return e?this.dialog.openDialogs.findIndex(i=>i.componentInstance===e):-1}updateComponentsPosition(){if(!this.dialog.openDialogs.length)return;const e=this.dialog.openDialogs;for(let i=0;i1&&(a={top:i*this.panelsOffsetV+"px",right:"0px"}),r.updatePosition(a)}}}return n._opened=!1,n.\u0275fac=function(e){return new(e||n)(I(ii),I(Xs),I(Yt),I(eB),I(YP))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),f8=(()=>{class n{constructor(e,i){this.panelsService=e,this.panelsService.start(i)}ngOnDestroy(){this.panelsService.stop()}}return n.\u0275fac=function(e){return new(e||n)(g(h8),g(Ar))},n.\u0275cmp=$({type:n,selectors:[["natural-panels"]],standalone:!0,features:[Se],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),Uge=(()=>{class n{constructor(e,i,r){this.dialog=e,this.route=i,this.router=r,this.triggerConfig=this.route.snapshot.data.trigger;const{data:o,...a}=this.triggerConfig.dialogConfig,s={...a,data:{data:o,activatedRoute:this.route}};this.dialogRef=this.dialog.open(this.triggerConfig.component,s),this.dialogRef.beforeClosed().subscribe(l=>this.redirect(l))}ngOnDestroy(){this.dialogRef&&this.dialogRef.close(-1)}redirect(e){const i=null==e||""===e;-1!==e&&(i?i&&this.triggerConfig.afterClosedRoute?this.router.navigate(this.triggerConfig.afterClosedRoute):i&&this.router.navigate(["."],{relativeTo:this.route.parent}):this.router.navigate(e))}}return n.\u0275fac=function(e){return new(e||n)(g(Xs),g(Ar),g(ii))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:0,vars:0,template:function(e,i){},encapsulation:2}),n})(),p8=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},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)}}return n.\u0275fac=function(e){return new(e||n)(g(Pa),g(W))},n.\u0275dir=R({type:n}),n})(),_c=(()=>{class n extends p8{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,features:[N]}),n})();const Mi=new F("NgValueAccessor"),Wge={provide:Mi,useExisting:st(()=>ui),multi:!0},Kge=new F("CompositionEventMode");let ui=(()=>{class n extends p8{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Yge(){const n=Os()?Os().getUserAgent():"";return/android (\d+)/.test(n.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)}}return n.\u0275fac=function(e){return new(e||n)(g(Pa),g(W),g(Kge,8))},n.\u0275dir=R({type:n,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(e,i){1&e&&E("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[ae([Wge]),N]}),n})();function Zs(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function g8(n){return null!=n&&"number"==typeof n.length}const ai=new F("NgValidators"),el=new F("NgAsyncValidators"),Qge=/^(?=.{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 $t{static min(t){return function _8(n){return t=>{if(Zs(t.value)||Zs(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(Zs(t.value)||Zs(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return v8(t)}static requiredTrue(t){return function y8(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function C8(n){return Zs(n.value)||Qge.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function w8(n){return t=>Zs(t.value)||!g8(t.value)?null:t.value.lengthg8(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function D8(n){if(!n)return tv;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(Zs(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return A8(t)}static composeAsync(t){return I8(t)}}function v8(n){return Zs(n.value)?{required:!0}:null}function tv(n){return null}function S8(n){return null!=n}function k8(n){return rf(n)?yn(n):n}function E8(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function M8(n,t){return t.map(e=>e(n))}function T8(n){return n.map(t=>function Xge(n){return!n.validate}(t)?t:e=>t.validate(e))}function A8(n){if(!n)return null;const t=n.filter(S8);return 0==t.length?null:function(e){return E8(M8(e,t))}}function cS(n){return null!=n?A8(T8(n)):null}function I8(n){if(!n)return null;const t=n.filter(S8);return 0==t.length?null:function(e){return ko(M8(e,t).map(k8)).pipe(ue(E8))}}function dS(n){return null!=n?I8(T8(n)):null}function O8(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function R8(n){return n._rawValidators}function N8(n){return n._rawAsyncValidators}function uS(n){return n?Array.isArray(n)?n:[n]:[]}function nv(n,t){return Array.isArray(n)?n.includes(t):n===t}function F8(n,t){const e=uS(t);return uS(n).forEach(r=>{nv(e,r)||e.push(r)}),e}function P8(n,t){return uS(t).filter(e=>!nv(n,e))}class L8{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=cS(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=dS(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Ki extends L8{get formDirective(){return null}get path(){return null}}class Qi extends L8{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class B8{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let jt=(()=>{class n extends B8{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(g(Qi,2))},n.\u0275dir=R({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&de("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[N]}),n})(),si=(()=>{class n extends B8{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(g(Ki,10))},n.\u0275dir=R({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&de("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[N]}),n})();const Ip="VALID",rv="INVALID",Mu="PENDING",Op="DISABLED";function pS(n){return(ov(n)?n.validators:n)||null}function mS(n,t){return(ov(t)?t.asyncValidators:n)||null}function ov(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function z8(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new z(1e3,"");if(!i[e])throw new z(1001,"")}function H8(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new z(1002,"")})}class gS{constructor(t,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(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ip}get invalid(){return this.status===rv}get pending(){return this.status==Mu}get disabled(){return this.status===Op}get enabled(){return this.status!==Op}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(F8(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(F8(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(P8(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(P8(t,this._rawAsyncValidators))}hasValidator(t){return nv(this._rawValidators,t)}hasAsyncValidator(t){return nv(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Mu,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Op,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Ip,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ip||this.status===Mu)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Op:Ip}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Mu,this._hasOwnPendingAsyncValidator=!0;const e=k8(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?Op:this.errors?rv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Mu)?Mu:this._anyControlsHaveStatus(rv)?rv:Ip}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ov(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function t_e(n){return Array.isArray(n)?cS(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function n_e(n){return Array.isArray(n)?dS(n):n||null}(this._rawAsyncValidators)}}class $n extends gS{constructor(t,e,i){super(pS(e),mS(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){H8(this,0,t),Object.keys(t).forEach(i=>{z8(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const _S=$n,bc=new F("CallSetDisabledState",{providedIn:"root",factory:()=>Rp}),Rp="always";function av(n,t){return[...t.path,n]}function Np(n,t,e=Rp){bS(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function o_e(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&$8(n,t)})}(n,t),function s_e(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function a_e(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&$8(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function r_e(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function sv(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),cv(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function lv(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function bS(n,t){const e=R8(n);null!==t.validator?n.setValidators(O8(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=N8(n);null!==t.asyncValidator?n.setAsyncValidators(O8(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();lv(t._rawValidators,r),lv(t._rawAsyncValidators,r)}function cv(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=R8(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=N8(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return lv(t._rawValidators,i),lv(t._rawAsyncValidators,i),e}function $8(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function j8(n,t){bS(n,t)}function yS(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function U8(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function CS(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===ui?e=o:function d_e(n){return Object.getPrototypeOf(n.constructor)===_c}(o)?i=o:r=o}),r||i||e||null}const h_e={provide:Ki,useExisting:st(()=>Tu)},Fp=(()=>Promise.resolve())();let Tu=(()=>{class n extends Ki{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new j,this.form=new $n({},cS(e),dS(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Fp.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Np(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Fp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Fp.then(()=>{const i=this._findContainer(e.path),r=new $n({});j8(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Fp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Fp.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,U8(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}}return n.\u0275fac=function(e){return new(e||n)(g(ai,10),g(el,10),g(bc,8))},n.\u0275dir=R({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&E("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ae([h_e]),N]}),n})();function G8(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function q8(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const wt=class extends gS{constructor(t=null,e,i){super(pS(e),mS(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ov(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=q8(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){G8(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){G8(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){q8(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},dv=wt;let W8=(()=>{class n extends Ki{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return av(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,features:[N]}),n})();const m_e={provide:Qi,useExisting:st(()=>tl)},K8=(()=>Promise.resolve())();let tl=(()=>{class n extends Qi{constructor(e,i,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this.control=new wt,this._registered=!1,this.name="",this.update=new j,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=CS(0,o)}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),yS(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(){Np(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){K8.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&Fd(i);K8.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?av(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(g(Ki,9),g(ai,10),g(el,10),g(Mi,10),g(ze,8),g(bc,8))},n.\u0275dir=R({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ae([m_e]),N,Je]}),n})(),vc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const g_e={provide:Mi,useExisting:st(()=>wS),multi:!0};let wS=(()=>{class n extends _c{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&E("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[ae([g_e]),N]}),n})(),Q8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const xS=new F("NgModelWithFormControlWarning"),y_e={provide:Qi,useExisting:st(()=>an)};let an=(()=>{class n extends Qi{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new j,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=CS(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&sv(i,this,!1),Np(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}yS(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&sv(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(g(ai,10),g(el,10),g(Mi,10),g(xS,8),g(bc,8))},n.\u0275dir=R({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[ae([y_e]),N,Je]}),n})();const C_e={provide:Ki,useExisting:st(()=>gn)};let gn=(()=>{class n extends Ki{constructor(e,i,r){super(),this.callSetDisabledState=r,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&&(cv(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 Np(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){sv(e.control||null,e,!1),function u_e(n,t){const e=n.indexOf(t);e>-1&&n.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,U8(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,r=this.form.get(e.path);i!==r&&(sv(i||null,e),(n=>n instanceof wt)(r)&&(Np(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);j8(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function l_e(n,t){return cv(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){bS(this.form,this),this._oldForm&&cv(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(g(ai,10),g(el,10),g(bc,8))},n.\u0275dir=R({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&E("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ae([C_e]),N,Je]}),n})();const w_e={provide:Ki,useExisting:st(()=>uv)};let uv=(()=>{class n extends W8{constructor(e,i,r){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}_checkParentType(){Z8(this._parent)}}return n.\u0275fac=function(e){return new(e||n)(g(Ki,13),g(ai,10),g(el,10))},n.\u0275dir=R({type:n,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[ae([w_e]),N]}),n})();const x_e={provide:Ki,useExisting:st(()=>hv)};let hv=(()=>{class n extends Ki{constructor(e,i,r){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(r)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return av(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Z8(this._parent)}}return n.\u0275fac=function(e){return new(e||n)(g(Ki,13),g(ai,10),g(el,10))},n.\u0275dir=R({type:n,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[ae([x_e]),N]}),n})();function Z8(n){return!(n instanceof uv||n instanceof gn||n instanceof hv)}const D_e={provide:Qi,useExisting:st(()=>ns)};let ns=(()=>{class n extends Qi{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new j,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=CS(0,o)}ngOnChanges(e){this._added||this._setUpControl(),yS(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return av(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(g(Ki,13),g(ai,10),g(el,10),g(Mi,10),g(xS,8))},n.\u0275dir=R({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ae([D_e]),N,Je]}),n})(),yc=(()=>{class n{constructor(){this._validator=tv}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):tv,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,features:[Je]}),n})();const R_e={provide:ai,useExisting:st(()=>eo),multi:!0};let eo=(()=>{class n extends yc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Fd,this.createValidator=e=>v8}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&ie("required",i._enabled?"":null)},inputs:{required:"required"},features:[ae([R_e]),N]}),n})(),u5=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Q8]}),n})();class fv extends gS{constructor(t,e,i){super(pS(e),mS(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){H8(this,0,t),t.forEach((i,r)=>{z8(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}const V_e=fv;let Ut=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:bc,useValue:e.callSetDisabledState??Rp}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[u5]}),n})(),sn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:xS,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:bc,useValue:e.callSetDisabledState??Rp}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[u5]}),n})();const h5=new rt(bh);var $_e=N4(function(n,t,e,i){xD(n,t,e,i)});const nl=$_e;var J_e=Object.getOwnPropertySymbols?function(n){for(var t=[];n;)hD(t,ED(n)),n=bD(n);return t}:z4;const f5=J_e,ES=function tbe(n){return V4(n,bu,f5)};var ibe=Object.prototype.hasOwnProperty;var lbe=/\w*$/;var p5=Zr?Zr.prototype:void 0,m5=p5?p5.valueOf:void 0;const Rbe=function Obe(n,t,e){var i=n.constructor;switch(t){case"[object ArrayBuffer]":return _D(n);case"[object Boolean]":case"[object Date]":return new i(+n);case"[object DataView]":return function abe(n,t){var e=t?_D(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.byteLength)}(n,e);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return m4(n,e);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(n);case"[object RegExp]":return function cbe(n){var t=new n.constructor(n.source,lbe.exec(n));return t.lastIndex=n.lastIndex,t}(n);case"[object Symbol]":return function ube(n){return m5?Object(m5.call(n)):{}}(n)}};var g5=gu&&gu.isMap;const Bbe=g5?lp(g5):function Fbe(n){return oa(n)&&"[object Map]"==yu(n)};var _5=gu&&gu.isSet;const jbe=_5?lp(_5):function zbe(n){return oa(n)&&"[object Set]"==yu(n)};var b5="[object Arguments]",v5="[object Function]",y5="[object Object]",Xt={};Xt[b5]=Xt["[object Array]"]=Xt["[object ArrayBuffer]"]=Xt["[object DataView]"]=Xt["[object Boolean]"]=Xt["[object Date]"]=Xt["[object Float32Array]"]=Xt["[object Float64Array]"]=Xt["[object Int8Array]"]=Xt["[object Int16Array]"]=Xt["[object Int32Array]"]=Xt["[object Map]"]=Xt["[object Number]"]=Xt[y5]=Xt["[object RegExp]"]=Xt["[object Set]"]=Xt["[object String]"]=Xt["[object Symbol]"]=Xt["[object Uint8Array]"]=Xt["[object Uint8ClampedArray]"]=Xt["[object Uint16Array]"]=Xt["[object Uint32Array]"]=!0,Xt["[object Error]"]=Xt[v5]=Xt["[object WeakMap]"]=!1;const MS=function pv(n,t,e,i,r,o){var a,s=1&t,l=2&t,c=4&t;if(e&&(a=r?e(n,i,r,o):e(n)),void 0!==a)return a;if(!Or(n))return n;var d=oi(n);if(d){if(a=function rbe(n){var t=n.length,e=new n.constructor(t);return t&&"string"==typeof n[0]&&ibe.call(n,"index")&&(e.index=n.index,e.input=n.input),e}(n),!s)return g4(n,a)}else{var u=yu(n),h=u==v5||"[object GeneratorFunction]"==u;if(mu(n))return p4(n,s);if(u==y5||u==b5||h&&!r){if(a=l||h?{}:v4(n),!s)return l?function Z_e(n,t){return _u(n,f5(n),t)}(n,function W_e(n,t){return n&&_u(t,bu(t),n)}(a,n)):function K_e(n,t){return _u(n,ED(n),t)}(n,function G_e(n,t){return n&&_u(t,fp(t),n)}(a,n))}else{if(!Xt[u])return r?n:{};a=Rbe(n,u,s)}}o||(o=new fu);var p=o.get(n);if(p)return p;o.set(n,a),jbe(n)?n.forEach(function(w){a.add(pv(w,t,e,w,n,o))}):Bbe(n)&&n.forEach(function(w,k){a.set(k,pv(w,t,e,k,n,o))});var y=d?void 0:(c?l?ES:MD:l?bu:fp)(n);return function j_e(n,t){for(var e=-1,i=null==n?0:n.length;++er?0:r+t),(e=e>r?r:e)<0&&(e+=r),r=t>e?0:e-t>>>0,t>>>=0;for(var o=Array(r);++i1),o}),_u(n,ES(n),e),i&&(e=MS(e,7,Uve));for(var r=t.length;r--;)$ve(e,t[r]);return e});const RS=Kve,Xve=function Qve(n,t,e,i){if(!Or(n))return n;for(var r=-1,o=(t=Au(t,n)).length,a=o-1,s=n;null!=s&&++r2?t[2]:void 0;for(r&&R4(t[0],t[1],r)&&(i=1);++enew M5(i,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}const Pp=function uye(n){return MS(n,5)},hye=function T5(n,t,e,i,r,o){return Or(n)&&Or(t)&&(o.set(t,n),xD(n,t,void 0,T5,o),o.delete(t)),n};var fye=dp(function(n){return n.push(void 0,hye),T4(nl,void 0,n)});const pye=fye,A5=function vye(n){return n==n&&!Or(n)},I5=function wye(n,t){return function(e){return null!=e&&e[n]===t&&(void 0!==t||n in Object(e))}},Dye=function xye(n){var t=function yye(n){for(var t=fp(n),e=t.length;e--;){var i=t[e],r=n[i];t[e]=[i,r,A5(r)]}return t}(n);return 1==t.length&&t[0][2]?I5(t[0][0],t[0][1]):function(e){return e===n||function _ye(n,t,e,i){var r=e.length,o=r,a=!i;if(null==n)return!o;for(n=Object(n);r--;){var s=e[r];if(a&&s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++r{let i=n[e];null==i||(F5(i)?i=i.id:oi(i)?i=i.map(r=>F5(r)?r.id:r):"object"==typeof i&&!(i instanceof File)&&!(i instanceof Date)&&(i=function Bye(n,t){if(null==n)return{};var e=Cu(ES(n),function(i){return[i]});return t=O5(t),S5(n,e,function(i,r){return t(i,r[0])})}(i,(r,o)=>"__typename"!==o))),t[e]=i}),t}function F5(n){return!!n&&"object"==typeof n&&"id"in n&&!!n.id}function FS(n){return(n+"s").replace(/ys$/,"ies").replace(/ss$/,"ses").replace(/xs$/,"xes")}function Cc(n){return n.charAt(0).toUpperCase()+n.slice(1)}function bv(n,t){if(oi(t))return t}function Lp(n){return Object.values(n).forEach(t=>Object.isFrozen(t)||Lp(t)),Object.freeze(n)}var qye=vu&&1/SD(new vu([,-0]))[1]==1/0?function(n){return new vu(n)}:function jye(){};const Wye=qye,Jye=function Xye(n){return n&&n.length?function Kye(n,t,e){var i=-1,r=RD,o=n.length,a=!0,s=[],l=s;if(e)a=!1,r=ND;else if(o>=200){var c=t?null:Wye(n);if(c)return SD(c);a=!1,r=hp,l=new Bb}else l=t?[]:s;e:for(;++i((wc=wc||{}).AND="AND",wc.OR="OR",wc))();function P5(n){const t=Pp(n).map(i=>(i.groupLogic||(i.groupLogic=wc.AND),i));return Jye(Object.keys(f0e(t.slice(1),"groupLogic"))).length>1}var is=(()=>((is=is||{}).ASC="ASC",is.DESC="DESC",is))();function PS(n,t){if(oi(t))return n?n.concat(t):t}class ua{constructor(t){this.variables=new ft(void 0),this.channels=new Map,t&&(this.channels=t.getChannelsCopy(),this.updateVariables())}set(t,e){e?this.channels.set(t,Pp(e)):this.channels.delete(t),this.updateVariables()}get(t){return Pp(this.channels.get(t))}merge(t,e){const i=this.channels.get(t);i?(nl(i,Pp(e),bv),this.updateVariables()):this.set(t,e)}defaults(t,e){const i=this.channels.get(t);i?(pye(i,e),this.updateVariables()):this.set(t,e)}getChannelsCopy(){return new Map(this.channels)}updateVariables(){const t={};this.channels.forEach(e=>{if(e.filter){const i=this.mergeGroupList(t.filter&&t.filter.groups?t.filter.groups:[],e.filter.groups||[]);i&&i.length?t.filter?t.filter.groups=i:t.filter={groups:i}:nl(t,{filter:e.filter},PS)}nl(t,RS(e,"filter"),PS)}),this.variables.next(t)}mergeGroupList(t,e){if(0===t.length&&0===e.length)return[];if(0===t.length&&e.length>0)return e;if(0===e.length&&t.length>0)return t;const i=[];if(P5(t)||P5(e))throw Error("QueryVariables groups contain mixed group logics");return t.forEach(r=>{e.forEach(o=>{i.push(nl(Pp(r),o,PS))})}),i}}class LS{constructor(t,e,i,r,o,a,s,l){this.apollo=t,this.naturalDebounceService=e,this.name=i,this.oneQuery=r,this.allQuery=o,this.createMutation=a,this.updateMutation=s,this.deleteMutation=l,this.creatingCache=new Map}getFormValidators(t){return{}}getFormAsyncValidators(t){return{}}getFormGroupValidators(t){return[]}getFormGroupAsyncValidators(t){return[]}getFormConfig(t){const e={...this.getDefaultForServer(),...this.getFormExtraFieldDefaultValues()},i=this.getFormValidators(t),r=this.getFormAsyncValidators(t),o={},a=!!t.permissions&&!t.permissions.update;t.id&&(o.id=new dv({value:t.id,disabled:!0}));for(const s of Object.keys(e))o[s]=new dv({value:void 0!==t[s]?t[s]:e[s],disabled:a},typeof i[s]<"u"?i[s]:null,typeof r[s]<"u"?r[s]:null);for(const s of Object.keys(i))o[s]||(o[s]=new dv({value:t[s]?t[s]:null,disabled:a},i[s]));for(const s of Object.keys(r))o[s]&&r[s]?o[s].setAsyncValidators(r[s]):o[s]=new dv({value:t[s]?t[s]:null,disabled:a},null,r[s]);return o}getFormGroup(t){const e=this.getFormConfig(t);return new _S(e,{validators:this.getFormGroupValidators(t),asyncValidators:this.getFormGroupAsyncValidators(t)})}getOne(t){return this.throwIfObservable(t),this.throwIfNotQuery(this.oneQuery),this.getVariablesForOne(t).pipe(xt(e=>(this.throwIfNotQuery(this.oneQuery),this.apollo.watchQuery({query:this.oneQuery,variables:e,fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-only"}).valueChanges)),Be(e=>!!e.data),lB(e=>e.networkStatus!==Ke.ready,!0),ue(e=>e.data[this.name]))}getAll(t){return this.throwIfNotQuery(this.allQuery),this.getPartialVariablesForAll().pipe(Qr(),xt(e=>{this.throwIfNotQuery(this.allQuery);const i=new ua(t);return i.merge("partial-variables",e),this.apollo.query({query:this.allQuery,variables:i.variables.value,fetchPolicy:"network-only"})}),this.mapAll())}watchAll(t,e="cache-and-network"){return this.throwIfNotQuery(this.allQuery),Ul({variables:t.variables.pipe(Fs(20),Be(i=>typeof i<"u")),partialVariables:this.getPartialVariablesForAll()}).pipe(xt(i=>{const r=new ua(t);return r.merge("partial-variables",i.partialVariables),this.throwIfNotQuery(this.allQuery),this.apollo.watchQuery({query:this.allQuery,variables:r.variables.value,fetchPolicy:e}).valueChanges.pipe(Xr(()=>vn),Be(o=>!!o.data),this.mapAll())}))}createOrUpdate(t,e=!1){this.throwIfObservable(t),this.throwIfNotQuery(this.createMutation),this.throwIfNotQuery(this.updateMutation);const i=this.creatingCache.get(t);if(i)return i.pipe(xt(()=>this.update(t)));if("id"in t&&t.id)return e?this.updateNow(t):this.update(t);const r=this.create(t).pipe(Ht(()=>{this.creatingCache.delete(t)}));return this.creatingCache.set(t,r.pipe(NS())),r}create(t){this.throwIfObservable(t),this.throwIfNotQuery(this.createMutation);const e=So({},{input:this.getInput(t)},this.getPartialVariablesForCreation(t));return this.apollo.mutate({mutation:this.createMutation,variables:e}).pipe(ue(i=>{this.apollo.client.reFetchObservableQueries();const r=this.mapCreation(i);return r&&nl(t,r,bv)}))}update(t){return this.throwIfObservable(t),this.throwIfNotQuery(this.updateMutation),this.naturalDebounceService.debounce(this,t.id,this.updateNow(t))}updateNow(t){this.throwIfObservable(t),this.throwIfNotQuery(this.updateMutation);const e=So({id:t.id,input:this.getInput(t)},this.getPartialVariablesForUpdate(t));return this.apollo.mutate({mutation:this.updateMutation,variables:e}).pipe(ue(i=>{this.apollo.client.reFetchObservableQueries();const r=this.mapUpdate(i);return nl(t,r,bv)}))}updatePartially(t){this.throwIfObservable(t),this.throwIfNotQuery(this.updateMutation);const e={id:t.id,input:RS(N5(t),"id")};return this.apollo.mutate({mutation:this.updateMutation,variables:e}).pipe(ue(i=>(this.apollo.client.reFetchObservableQueries(),this.mapUpdate(i))))}delete(t){this.throwIfObservable(t),this.throwIfNotQuery(this.deleteMutation);const e=t.map(r=>(this.naturalDebounceService.cancel(this,r.id),r.id)),i=So({ids:e},this.getPartialVariablesForDelete(t));return this.apollo.mutate({mutation:this.deleteMutation,variables:i}).pipe(xt(r=>{const o=this.mapDelete(r);return yn(this.apollo.client.reFetchObservableQueries()).pipe(ue(()=>o))}))}resolve(t){let e;return e=t?this.getOne(t):ee(this.getDefaultForServer()),e.pipe(ue(i=>({model:i})))}getInput(t){t=N5(t);const e=this.getDefaultForServer();let i=gv(t,Object.keys(e));return i=_v(i,e),i}count(t){const e=FS(this.name),i="Count"+Cc(e),r=Cc(this.name)+"Filter",o=wb` + query ${i} ($filter: ${r}) { + count: ${e} (filter: $filter, pagination: {pageSize: 0, pageIndex: 0}) { + length + } + }`;return this.getPartialVariablesForAll().pipe(xt(a=>{const s=new ua(t);return s.merge("partial-variables",a),this.apollo.query({query:o,variables:s.variables.value,fetchPolicy:"network-only"})}),ue(a=>a.data.count.length))}getDefaultForServer(){return{}}getFormExtraFieldDefaultValues(){return{}}mapAll(){const t=FS(this.name);return ue(e=>e.data[t])}mapCreation(t){const e="create"+Cc(this.name);return t.data[e]}mapUpdate(t){const e="update"+Cc(this.name);return t.data[e]}mapDelete(t){const e="delete"+FS(Cc(this.name));return t.data[e]}getPartialVariablesForOne(){return ee({})}getPartialVariablesForAll(){return ee({})}getPartialVariablesForCreation(t){return{}}getPartialVariablesForUpdate(t){return{}}getPartialVariablesForDelete(t){return{}}throwIfObservable(t){if(t instanceof rt)throw new Error("Cannot use Observable as variables. Instead you should use .subscribe() to call the method with a real value")}getVariablesForOne(t){return this.getPartialVariablesForOne().pipe(ue(e=>So({},{id:t},e)))}throwIfNotQuery(t){if(!t)throw new Error("GraphQL query for this method was not configured in this service constructor")}}function L5(n,t){return t?e=>Pd(t.pipe(lt(1),function p0e(){return qt((n,t)=>{n.subscribe(Vt(t,bh))})}()),e.pipe(L5(n))):Gn((e,i)=>ti(n(e,i)).pipe(lt(1),D_(e)))}function hi(n,t=Wd){const e=oc(n,t);return L5(()=>e)}function B5(n,t){return n&&(n.find(e=>null!=e.name&&e.name===t.name)||n.find(e=>e.field===t.field))||null}function Ou(n){return JSON.parse(JSON.stringify(n))}function m0e(...n){return n.length?qt((t,e)=>{!function V5(n){return t=>{let e=[];for(let i=0;e&&!t.closed&&i{if(e){for(let o=0;o{class n{constructor(){this.flusher=new q,this.allDebouncedUpdateCache=new Map}debounce(e,i,r){const o=this.getMap(e);let a=o.get(i);if(a)a.source=r;else{const s=new M5(1);let l=!1;const c=new q;c.subscribe(()=>{l=!0,s.complete(),c.complete(),this.delete(e,i)}),a={debouncer:s,canceller:c,source:r,result:s.pipe(Fs(2e3),m0e(this.flusher),lt(1),Gn(()=>(this.delete(e,i),l||!a?vn:a.source)),NS())},o.set(i,a)}return a.debouncer.next(),a.result}cancel(e,i){this.allDebouncedUpdateCache.get(e)?.get(i)?.canceller.next()}flush(){const e=[];return this.allDebouncedUpdateCache.forEach(i=>i.forEach(r=>{e.push(r.result.pipe(Xr(()=>ee(void 0))))})),e.length||e.push(ee(void 0)),new rt(i=>{const r=ko(e).pipe(ue(()=>{})).subscribe(i);return this.flusher.next(),r})}get count(){let e=0;return this.allDebouncedUpdateCache.forEach(i=>e+=i.size),e}getMap(e){let i=this.allDebouncedUpdateCache.get(e);return i||(i=new Map,this.allDebouncedUpdateCache.set(e,i)),i}delete(e,i){const r=this.allDebouncedUpdateCache.get(e);r&&(r.delete(i),r.size||this.allDebouncedUpdateCache.delete(e))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ti=(()=>{class n extends LS{constructor(e,i){super(e,i,"user",null,null,null,null,null),this.id=1,this.cachedPaginatedItems=new z5,this.cachedCount=new z5}getItem(e=!1,i=0,r){const o=r??this.id++;return Lp({__typename:"Item",id:""+o,name:"name-"+o,description:"description-"+o,children:Lp(e?[this.getItem(),this.getItem()]:[]),parent:i>0?this.getItem(e,i-1):null})}getItems(e){return ee(this.cachedPaginatedItems.get(e,()=>{const r=e.variables.value?.filter?.groups?.[0]?.conditions?.[0]?.id?.in?.values;if(r){const o=r.map(a=>this.getItem(!0,0,a));return Lp({items:o,length:o.length,pageIndex:0,pageSize:Math.max(5,o.length)})}return Lp({items:[this.getItem(!0),this.getItem(!0),this.getItem(!0),this.getItem(!0),this.getItem(!0)],length:20,pageIndex:0,pageSize:5})})).pipe(hi(500))}watchAll(e){return e.variables.pipe(xt(()=>this.getItems(e)))}getAll(e){return this.getItems(e)}getOne(e){return ee(this.getItem(!0,2,e))}getFormExtraFieldDefaultValues(){return{name:"",description:"",children:[],parent:null}}getFormValidators(){return{name:[$t.required,$t.maxLength(10)],description:[$t.maxLength(20)]}}count(e){return ee(this.cachedCount.get(e,()=>{const r=[0,5,10];return r[Math.floor(Math.random()*r.length)]})).pipe(hi(500),function H_e(...n){return function z_e(...n){const t=Yc(n);return qt((e,i)=>{jN()(yn([e,...n],t)).subscribe(i)})}(...n)}(h5))}create(e){return ee({...e,id:this.id++}).pipe(hi(500))}delete(){return ee(!0).pipe(hi(500))}}return n.\u0275fac=function(e){return new(e||n)(I($s),I(vv))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class z5{constructor(){this.cache=new Map}get(t,e){const i=this.getCacheKey(t);let r=this.cache.get(i);return typeof r>"u"&&(r=e(),this.cache.set(i,r)),r}getCacheKey(t){const e=Ou(t.variables.value??{});return e&&(e.filter??={}),this.stringify(e)}stringify(t){const e=[];return JSON.stringify(t,(i,r)=>(e.push(i),r)),e.sort(),JSON.stringify(t,e)}}function BS(){const n=ne(Ti);return console.warn("resolve any"),ee({model:n.getItem(!0)})}class VS{}function yv(n){return n&&"function"==typeof n.connect&&!(n instanceof px)}class H5{applyChanges(t,e,i,r,o){t.forEachOperation((a,s,l)=>{let c,d;if(null==a.previousIndex){const u=i(a,s,l);c=e.createEmbeddedView(u.templateRef,u.context,u.index),d=1}else null==l?(e.remove(s),d=3):(c=e.get(s),e.move(c,l),d=2);o&&o({context:c?.context,operation:d,record:a})})}detach(){}}class xc{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new q,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}let j5=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Bp=new F("_ViewRepeater"),g0e=[[["caption"]],[["colgroup"],["col"]]],_0e=["caption","colgroup, col"];function zS(n){return class extends n{get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=te(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}}}const Ru=new F("CDK_TABLE");let Nu=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","cdkCellDef",""]]}),n})(),Fu=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","cdkHeaderCellDef",""]]}),n})(),Cv=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","cdkFooterCellDef",""]]}),n})();class C0e{}const w0e=zS(C0e);let rs=(()=>{class n extends w0e{get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=te(e),this._hasStickyChanged=i!==this._stickyEnd}constructor(e){super(),this._table=e,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return n.\u0275fac=function(e){return new(e||n)(g(Ru,8))},n.\u0275dir=R({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,Nu,5),Ee(r,Fu,5),Ee(r,Cv,5)),2&e){let o;U(o=G())&&(i.cell=o.first),U(o=G())&&(i.headerCell=o.first),U(o=G())&&(i.footerCell=o.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[ae([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),N]}),n})();class HS{constructor(t,e){e.nativeElement.classList.add(...t._columnCssClassName)}}let $S=(()=>{class n extends HS{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(g(rs),g(W))},n.\u0275dir=R({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[N]}),n})(),U5=(()=>{class n extends HS{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const r=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(g(rs),g(W))},n.\u0275dir=R({type:n,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[N]}),n})(),jS=(()=>{class n extends HS{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const r=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}}}return n.\u0275fac=function(e){return new(e||n)(g(rs),g(W))},n.\u0275dir=R({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[N]}),n})();class G5{constructor(){this.tasks=[],this.endTasks=[]}}const US=new F("_COALESCED_STYLE_SCHEDULER");let q5=(()=>{class n{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new q}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 G5,this._getScheduleObservable().pipe(se(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new G5;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?yn(Promise.resolve(void 0)):this._ngZone.onStable.pipe(lt(1))}}return n.\u0275fac=function(e){return new(e||n)(I(ce))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})(),GS=(()=>{class n{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 Vp?e.headerCell.template:this instanceof zp?e.footerCell.template:e.cell.template}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Gr))},n.\u0275dir=R({type:n,features:[Je]}),n})();class x0e extends GS{}const D0e=zS(x0e);let Vp=(()=>{class n extends D0e{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Gr),g(Ru,8))},n.\u0275dir=R({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[N,Je]}),n})();class S0e extends GS{}const k0e=zS(S0e);let zp=(()=>{class n extends k0e{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Gr),g(Ru,8))},n.\u0275dir=R({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[N,Je]}),n})(),wv=(()=>{class n extends GS{constructor(e,i,r){super(e,i),this._table=r}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Gr),g(Ru,8))},n.\u0275dir=R({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[N]}),n})(),as=(()=>{class n{constructor(e){this._viewContainer=e,n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}}return n.mostRecentCellOutlet=null,n.\u0275fac=function(e){return new(e||n)(g(Ft))},n.\u0275dir=R({type:n,selectors:[["","cdkCellOutlet",""]]}),n})(),qS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[as],encapsulation:2}),n})(),YS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[as],encapsulation:2}),n})(),xv=(()=>{class n{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["ng-template","cdkNoDataRow",""]]}),n})();const W5=["top","bottom","left","right"];class E0e{constructor(t,e,i,r,o=!0,a=!0,s){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,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(t,e){const i=[];for(const r of t)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let o=0;o{for(const r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(t,e,i,r=!0){if(!t.length||!this._isBrowser||!e.some(h=>h)&&!i.some(h=>h))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const o=t[0],a=o.children.length,s=this._getCellWidths(o,r),l=this._getStickyStartColumnPositions(s,e),c=this._getStickyEndColumnPositions(s,i),d=e.lastIndexOf(!0),u=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const h="rtl"===this.direction,p=h?"right":"left",v=h?"left":"right";for(const y of t)for(let w=0;we[w]?y:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:s.slice(u).map((y,w)=>i[w+u]?y:null).reverse()}))})}stickRows(t,e,i){if(!this._isBrowser)return;const r="bottom"===i?t.slice().reverse():t,o="bottom"===i?e.slice().reverse():e,a=[],s=[],l=[];for(let d=0,u=0;d{for(let d=0;d{e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const r of e)t.style[r]="",t.classList.remove(this._borderCellCss[r]);W5.some(r=>-1===e.indexOf(r)&&t.style[r])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,i,r){t.classList.add(this._stickCellCss),r&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${i}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const r of W5)t.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],r=t.children;for(let o=0;o0;o--)e[o]&&(i[o]=r,r+=t[o]);return i}}const KS=new F("CDK_SPL");let Dv=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(W))},n.\u0275dir=R({type:n,selectors:[["","rowOutlet",""]]}),n})(),Sv=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(W))},n.\u0275dir=R({type:n,selectors:[["","headerRowOutlet",""]]}),n})(),kv=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(W))},n.\u0275dir=R({type:n,selectors:[["","footerRowOutlet",""]]}),n})(),Ev=(()=>{class n{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(W))},n.\u0275dir=R({type:n,selectors:[["","noDataRowOutlet",""]]}),n})(),Mv=(()=>{class n{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=te(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=te(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,r,o,a,s,l,c,d,u,h,p){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=a,this._platform=l,this._viewRepeater=c,this._coalescedStyleScheduler=d,this._viewportRuler=u,this._stickyPositioningListener=h,this._ngZone=p,this._onDestroy=new q,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._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new j,this.viewChange=new ft({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","table"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(se(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){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()}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(),yv(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,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{i.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&ce.isInAngularZone()?this._ngZone.onStable.pipe(lt(1),se(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),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const o=this._headerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,o,"top"),this._headerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const o=this._footerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,o,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,o),this._footerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{const a=[];for(let s=0;s{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const s=r&&r.has(a)?r.get(a):[];if(s.length){const l=s.shift();return l.dataIndex=i,l}return{data:e,rowDef:a,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Tv(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Tv(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Tv(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Tv(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(a,s)=>a||!!s.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o}_switchDataSource(e){this._data=[],yv(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;yv(this.dataSource)?e=this.dataSource.connect(this):c_(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ee(this.dataSource)),this._renderChangeSubscription=e.pipe(se(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 r=Array.from(i.columns||[]).map(s=>this._columnDefsByName.get(s)),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let r=0;r!o.when||o.when(i,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(i,e))||this._defaultRowDef;o&&r.push(o)}return r}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,r,o={}){const a=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),a}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))as.mostRecentCellOutlet&&as.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i{const r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of i){const o=this._document.createElement(r.tag);o.setAttribute("role","rowgroup");for(const a of r.outlets)o.appendChild(a.elementRef.nativeElement);e.appendChild(o)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,r)=>i||r.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 E0e(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ee()).pipe(se(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 r=this._noDataRowOutlet.viewContainer;if(i){const o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];1===o.rootNodes.length&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i}}return n.\u0275fac=function(e){return new(e||n)(g(Gr),g(ze),g(W),wi("role"),g(Qt,8),g(ye),g(yt),g(Bp),g(US),g(Xa),g(KS,12),g(ce,8))},n.\u0275cmp=$({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,xv,5),Ee(r,rs,5),Ee(r,wv,5),Ee(r,Vp,5),Ee(r,zp,5)),2&e){let o;U(o=G())&&(i._noDataRow=o.first),U(o=G())&&(i._contentColumnDefs=o),U(o=G())&&(i._contentRowDefs=o),U(o=G())&&(i._contentHeaderRowDefs=o),U(o=G())&&(i._contentFooterRowDefs=o)}},viewQuery:function(e,i){if(1&e&&(ve(Dv,7),ve(Sv,7),ve(kv,7),ve(Ev,7)),2&e){let r;U(r=G())&&(i._rowOutlet=r.first),U(r=G())&&(i._headerRowOutlet=r.first),U(r=G())&&(i._footerRowOutlet=r.first),U(r=G())&&(i._noDataRowOutlet=r.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&de("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[ae([{provide:Ru,useExisting:n},{provide:Bp,useClass:H5},{provide:US,useClass:q5},{provide:KS,useValue:null}])],ngContentSelectors:_0e,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(qe(g0e),re(0),re(1,1),Gi(2,0)(3,1)(4,2)(5,3))},dependencies:[Dv,Sv,kv,Ev],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),n})();function Tv(n,t){return n.concat(Array.from(t))}let T0e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[BD]}),n})();const A0e=[[["caption"]],[["colgroup"],["col"]]],I0e=["caption","colgroup, col"];let Hp=(()=>{class n extends Mv{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(e,i){2&e&&de("mdc-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[ae([{provide:Mv,useExisting:n},{provide:Ru,useExisting:n},{provide:US,useClass:q5},{provide:Bp,useClass:H5},{provide:KS,useValue:null}]),N],ngContentSelectors:I0e,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(qe(A0e),re(0),re(1,1),Gi(2,0)(3,1)(4,2)(5,3))},dependencies:[Dv,Sv,kv,Ev],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.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}.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__cell--checkbox{width:1px}.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__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.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__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{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__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}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-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}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-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color: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}),n})(),Pu=(()=>{class n extends Nu{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matCellDef",""]],features:[ae([{provide:Nu,useExisting:n}]),N]}),n})(),Lu=(()=>{class n extends Fu{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matHeaderCellDef",""]],features:[ae([{provide:Fu,useExisting:n}]),N]}),n})(),K5=(()=>{class n extends Cv{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matFooterCellDef",""]],features:[ae([{provide:Cv,useExisting:n}]),N]}),n})(),Bu=(()=>{class n extends rs{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[ae([{provide:rs,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),N]}),n})(),Vu=(()=>{class n extends $S{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[N]}),n})(),Q5=(()=>{class n extends U5{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[N]}),n})(),zu=(()=>{class n extends jS{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[N]}),n})(),$p=(()=>{class n extends Vp{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[ae([{provide:Vp,useExisting:n}]),N]}),n})(),jp=(()=>{class n extends wv{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[ae([{provide:wv,useExisting:n}]),N]}),n})(),Up=(()=>{class n extends qS{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[ae([{provide:qS,useExisting:n}]),N],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[as],encapsulation:2}),n})(),Gp=(()=>{class n extends YS{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[ae([{provide:YS,useExisting:n}]),N],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[as],encapsulation:2}),n})(),Av=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,T0e,Ue]}),n})();class B0e extends VS{get data(){return this._data.value}set data(t){t=Array.isArray(t)?t:[],this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}constructor(t=[]){super(),this._renderData=new ft([]),this._filter=new ft(""),this._internalPageChanges=new q,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{const r=e[i];if(tB(r)){const o=Number(r);return o<9007199254740991?o:r}return r},this.sortData=(e,i)=>{const r=i.active,o=i.direction;return r&&""!=o?e.sort((a,s)=>{let l=this.sortingDataAccessor(a,r),c=this.sortingDataAccessor(s,r);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 r=Object.keys(e).reduce((a,s)=>a+e[s]+"\u25ec","").toLowerCase(),o=i.trim().toLowerCase();return-1!=r.indexOf(o)},this._data=new ft(t),this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?dt(this._sort.sortChange,this._sort.initialized):ee(null),e=this._paginator?dt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ee(null),r=Ul([this._data,this._filter]).pipe(ue(([s])=>this._filterData(s))),o=Ul([r,t]).pipe(ue(([s])=>this._orderData(s))),a=Ul([o,e]).pipe(ue(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const i=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,i);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class V0e extends B0e{}let ss=(()=>{class n{constructor(){this.ngUnsubscribe=new q}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n}),n})();function Hu(n){let t=null;return(n instanceof $n||n instanceof fv)&&(t=Object.entries(n.controls).reduce((e,[i,r])=>{const o=Hu(r);return o&&(e={...e,[i]:o}),e},null)),t||(t=n.errors),t}function il(n){if(n.markAsDirty({onlySelf:!0}),n.markAsTouched({onlySelf:!0}),n instanceof $n||n instanceof fv)for(const[,t]of Object.entries(n.controls))il(t)}function z0e(n){return"VALID"===n}function qp(n){return(n.pending?n.statusChanges.pipe(Qr()):ee(n.status)).pipe(Be(z0e))}function X5(n){const t=new RegExp(`^-?\\d+(\\.\\d{0,${n}})?$`);return e=>null==e.value||""===e.value||(""+e.value).match(t)?null:{decimal:n}}$t.pattern(/^https?:\/\/(?:[^.\s]+\.)+[^.\s]+$/),X5(2);let j0e=(()=>{class n extends ss{constructor(e){super(),this.service=e,this.formArray=new V_e([]),this.variablesManager=new ua,this.dataSource=new V0e,this.form=new _S({rows:this.formArray}),this.dataSource.data=this.formArray.controls,this.variablesManager.set("pagination",{pagination:{pageSize:999,pageIndex:0}})}setItems(e){this.formArray.clear(),this.addItems(e)}addItems(e){e.forEach(i=>{const r=So(this.service.getDefaultForServer(),i),o=this.service.getFormGroup(r);this.formArray.push(o)}),this.dataSource.data=this.formArray.controls}removeAt(e){this.formArray.removeAt(e),this.dataSource.data=this.formArray.controls}addEmpty(){this.addItems([{}])}getItems(){return this.formArray.getRawValue()}validateForm(){il(this.form)}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,features:[N]}),n})();function Wp(n){n||(function aO(n){if(!xT()&&!function tU(){return Kc}())throw new z(-203,!1)}(),n=ne(hw));const t=new rt(e=>n.onDestroy(e.next.bind(e)));return e=>e.pipe(se(t))}const eCe=["*"];let Nv;function Yp(n){return function tCe(){if(void 0===Nv&&(Nv=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(Nv=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Nv}()?.createHTML(n)||n}function iV(n){return Error(`Unable to find icon with the name "${n}"`)}function rV(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function oV(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Dc{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let ju=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Dc(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const a=this._sanitizer.sanitize(It.HTML,r);if(!a)throw oV(r);const s=Yp(a);return this._addSvgIconConfig(e,i,new Dc("",s,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Dc(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(It.HTML,i);if(!o)throw oV(i);const a=Yp(o);return this._addSvgIconSetConfig(e,new Dc("",a,r))}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(It.RESOURCE_URL,e);if(!i)throw rV(e);const r=this._cachedIconsByUrl.get(i);return r?ee(Fv(r)):this._loadSvgIconFromConfig(new Dc(e,null)).pipe(Ht(o=>this._cachedIconsByUrl.set(i,o)),ue(o=>Fv(o)))}getNamedSvgIcon(e,i=""){const r=aV(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):Bd(iV(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ee(Fv(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ue(i=>Fv(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?ee(r):ko(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Xr(s=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(It.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),ee(null)})))).pipe(ue(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw iV(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ht(i=>e.svgText=i),ue(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ee(null):this._fetchIcon(e).pipe(Ht(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,r);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),r);const s=this._svgElementFromString(Yp(""));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Yp("")),r=e.attributes;for(let o=0;oYp(c)),Co(()=>this._inProgressUrlFetches.delete(a)),Bm());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(aV(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.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 r=0;rt?t.pathname+t.search:""}}}),sV=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],cCe=sV.map(n=>`[${n}]`).join(", "),dCe=/^url\(['"]?#(.*?)['"]?\)$/;let Zn=(()=>{class n extends oCe{get inline(){return this._inline}set inline(e){this._inline=te(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,r,o,a,s){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=We.EMPTY,s&&(s.color&&(this.color=this.defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),r||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 r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),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((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(cCe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const s=i[o],l=s.getAttribute(a),c=l?l.match(dCe):null;if(c){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(lt(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ju),wi("aria-hidden"),g(sCe),g($r),g(aCe,8))},n.\u0275cmp=$({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(ie("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),de("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[N],ngContentSelectors:eCe,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},styles:[".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}),n})(),li=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Ue]}),n})();const lV=new F("Configuration for Natural Icons"),cV=Symbol("Natural icon registered");let fi=(()=>{class n{constructor(e,i,r,o){this.matIconRegistry=e,this.domSanitizer=i,this.config=r,this.matIconComponent=o,this._size=void 0,this.classes="",this.registerIcons(r??{})}set naturalIcon(e){const i={name:e,...this.config?.[e]??{font:e}};i.class&&(this.classes=i.class),this.matIconComponent.fontIcon=void 0,this.matIconComponent.svgIcon=void 0,i.font?this.matIconComponent.fontIcon=i.font:i.svg&&(this.matIconComponent.svgIcon=i.name)}set size(e){this._size=e??void 0}registerIcons(e){const i=this.matIconRegistry;if(!i[cV]){i[cV]=!0;for(const r of Object.keys(e)){const o=e[r].svg;o&&this.matIconRegistry.addSvgIcon(r,this.domSanitizer.bypassSecurityTrustResourceUrl(o))}}}}return n.\u0275fac=function(e){return new(e||n)(g(ju),g(kf),g(lV,8),g(Zn,3))},n.\u0275dir=R({type:n,selectors:[["mat-icon","naturalIcon",""]],hostVars:8,hostBindings:function(e,i){2&e&&(function vR(n){mo(IK,Xo,n,!0)}(i.classes),un("font-size",i._size,"px")("min-height",i._size,"px")("min-width",i._size,"px"))},inputs:{naturalIcon:"naturalIcon",size:"size"},standalone:!0}),n})();const dV=["mat-button",""],Pv=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Lv=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ek=".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}",hCe=["mat-fab",""],uV=["mat-icon-button",""],fCe=["*"],hV={capture:!0},fV=["focus","click","mouseenter","touchstart"],Kp="mat-button-ripple-uninitialized";let mCe=(()=>{class n{constructor(){this._document=ne(ye,{optional:!0}),this._animationMode=ne(Ot,{optional:!0}),this._globalRippleOptions=ne(uc,{optional:!0}),this._platform=ne(yt),this._ngZone=ne(ce),this._onInteraction=e=>{if(e.target===this._document)return;const r=e.target.closest(`[${Kp}]`);r&&(r.removeAttribute(Kp),this._appendRipple(r))},this._ngZone.runOutsideAngular(()=>{for(const e of fV)this._document?.addEventListener(e,this._onInteraction,hV)})}ngOnDestroy(){for(const e of fV)this._document?.removeEventListener(e,this._onInteraction,hV)}_appendRipple(e){if(!this._document)return;const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const r=new gCe(e,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);r.rippleConfig.centered=e.hasAttribute("mat-icon-button"),new dc(r,this._ngZone,i,this._platform).setupTriggerEvents(e),e.append(i)}_createMatRipple(e){if(!this._document)return;e.querySelector(".mat-mdc-button-ripple")?.remove(),e.removeAttribute(Kp);const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const r=new Ei(new W(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=e,e.append(i),r}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class gCe{constructor(t,e,i){this._button=t,this._globalRippleOptions=e,this._setRippleConfig(e,i)}_setRippleConfig(t,e){this.rippleConfig=t||{},"NoopAnimations"===e&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const _Ce=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],bCe=Ys(Ao(Ks(class{constructor(n){this._elementRef=n}})));let Bv=(()=>{class n extends bCe{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(e){this._ripple=e}constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=ne(fr),this._rippleLoader=ne(mCe),this._isFab=!1;const a=e.nativeElement.classList;for(const s of _Ce)this._hasHostAttributes(s.selector)&&s.mdcClasses.forEach(l=>{a.add(l)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnChanges(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,features:[N,Je]}),n})(),pV=(()=>{class n extends Bv{constructor(e,i,r,o){super(e,i,r,o),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,features:[N]}),n})(),tn=(()=>{class n extends Bv{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(ce),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null),de("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[N],attrs:dV,ngContentSelectors:Lv,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(e,i){1&e&&(qe(Pv),T(0,"span",0),re(1),f(2,"span",1),re(3,1),m(),re(4,2),T(5,"span",2)(6,"span",3)),2&e&&de("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );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{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.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{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.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}),n})(),Sc=(()=>{class n extends pV{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(ce),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString()),de("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[N],attrs:dV,ngContentSelectors:Lv,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(e,i){1&e&&(qe(Pv),T(0,"span",0),re(1),f(2,"span",1),re(3,1),m(),re(4,2),T(5,"span",2)(6,"span",3)),2&e&&de("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );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{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.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{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.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)}',ek],encapsulation:2,changeDetection:0}),n})();const yCe=new F("mat-mdc-fab-default-options",{providedIn:"root",factory:mV});function mV(){return{color:"accent"}}const gV=mV();let CCe=(()=>{class n extends Bv{get extended(){return this._extended}set extended(e){this._extended=te(e)}constructor(e,i,r,o,a){super(e,i,r,o),this._options=a,this._isFab=!0,this._options=this._options||gV,this.color=this.defaultColor=this._options.color||gV.color}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(ce),g(Ot,8),g(yCe,8))},n.\u0275cmp=$({type:n,selectors:[["button","mat-fab",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:11,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null),de("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0)("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[N],attrs:hCe,ngContentSelectors:Lv,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(e,i){1&e&&(qe(Pv),T(0,"span",0),re(1),f(2,"span",1),re(3,1),m(),re(4,2),T(5,"span",2)(6,"span",3)),2&e&&de("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._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-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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@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)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);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);color:var(--mat-mdc-fab-color, inherit);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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.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-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.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 .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}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),n})(),Nr=(()=>{class n extends Bv{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(ce),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null),de("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[N],attrs:uV,ngContentSelectors:fCe,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(e,i){1&e&&(qe(),T(0,"span",0),re(1),T(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{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.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{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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}',ek],encapsulation:2,changeDetection:0}),n})(),tk=(()=>{class n extends pV{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(ce),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["a","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(ie("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString()),de("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[N],attrs:uV,ngContentSelectors:Lv,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(e,i){1&e&&(qe(Pv),T(0,"span",0),re(1),f(2,"span",1),re(3,1),m(),re(4,2),T(5,"span",2)(6,"span",3)),2&e&&de("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},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{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.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{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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}',ek],encapsulation:2,changeDetection:0}),n})(),ct=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Io,Ue]}),n})();const _V=Mo({passive:!0});let wCe=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return vn;const i=Ka(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new q,a="cdk-text-field-autofilled",s=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",s,_V),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",s,_V)}}),o}stopMonitoring(e){const i=Ka(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.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))}}return n.\u0275fac=function(e){return new(e||n)(I(yt),I(ce))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xCe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();class DCe{constructor(t){this._box=t,this._destroyed=new q,this._resizeSubject=new q,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new rt(e=>{const i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),i.unsubscribe(),this._elementObservables.delete(t)}}).pipe(Be(e=>e.some(i=>i.target===t)),NS({bufferSize:1,refCount:!0}),se(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let SCe=(()=>{class n{constructor(){this._observers=new Map,this._ngZone=ne(ce)}ngOnDestroy(){for(const[,e]of this._observers)e.destroy();this._observers.clear()}observe(e,i){const r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new DCe(r)),this._observers.get(r).observe(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const kCe=["notch"],ECe=["matFormFieldNotchedOutline",""],MCe=["*"],TCe=["textField"],ACe=["iconPrefixContainer"],ICe=["textPrefixContainer"];function OCe(n,t){1&n&&T(0,"span",19)}function RCe(n,t){if(1&n&&(f(0,"label",17),re(1,1),S(2,OCe,1,0,"span",18),m()),2&n){const e=x(2);_("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ie("for",e._control.id)("aria-owns",e._control.id),b(2),_("ngIf",!e.hideRequiredMarker&&e._control.required)}}function NCe(n,t){1&n&&S(0,RCe,3,6,"label",16),2&n&&_("ngIf",x()._hasFloatingLabel())}function FCe(n,t){1&n&&T(0,"div",20)}function PCe(n,t){}function LCe(n,t){1&n&&S(0,PCe,0,0,"ng-template",22),2&n&&(x(2),_("ngTemplateOutlet",mt(1)))}function BCe(n,t){if(1&n&&(f(0,"div",21),S(1,LCe,1,1,"ng-template",9),m()),2&n){const e=x();_("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),b(1),_("ngIf",!e._forceDisplayInfixLabel())}}function VCe(n,t){1&n&&(f(0,"div",23,24),re(2,2),m())}function zCe(n,t){1&n&&(f(0,"div",25,26),re(2,3),m())}function HCe(n,t){}function $Ce(n,t){1&n&&S(0,HCe,0,0,"ng-template",22),2&n&&(x(),_("ngTemplateOutlet",mt(1)))}function jCe(n,t){1&n&&(f(0,"div",27),re(1,4),m())}function UCe(n,t){1&n&&(f(0,"div",28),re(1,5),m())}function GCe(n,t){1&n&&T(0,"div",29)}function qCe(n,t){1&n&&(f(0,"div",30),re(1,6),m()),2&n&&_("@transitionMessages",x()._subscriptAnimationState)}function WCe(n,t){if(1&n&&(f(0,"mat-hint",34),C(1),m()),2&n){const e=x(2);_("id",e._hintLabelId),b(1),xe(e.hintLabel)}}function YCe(n,t){if(1&n&&(f(0,"div",31),S(1,WCe,2,2,"mat-hint",32),re(2,7),T(3,"div",33),re(4,8),m()),2&n){const e=x();_("@transitionMessages",e._subscriptAnimationState),b(1),_("ngIf",e.hintLabel)}}const KCe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],QCe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Tn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["mat-label"]]}),n})(),XCe=0;const bV=new F("MatError");let to=(()=>{class n{constructor(e,i){this.id="mat-mdc-error-"+XCe++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(wi("aria-live"),g(W))},n.\u0275dir=R({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,i){2&e&&Si("id",i.id)},inputs:{id:"id"},features:[ae([{provide:bV,useExisting:n}])]}),n})(),JCe=0,Vv=(()=>{class n{constructor(){this.align="start",this.id="mat-mdc-hint-"+JCe++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(Si("id",i.id),ie("align",null),de("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),n})();const vV=new F("MatPrefix");let zv=(()=>{class n{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[ae([{provide:vV,useExisting:n}])]}),n})();const yV=new F("MatSuffix");let kc=(()=>{class n{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[ae([{provide:yV,useExisting:n}])]}),n})();const CV=new F("FloatingLabelParent");let wV=(()=>{class n{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=ne(SCe),this._ngZone=ne(ce),this._parent=ne(CV),this._resizeSubscription=new We}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ZCe(n){if(null!==n.offsetParent)return n.scrollWidth;const e=n.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())})}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&de("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),n})();const xV="mdc-line-ripple--active",Hv="mdc-line-ripple--deactivating";let DV=(()=>{class n{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,a=o.contains(Hv);"opacity"===r.propertyName&&a&&o.remove(xV,Hv)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(Hv),e.add(xV)}deactivate(){this._elementRef.nativeElement.classList.add(Hv)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce))},n.\u0275dir=R({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),n})(),SV=(()=>{class n{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)`:""}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce))},n.\u0275cmp=$({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(e,i){if(1&e&&ve(kCe,5),2&e){let r;U(r=G())&&(i._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&de("mdc-notched-outline--notched",i.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ECe,ngContentSelectors:MCe,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(qe(),T(0,"div",0),f(1,"div",1,2),re(3),m(),T(4,"div",3))},encapsulation:2,changeDetection:0}),n})();const ewe={transitionMessages:mn("transitionMessages",[_t("enter",_e({opacity:1,transform:"translateY(0%)"})),ot("void => enter",[_e({opacity:0,transform:"translateY(-5px)"}),it("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let $v=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n}),n})();const Uu=new F("MatFormField"),twe=new F("MAT_FORM_FIELD_DEFAULT_OPTIONS");let kV=0,An=(()=>{class n{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=te(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,r,o,a,s,l,c){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=a,this._defaults=s,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-"+kV++,this._hintLabelId="mat-mdc-hint-"+kV++,this._subscriptAnimationState="",this._destroyed=new q,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.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(se(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(),dt(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(se(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(se(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(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.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,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,a=r?.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"} * (${o+a}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)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(ce),g(Qt),g(yt),g(twe,8),g(Ot,8),g(ye))},n.\u0275cmp=$({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,Tn,5),Ee(r,Tn,7),Ee(r,$v,5),Ee(r,vV,5),Ee(r,yV,5),Ee(r,bV,5),Ee(r,Vv,5)),2&e){let o;U(o=G())&&(i._labelChildNonStatic=o.first),U(o=G())&&(i._labelChildStatic=o.first),U(o=G())&&(i._formFieldControl=o.first),U(o=G())&&(i._prefixChildren=o),U(o=G())&&(i._suffixChildren=o),U(o=G())&&(i._errorChildren=o),U(o=G())&&(i._hintChildren=o)}},viewQuery:function(e,i){if(1&e&&(ve(TCe,5),ve(ACe,5),ve(ICe,5),ve(wV,5),ve(SV,5),ve(DV,5)),2&e){let r;U(r=G())&&(i._textField=r.first),U(r=G())&&(i._iconPrefixContainer=r.first),U(r=G())&&(i._textPrefixContainer=r.first),U(r=G())&&(i._floatingLabel=r.first),U(r=G())&&(i._notchedOutline=r.first),U(r=G())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&de("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ae([{provide:Uu,useExisting:n},{provide:CV,useExisting:n}])],ngContentSelectors:QCe,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(qe(KCe),S(0,NCe,1,1,"ng-template",null,0,_o),f(2,"div",1,2),E("click",function(o){return i._control.onContainerClick(o)}),S(4,FCe,1,0,"div",3),f(5,"div",4),S(6,BCe,2,2,"div",5),S(7,VCe,3,0,"div",6),S(8,zCe,3,0,"div",7),f(9,"div",8),S(10,$Ce,1,1,"ng-template",9),re(11),m(),S(12,jCe,2,0,"div",10),S(13,UCe,2,0,"div",11),m(),S(14,GCe,1,0,"div",12),m(),f(15,"div",13),S(16,qCe,2,1,"div",14),S(17,YCe,5,2,"div",15),m()),2&e&&(b(2),de("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),b(2),_("ngIf",!i._hasOutline()&&!i._control.disabled),b(2),_("ngIf",i._hasOutline()),b(1),_("ngIf",i._hasIconPrefix),b(1),_("ngIf",i._hasTextPrefix),b(2),_("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),b(2),_("ngIf",i._hasTextSuffix),b(1),_("ngIf",i._hasIconSuffix),b(1),_("ngIf",!i._hasOutline()),b(1),de("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),_("ngSwitch",i._getDisplayedMessages()),b(1),_("ngSwitchCase","error"),b(1),_("ngSwitchCase","hint"))},dependencies:[Le,Vd,ql,Cf,Vv,wV,SV,DV],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 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-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{transform:translateY(-34.75px) scale(0.75)}.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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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-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{transform:translateY(-24.75px) scale(0.75)}.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-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{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-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-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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-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,.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-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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}.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-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-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}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.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,[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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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:[ewe.transitionMessages]},changeDetection:0}),n})(),_n=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,ke,qb,Ue]}),n})();const TV=new F("MAT_INPUT_VALUE_ACCESSOR"),rwe=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let owe=0;const awe=nS(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new q}});let Ai=(()=>{class n extends awe{get disabled(){return this._disabled}set disabled(e){this._disabled=te(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($t.required)??!1}set required(e){this._required=te(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&aB().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}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=te(e)}constructor(e,i,r,o,a,s,l,c,d,u){super(s,o,a,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+owe++,this.focused=!1,this.stateChanges=new q,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(v=>aB().has(v)),this._iOSKeyupListener=v=>{const y=v.target;!y.value&&0===y.selectionStart&&0===y.selectionEnd&&(y.setSelectionRange(1,1),y.setSelectionRange(0,0))};const h=this._elementRef.nativeElement,p=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._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,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)}_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(){rwe.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)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(Qi,10),g(Tu,8),g(gn,8),g(Mp),g(TV,10),g(wCe),g(ce),g(Uu,8))},n.\u0275dir=R({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&E("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Si("id",i.id)("disabled",i.disabled)("required",i.required),ie("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),de("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[ae([{provide:$v,useExisting:n}]),N,Je]}),n})(),Ii=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,_n,_n,xCe,Ue]}),n})();function swe(n,t){1&n&&T(0,"tr",15)}function lwe(n,t){1&n&&T(0,"tr",16)}function cwe(n,t){1&n&&(f(0,"th",17),C(1,"Name"),m())}function dwe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x().index,i=x();let r;b(1),me(" Maximum ",null==(r=i.formArray.at(e).get("name"))||null==r.errors?null:r.errors.maxlength.requiredLength," caract\xe8res ")}}function uwe(n,t){1&n&&(f(0,"mat-error"),C(1,"Requis"),m())}function hwe(n,t){if(1&n&&(f(0,"td",18)(1,"mat-form-field")(2,"mat-label"),C(3,"Name"),m(),T(4,"input",19),S(5,dwe,2,1,"mat-error",20),S(6,uwe,2,0,"mat-error",20),m()()),2&n){const e=t.index,i=x();let r,o;_("formGroupName",e),b(5),_("ngIf",null==(r=i.formArray.at(e).get("name"))?null:r.hasError("maxlength")),b(1),_("ngIf",null==(o=i.formArray.at(e).get("name"))?null:o.hasError("required"))}}function fwe(n,t){1&n&&(f(0,"th",17),C(1,"Description"),m())}function pwe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x().index,i=x();let r;b(1),me(" Maximum ",null==(r=i.formArray.at(e).get("description"))||null==r.errors?null:r.errors.maxlength.requiredLength," caract\xe8res ")}}function mwe(n,t){if(1&n&&(f(0,"td",18)(1,"mat-form-field")(2,"mat-label"),C(3,"Description"),m(),T(4,"input",21),S(5,pwe,2,1,"mat-error",20),m()()),2&n){const e=t.index,i=x();let r;_("formGroupName",e),b(5),_("ngIf",null==(r=i.formArray.at(e).get("description"))?null:r.hasError("maxlength"))}}function gwe(n,t){1&n&&T(0,"th",17)}function _we(n,t){if(1&n){const e=Y();f(0,"td",18)(1,"button",22),E("click",function(){const o=B(e).index;return V(x().removeAt(o))}),T(2,"mat-icon",23),m()()}2&n&&_("formGroupName",t.index)}function bwe(n,t){1&n&&T(0,"td",24)}function vwe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x().index,i=x();let r;b(1),me(" Maximum ",null==(r=i.formArray.at(e).get("name"))||null==r.errors?null:r.errors.maxlength.requiredLength," caract\xe8res ")}}function ywe(n,t){1&n&&(f(0,"mat-error"),C(1,"Requis"),m())}function Cwe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x().index,i=x();let r;b(1),me(" Maximum ",null==(r=i.formArray.at(e).get("description"))||null==r.errors?null:r.errors.maxlength.requiredLength," caract\xe8res ")}}function wwe(n,t){if(1&n&&(f(0,"div",25)(1,"div",26)(2,"mat-form-field")(3,"mat-label"),C(4,"Name"),m(),T(5,"input",19),S(6,vwe,2,1,"mat-error",20),S(7,ywe,2,0,"mat-error",20),m(),f(8,"mat-form-field")(9,"mat-label"),C(10,"Description"),m(),T(11,"input",21),S(12,Cwe,2,1,"mat-error",20),m()()()),2&n){const e=t.index,i=x();let r,o,a;b(1),Wg("formGroupName",e),b(5),_("ngIf",null==(r=i.formArray.at(e).get("name"))?null:r.hasError("maxlength")),b(1),_("ngIf",null==(o=i.formArray.at(e).get("name"))?null:o.hasError("required")),b(5),_("ngIf",null==(a=i.formArray.at(e).get("description"))?null:a.hasError("maxlength"))}}let xwe=(()=>{class n extends j0e{constructor(e){super(e),this.columns=["name","description"],this.service.getAll(this.variablesManager).pipe(Wp()).subscribe(i=>{this.setItems(i.items),this.addEmpty()})}}return n.\u0275fac=function(e){return new(e||n)(g(Ti))},n.\u0275cmp=$({type:n,selectors:[["app-editable-list"]],standalone:!0,features:[N,Se],decls:34,vars:12,consts:[[1,"mat-headline-4"],["fxLayout","row","fxLayoutAlign","start start","fxLayoutGap","20px"],[3,"formGroup"],[1,"mat-headline-6"],["mat-table","","formArrayName","rows",3,"dataSource"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"formGroupName",4,"matCellDef"],["matColumnDef","description"],["matColumnDef","remove"],["mat-footer-cell","",4,"matFooterCellDef"],["formArrayName","rows",4,"ngFor","ngForOf"],[1,"debug"],["mat-header-row",""],["mat-row",""],["mat-header-cell",""],["mat-cell","",3,"formGroupName"],["matInput","","formControlName","name"],[4,"ngIf"],["matInput","","formControlName","description"],["mat-icon-button","","color","warn",3,"click"],["naturalIcon","delete"],["mat-footer-cell",""],["formArrayName","rows"],["fxLayout","row","fxLayoutGap","20px",3,"formGroupName"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalAbstractEditableList"),m(),f(2,"div",1)(3,"div",2)(4,"div",3),C(5,"As a mat-table"),m(),f(6,"table",4),S(7,swe,1,0,"tr",5),S(8,lwe,1,0,"tr",6),Dt(9,7),S(10,cwe,2,0,"th",8),S(11,hwe,7,3,"td",9),St(),Dt(12,10),S(13,fwe,2,0,"th",8),S(14,mwe,6,2,"td",9),St(),Dt(15,11),S(16,gwe,1,0,"th",8),S(17,_we,3,1,"td",9),S(18,bwe,1,0,"td",12),St(),m()(),f(19,"div",2)(20,"div",3),C(21,"As a *ngFor"),m(),S(22,wwe,13,4,"div",13),m(),f(23,"div")(24,"pre",14)(25,"strong"),C(26,"form.valid:"),m(),C(27),Q(28,"json"),m(),f(29,"pre",14)(30,"strong"),C(31,"getItems():"),m(),C(32),Q(33,"json"),m()()()),2&e&&(b(3),_("formGroup",i.form),b(3),_("dataSource",i.dataSource),b(1),_("matHeaderRowDef",i.columns),b(1),_("matRowDefColumns",i.columns),b(11),_("formGroup",i.form),b(3),_("ngForOf",i.dataSource.data),b(5),me(" ",X(28,8,i.form.valid),""),b(5),me(" ",X(33,10,i.getItems()),""))},dependencies:[Ln,En,Pn,Wa,Ut,ui,jt,si,sn,gn,ns,uv,hv,Av,Hp,Lu,$p,Bu,Pu,jp,K5,Vu,zu,Q5,Up,Gp,_n,An,Tn,to,Ii,Ai,ke,Zt,Le,Kr,ct,Nr,li,Zn,fi]}),n})(),AV=0,IV=0,Swe=(()=>{class n{set naturalCustomCss(e){e&&!this.style&&(this.style=this.document.createElement("style"),this.document.head.appendChild(this.style)),this.style&&(this.style.innerHTML=e?function Dwe(n,t){return n="\n"+n+" ",t.replace(/([^{}]*){/gs,e=>e.split(",").map(i=>i.trim().startsWith("@media")?i.trim():n+i.trim()).join(",")).trim()}(`[data-natural-id=${this.id}]`,e):"")}constructor(e){this.document=e,this.style=null,this.id="n"+ ++AV}ngOnDestroy(){this.style?.remove(),IV--,IV<=0&&(AV=0)}}return n.\u0275fac=function(e){return new(e||n)(g(ye))},n.\u0275dir=R({type:n,selectors:[["","naturalCustomCss",""]],hostVars:1,hostBindings:function(e,i){2&e&&ie("data-natural-id",i.id)},inputs:{naturalCustomCss:"naturalCustomCss"},standalone:!0}),n})();function Oi(n){this.content=n}Oi.prototype={constructor:Oi,find:function(n){for(var t=0;t>1}},Oi.from=function(n){if(n instanceof Oi)return n;var t=[];if(n)for(var e in n)t.push(e,n[e]);return new Oi(t)};const OV=Oi;function RV(n,t,e){for(let i=0;;i++){if(i==n.childCount||i==t.childCount)return n.childCount==t.childCount?null:e;let r=n.child(i),o=t.child(i);if(r!=o){if(!r.sameMarkup(o))return e;if(r.isText&&r.text!=o.text){for(let a=0;r.text[a]==o.text[a];a++)e++;return e}if(r.content.size||o.content.size){let a=RV(r.content,o.content,e+1);if(null!=a)return a}e+=r.nodeSize}else e+=r.nodeSize}}function NV(n,t,e,i){for(let r=n.childCount,o=t.childCount;;){if(0==r||0==o)return r==o?null:{a:e,b:i};let a=n.child(--r),s=t.child(--o),l=a.nodeSize;if(a!=s){if(!a.sameMarkup(s))return{a:e,b:i};if(a.isText&&a.text!=s.text){let c=0,d=Math.min(a.text.length,s.text.length);for(;ct&&!1!==i(l,r+s,o||null,a)&&l.content.size){let d=s+1;l.nodesBetween(Math.max(0,t-d),Math.min(l.content.size,e-d),i,r+d)}s=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,i,r){let o="",a=!0;return this.nodesBetween(t,e,(s,l)=>{s.isText?(o+=s.text.slice(Math.max(t,l)-l,e-l),a=!i):s.isLeaf?(r?o+="function"==typeof r?r(s):r:s.type.spec.leafText&&(o+=s.type.spec.leafText(s)),a=!i):!a&&s.isBlock&&(o+=i,a=!0)},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,i=t.firstChild,r=this.content.slice(),o=0;for(e.isText&&e.sameMarkup(i)&&(r[r.length-1]=e.withText(e.text+i.text),o=1);ot)for(let o=0,a=0;at&&((ae)&&(s=s.isText?s.cut(Math.max(0,t-a),Math.min(s.text.length,e-a)):s.cut(Math.max(0,t-a-1),Math.min(s.content.size,e-a-1))),i.push(s),r+=s.nodeSize),a=l}return new Z(i,r)}cutByIndex(t,e){return t==e?Z.empty:0==t&&e==this.content.length?this:new Z(this.content.slice(t,e))}replaceChild(t,e){let i=this.content[t];if(i==e)return this;let r=this.content.slice(),o=this.size+e.nodeSize-i.nodeSize;return r[t]=e,new Z(r,o)}addToStart(t){return new Z([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new Z(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;ethis.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let i=0,r=0;;i++){let a=r+this.child(i).nodeSize;if(a>=t)return a==t||e>0?jv(i+1,a):jv(i,r);r=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return Z.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new Z(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return Z.empty;let e,i=0;for(let r=0;r{class n{constructor(e,i){this.type=e,this.attrs=i}addToSet(e){let i,r=!1;for(let o=0;othis.type.rank&&(i||(i=e.slice(0,o)),i.push(this),r=!0),i&&i.push(a)}}return i||(i=e.slice()),r||i.push(this),i}removeFromSet(e){for(let i=0;ir.type.rank-o.type.rank),i}}return n.none=[],n})();class Gv extends Error{}class pe{constructor(t,e,i){this.content=t,this.openStart=e,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let i=PV(this.content,t+this.openStart,e);return i&&new pe(i,this.openStart,this.openEnd)}removeBetween(t,e){return new pe(FV(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return pe.empty;let i=e.openStart||0,r=e.openEnd||0;if("number"!=typeof i||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new pe(Z.fromJSON(t,e.content),i,r)}static maxOpen(t,e=!0){let i=0,r=0;for(let o=t.firstChild;o&&!o.isLeaf&&(e||!o.type.spec.isolating);o=o.firstChild)i++;for(let o=t.lastChild;o&&!o.isLeaf&&(e||!o.type.spec.isolating);o=o.lastChild)r++;return new pe(t,i,r)}}function FV(n,t,e){let{index:i,offset:r}=n.findIndex(t),o=n.maybeChild(i),{index:a,offset:s}=n.findIndex(e);if(r==t||o.isText){if(s!=e&&!n.child(a).isText)throw new RangeError("Removing non-flat range");return n.cut(0,t).append(n.cut(e))}if(i!=a)throw new RangeError("Removing non-flat range");return n.replaceChild(i,o.copy(FV(o.content,t-r-1,e-r-1)))}function PV(n,t,e,i){let{index:r,offset:o}=n.findIndex(t),a=n.maybeChild(r);if(o==t||a.isText)return i&&!i.canReplace(r,r,e)?null:n.cut(0,t).append(e).append(n.cut(t));let s=PV(a.content,t-o-1,e);return s&&n.replaceChild(r,a.copy(s))}function kwe(n,t,e){if(e.openStart>n.depth)throw new Gv("Inserted content deeper than insertion position");if(n.depth-e.openStart!=t.depth-e.openEnd)throw new Gv("Inconsistent open depths");return LV(n,t,e,0)}function LV(n,t,e,i){let r=n.index(i),o=n.node(i);if(r==t.index(i)&&i=0;o--)r=t.node(o).copy(Z.from(r));return{start:r.resolveNoCache(n.openStart+e),end:r.resolveNoCache(r.content.size-n.openEnd-e)}}(e,n);return Mc(o,VV(n,a,s,t,i))}{let a=n.parent,s=a.content;return Mc(a,s.cut(0,n.parentOffset).append(e.content).append(s.cut(t.parentOffset)))}}return Mc(o,qv(n,t,i))}function BV(n,t){if(!t.type.compatibleContent(n.type))throw new Gv("Cannot join "+t.type.name+" onto "+n.type.name)}function ik(n,t,e){let i=n.node(e);return BV(i,t.node(e)),i}function Ec(n,t){let e=t.length-1;e>=0&&n.isText&&n.sameMarkup(t[e])?t[e]=n.withText(t[e].text+n.text):t.push(n)}function Qp(n,t,e,i){let r=(t||n).node(e),o=0,a=t?t.index(e):r.childCount;n&&(o=n.index(e),n.depth>e?o++:n.textOffset&&(Ec(n.nodeAfter,i),o++));for(let s=o;sr&&ik(n,t,r+1),a=i.depth>r&&ik(e,i,r+1),s=[];return Qp(null,n,r,s),o&&a&&t.index(r)==e.index(r)?(BV(o,a),Ec(Mc(o,VV(n,t,e,i,r+1)),s)):(o&&Ec(Mc(o,qv(n,t,r+1)),s),Qp(t,e,r,s),a&&Ec(Mc(a,qv(e,i,r+1)),s)),Qp(i,null,r,s),new Z(s)}function qv(n,t,e){let i=[];return Qp(null,n,e,i),n.depth>e&&Ec(Mc(ik(n,t,e+1),qv(n,t,e+1)),i),Qp(t,null,e,i),new Z(i)}pe.empty=new pe(Z.empty,0,0);class Xp{constructor(t,e,i){this.pos=t,this.path=e,this.parentOffset=i,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let i=this.pos-this.path[this.path.length-1],r=t.child(e);return i?t.child(e).cut(i):r}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let i=this.path[3*e],r=0==e?0:this.path[3*e-1]+1;for(let o=0;o0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos=0;i--)if(t.pos<=this.end(i)&&(!e||e(this.node(i))))return new Wv(this,t,i);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&e<=t.content.size))throw new RangeError("Position "+e+" out of range");let i=[],r=0,o=e;for(let a=t;;){let{index:s,offset:l}=a.content.findIndex(o),c=o-l;if(i.push(a,s,r+l),!c||(a=a.child(s),a.isText))break;o=c-1,r+=l+1}return new Xp(e,i,o)}static resolveCached(t,e){for(let r=0;rt&&this.nodesBetween(t,e,o=>(i.isInSet(o.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),zV(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,i=Z.empty,r=0,o=i.childCount){let a=this.contentMatchAt(t).matchFragment(i,r,o),s=a&&a.matchFragment(this.content,e);if(!s||!s.validEnd)return!1;for(let l=r;le.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(e=>e.toJSON())),t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let i=null;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");i=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw new RangeError("Invalid text node in JSON");return t.text(e.text,i)}let r=Z.fromJSON(t,e.content);return t.nodeType(e.type).create(e.attrs,r,i)}}fa.prototype.text=void 0;class Yv extends fa{constructor(t,e,i,r){if(super(t,e,null,r),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):zV(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new Yv(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new Yv(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function zV(n,t){for(let e=n.length-1;e>=0;e--)t=n[e].type.name+"("+t+")";return t}class Tc{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let i=new Awe(t,e);if(null==i.next)return Tc.empty;let r=HV(i);i.next&&i.err("Unexpected trailing text");let o=function Lwe(n){let t=Object.create(null);return function e(i){let r=[];i.forEach(a=>{n[a].forEach(({term:s,to:l})=>{if(!s)return;let c;for(let d=0;d{c||r.push([s,c=[]]),-1==c.indexOf(d)&&c.push(d)})})});let o=t[i.join(",")]=new Tc(i.indexOf(n.length-1)>-1);for(let a=0;al.concat(o(c,s)),[]);if("seq"!=a.type){if("star"==a.type){let l=e();return i(s,l),r(o(a.expr,l),l),[i(l)]}if("plus"==a.type){let l=e();return r(o(a.expr,s),l),r(o(a.expr,l),l),[i(l)]}if("opt"==a.type)return[i(s)].concat(o(a.expr,s));if("range"==a.type){let l=s;for(let c=0;cl.to=s)}}(r));return function Bwe(n,t){for(let e=0,i=[n];ec.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];return function e(i){t.push(i);for(let r=0;r{let o=r+(i.validEnd?"*":" ")+" ";for(let a=0;a"+t.indexOf(i.next[a].next);return o}).join("\n")}}Tc.empty=new Tc(!0);class Awe{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function HV(n){let t=[];do{t.push(Iwe(n))}while(n.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function Iwe(n){let t=[];do{t.push(Owe(n))}while(n.next&&")"!=n.next&&"|"!=n.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function Owe(n){let t=function Fwe(n){if(n.eat("(")){let t=HV(n);return n.eat(")")||n.err("Missing closing paren"),t}if(!/\W/.test(n.next)){let t=function Nwe(n,t){let e=n.nodeTypes,i=e[t];if(i)return[i];let r=[];for(let o in e){let a=e[o];a.groups.indexOf(t)>-1&&r.push(a)}return 0==r.length&&n.err("No node type or group '"+t+"' found"),r}(n,n.next).map(e=>(null==n.inline?n.inline=e.isInline:n.inline!=e.isInline&&n.err("Mixing inline and block content"),{type:"name",value:e}));return n.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}n.err("Unexpected token '"+n.next+"'")}(n);for(;;)if(n.eat("+"))t={type:"plus",expr:t};else if(n.eat("*"))t={type:"star",expr:t};else if(n.eat("?"))t={type:"opt",expr:t};else{if(!n.eat("{"))break;t=Rwe(n,t)}return t}function $V(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let t=Number(n.next);return n.pos++,t}function Rwe(n,t){let e=$V(n),i=e;return n.eat(",")&&(i="}"!=n.next?$V(n):-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:e,max:i,expr:t}}function jV(n,t){return t-n}function UV(n,t){let e=[];return function i(r){let o=n[r];if(1==o.length&&!o[0].term)return i(o[0].to);e.push(r);for(let a=0;a-1}allowsMarks(t){if(null==this.markSet)return!0;for(let e=0;ei[o]=new Kv(o,e,a));let r=e.spec.topNode||"doc";if(!i[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!i.text)throw new RangeError("Every schema needs a 'text' type");for(let o in i.text.attrs)throw new RangeError("The text node type should not have attributes");return i}}class Vwe{constructor(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}get isRequired(){return!this.hasDefault}}class Qv{constructor(t,e,i,r){this.name=t,this.rank=e,this.schema=i,this.spec=r,this.attrs=WV(r.attrs),this.excluded=null;let o=GV(this.attrs);this.instance=o?new Gt(this,o):null}create(t=null){return!t&&this.instance?this.instance:new Gt(this,qV(this.attrs,t))}static compile(t,e){let i=Object.create(null),r=0;return t.forEach((o,a)=>i[o]=new Qv(o,r++,e,a)),i}removeFromSet(t){for(var e=0;e-1}}class Jp{constructor(t){this.cached=Object.create(null);let e=this.spec={};for(let r in t)e[r]=t[r];e.nodes=OV.from(t.nodes),e.marks=OV.from(t.marks||{}),this.nodes=Kv.compile(this.spec.nodes,this),this.marks=Qv.compile(this.spec.marks,this);let i=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let o=this.nodes[r],a=o.spec.content||"",s=o.spec.marks;o.contentMatch=i[a]||(i[a]=Tc.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.markSet="_"==s?null:s?YV(this,s.split(" ")):""!=s&&o.inlineContent?null:[]}for(let r in this.marks){let o=this.marks[r],a=o.spec.excludes;o.excluded=null==a?[o]:""==a?[]:YV(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,i,r){if("string"==typeof t)t=this.nodeType(t);else{if(!(t instanceof Kv))throw new RangeError("Invalid node type: "+t);if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}return t.createChecked(e,i,r)}text(t,e){let i=this.nodes.text;return new Yv(i,i.defaultAttrs,t,Gt.setFrom(e))}mark(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)}nodeFromJSON(t){return fa.fromJSON(this,t)}markFromJSON(t){return Gt.fromJSON(this,t)}nodeType(t){let e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e}}function YV(n,t){let e=[];for(let i=0;i-1)&&e.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return e}class Gu{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[],e.forEach(i=>{i.tag?this.tags.push(i):i.style&&this.styles.push(i)}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let r=t.nodes[i.node];return r.contentMatch.matchType(r)})}parse(t,e={}){let i=new JV(this,e,!1);return i.addAll(t,e.from,e.to),i.finish()}parseSlice(t,e={}){let i=new JV(this,e,!0);return i.addAll(t,e.from,e.to),pe.maxOpen(i.finish())}matchTag(t,e,i){for(let r=i?this.tags.indexOf(i)+1:0;rt.length&&(61!=s.charCodeAt(t.length)||s.slice(t.length+1)!=e))){if(a.getAttrs){let l=a.getAttrs(e);if(!1===l)continue;a.attrs=l||void 0}return a}}}static schemaRules(t){let e=[];function i(r){let o=null==r.priority?50:r.priority,a=0;for(;a{i(a=ZV(a)),a.mark||a.ignore||a.clearMark||(a.mark=r)})}for(let r in t.nodes){let o=t.nodes[r].spec.parseDOM;o&&o.forEach(a=>{i(a=ZV(a)),a.node||a.ignore||a.mark||(a.node=r)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new Gu(t,Gu.schemaRules(t)))}}const KV={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},zwe={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},QV={ol:!0,ul:!0};function XV(n,t,e){return null!=t?(t?1:0)|("full"===t?2:0):n&&"pre"==n.whitespace?3:-5&e}class Zv{constructor(t,e,i,r,o,a,s){this.type=t,this.attrs=e,this.marks=i,this.pendingMarks=r,this.solid=o,this.options=s,this.content=[],this.activeMarks=Gt.none,this.stashMarks=[],this.match=a||(4&s?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(Z.from(t));if(!e){let r,i=this.type.contentMatch;return(r=i.findWrapping(t.type))?(this.match=i,r):null}this.match=this.type.contentMatch.matchFragment(e)}return this.match.findWrapping(t.type)}finish(t){if(!(1&this.options)){let r,i=this.content[this.content.length-1];if(i&&i.isText&&(r=/[ \t\r\n\u000c]+$/.exec(i.text))){let o=i;i.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-r[0].length))}}let e=Z.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(Z.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}popFromStashMark(t){for(let e=this.stashMarks.length-1;e>=0;e--)if(t.eq(this.stashMarks[e]))return this.stashMarks.splice(e,1)[0]}applyPending(t){for(let e=0,i=this.pendingMarks;e{a.clearMark(s)&&(i=s.addToSet(i))}):e=this.parser.schema.marks[a.mark].create(a.attrs).addToSet(e),!1!==a.consuming)break;o=a}return[e,i]}addElementByRule(t,e,i){let r,o,a;e.node?(o=this.parser.schema.nodes[e.node],o.isLeaf?this.insertNode(o.create(e.attrs))||this.leafFallback(t):r=this.enter(o,e.attrs||null,e.preserveWhitespace)):(a=this.parser.schema.marks[e.mark].create(e.attrs),this.addPendingMark(a));let s=this.top;if(o&&o.isLeaf)this.findInside(t);else if(i)this.addElement(t,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(l=>this.insertNode(l));else{let l=t;"string"==typeof e.contentElement?l=t.querySelector(e.contentElement):"function"==typeof e.contentElement?l=e.contentElement(t):e.contentElement&&(l=e.contentElement),this.findAround(t,l,!0),this.addAll(l)}r&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(t,e,i){let r=e||0;for(let o=e?t.childNodes[e]:t.firstChild,a=null==i?null:t.childNodes[i];o!=a;o=o.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(o);this.findAtPoint(t,r)}findPlace(t){let e,i;for(let r=this.open;r>=0;r--){let o=this.nodes[r],a=o.findWrapping(t);if(a&&(!e||e.length>a.length)&&(e=a,i=o,!a.length)||o.solid)break}if(!e)return!1;this.sync(i);for(let r=0;rthis.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let e=this.open;e>=0;e--)if(this.nodes[e]==t)return this.open=e,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let i=this.nodes[e].content;for(let r=i.length-1;r>=0;r--)t+=i[r].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let i=0;i-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),i=this.options.context,r=!(this.isOpen||i&&i.parent.type!=this.nodes[0].type),o=(r?0:1)-(i?i.depth+1:0),a=(s,l)=>{for(;s>=0;s--){let c=e[s];if(""==c){if(s==e.length-1||0==s)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}{let d=l>0||0==l&&r?this.nodes[l].type:i&&l>=o?i.node(l-o).type:null;if(!d||d.name!=c&&-1==d.groups.indexOf(c))return!1;l--}}return!0};return a(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let i=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(i&&i.isTextblock&&i.defaultAttrs)return i}for(let e in this.parser.schema.nodes){let i=this.parser.schema.nodes[e];if(i.isTextblock&&i.defaultAttrs)return i}}addPendingMark(t){let e=function Gwe(n,t){for(let e=0;e=0;i--){let r=this.nodes[i];if(r.pendingMarks.lastIndexOf(t)>-1)r.pendingMarks=t.removeFromSet(r.pendingMarks);else{r.activeMarks=t.removeFromSet(r.activeMarks);let a=r.popFromStashMark(t);a&&r.type&&r.type.allowsMarkType(a.type)&&(r.activeMarks=a.addToSet(r.activeMarks))}if(r==e)break}}}function $we(n,t){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,t)}function ZV(n){let t={};for(let e in n)t[e]=n[e];return t}function Uwe(n,t){let e=t.schema.nodes;for(let i in e){let r=e[i];if(!r.allowsMarkType(n))continue;let o=[],a=s=>{o.push(s);for(let l=0;l{if(o.length||a.marks.length){let s=0,l=0;for(;s=0;r--){let o=this.serializeMark(t.marks[r],t.isInline,e);o&&((o.contentDOM||o.dom).appendChild(i),i=o.dom)}return i}serializeMark(t,e,i={}){let r=this.marks[t.type.name];return r&&pa.renderSpec(ak(i),r(t,e))}static renderSpec(t,e,i=null){if("string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;let r=e[0],o=r.indexOf(" ");o>0&&(i=r.slice(0,o),r=r.slice(o+1));let a,s=i?t.createElementNS(i,r):t.createElement(r),l=e[1],c=1;if(l&&"object"==typeof l&&null==l.nodeType&&!Array.isArray(l)){c=2;for(let d in l)if(null!=l[d]){let u=d.indexOf(" ");u>0?s.setAttributeNS(d.slice(0,u),d.slice(u+1),l[d]):s.setAttribute(d,l[d])}}for(let d=c;dc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}{let{dom:h,contentDOM:p}=pa.renderSpec(t,u,i);if(s.appendChild(h),p){if(a)throw new RangeError("Multiple content holes");a=p}}}return{dom:s,contentDOM:a}}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new pa(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=e6(t.nodes);return e.text||(e.text=i=>i.text),e}static marksFromSchema(t){return e6(t.marks)}}function e6(n){let t={};for(let e in n){let i=n[e].spec.toDOM;i&&(t[e]=i)}return t}function ak(n){return n.document||window.document}const n6=Math.pow(2,16);function qwe(n,t){return n+t*n6}function i6(n){return 65535&n}class sk{constructor(t,e,i){this.pos=t,this.delInfo=e,this.recover=i}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class no{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&no.empty)return no.empty}recover(t){let e=0,i=i6(t);if(!this.inverted)for(let r=0;rt)break;let c=this.ranges[s+o],d=this.ranges[s+a],u=l+c;if(t<=u){let p=l+r+((c?t==l?-1:t==u?1:e:e)<0?0:d);if(i)return p;let v=t==(e<0?l:u)?null:qwe(s/3,t-l),y=t==l?2:t==u?1:4;return(e<0?t!=l:t!=u)&&(y|=8),new sk(p,y,v)}r+=d-c}return i?t+r:new sk(t+r,0,null)}touches(t,e){let i=0,r=i6(e),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;st)break;let c=this.ranges[s+o];if(t<=l+c&&s==3*r)return!0;i+=this.ranges[s+a]-c}return!1}forEach(t){let e=this.inverted?2:1,i=this.inverted?1:2;for(let r=0,o=0;r=0;e--){let r=t.getMirror(e);this.appendMap(t.maps[e].invert(),null!=r&&r>e?i-r-1:void 0)}}invert(){let t=new qu;return t.appendMappingInverted(this),t}map(t,e=1){if(this.mirror)return this._map(t,e,!0);for(let i=this.from;io&&la.isAtom&&s.type.allowsMarkType(this.mark.type)?a.mark(this.mark.addToSet(a.marks)):a,r),e.openStart,e.openEnd);return ei.fromReplace(t,this.from,this.to,o)}invert(){return new ma(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return e.deleted&&i.deleted||e.pos>=i.pos?null:new rl(e.pos,i.pos,this.mark)}merge(t){return t instanceof rl&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new rl(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new rl(e.from,e.to,t.markFromJSON(e.mark))}}pr.jsonID("addMark",rl);class ma extends pr{constructor(t,e,i){super(),this.from=t,this.to=e,this.mark=i}apply(t){let e=t.slice(this.from,this.to),i=new pe(ck(e.content,r=>r.mark(this.mark.removeFromSet(r.marks)),t),e.openStart,e.openEnd);return ei.fromReplace(t,this.from,this.to,i)}invert(){return new rl(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return e.deleted&&i.deleted||e.pos>=i.pos?null:new ma(e.pos,i.pos,this.mark)}merge(t){return t instanceof ma&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new ma(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new ma(e.from,e.to,t.markFromJSON(e.mark))}}pr.jsonID("removeMark",ma);class ol extends pr{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return ei.fail("No node at mark step's position");let i=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return ei.fromReplace(t,this.pos,this.pos+1,new pe(Z.from(i),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);if(e){let i=this.mark.addToSet(e.marks);if(i.length==e.marks.length){for(let r=0;ri.pos?null:new pi(e.pos,i.pos,r,o,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new pi(e.from,e.to,e.gapFrom,e.gapTo,pe.fromJSON(t,e.slice),e.insert,!!e.structure)}}function dk(n,t,e){let i=n.resolve(t),r=e-t,o=i.depth;for(;r>0&&o>0&&i.indexAfter(o)==i.node(o).childCount;)o--,r--;if(r>0){let a=i.node(o).maybeChild(i.indexAfter(o));for(;r>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,r--}}return!1}function Xwe(n,t,e){return(0==t||n.canReplace(t,n.childCount))&&(e==n.childCount||n.canReplace(0,e))}function em(n){let e=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let i=n.depth;;--i){let r=n.$from.node(i),o=n.$from.index(i),a=n.$to.indexAfter(i);if(io;c--,d--){let u=r.node(c),h=r.index(c);if(u.type.spec.isolating)return!1;let p=u.content.cutByIndex(h,u.childCount),v=i&&i[d+1];v&&(p=p.replaceChild(0,v.type.create(v.attrs)));let y=i&&i[d]||u;if(!u.canReplace(h+1,u.childCount)||!y.type.validContent(p))return!1}let s=r.indexAfter(o),l=i&&i[0];return r.node(o).canReplaceWith(s,s,l?l.type:r.node(o+1).type)}function Ku(n,t){let e=n.resolve(t),i=e.index();return l6(e.nodeBefore,e.nodeAfter)&&e.parent.canReplace(i,i+1)}function l6(n,t){return!(!n||!t||n.isLeaf||!n.canAppend(t))}function c6(n,t,e=-1){let i=n.resolve(t);for(let r=i.depth;;r--){let o,a,s=i.index(r);if(r==i.depth?(o=i.nodeBefore,a=i.nodeAfter):e>0?(o=i.node(r+1),s++,a=i.node(r).maybeChild(s)):(o=i.node(r).maybeChild(s-1),a=i.node(r+1)),o&&!o.isTextblock&&l6(o,a)&&i.node(r).canReplace(s,s+1))return t;if(0==r)break;t=e<0?i.before(r):i.after(r)}}function d6(n,t,e){let i=n.resolve(t);if(!e.content.size)return t;let r=e.content;for(let o=0;o=0;a--){let s=a==i.depth?0:i.pos<=(i.start(a+1)+i.end(a+1))/2?-1:1,l=i.index(a)+(s>0?1:0),c=i.node(a),d=!1;if(1==o)d=c.canReplace(l,l,r);else{let u=c.contentMatchAt(l).findWrapping(r.firstChild.type);d=u&&c.canReplaceWith(l,l,u[0])}if(d)return 0==s?i.pos:s<0?i.before(a+1):i.after(a+1)}return null}function hk(n,t,e=t,i=pe.empty){if(t==e&&!i.size)return null;let r=n.resolve(t),o=n.resolve(e);return u6(r,o,i)?new Xi(t,e,i):new lxe(r,o,i).fit()}function u6(n,t,e){return!e.openStart&&!e.openEnd&&n.start()==t.start()&&n.parent.canReplace(n.index(),t.index(),e.content)}pr.jsonID("replaceAround",pi);class lxe{constructor(t,e,i){this.$from=t,this.$to=e,this.unplaced=i,this.frontier=[],this.placed=Z.empty;for(let r=0;r<=t.depth;r++){let o=t.node(r);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(r))})}for(let r=t.depth;r>0;r--)this.placed=Z.from(t.node(r).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,i=this.$from,r=this.close(t<0?this.$to:i.doc.resolve(t));if(!r)return null;let o=this.placed,a=i.depth,s=r.depth;for(;a&&s&&1==o.childCount;)o=o.firstChild.content,a--,s--;let l=new pe(o,a,s);return t>-1?new pi(i.pos,t,this.$to.pos,this.$to.end(),l,e):l.size||i.pos!=this.$to.pos?new Xi(i.pos,r.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let e=this.unplaced.content,i=0,r=this.unplaced.openEnd;i1&&(r=0),o.type.spec.isolating&&r<=i){t=i;break}e=o.content}for(let e=1;e<=2;e++)for(let i=1==e?t:this.unplaced.openStart;i>=0;i--){let r,o=null;i?(o=fk(this.unplaced.content,i-1).firstChild,r=o.content):r=this.unplaced.content;let a=r.firstChild;for(let s=this.depth;s>=0;s--){let d,{type:l,match:c}=this.frontier[s],u=null;if(1==e&&(a?c.matchType(a.type)||(u=c.fillBefore(Z.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:i,frontierDepth:s,parent:o,inject:u};if(2==e&&a&&(d=c.findWrapping(a.type)))return{sliceDepth:i,frontierDepth:s,parent:o,wrap:d};if(o&&c.matchType(o.type))break}}}openMore(){let{content:t,openStart:e,openEnd:i}=this.unplaced,r=fk(t,e);return!(!r.childCount||r.firstChild.isLeaf||(this.unplaced=new pe(t,e+1,Math.max(i,r.size+e>=t.size-i?e+1:0)),0))}dropNode(){let{content:t,openStart:e,openEnd:i}=this.unplaced,r=fk(t,e);if(r.childCount<=1&&e>0){let o=t.size-e<=e+r.size;this.unplaced=new pe(tm(t,e-1,1),e-1,o?e-1:i)}else this.unplaced=new pe(tm(t,e,1),e,i)}placeNodes({sliceDepth:t,frontierDepth:e,parent:i,inject:r,wrap:o}){for(;this.depth>e;)this.closeFrontierNode();if(o)for(let y=0;y1||0==l||y.content.size)&&(u=w,d.push(h6(y.mark(h.allowedMarks(y.marks)),1==c?l:0,c==s.childCount?p:-1)))}let v=c==s.childCount;v||(p=-1),this.placed=nm(this.placed,e,Z.from(d)),this.frontier[e].match=u,v&&p<0&&i&&i.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let y=0,w=s;y1&&r==this.$to.end(--i);)++r;return r}findCloseLevel(t){e:for(let e=Math.min(this.depth,t.depth);e>=0;e--){let{match:i,type:r}=this.frontier[e],o=e=0;s--){let{match:l,type:c}=this.frontier[s],d=pk(t,s,c,l,!0);if(!d||d.childCount)continue e}return{depth:e,fit:a,move:o?t.doc.resolve(t.after(e+1)):t}}}}close(t){let e=this.findCloseLevel(t);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=nm(this.placed,e.depth,e.fit)),t=e.move;for(let i=e.depth+1;i<=t.depth;i++){let r=t.node(i),o=r.type.contentMatch.fillBefore(r.content,!0,t.index(i));this.openFrontierNode(r.type,r.attrs,o)}return t}openFrontierNode(t,e=null,i){let r=this.frontier[this.depth];r.match=r.match.matchType(t),this.placed=nm(this.placed,this.depth,Z.from(t.create(e,i))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(Z.empty,!0);e.childCount&&(this.placed=nm(this.placed,this.frontier.length,e))}}function tm(n,t,e){return 0==t?n.cutByIndex(e,n.childCount):n.replaceChild(0,n.firstChild.copy(tm(n.firstChild.content,t-1,e)))}function nm(n,t,e){return 0==t?n.append(e):n.replaceChild(n.childCount-1,n.lastChild.copy(nm(n.lastChild.content,t-1,e)))}function fk(n,t){for(let e=0;e1&&(i=i.replaceChild(0,h6(i.firstChild,t-1,1==i.childCount?e-1:0))),t>0&&(i=n.type.contentMatch.fillBefore(i).append(i),e<=0&&(i=i.append(n.type.contentMatch.matchFragment(i).fillBefore(Z.empty,!0)))),n.copy(i)}function pk(n,t,e,i,r){let o=n.node(t),a=r?n.indexAfter(t):n.index(t);if(a==o.childCount&&!e.compatibleContent(o.type))return null;let s=i.fillBefore(o.content,!0,a);return s&&!function cxe(n,t,e){for(let i=e;ii){let o=r.contentMatchAt(0),a=o.fillBefore(n).append(n);n=a.append(o.matchFragment(a).fillBefore(Z.empty,!0))}return n}function p6(n,t){let e=[];for(let r=Math.min(n.depth,t.depth);r>=0;r--){let o=n.start(r);if(ot.pos+(t.depth-r)||n.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==n.depth&&r==t.depth&&n.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==o-1)&&e.push(r)}return e}class Qu extends pr{constructor(t,e,i){super(),this.pos=t,this.attr=e,this.value=i}apply(t){let e=t.nodeAt(this.pos);if(!e)return ei.fail("No node at attribute step's position");let i=Object.create(null);for(let o in e.attrs)i[o]=e.attrs[o];i[this.attr]=this.value;let r=e.type.create(i,null,e.marks);return ei.fromReplace(t,this.pos,this.pos+1,new pe(Z.from(r),0,e.isLeaf?0:1))}getMap(){return no.empty}invert(t){return new Qu(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new Qu(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new Qu(e.pos,e.attr,e.value)}}pr.jsonID("attr",Qu);let Xu=class extends Error{};Xu=function n(t){let e=Error.call(this,t);return e.__proto__=n.prototype,e},(Xu.prototype=Object.create(Error.prototype)).constructor=Xu,Xu.prototype.name="TransformError";class m6{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new qu}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t);if(e.failed)throw new Xu(e.failed);return this}maybeStep(t){let e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,i=pe.empty){let r=hk(this.doc,t,e,i);return r&&this.step(r),this}replaceWith(t,e,i){return this.replace(t,e,new pe(Z.from(i),0,0))}delete(t,e){return this.replace(t,e,pe.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,i){return function uxe(n,t,e,i){if(!i.size)return n.deleteRange(t,e);let r=n.doc.resolve(t),o=n.doc.resolve(e);if(u6(r,o,i))return n.step(new Xi(t,e,i));let a=p6(r,n.doc.resolve(e));0==a[a.length-1]&&a.pop();let s=-(r.depth+1);a.unshift(s);for(let h=r.depth,p=r.pos-1;h>0;h--,p--){let v=r.node(h).type.spec;if(v.defining||v.definingAsContext||v.isolating)break;a.indexOf(h)>-1?s=h:r.before(h)==p&&a.splice(1,0,-h)}let l=a.indexOf(s),c=[],d=i.openStart;for(let h=i.content,p=0;;p++){let v=h.firstChild;if(c.push(v),p==i.openStart)break;h=v.content}for(let h=d-1;h>=0;h--){let p=c[h].type,v=dxe(p);if(v&&r.node(l).type!=p)d=h;else if(v||!p.isTextblock)break}for(let h=i.openStart;h>=0;h--){let p=(h+d+1)%(i.openStart+1),v=c[p];if(v)for(let y=0;y=0&&(n.replace(t,e,i),!(n.steps.length>u));h--){let p=a[h];p<0||(t=r.before(p),e=o.after(p))}}(this,t,e,i),this}replaceRangeWith(t,e,i){return function hxe(n,t,e,i){if(!i.isInline&&t==e&&n.doc.resolve(t).parent.content.size){let r=function sxe(n,t,e){let i=n.resolve(t);if(i.parent.canReplaceWith(i.index(),i.index(),e))return t;if(0==i.parentOffset)for(let r=i.depth-1;r>=0;r--){let o=i.index(r);if(i.node(r).canReplaceWith(o,o,e))return i.before(r+1);if(o>0)return null}if(i.parentOffset==i.parent.content.size)for(let r=i.depth-1;r>=0;r--){let o=i.indexAfter(r);if(i.node(r).canReplaceWith(o,o,e))return i.after(r+1);if(o0&&(l||i.node(s-1).canReplace(i.index(s-1),r.indexAfter(s-1))))return n.delete(i.before(s),r.after(s))}for(let a=1;a<=i.depth&&a<=r.depth;a++)if(t-i.start(a)==i.depth-a&&e>i.end(a)&&r.end(a)-e!=r.depth-a)return n.delete(i.before(a),e);n.delete(t,e)}(this,t,e),this}lift(t,e){return function Jwe(n,t,e){let{$from:i,$to:r,depth:o}=t,a=i.before(o+1),s=r.after(o+1),l=a,c=s,d=Z.empty,u=0;for(let v=o,y=!1;v>e;v--)y||i.index(v)>0?(y=!0,d=Z.from(i.node(v).copy(d)),u++):l--;let h=Z.empty,p=0;for(let v=o,y=!1;v>e;v--)y||r.after(v+1)=0;a--){if(i.size){let s=e[a].type.contentMatch.matchFragment(i);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=Z.from(e[a].type.create(e[a].attrs,i))}let r=t.start,o=t.end;n.step(new pi(r,o,r,o,new pe(i,0,0),e.length,!0))}(this,t,e),this}setBlockType(t,e=t,i,r=null){return function nxe(n,t,e,i,r){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=n.steps.length;n.doc.nodesBetween(t,e,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(i,r)&&function ixe(n,t,e){let i=n.resolve(t),r=i.index();return i.parent.canReplaceWith(r,r+1,e)}(n.doc,n.mapping.slice(o).map(s),i)){n.clearIncompatible(n.mapping.slice(o).map(s,1),i);let l=n.mapping.slice(o),c=l.map(s,1),d=l.map(s+a.nodeSize,1);return n.step(new pi(c,d,c+1,d-1,new pe(Z.from(i.create(r,null,a.marks)),0,0),1,!0)),!1}})}(this,t,e,i,r),this}setNodeMarkup(t,e,i=null,r){return function rxe(n,t,e,i,r){let o=n.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");e||(e=o.type);let a=e.create(i,null,r||o.marks);if(o.isLeaf)return n.replaceWith(t,t+o.nodeSize,a);if(!e.validContent(o.content))throw new RangeError("Invalid content for node type "+e.name);n.step(new pi(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new pe(Z.from(a),0,0),1,!0))}(this,t,e,i,r),this}setNodeAttribute(t,e,i){return this.step(new Qu(t,e,i)),this}addNodeMark(t,e){return this.step(new ol(t,e)),this}removeNodeMark(t,e){if(!(e instanceof Gt)){let i=this.doc.nodeAt(t);if(!i)throw new RangeError("No node at position "+t);if(!(e=e.isInSet(i.marks)))return this}return this.step(new Wu(t,e)),this}split(t,e=1,i){return function oxe(n,t,e=1,i){let r=n.doc.resolve(t),o=Z.empty,a=Z.empty;for(let s=r.depth,l=r.depth-e,c=e-1;s>l;s--,c--){o=Z.from(r.node(s).copy(o));let d=i&&i[c];a=Z.from(d?d.type.create(d.attrs,a):r.node(s).copy(a))}n.step(new Xi(t,t,new pe(o.append(a),e,e),!0))}(this,t,e,i),this}addMark(t,e,i){return function Ywe(n,t,e,i){let a,s,r=[],o=[];n.doc.nodesBetween(t,e,(l,c,d)=>{if(!l.isInline)return;let u=l.marks;if(!i.isInSet(u)&&d.type.allowsMarkType(i.type)){let h=Math.max(c,t),p=Math.min(c+l.nodeSize,e),v=i.addToSet(u);for(let y=0;yn.step(l)),o.forEach(l=>n.step(l))}(this,t,e,i),this}removeMark(t,e,i){return function Kwe(n,t,e,i){let r=[],o=0;n.doc.nodesBetween(t,e,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(i instanceof Qv){let d,c=a.marks;for(;d=i.isInSet(c);)(l||(l=[])).push(d),c=d.removeFromSet(c)}else i?i.isInSet(a.marks)&&(l=[i]):l=a.marks;if(l&&l.length){let c=Math.min(s+a.nodeSize,e);for(let d=0;dn.step(new ma(a.from,a.to,a.style)))}(this,t,e,i),this}clearIncompatible(t,e,i){return function Qwe(n,t,e,i=e.contentMatch){let r=n.doc.nodeAt(t),o=[],a=t+1;for(let s=0;s=0;s--)n.step(o[s])}(this,t,e,i),this}}const mk=Object.create(null);class et{constructor(t,e,i){this.$anchor=t,this.$head=e,this.ranges=i||[new g6(t.min(e),t.max(e))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let e=0;e=0;o--){let a=e<0?Ju(t.node(0),t.node(o),t.before(o+1),t.index(o),e,i):Ju(t.node(0),t.node(o),t.after(o+1),t.index(o)+1,e,i);if(a)return a}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new mr(t.node(0))}static atStart(t){return Ju(t,t,0,0,1)||new mr(t)}static atEnd(t){return Ju(t,t,t.content.size,t.childCount,-1)||new mr(t)}static fromJSON(t,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON");let i=mk[e.type];if(!i)throw new RangeError(`No selection type ${e.type} defined`);return i.fromJSON(t,e)}static jsonID(t,e){if(t in mk)throw new RangeError("Duplicate use of selection JSON ID "+t);return mk[t]=e,e.prototype.jsonID=t,e}getBookmark(){return ht.between(this.$anchor,this.$head).getBookmark()}}et.prototype.visible=!0;class g6{constructor(t,e){this.$from=t,this.$to=e}}let _6=!1;function b6(n){!_6&&!n.parent.inlineContent&&(_6=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class ht extends et{constructor(t,e=t){b6(t),b6(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let i=t.resolve(e.map(this.head));if(!i.parent.inlineContent)return et.near(i);let r=t.resolve(e.map(this.anchor));return new ht(r.parent.inlineContent?r:i,i)}replace(t,e=pe.empty){if(super.replace(t,e),e==pe.empty){let i=this.$from.marksAcross(this.$to);i&&t.ensureMarks(i)}}eq(t){return t instanceof ht&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new ty(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new ht(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,i=e){let r=t.resolve(e);return new this(r,i==e?r:t.resolve(i))}static between(t,e,i){let r=t.pos-e.pos;if((!i||r)&&(i=r>=0?1:-1),!e.parent.inlineContent){let o=et.findFrom(e,i,!0)||et.findFrom(e,-i,!0);if(!o)return et.near(e,i);e=o.$head}return t.parent.inlineContent||(0==r||(t=(et.findFrom(t,-i,!0)||et.findFrom(t,i,!0)).$anchor).posnew mr(n)};function Ju(n,t,e,i,r,o=!1){if(t.inlineContent)return ht.create(n,e);for(let a=i-(r>0?0:1);r>0?a=0;a+=r){let s=t.child(a);if(s.isAtom){if(!o&&$e.isSelectable(s))return $e.create(n,e-(r<0?s.nodeSize:0))}else{let l=Ju(n,s,e+r,r<0?s.childCount:0,r,o);if(l)return l}e+=s.nodeSize*r}return null}function v6(n,t,e){let i=n.steps.length-1;if(i{null==a&&(a=d)}),n.setSelection(et.near(n.doc.resolve(a),e)))}class mxe extends m6{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return Gt.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let i=this.selection;return e&&(t=t.mark(this.storedMarks||(i.empty?i.$from.marks():i.$from.marksAcross(i.$to)||Gt.none))),i.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,i){let r=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(r.text(t),!0):this.deleteSelection();{if(null==i&&(i=e),i=i??e,!t)return this.deleteRange(e,i);let o=this.storedMarks;if(!o){let a=this.doc.resolve(e);o=i==e?a.marks():a.marksAcross(this.doc.resolve(i))}return this.replaceRangeWith(e,i,r.text(t,o)),this.selection.empty||this.setSelection(et.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function w6(n,t){return t&&n?n.bind(t):n}class im{constructor(t,e,i){this.name=t,this.init=w6(e.init,i),this.apply=w6(e.apply,i)}}const gxe=[new im("doc",{init:n=>n.doc||n.schema.topNodeType.createAndFill(),apply:n=>n.doc}),new im("selection",{init:(n,t)=>n.selection||et.atStart(t.doc),apply:n=>n.selection}),new im("storedMarks",{init:n=>n.storedMarks||null,apply:(n,t,e,i)=>i.selection.$cursor?n.storedMarks:null}),new im("scrollToSelection",{init:()=>0,apply:(n,t)=>n.scrolledIntoView?t+1:t})];class _k{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=gxe.slice(),e&&e.forEach(i=>{if(this.pluginsByKey[i.key])throw new RangeError("Adding different instances of a keyed plugin ("+i.key+")");this.plugins.push(i),this.pluginsByKey[i.key]=i,i.spec.state&&this.fields.push(new im(i.key,i.spec.state,i))})}}class Zu{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let i=0;ii.toJSON())),t&&"object"==typeof t)for(let i in t){if("doc"==i||"selection"==i)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=t[i],o=r.spec.state;o&&o.toJSON&&(e[i]=o.toJSON.call(r,this[r.key]))}return e}static fromJSON(t,e,i){if(!e)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let r=new _k(t.schema,t.plugins),o=new Zu(r);return r.fields.forEach(a=>{if("doc"==a.name)o.doc=fa.fromJSON(t.schema,e.doc);else if("selection"==a.name)o.selection=et.fromJSON(o.doc,e.selection);else if("storedMarks"==a.name)e.storedMarks&&(o.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(i)for(let s in i){let l=i[s],c=l.spec.state;if(l.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(e,s))return void(o[a.name]=c.fromJSON.call(l,t,e[s],o))}o[a.name]=a.init(t,o)}}),o}}function x6(n,t,e){for(let i in n){let r=n[i];r instanceof Function?r=r.bind(t):"handleDOMEvents"==i&&(r=x6(r,t,{})),e[i]=r}return e}class ls{constructor(t){this.spec=t,this.props={},t.props&&x6(t.props,this,this.props),this.key=t.key?t.key.key:D6("plugin")}getState(t){return t[this.key]}}const bk=Object.create(null);function D6(n){return n in bk?n+"$"+ ++bk[n]:(bk[n]=0,n+"$")}class rm{constructor(t="key"){this.key=D6(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const Fr=function(n){for(var t=0;;t++)if(!(n=n.previousSibling))return t},om=function(n){let t=n.assignedSlot||n.parentNode;return t&&11==t.nodeType?t.host:t};let S6=null;const cs=function(n,t,e){let i=S6||(S6=document.createRange());return i.setEnd(n,e??n.nodeValue.length),i.setStart(n,t||0),i},Ac=function(n,t,e,i){return e&&(k6(n,t,e,i,-1)||k6(n,t,e,i,1))},_xe=/^(img|br|input|textarea|hr)$/i;function k6(n,t,e,i,r){for(;;){if(n==e&&t==i)return!0;if(t==(r<0?0:ga(n))){let o=n.parentNode;if(!o||1!=o.nodeType||vxe(n)||_xe.test(n.nodeName)||"false"==n.contentEditable)return!1;t=Fr(n)+(r<0?0:1),n=o}else{if(1!=n.nodeType)return!1;if("false"==(n=n.childNodes[t+(r<0?-1:0)]).contentEditable)return!1;t=r<0?ga(n):0}}}function ga(n){return 3==n.nodeType?n.nodeValue.length:n.childNodes.length}function vxe(n){let t;for(let e=n;e&&!(t=e.pmViewDesc);e=e.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==n||t.contentDOM==n)}const iy=function(n){return n.focusNode&&Ac(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function Ic(n,t){let e=document.createEvent("Event");return e.initEvent("keydown",!0,!0),e.keyCode=n,e.key=e.code=t,e}const _a=typeof navigator<"u"?navigator:null,E6=typeof document<"u"?document:null,al=_a&&_a.userAgent||"",vk=/Edge\/(\d+)/.exec(al),M6=/MSIE \d/.exec(al),yk=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(al),gr=!!(M6||yk||vk),sl=M6?document.documentMode:yk?+yk[1]:vk?+vk[1]:0,Ro=!gr&&/gecko\/(\d+)/i.test(al);Ro&&/Firefox\/(\d+)/.exec(al);const Ck=!gr&&/Chrome\/(\d+)/.exec(al),Ri=!!Ck,wxe=Ck?+Ck[1]:0,Ji=!gr&&!!_a&&/Apple Computer/.test(_a.vendor),eh=Ji&&(/Mobile\/\w+/.test(al)||!!_a&&_a.maxTouchPoints>2),io=eh||!!_a&&/Mac/.test(_a.platform),xxe=!!_a&&/Win/.test(_a.platform),No=/Android \d/.test(al),ry=!!E6&&"webkitFontSmoothing"in E6.documentElement.style,Dxe=ry?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Sxe(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function ll(n,t){return"number"==typeof n?n:n[t]}function kxe(n){let t=n.getBoundingClientRect();return{left:t.left,right:t.left+n.clientWidth*(t.width/n.offsetWidth||1),top:t.top,bottom:t.top+n.clientHeight*(t.height/n.offsetHeight||1)}}function T6(n,t,e){let i=n.someProp("scrollThreshold")||0,r=n.someProp("scrollMargin")||5,o=n.dom.ownerDocument;for(let a=e||n.dom;a;a=om(a)){if(1!=a.nodeType)continue;let s=a,l=s==o.body,c=l?Sxe(o):kxe(s),d=0,u=0;if(t.topc.bottom-ll(i,"bottom")&&(u=t.bottom-c.bottom+ll(r,"bottom")),t.leftc.right-ll(i,"right")&&(d=t.right-c.right+ll(r,"right")),d||u)if(l)o.defaultView.scrollBy(d,u);else{let h=s.scrollLeft,p=s.scrollTop;u&&(s.scrollTop+=u),d&&(s.scrollLeft+=d);let v=s.scrollLeft-h,y=s.scrollTop-p;t={left:t.left-v,top:t.top-y,right:t.right-v,bottom:t.bottom-y}}if(l)break}}function A6(n){let t=[],e=n.ownerDocument;for(let i=n;i&&(t.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),n!=e);i=om(i));return t}function I6(n,t){for(let e=0;e=s){a=Math.max(v.bottom,a),s=Math.min(v.top,s);let y=v.left>t.left?v.left-t.left:v.right=(v.left+v.right)/2?1:0));continue}}else v.top>t.top&&!l&&v.left<=t.left&&v.right>=t.left&&(l=d,c={left:Math.max(v.left,Math.min(v.right,t.left)),top:v.top});!e&&(t.left>=v.right&&t.top>=v.top||t.left>=v.left&&t.top>=v.bottom)&&(o=u+1)}}return!e&&l&&(e=l,r=c,i=0),e&&3==e.nodeType?function Axe(n,t){let e=n.nodeValue.length,i=document.createRange();for(let r=0;r=(o.left+o.right)/2?1:0)}}return{node:n,offset:0}}(e,r):!e||i&&1==e.nodeType?{node:n,offset:o}:O6(e,r)}function wk(n,t){return n.left>=t.left-1&&n.left<=t.right+1&&n.top>=t.top-1&&n.top<=t.bottom+1}function R6(n,t,e){let i=n.childNodes.length;if(i&&e.topt.top&&r++}i==n.dom&&r==i.childNodes.length-1&&1==i.lastChild.nodeType&&t.top>i.lastChild.getBoundingClientRect().bottom?s=n.state.doc.content.size:(0==r||1!=i.nodeType||"BR"!=i.childNodes[r-1].nodeName)&&(s=function Rxe(n,t,e,i){let r=-1;for(let o=t,a=!1;o!=n.dom;){let s=n.docView.nearestDesc(o,!0);if(!s)return null;if(1==s.dom.nodeType&&(s.node.isBlock&&s.parent&&!a||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&!a&&(a=!0,l.left>i.left||l.top>i.top?r=s.posBefore:(l.right-1?r:n.docView.posFromDOM(t,e,-1)}(n,i,r,t))}null==s&&(s=function Oxe(n,t,e){let{node:i,offset:r}=O6(t,e),o=-1;if(1==i.nodeType&&!i.firstChild){let a=i.getBoundingClientRect();o=a.left!=a.right&&e.left>(a.left+a.right)/2?1:-1}return n.docView.posFromDOM(i,r,o)}(n,a,t));let l=n.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function N6(n){return n.top=0&&r==i.nodeValue.length?(l--,d=1):e<0?l--:c++,am(cl(cs(i,l,c),d),d<0)}{let l=cl(cs(i,r,r),e);if(Ro&&r&&/\s/.test(i.nodeValue[r-1])&&r=0)}if(null==o&&r&&(e<0||r==ga(i))){let l=i.childNodes[r-1],c=3==l.nodeType?cs(l,ga(l)-(a?0:1)):1!=l.nodeType||"BR"==l.nodeName&&l.nextSibling?null:l;if(c)return am(cl(c,1),!1)}if(null==o&&r=0)}function am(n,t){if(0==n.width)return n;let e=t?n.left:n.right;return{top:n.top,bottom:n.bottom,left:e,right:e}}function xk(n,t){if(0==n.height)return n;let e=t?n.top:n.bottom;return{top:e,bottom:e,left:n.left,right:n.right}}function P6(n,t,e){let i=n.state,r=n.root.activeElement;i!=t&&n.updateState(t),r!=n.dom&&n.focus();try{return e()}finally{i!=t&&n.updateState(i),r!=n.dom&&r&&r.focus()}}const Lxe=/[\u0590-\u08ac]/;let L6=null,B6=null,V6=!1;class sm{constructor(t,e,i,r){this.parent=t,this.children=e,this.dom=i,this.contentDOM=r,this.dirty=0,i.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,e,i){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let e=0;eFr(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&t.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==e)for(let o=t;;o=o.parentNode){if(o==this.dom){r=!1;break}if(o.previousSibling)break}if(null==r&&e==t.childNodes.length)for(let o=t;;o=o.parentNode){if(o==this.dom){r=!0;break}if(o.nextSibling)break}}return r??i>0?this.posAtEnd:this.posAtStart}nearestDesc(t,e=!1){for(let i=!0,r=t;r;r=r.parentNode){let a,o=this.getDesc(r);if(o&&(!e||o.node)){if(!i||!(a=o.nodeDOM)||(1==a.nodeType?a.contains(1==t.nodeType?t:t.parentNode):a==t))return o;i=!1}}}getDesc(t){let e=t.pmViewDesc;for(let i=e;i;i=i.parent)if(i==this)return e}posFromDOM(t,e,i){for(let r=t;r;r=r.parentNode){let o=this.getDesc(r);if(o)return o.localPosFromDOM(t,e,i)}return-1}descAt(t){for(let e=0,i=0;et||a instanceof j6){r=t-o;break}o=s}if(r)return this.children[i].domFromPos(r-this.children[i].border,e);for(let o;i&&!(o=this.children[i-1]).size&&o instanceof H6&&o.side>=0;i--);if(e<=0){let o,a=!0;for(;o=i?this.children[i-1]:null,o&&o.dom.parentNode!=this.contentDOM;i--,a=!1);return o&&e&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,e):{node:this.contentDOM,offset:o?Fr(o.dom)+1:0}}{let o,a=!0;for(;o=i=d&&e<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(t,e,d);t=a;for(let u=s;u>0;u--){let h=this.children[u-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){r=Fr(h.dom)+1;break}t-=h.size}-1==r&&(r=0)}if(r>-1&&(c>e||s==this.children.length-1)){e=c;for(let d=s+1;dp&&ae){let p=s;s=l,l=p}let h=document.createRange();h.setEnd(l.node,l.offset),h.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(h)}}ignoreMutation(t){return!this.contentDOM&&"selection"!=t.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,e){for(let i=0,r=0;r=i:ti){let s=i+o.border,l=a-o.border;if(t>=s&&e<=l)return this.dirty=t==i||e==a?2:1,void(t!=s||e!=l||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(t-s,e-s):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}i=a}this.dirty=2}markParentsDirty(){let t=1;for(let e=this.parent;e;e=e.parent,t++){let i=1==t?2:1;e.dirtyo?o.parent?o.parent.posBeforeChild(o):void 0:r)),!e.type.spec.raw){if(1!=a.nodeType){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(t,[],a,null),this.widget=e,this.widget=e,o=this}matchesWidget(t){return 0==this.dirty&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let e=this.widget.spec.stopEvent;return!!e&&e(t)}ignoreMutation(t){return"selection"!=t.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class zxe extends sm{constructor(t,e,i,r){super(t,[],e,null),this.textDOM=i,this.text=r}get size(){return this.text.length}localPosFromDOM(t,e){return t!=this.textDOM?this.posAtStart+(e?this.size:0):this.posAtStart+e}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return"characterData"===t.type&&t.target.nodeValue==t.oldValue}}class Rc extends sm{constructor(t,e,i,r){super(t,[],i,r),this.mark=e}static create(t,e,i,r){let o=r.nodeViews[e.type.name],a=o&&o(e,r,i);return(!a||!a.dom)&&(a=pa.renderSpec(document,e.type.spec.toDOM(e,i))),new Rc(t,e,a.dom,a.contentDOM||a.dom)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM||void 0}}matchesMark(t){return 3!=this.dirty&&this.mark.eq(t)}markDirty(t,e){if(super.markDirty(t,e),0!=this.dirty){let i=this.parent;for(;!i.node;)i=i.parent;i.dirty0&&(o=kk(o,0,t,i));for(let s=0;sl?l.parent?l.parent.posBeforeChild(l):void 0:a,i,r),d=c&&c.dom,u=c&&c.contentDOM;if(e.isText)if(d){if(3!=d.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else d=document.createTextNode(e.text);else d||({dom:d,contentDOM:u}=pa.renderSpec(document,e.type.spec.toDOM(e)));!u&&!e.isText&&"BR"!=d.nodeName&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),e.type.spec.draggable&&(d.draggable=!0));let h=d;return d=q6(d,i,e),c?l=new Hxe(t,e,i,r,d,u||null,h,c,o,a+1):e.isText?new oy(t,e,i,r,d,h,o):new dl(t,e,i,r,d,u||null,h,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let e=this.children.length-1;e>=0;e--){let i=this.children[e];if(this.dom.contains(i.dom.parentNode)){t.contentElement=i.dom.parentNode;break}}t.contentElement||(t.getContent=()=>Z.empty)}else t.contentElement=this.contentDOM;else t.getContent=()=>this.node.content;return t}matchesNode(t,e,i){return 0==this.dirty&&t.eq(this.node)&&Sk(e,this.outerDeco)&&i.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,e){let i=this.node.inlineContent,r=e,o=t.composing?this.localCompositionInfo(t,e):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,l=new jxe(this,a&&a.node,t);(function qxe(n,t,e,i){let r=t.locals(n),o=0;if(0==r.length){for(let c=0;co;)s.push(r[a++]);let h=o+d.nodeSize;if(d.isText){let v=h;a!v.inline):s.slice(),t.forChild(o,d),u),o=h}})(this.node,this.innerDeco,(c,d,u)=>{c.spec.marks?l.syncToMarks(c.spec.marks,i,t):c.type.side>=0&&!u&&l.syncToMarks(d==this.node.childCount?Gt.none:this.node.child(d).marks,i,t),l.placeWidget(c,t,r)},(c,d,u,h)=>{let p;l.syncToMarks(c.marks,i,t),l.findNodeMatch(c,d,u,h)||s&&t.state.selection.from>r&&t.state.selection.to-1&&l.updateNodeAt(c,d,u,p,t)||l.updateNextNode(c,d,u,t,h,r)||l.addNode(c,d,u,t,r),r+=c.nodeSize}),l.syncToMarks([],i,t),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(a&&this.protectLocalComposition(t,a),U6(this.contentDOM,this.children,t),eh&&function Wxe(n){if("UL"==n.nodeName||"OL"==n.nodeName){let t=n.style.cssText;n.style.cssText=t+"; list-style: square !important",window.getComputedStyle(n),n.style.cssText=t}}(this.dom))}localCompositionInfo(t,e){let{from:i,to:r}=t.state.selection;if(!(t.state.selection instanceof ht)||ie+this.node.content.size)return null;let o=t.domSelectionRange(),a=function Yxe(n,t){for(;;){if(3==n.nodeType)return n;if(1==n.nodeType&&t>0){if(n.childNodes.length>t&&3==n.childNodes[t].nodeType)return n.childNodes[t];t=ga(n=n.childNodes[t-1])}else{if(!(1==n.nodeType&&t=e){let c=s=0&&c+t.length+s>=e)return s+c;if(e==i&&l.length>=i+t.length-s&&l.slice(i-s,i-s+t.length)==t)return i}}return-1}(this.node.content,s,i-e,r-e);return l<0?null:{node:a,pos:l,text:s}}return{node:a,pos:-1,text:""}}protectLocalComposition(t,{node:e,pos:i,text:r}){if(this.getDesc(e))return;let o=e;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new zxe(this,o,e,r);t.input.compositionNodes.push(a),this.children=kk(this.children,i,i+r.length,t,a)}update(t,e,i,r){return!(3==this.dirty||!t.sameMarkup(this.node)||(this.updateInner(t,e,i,r),0))}updateInner(t,e,i,r){this.updateOuterDeco(e),this.node=t,this.innerDeco=i,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(t){if(Sk(t,this.outerDeco))return;let e=1!=this.nodeDOM.nodeType,i=this.dom;this.dom=G6(this.dom,this.nodeDOM,Dk(this.outerDeco,this.node,e),Dk(t,this.node,e)),this.dom!=i&&(i.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function $6(n,t,e,i,r){q6(i,t,n);let o=new dl(void 0,n,t,e,i,i,i,r,0);return o.contentDOM&&o.updateChildren(r,0),o}class oy extends dl{constructor(t,e,i,r,o,a,s){super(t,e,i,r,o,null,a,s,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,e,i,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!t.sameMarkup(this.node)||(this.updateOuterDeco(e),(0!=this.dirty||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=t,this.dirty=0,0))}inParent(){let t=this.parent.contentDOM;for(let e=this.nodeDOM;e;e=e.parentNode)if(e==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,e,i){return t==this.nodeDOM?this.posAtStart+Math.min(e,this.node.text.length):super.localPosFromDOM(t,e,i)}ignoreMutation(t){return"characterData"!=t.type&&"selection"!=t.type}slice(t,e,i){let r=this.node.cut(t,e),o=document.createTextNode(r.text);return new oy(this.parent,r,this.outerDeco,this.innerDeco,o,o,i)}markDirty(t,e){super.markDirty(t,e),this.dom!=this.nodeDOM&&(0==t||e==this.nodeDOM.nodeValue.length)&&(this.dirty=3)}get domAtom(){return!1}}class j6 extends sm{parseRule(){return{ignore:!0}}matchesHack(t){return 0==this.dirty&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class Hxe extends dl{constructor(t,e,i,r,o,a,s,l,c,d){super(t,e,i,r,o,a,s,c,d),this.spec=l}update(t,e,i,r){if(3==this.dirty)return!1;if(this.spec.update){let o=this.spec.update(t,e,i);return o&&this.updateInner(t,e,i,r),o}return!(!this.contentDOM&&!t.isLeaf)&&super.update(t,e,i,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,e,i,r){this.spec.setSelection?this.spec.setSelection(t,e,i):super.setSelection(t,e,i,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return!!this.spec.stopEvent&&this.spec.stopEvent(t)}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function U6(n,t,e){let i=n.firstChild,r=!1;for(let o=0;o0;){let s;for(;;)if(i){let c=e.children[i-1];if(!(c instanceof Rc)){s=c,i--;break}e=c,i=c.children.length}else{if(e==t)break e;i=e.parent.children.indexOf(e),e=e.parent}let l=s.node;if(l){if(l!=n.child(r-1))break;--r,o.set(s,r),a.push(s)}}return{index:r,matched:o,matches:a.reverse()}}(t.node.content,t)}destroyBetween(t,e){if(t!=e){for(let i=t;i>1,a=Math.min(o,t.length);for(;r-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=Rc.create(this.top,t[o],e,i);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(t,e,i,r){let a,o=-1;if(r>=this.preMatch.index&&(a=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&a.matchesNode(t,e,i))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s=e||d<=t?o.push(l):(ce&&o.push(l.slice(e-c,l.size,i)))}return o}function Ek(n,t=null){let e=n.domSelectionRange(),i=n.state.doc;if(!e.focusNode)return null;let r=n.docView.nearestDesc(e.focusNode),o=r&&0==r.size,a=n.docView.posFromDOM(e.focusNode,e.focusOffset,1);if(a<0)return null;let l,c,s=i.resolve(a);if(iy(e)){for(l=s;r&&!r.node;)r=r.parent;let d=r.node;if(r&&d.isAtom&&$e.isSelectable(d)&&r.parent&&(!d.isInline||!function bxe(n,t,e){for(let i=0==t,r=t==ga(n);i||r;){if(n==e)return!0;let o=Fr(n);if(!(n=n.parentNode))return!1;i=i&&0==o,r=r&&o==ga(n)}}(e.focusNode,e.focusOffset,r.dom))){let u=r.posBefore;c=new $e(a==u?s:i.resolve(u))}}else{let d=n.docView.posFromDOM(e.anchorNode,e.anchorOffset,1);if(d<0)return null;l=i.resolve(d)}return c||(c=Tk(n,l,s,"pointer"==t||n.state.selection.head{(e.anchorNode!=i||e.anchorOffset!=r)&&(t.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!Y6(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const K6=Ji||Ri&&wxe<63;function Q6(n,t){let{node:e,offset:i}=n.docView.domFromPos(t,0),r=ir(n,t,e))||ht.between(t,e,i)}function ez(n){return!(n.editable&&!n.hasFocus())&&tz(n)}function tz(n){let t=n.domSelectionRange();if(!t.anchorNode)return!1;try{return n.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(n.editable||n.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function Ak(n,t){let{$anchor:e,$head:i}=n.selection,r=t>0?e.max(i):e.min(i),o=r.parent.inlineContent?r.depth?n.doc.resolve(t>0?r.after():r.before()):null:r;return o&&et.findFrom(o,t)}function Fc(n,t){return n.dispatch(n.state.tr.setSelection(t).scrollIntoView()),!0}function nz(n,t,e){let i=n.state.selection;if(!(i instanceof ht)){if(i instanceof $e&&i.node.isInline)return Fc(n,new ht(t>0?i.$to:i.$from));{let r=Ak(n.state,t);return!!r&&Fc(n,r)}}if(!i.empty||e.indexOf("s")>-1)return!1;if(n.endOfTextblock(t>0?"forward":"backward")){let r=Ak(n.state,t);return!!(r&&r instanceof $e)&&Fc(n,r)}if(!(io&&e.indexOf("m")>-1)){let a,r=i.$head,o=r.textOffset?null:t<0?r.nodeBefore:r.nodeAfter;if(!o||o.isText)return!1;let s=t<0?r.pos-o.nodeSize:r.pos;return!!(o.isAtom||(a=n.docView.descAt(s))&&!a.contentDOM)&&($e.isSelectable(o)?Fc(n,new $e(t<0?n.state.doc.resolve(r.pos-o.nodeSize):r)):!!ry&&Fc(n,new ht(n.state.doc.resolve(t<0?s:s+o.nodeSize))))}}function ay(n){return 3==n.nodeType?n.nodeValue.length:n.childNodes.length}function cm(n){let t=n.pmViewDesc;return t&&0==t.size&&(n.nextSibling||"BR"!=n.nodeName)}function dm(n,t){return t<0?function Zxe(n){let t=n.domSelectionRange(),e=t.focusNode,i=t.focusOffset;if(!e)return;let r,o,a=!1;for(Ro&&1==e.nodeType&&i0){if(1!=e.nodeType)break;{let s=e.childNodes[i-1];if(cm(s))r=e,o=--i;else{if(3!=s.nodeType)break;e=s,i=e.nodeValue.length}}}else{if(rz(e))break;{let s=e.previousSibling;for(;s&&cm(s);)r=e.parentNode,o=Fr(s),s=s.previousSibling;if(s)e=s,i=ay(e);else{if(e=e.parentNode,e==n.dom)break;i=0}}}a?Ik(n,e,i):r&&Ik(n,r,o)}(n):iz(n)}function iz(n){let t=n.domSelectionRange(),e=t.focusNode,i=t.focusOffset;if(!e)return;let o,a,r=ay(e);for(;;)if(i{n.state==r&&ds(n)},50)}function oz(n,t){let e=n.state.doc.resolve(t);if(!Ri&&!xxe&&e.parent.inlineContent){let r=n.coordsAtPos(t);if(t>e.start()){let o=n.coordsAtPos(t-1),a=(o.top+o.bottom)/2;if(a>r.top&&a1)return o.leftr.top&&a1)return o.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(n.dom).direction?"rtl":"ltr"}function az(n,t,e){let i=n.state.selection;if(i instanceof ht&&!i.empty||e.indexOf("s")>-1||io&&e.indexOf("m")>-1)return!1;let{$from:r,$to:o}=i;if(!r.parent.inlineContent||n.endOfTextblock(t<0?"up":"down")){let a=Ak(n.state,t);if(a&&a instanceof $e)return Fc(n,a)}if(!r.parent.inlineContent){let a=t<0?r:o,s=i instanceof mr?et.near(a,t):et.findFrom(a,t);return!!s&&Fc(n,s)}return!1}function sz(n,t){if(!(n.state.selection instanceof ht))return!0;let{$head:e,$anchor:i,empty:r}=n.state.selection;if(!e.sameParent(i))return!0;if(!r)return!1;if(n.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!e.textOffset&&(t<0?e.nodeBefore:e.nodeAfter);if(o&&!o.isText){let a=n.state.tr;return t<0?a.delete(e.pos-o.nodeSize,e.pos):a.delete(e.pos,e.pos+o.nodeSize),n.dispatch(a),!0}return!1}function lz(n,t,e){n.domObserver.stop(),t.contentEditable=e,n.domObserver.start()}function cz(n,t){n.someProp("transformCopied",p=>{t=p(t,n)});let e=[],{content:i,openStart:r,openEnd:o}=t;for(;r>1&&o>1&&1==i.childCount&&1==i.firstChild.childCount;){r--,o--;let p=i.firstChild;e.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),i=p.content}let a=n.someProp("clipboardSerializer")||pa.fromSchema(n.state.schema),s=_z(),l=s.createElement("div");l.appendChild(a.serializeFragment(i,{document:s}));let d,c=l.firstChild,u=0;for(;c&&1==c.nodeType&&(d=mz[c.nodeName.toLowerCase()]);){for(let p=d.length-1;p>=0;p--){let v=s.createElement(d[p]);for(;l.firstChild;)v.appendChild(l.firstChild);l.appendChild(v),u++}c=l.firstChild}return c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${r} ${o}${u?` -${u}`:""} ${JSON.stringify(e)}`),{dom:l,text:n.someProp("clipboardTextSerializer",p=>p(t,n))||t.content.textBetween(0,t.content.size,"\n\n")}}function dz(n,t,e,i,r){let a,s,o=r.parent.type.spec.code;if(!e&&!t)return null;let l=t&&(i||o||!e);if(l){if(n.someProp("transformPastedText",h=>{t=h(t,o||i,n)}),o)return t?new pe(Z.from(n.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):pe.empty;let u=n.someProp("clipboardTextParser",h=>h(t,r,i,n));if(u)s=u;else{let h=r.marks(),{schema:p}=n.state,v=pa.fromSchema(p);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(y=>{let w=a.appendChild(document.createElement("p"));y&&w.appendChild(v.serializeNode(p.text(y,h)))})}}else n.someProp("transformPastedHTML",u=>{e=u(e,n)}),a=function o1e(n){let t=/^(\s*]*>)*/.exec(n);t&&(n=n.slice(t[0].length));let r,e=_z().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(n);if((r=i&&mz[i[1].toLowerCase()])&&(n=r.map(o=>"<"+o+">").join("")+n+r.map(o=>"").reverse().join("")),e.innerHTML=n,r)for(let o=0;o0;u--){let h=a.firstChild;for(;h&&1!=h.nodeType;)h=h.nextSibling;if(!h)break;a=h}if(s||(s=(n.someProp("clipboardParser")||n.someProp("domParser")||Gu.fromSchema(n.state.schema)).parseSlice(a,{preserveWhitespace:!(!l&&!d),context:r,ruleFromNode:h=>"BR"!=h.nodeName||h.nextSibling||!h.parentNode||i1e.test(h.parentNode.nodeName)?null:{ignore:!0}})),d)s=function s1e(n,t){if(!n.size)return n;let i,e=n.content.firstChild.type.schema;try{i=JSON.parse(t)}catch{return n}let{content:r,openStart:o,openEnd:a}=n;for(let s=i.length-2;s>=0;s-=2){let l=e.nodes[i[s]];if(!l||l.hasRequiredAttrs())break;r=Z.from(l.create(i[s+1],r)),o++,a++}return new pe(r,o,a)}(pz(s,+d[1],+d[2]),d[4]);else if(s=pe.maxOpen(function r1e(n,t){if(n.childCount<2)return n;for(let e=t.depth;e>=0;e--){let o,r=t.node(e).contentMatchAt(t.index(e)),a=[];if(n.forEach(s=>{if(!a)return;let c,l=r.findWrapping(s.type);if(!l)return a=null;if(c=a.length&&o.length&&hz(l,o,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=fz(a[a.length-1],o.length));let d=uz(s,l);a.push(d),r=r.matchType(d.type),o=l}}),a)return Z.from(a)}return n}(s.content,r),!0),s.openStart||s.openEnd){let u=0,h=0;for(let p=s.content.firstChild;u{s=u(s,n)}),s}const i1e=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function uz(n,t,e=0){for(let i=t.length-1;i>=e;i--)n=t[i].create(null,Z.from(n));return n}function hz(n,t,e,i,r){if(r1&&(o=0),r=e&&(s=t<0?a.contentMatchAt(0).fillBefore(s,o<=r).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(Z.empty,!0))),n.replaceChild(t<0?0:n.childCount-1,a.copy(s))}function pz(n,t,e){return t{for(let e in t)n.input.eventHandlers[e]||n.dom.addEventListener(e,n.input.eventHandlers[e]=i=>Nk(n,i))})}function Nk(n,t){return n.someProp("handleDOMEvents",e=>{let i=e[t.type];return!!i&&(i(n,t)||t.defaultPrevented)})}function h1e(n,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let e=t.target;e!=n.dom;e=e.parentNode)if(!e||11==e.nodeType||e.pmViewDesc&&e.pmViewDesc.stopEvent(t))return!1;return!0}function sy(n){return{left:n.clientX,top:n.clientY}}function Fk(n,t,e,i,r){if(-1==i)return!1;let o=n.state.doc.resolve(i);for(let a=o.depth+1;a>0;a--)if(n.someProp(t,s=>a>o.depth?s(n,e,o.nodeAfter,o.before(a),r,!0):s(n,e,o.node(a),o.before(a),r,!1)))return!0;return!1}function nh(n,t,e){n.focused||n.focus();let i=n.state.tr.setSelection(t);"pointer"==e&&i.setMeta("pointer",!0),n.dispatch(i)}function b1e(n,t,e,i){return Fk(n,"handleDoubleClickOn",t,e,i)||n.someProp("handleDoubleClick",r=>r(n,t,i))}function v1e(n,t,e,i){return Fk(n,"handleTripleClickOn",t,e,i)||n.someProp("handleTripleClick",r=>r(n,t,i))||function y1e(n,t,e){if(0!=e.button)return!1;let i=n.state.doc;if(-1==t)return!!i.inlineContent&&(nh(n,ht.create(i,0,i.content.size),"pointer"),!0);let r=i.resolve(t);for(let o=r.depth+1;o>0;o--){let a=o>r.depth?r.nodeAfter:r.node(o),s=r.before(o);if(a.inlineContent)nh(n,ht.create(i,s+1,s+1+a.content.size),"pointer");else{if(!$e.isSelectable(a))continue;nh(n,$e.create(i,s),"pointer")}return!0}}(n,e,i)}function Pk(n){return ly(n)}er.keydown=(n,t)=>{let e=t;if(n.input.shiftKey=16==e.keyCode||e.shiftKey,!vz(n,e)&&(n.input.lastKeyCode=e.keyCode,n.input.lastKeyCodeTime=Date.now(),!No||!Ri||13!=e.keyCode))if(229!=e.keyCode&&n.domObserver.forceFlush(),!eh||13!=e.keyCode||e.ctrlKey||e.altKey||e.metaKey)n.someProp("handleKeyDown",i=>i(n,e))||function n1e(n,t){let e=t.keyCode,i=function t1e(n){let t="";return n.ctrlKey&&(t+="c"),n.metaKey&&(t+="m"),n.altKey&&(t+="a"),n.shiftKey&&(t+="s"),t}(t);if(8==e||io&&72==e&&"c"==i)return sz(n,-1)||dm(n,-1);if(46==e&&!t.shiftKey||io&&68==e&&"c"==i)return sz(n,1)||dm(n,1);if(13==e||27==e)return!0;if(37==e||io&&66==e&&"c"==i){let r=37==e?"ltr"==oz(n,n.state.selection.from)?-1:1:-1;return nz(n,r,i)||dm(n,r)}if(39==e||io&&70==e&&"c"==i){let r=39==e?"ltr"==oz(n,n.state.selection.from)?1:-1:1;return nz(n,r,i)||dm(n,r)}return 38==e||io&&80==e&&"c"==i?az(n,-1,i)||dm(n,-1):40==e||io&&78==e&&"c"==i?function e1e(n){if(!Ji||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:e}=n.domSelectionRange();if(t&&1==t.nodeType&&0==e&&t.firstChild&&"false"==t.firstChild.contentEditable){let i=t.firstChild;lz(n,i,"true"),setTimeout(()=>lz(n,i,"false"),20)}return!1}(n)||az(n,1,i)||iz(n):i==(io?"m":"c")&&(66==e||73==e||89==e||90==e)}(n,e)?e.preventDefault():ul(n,"key");else{let i=Date.now();n.input.lastIOSEnter=i,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==i&&(n.someProp("handleKeyDown",r=>r(n,Ic(13,"Enter"))),n.input.lastIOSEnter=0)},200)}},er.keyup=(n,t)=>{16==t.keyCode&&(n.input.shiftKey=!1)},er.keypress=(n,t)=>{let e=t;if(vz(n,e)||!e.charCode||e.ctrlKey&&!e.altKey||io&&e.metaKey)return;if(n.someProp("handleKeyPress",r=>r(n,e)))return void e.preventDefault();let i=n.state.selection;if(!(i instanceof ht&&i.$from.sameParent(i.$to))){let r=String.fromCharCode(e.charCode);!/[\r\n]/.test(r)&&!n.someProp("handleTextInput",o=>o(n,i.$from.pos,i.$to.pos,r))&&n.dispatch(n.state.tr.insertText(r).scrollIntoView()),e.preventDefault()}};const bz=io?"metaKey":"ctrlKey";Zi.mousedown=(n,t)=>{let e=t;n.input.shiftKey=e.shiftKey;let i=Pk(n),r=Date.now(),o="singleClick";r-n.input.lastClick.time<500&&function p1e(n,t){let e=t.x-n.clientX,i=t.y-n.clientY;return e*e+i*i<100}(e,n.input.lastClick)&&!e[bz]&&("singleClick"==n.input.lastClick.type?o="doubleClick":"doubleClick"==n.input.lastClick.type&&(o="tripleClick")),n.input.lastClick={time:r,x:e.clientX,y:e.clientY,type:o};let a=n.posAtCoords(sy(e));a&&("singleClick"==o?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new C1e(n,a,e,!!i)):("doubleClick"==o?b1e:v1e)(n,a.pos,a.inside,e)?e.preventDefault():ul(n,"pointer"))};class C1e{constructor(t,e,i,r){let o,a;if(this.view=t,this.pos=e,this.event=i,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!i[bz],this.allowDefault=i.shiftKey,e.inside>-1)o=t.state.doc.nodeAt(e.inside),a=e.inside;else{let d=t.state.doc.resolve(e.pos);o=d.parent,a=d.depth?d.before():0}const s=r?null:i.target,l=s?t.docView.nearestDesc(s,!0):null;this.target=l?l.dom:null;let{selection:c}=t.state;(0==i.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||c instanceof $e&&c.from<=a&&c.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!Ro||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),ul(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>ds(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let e=this.pos;this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(sy(t))),this.updateAllowDefault(t),this.allowDefault||!e?ul(this.view,"pointer"):function _1e(n,t,e,i,r){return Fk(n,"handleClickOn",t,e,i)||n.someProp("handleClick",o=>o(n,t,i))||(r?function g1e(n,t){if(-1==t)return!1;let i,r,e=n.state.selection;e instanceof $e&&(i=e.node);let o=n.state.doc.resolve(t);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if($e.isSelectable(s)){r=i&&e.$from.depth>0&&a>=e.$from.depth&&o.before(e.$from.depth+1)==e.$from.pos?o.before(e.$from.depth):o.before(a);break}}return null!=r&&(nh(n,$e.create(n.state.doc,r),"pointer"),!0)}(n,e):function m1e(n,t){if(-1==t)return!1;let e=n.state.doc.resolve(t),i=e.nodeAfter;return!!(i&&i.isAtom&&$e.isSelectable(i))&&(nh(n,new $e(e),"pointer"),!0)}(n,e))}(this.view,e.pos,e.inside,t,this.selectNode)?t.preventDefault():0==t.button&&(this.flushed||Ji&&this.mightDrag&&!this.mightDrag.node.isAtom||Ri&&!this.view.state.selection.visible&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?(nh(this.view,et.near(this.view.state.doc.resolve(e.pos)),"pointer"),t.preventDefault()):ul(this.view,"pointer")}move(t){this.updateAllowDefault(t),ul(this.view,"pointer"),0==t.buttons&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}function vz(n,t){return!!n.composing||!!(Ji&&Math.abs(t.timeStamp-n.input.compositionEndedAt)<500)&&(n.input.compositionEndedAt=-2e8,!0)}Zi.touchstart=n=>{n.input.lastTouch=Date.now(),Pk(n),ul(n,"pointer")},Zi.touchmove=n=>{n.input.lastTouch=Date.now(),ul(n,"pointer")},Zi.contextmenu=n=>Pk(n);const w1e=No?5e3:-1;function yz(n,t){clearTimeout(n.input.composingTimeout),t>-1&&(n.input.composingTimeout=setTimeout(()=>ly(n),t))}function Cz(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=function x1e(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function ly(n,t=!1){if(!(No&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),Cz(n),t||n.docView&&n.docView.dirty){let e=Ek(n);return e&&!e.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(e)):n.updateState(n.state),!0}return!1}}er.compositionstart=er.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:t}=n,e=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!e.textOffset&&e.parentOffset&&e.nodeBefore.marks.some(i=>!1===i.type.spec.inclusive)))n.markCursor=n.state.storedMarks||e.marks(),ly(n,!0),n.markCursor=null;else if(ly(n),Ro&&t.selection.empty&&e.parentOffset&&!e.textOffset&&e.nodeBefore.marks.length){let i=n.domSelectionRange();for(let r=i.focusNode,o=i.focusOffset;r&&1==r.nodeType&&0!=o;){let a=o<0?r.lastChild:r.childNodes[o-1];if(!a)break;if(3==a.nodeType){n.domSelection().collapse(a,a.nodeValue.length);break}r=a,o=-1}}n.input.composing=!0}yz(n,w1e)},er.compositionend=(n,t)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=t.timeStamp,n.input.compositionID++,yz(n,20))};const ih=gr&&sl<15||eh&&Dxe<604;function um(n,t,e,i,r){let o=dz(n,t,e,i,n.state.selection.$from);if(n.someProp("handlePaste",l=>l(n,r,o||pe.empty)))return!0;if(!o)return!1;let a=function S1e(n){return 0==n.openStart&&0==n.openEnd&&1==n.content.childCount?n.content.firstChild:null}(o),s=a?n.state.tr.replaceSelectionWith(a,i):n.state.tr.replaceSelection(o);return n.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}Zi.copy=er.cut=(n,t)=>{let e=t,i=n.state.selection,r="cut"==e.type;if(i.empty)return;let o=ih?null:e.clipboardData,a=i.content(),{dom:s,text:l}=cz(n,a);o?(e.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):function D1e(n,t){if(!n.dom.parentNode)return;let e=n.dom.parentNode.appendChild(document.createElement("div"));e.appendChild(t),e.style.cssText="position: fixed; left: -10000px; top: 10px";let i=getSelection(),r=document.createRange();r.selectNodeContents(t),n.dom.blur(),i.removeAllRanges(),i.addRange(r),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e),n.focus()},50)}(n,s),r&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},er.paste=(n,t)=>{let e=t;if(n.composing&&!No)return;let i=ih?null:e.clipboardData,r=n.input.shiftKey&&45!=n.input.lastKeyCode;i&&um(n,i.getData("text/plain"),i.getData("text/html"),r,e)?e.preventDefault():function k1e(n,t){if(!n.dom.parentNode)return;let e=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,i=n.dom.parentNode.appendChild(document.createElement(e?"textarea":"div"));e||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus();let r=n.input.shiftKey&&45!=n.input.lastKeyCode;setTimeout(()=>{n.focus(),i.parentNode&&i.parentNode.removeChild(i),e?um(n,i.value,null,r,t):um(n,i.textContent,i.innerHTML,r,t)},50)}(n,e)};class E1e{constructor(t,e){this.slice=t,this.move=e}}const wz=io?"altKey":"ctrlKey";Zi.dragstart=(n,t)=>{let e=t,i=n.input.mouseDown;if(i&&i.done(),!e.dataTransfer)return;let r=n.state.selection,o=r.empty?null:n.posAtCoords(sy(e));if(!(o&&o.pos>=r.from&&o.pos<=(r instanceof $e?r.to-1:r.to)))if(i&&i.mightDrag)n.dispatch(n.state.tr.setSelection($e.create(n.state.doc,i.mightDrag.pos)));else if(e.target&&1==e.target.nodeType){let c=n.docView.nearestDesc(e.target,!0);c&&c.node.type.spec.draggable&&c!=n.docView&&n.dispatch(n.state.tr.setSelection($e.create(n.state.doc,c.posBefore)))}let a=n.state.selection.content(),{dom:s,text:l}=cz(n,a);e.dataTransfer.clearData(),e.dataTransfer.setData(ih?"Text":"text/html",s.innerHTML),e.dataTransfer.effectAllowed="copyMove",ih||e.dataTransfer.setData("text/plain",l),n.dragging=new E1e(a,!e[wz])},Zi.dragend=n=>{let t=n.dragging;window.setTimeout(()=>{n.dragging==t&&(n.dragging=null)},50)},er.dragover=er.dragenter=(n,t)=>t.preventDefault(),er.drop=(n,t)=>{let e=t,i=n.dragging;if(n.dragging=null,!e.dataTransfer)return;let r=n.posAtCoords(sy(e));if(!r)return;let o=n.state.doc.resolve(r.pos),a=i&&i.slice;a?n.someProp("transformPasted",v=>{a=v(a,n)}):a=dz(n,e.dataTransfer.getData(ih?"Text":"text/plain"),ih?null:e.dataTransfer.getData("text/html"),!1,o);let s=!(!i||e[wz]);if(n.someProp("handleDrop",v=>v(n,e,a||pe.empty,s)))return void e.preventDefault();if(!a)return;e.preventDefault();let l=a?d6(n.state.doc,o.pos,a):o.pos;null==l&&(l=o.pos);let c=n.state.tr;s&&c.deleteSelection();let d=c.mapping.map(l),u=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,h=c.doc;if(u?c.replaceRangeWith(d,d,a.content.firstChild):c.replaceRange(d,d,a),c.doc.eq(h))return;let p=c.doc.resolve(d);if(u&&$e.isSelectable(a.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new $e(p));else{let v=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((y,w,k,D)=>v=D),c.setSelection(Tk(n,p,c.doc.resolve(v)))}n.focus(),n.dispatch(c.setMeta("uiEvent","drop"))},Zi.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&ds(n)},20))},Zi.blur=(n,t)=>{let e=t;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),e.relatedTarget&&n.dom.contains(e.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)},Zi.beforeinput=(n,t)=>{if(Ri&&No&&"deleteContentBackward"==t.inputType){n.domObserver.flushSoon();let{domChangeCount:i}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=i||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",o=>o(n,Ic(8,"Backspace")))))return;let{$cursor:r}=n.state.selection;r&&r.pos>0&&n.dispatch(n.state.tr.delete(r.pos-1,r.pos).scrollIntoView())},50)}};for(let n in er)Zi[n]=er[n];function hm(n,t){if(n==t)return!0;for(let e in n)if(n[e]!==t[e])return!1;for(let e in t)if(!(e in n))return!1;return!0}class Lk{constructor(t,e){this.toDOM=t,this.spec=e||Pc,this.side=this.spec.side||0}map(t,e,i,r){let{pos:o,deleted:a}=t.mapResult(e.from+r,this.side<0?-1:1);return a?null:new _r(o-i,o-i,this)}valid(){return!0}eq(t){return this==t||t instanceof Lk&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&hm(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class hl{constructor(t,e){this.attrs=t,this.spec=e||Pc}map(t,e,i,r){let o=t.map(e.from+r,this.spec.inclusiveStart?-1:1)-i,a=t.map(e.to+r,this.spec.inclusiveEnd?1:-1)-i;return o>=a?null:new _r(o,a,this)}valid(t,e){return e.from=t&&(!o||o(s.spec))&&i.push(s.copy(s.from+r,s.to+r))}for(let a=0;at){let s=this.children[a]+1;this.children[a+2].findInner(t-s,e-s,i,r+s,o)}}map(t,e,i){return this==Ni||0==t.maps.length?this:this.mapInner(t,e,0,0,i||Pc)}mapInner(t,e,i,r,o){let a;for(let s=0;s{let w=y-v-(p-h);for(let k=0;kD+d-u)continue;let M=s[k]+d-u;p>=M?s[k+1]=h<=M?-2:-1:v>=r&&w&&(s[k]+=w,s[k+1]+=w)}u+=w}),d=e.maps[c].map(d,-1)}let l=!1;for(let c=0;c=i.content.size){l=!0;continue}let p=e.map(n[c+1]+o,-1)-r,{index:v,offset:y}=i.content.findIndex(u),w=i.maybeChild(v);if(w&&y==u&&y+w.nodeSize==p){let k=s[c+2].mapInner(e,w,d+1,n[c]+o+1,a);k!=Ni?(s[c]=u,s[c+1]=p,s[c+2]=k):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=function T1e(n,t,e,i,r,o,a){function s(l,c){for(let d=0;d{let d,c=l+i;if(d=Dz(e,s,c)){for(r||(r=this.children.slice());os&&u.to=t){this.children[s]==t&&(i=this.children[s+2]);break}let o=t+1,a=o+e.content.size;for(let s=0;so&&l.type instanceof hl){let c=Math.max(o,l.from)-o,d=Math.min(a,l.to)-o;cr.map(t,e,Pc));return fl.from(i)}forChild(t,e){if(e.isLeaf)return In.empty;let i=[];for(let r=0;re instanceof In)?t:t.reduce((e,i)=>e.concat(i instanceof In?i:i.members),[]))}}}function xz(n,t){if(!t||!n.length)return n;let e=[];for(let i=0;ie&&a.to{let c=Dz(n,s,l+e);if(c){o=!0;let d=cy(c,s,e+l+1,i);d!=Ni&&r.push(l,l+s.nodeSize,d)}});let a=xz(o?Sz(n):n,-e).sort(Lc);for(let s=0;s0;)t++;n.splice(t,0,e)}function zk(n){let t=[];return n.someProp("decorations",e=>{let i=e(n.state);i&&i!=Ni&&t.push(i)}),n.cursorWrapper&&t.push(In.create(n.state.doc,[n.cursorWrapper.deco])),fl.from(t)}const A1e={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},I1e=gr&&sl<=11;class O1e{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class R1e{constructor(t,e){this.view=t,this.handleDOMChange=e,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new O1e,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(i=>{for(let r=0;r"childList"==r.type&&r.removedNodes.length||"characterData"==r.type&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),I1e&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,A1e)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let e=0;ethis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(ez(this.view)){if(this.suppressingSelectionUpdates)return ds(this.view);if(gr&&sl<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&Ac(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let i,e=new Set;for(let o=t.focusNode;o;o=om(o))e.add(o);for(let o=t.anchorNode;o;o=om(o))if(e.has(o)){i=o;break}let r=i&&this.view.docView.nearestDesc(i);return r&&r.ignoreMutation({type:"selection",target:3==i.nodeType?i.parentNode:i})?(this.setCurSelection(),!0):void 0}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let e=this.observer?this.observer.takeRecords():[];this.queue.length&&(e=this.queue.concat(e),this.queue.length=0);let i=t.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(i)&&ez(t)&&!this.ignoreSelectionChange(i),o=-1,a=-1,s=!1,l=[];if(t.editable)for(let d=0;d1){let d=l.filter(u=>"BR"==u.nodeName);if(2==d.length){let u=d[0],h=d[1];u.parentNode&&u.parentNode.parentNode==h.parentNode?h.remove():u.remove()}}let c=null;o<0&&r&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)-1||r)&&(o>-1&&(t.docView.markDirty(o,a),function N1e(n){if(!Ez.has(n)&&(Ez.set(n,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace))){if(n.requiresGeckoHackNode=Ro,Mz)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Mz=!0}}(t)),this.handleDOMChange(o,a,s,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(i)||ds(t),this.currentSelection.set(i))}registerMutation(t,e){if(e.indexOf(t.target)>-1)return null;let i=this.view.docView.nearestDesc(t.target);if("attributes"==t.type&&(i==this.view.docView||"contenteditable"==t.attributeName||"style"==t.attributeName&&!t.oldValue&&!t.target.getAttribute("style"))||!i||i.ignoreMutation(t))return null;if("childList"==t.type){for(let d=0;dt.content.size?null:Tk(n,t.resolve(e.anchor),t.resolve(e.head))}function Hk(n,t,e){let i=n.depth,r=t?n.end():n.pos;for(;i>0&&(t||n.indexAfter(i)==n.node(i).childCount);)i--,r++,t=!1;if(e){let o=n.node(i).maybeChild(n.indexAfter(i));for(;o&&!o.isLeaf;)o=o.firstChild,r++}return r}class j1e{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new c1e,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(Nz),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=Oz(this),Iz(this),this.nodeViews=Rz(this),this.docView=$6(this.state.doc,Az(this),zk(this),this.dom,this),this.domObserver=new R1e(this,(i,r,o,a)=>function V1e(n,t,e,i,r){if(t<0){let le=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,Ve=Ek(n,le);if(Ve&&!n.state.selection.eq(Ve)){if(Ri&&No&&13===n.input.lastKeyCode&&Date.now()-100Dn(n,Ic(13,"Enter"))))return;let Ne=n.state.tr.setSelection(Ve);"pointer"==le?Ne.setMeta("pointer",!0):"key"==le&&Ne.scrollIntoView(),n.composing&&Ne.setMeta("composition",n.input.compositionID),n.dispatch(Ne)}return}let o=n.state.doc.resolve(t),a=o.sharedDepth(e);t=o.before(a+1),e=n.state.doc.resolve(e).after(a+1);let u,h,s=n.state.selection,l=function P1e(n,t,e){let c,{node:i,fromOffset:r,toOffset:o,from:a,to:s}=n.docView.parseRange(t,e),l=n.domSelectionRange(),d=l.anchorNode;if(d&&n.dom.contains(1==d.nodeType?d:d.parentNode)&&(c=[{node:d,offset:l.anchorOffset}],iy(l)||c.push({node:l.focusNode,offset:l.focusOffset})),Ri&&8===n.input.lastKeyCode)for(let w=o;w>r;w--){let k=i.childNodes[w-1],D=k.pmViewDesc;if("BR"==k.nodeName&&!D){o=w;break}if(!D||D.size)break}let u=n.state.doc,h=n.someProp("domParser")||Gu.fromSchema(n.state.schema),p=u.resolve(a),v=null,y=h.parse(i,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:r,to:o,preserveWhitespace:"pre"!=p.parent.type.whitespace||"full",findPositions:c,ruleFromNode:L1e,context:p});if(c&&null!=c[0].pos){let w=c[0].pos,k=c[1]&&c[1].pos;null==k&&(k=w),v={anchor:w+a,head:k+a}}return{doc:y,sel:v,from:a,to:s}}(n,t,e),c=n.state.doc,d=c.slice(l.from,l.to);8===n.input.lastKeyCode&&Date.now()-100=a?o-i:0,s=o+(s-a),a=o):s=s?o-i:0,a=o+(a-s),s=o),{start:o,endA:a,endB:s}}(d.content,l.doc.content,l.from,u,h);if((eh&&n.input.lastIOSEnter>Date.now()-225||No)&&r.some(le=>1==le.nodeType&&!B1e.test(le.nodeName))&&(!p||p.endA>=p.endB)&&n.someProp("handleKeyDown",le=>le(n,Ic(13,"Enter"))))return void(n.input.lastIOSEnter=0);if(!p){if(!(i&&s instanceof ht&&!s.empty&&s.$head.sameParent(s.$anchor))||n.composing||l.sel&&l.sel.anchor!=l.sel.head){if(l.sel){let le=Tz(n,n.state.doc,l.sel);if(le&&!le.eq(n.state.selection)){let Ve=n.state.tr.setSelection(le);n.composing&&Ve.setMeta("composition",n.input.compositionID),n.dispatch(Ve)}}return}p={start:s.from,endA:s.to,endB:s.to}}if(Ri&&n.cursorWrapper&&l.sel&&l.sel.anchor==n.cursorWrapper.deco.from&&l.sel.head==l.sel.anchor){let le=p.endB-p.start;l.sel={anchor:l.sel.anchor+le,head:l.sel.anchor+le}}n.input.domChangeCount++,n.state.selection.fromn.state.selection.from&&p.start<=n.state.selection.from+2&&n.state.selection.from>=l.from?p.start=n.state.selection.from:p.endA=n.state.selection.to-2&&n.state.selection.to<=l.to&&(p.endB+=n.state.selection.to-p.endA,p.endA=n.state.selection.to)),gr&&sl<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>l.from&&" \xa0"==l.doc.textBetween(p.start-l.from-1,p.start-l.from+1)&&(p.start--,p.endA--,p.endB--);let D,v=l.doc.resolveNoCache(p.start-l.from),y=l.doc.resolveNoCache(p.endB-l.from),w=c.resolve(p.start),k=v.sameParent(y)&&v.parent.inlineContent&&w.end()>=p.endA;if((eh&&n.input.lastIOSEnter>Date.now()-225&&(!k||r.some(le=>"DIV"==le.nodeName||"P"==le.nodeName))||!k&&v.posle(n,Ic(13,"Enter"))))return void(n.input.lastIOSEnter=0);if(n.state.selection.anchor>p.start&&function H1e(n,t,e,i,r){if(!i.parent.isTextblock||e-t<=r.pos-i.pos||Hk(i,!0,!1)e||Hk(a,!0,!1)le(n,Ic(8,"Backspace"))))return void(No&&Ri&&n.domObserver.suppressSelectionUpdates());Ri&&No&&p.endB==p.start&&(n.input.lastAndroidDelete=Date.now()),No&&!k&&v.start()!=y.start()&&0==y.parentOffset&&v.depth==y.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==p.endA&&(p.endB-=2,y=l.doc.resolveNoCache(p.endB-l.from),setTimeout(()=>{n.someProp("handleKeyDown",function(le){return le(n,Ic(13,"Enter"))})},20));let O,he,P,M=p.start,A=p.endA;if(k)if(v.pos==y.pos)gr&&sl<=11&&0==v.parentOffset&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>ds(n),20)),O=n.state.tr.delete(M,A),he=c.resolve(p.start).marksAcross(c.resolve(p.endA));else if(p.endA==p.endB&&(P=function z1e(n,t){let a,s,l,e=n.firstChild.marks,i=t.firstChild.marks,r=e,o=i;for(let d=0;dd.mark(s.addToSet(d.marks));else{if(0!=r.length||1!=o.length)return null;s=o[0],a="remove",l=d=>d.mark(s.removeFromSet(d.marks))}let c=[];for(let d=0;dVe(n,M,A,le)))return;O=n.state.tr.insertText(le,M,A)}if(O||(O=n.state.tr.replace(M,A,l.doc.slice(p.start-l.from,p.endB-l.from))),l.sel){let le=Tz(n,O.doc,l.sel);le&&!(Ri&&No&&n.composing&&le.empty&&(p.start!=p.endB||n.input.lastAndroidDelete{h1e(n,i)&&!Nk(n,i)&&(n.editable||!(i.type in er))&&e(n,i)},l1e[t]?{passive:!0}:void 0)}Ji&&n.dom.addEventListener("input",()=>null),Rk(n)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let e in t)this._props[e]=t[e];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&Rk(this);let e=this._props;this._props=t,t.plugins&&(t.plugins.forEach(Nz),this.directPlugins=t.plugins),this.updateStateInner(t.state,e)}setProps(t){let e={};for(let i in this._props)e[i]=this._props[i];e.state=this.state;for(let i in t)e[i]=t[i];this.update(e)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,e){let i=this.state,r=!1,o=!1;t.storedMarks&&this.composing&&(Cz(this),o=!0),this.state=t;let a=i.plugins!=t.plugins||this._props.plugins!=e.plugins;if(a||this._props.plugins!=e.plugins||this._props.nodeViews!=e.nodeViews){let h=Rz(this);(function G1e(n,t){let e=0,i=0;for(let r in n){if(n[r]!=t[r])return!0;e++}for(let r in t)i++;return e!=i})(h,this.nodeViews)&&(this.nodeViews=h,r=!0)}(a||e.handleDOMEvents!=this._props.handleDOMEvents)&&Rk(this),this.editable=Oz(this),Iz(this);let s=zk(this),l=Az(this),c=i.plugins==t.plugins||i.doc.eq(t.doc)?t.scrollToSelection>i.scrollToSelection?"to selection":"preserve":"reset",d=r||!this.docView.matchesNode(t.doc,l,s);(d||!t.selection.eq(i.selection))&&(o=!0);let u="preserve"==c&&o&&null==this.dom.style.overflowAnchor&&function Exe(n){let i,r,t=n.dom.getBoundingClientRect(),e=Math.max(0,t.top);for(let o=(t.left+t.right)/2,a=e+1;a=e-20){i=s,r=l.top;break}}return{refDOM:i,refTop:r,stack:A6(n.dom)}}(this);if(o){this.domObserver.stop();let h=d&&(gr||Ri)&&!this.composing&&!i.selection.empty&&!t.selection.empty&&function U1e(n,t){let e=Math.min(n.$anchor.sharedDepth(n.head),t.$anchor.sharedDepth(t.head));return n.$anchor.start(e)!=t.$anchor.start(e)}(i.selection,t.selection);if(d){let p=Ri?this.trackWrites=this.domSelectionRange().focusNode:null;(r||!this.docView.update(t.doc,l,s,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=$6(t.doc,l,s,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function Jxe(n){let t=n.docView.domFromPos(n.state.selection.anchor,0),e=n.domSelectionRange();return Ac(t.node,t.offset,e.anchorNode,e.anchorOffset)}(this))?ds(this,h):(J6(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():u&&function Mxe({refDOM:n,refTop:t,stack:e}){let i=n?n.getBoundingClientRect().top:0;I6(e,0==i?0:i-t)}(u)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",e=>e(this)))if(this.state.selection instanceof $e){let e=this.docView.domAfterPos(this.state.selection.from);1==e.nodeType&&T6(this,e.getBoundingClientRect(),t)}else T6(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(t&&t.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let e=0;ee.ownerDocument.getSelection()),this._root=e;return t||document}posAtCoords(t){return Nxe(this,t)}coordsAtPos(t,e=1){return F6(this,t,e)}domAtPos(t,e=0){return this.docView.domFromPos(t,e)}nodeDOM(t){let e=this.docView.descAt(t);return e?e.nodeDOM:null}posAtDOM(t,e,i=-1){let r=this.docView.posFromDOM(t,e,i);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(t,e){return function Vxe(n,t,e){return L6==t&&B6==e?V6:(L6=t,B6=e,V6="up"==e||"down"==e?function Pxe(n,t,e){let i=t.selection,r="up"==e?i.$from:i.$to;return P6(n,t,()=>{let{node:o}=n.docView.domFromPos(r.pos,"up"==e?-1:1);for(;;){let s=n.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=F6(n,r.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(1==s.nodeType)l=s.getClientRects();else{if(3!=s.nodeType)continue;l=cs(s,0,s.nodeValue.length).getClientRects()}for(let c=0;cd.top+1&&("up"==e?a.top-d.top>2*(d.bottom-a.top):d.bottom-a.bottom>2*(a.bottom-d.top)))return!1}}return!0})}(n,t,e):function Bxe(n,t,e){let{$head:i}=t.selection;if(!i.parent.isTextblock)return!1;let r=i.parentOffset,o=!r,a=r==i.parent.content.size,s=n.domSelection();return Lxe.test(i.parent.textContent)&&s.modify?P6(n,t,()=>{let{focusNode:l,focusOffset:c,anchorNode:d,anchorOffset:u}=n.domSelectionRange(),h=s.caretBidiLevel;s.modify("move",e,"character");let p=i.depth?n.docView.domAfterPos(i.before()):n.dom,{focusNode:v,focusOffset:y}=n.domSelectionRange(),w=v&&!p.contains(1==v.nodeType?v:v.parentNode)||l==v&&c==y;try{s.collapse(d,u),l&&(l!=d||c!=u)&&s.extend&&s.extend(l,c)}catch{}return null!=h&&(s.caretBidiLevel=h),w}):"left"==e||"backward"==e?o:a}(n,t,e))}(this,e||this.state,t)}pasteHTML(t,e){return um(this,"",t,!1,e||new ClipboardEvent("paste"))}pasteText(t,e){return um(this,t,null,!0,e||new ClipboardEvent("paste"))}destroy(){this.docView&&(function u1e(n){n.domObserver.stop();for(let t in n.input.eventHandlers)n.dom.removeEventListener(t,n.input.eventHandlers[t]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],zk(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(t){return function f1e(n,t){!Nk(n,t)&&Zi[t.type]&&(n.editable||!(t.type in er))&&Zi[t.type](n,t)}(this,t)}dispatch(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){return Ji&&11===this.root.nodeType&&function yxe(n){let t=n.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom?function F1e(n){let t;function e(l){l.preventDefault(),l.stopImmediatePropagation(),t=l.getTargetRanges()[0]}n.dom.addEventListener("beforeinput",e,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",e,!0);let i=t.startContainer,r=t.startOffset,o=t.endContainer,a=t.endOffset,s=n.domAtPos(n.state.selection.anchor);return Ac(s.node,s.offset,o,a)&&([i,r,o,a]=[o,a,i,r]),{anchorNode:i,anchorOffset:r,focusNode:o,focusOffset:a}}(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function Az(n){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(n.editable),n.someProp("attributes",e=>{if("function"==typeof e&&(e=e(n.state)),e)for(let i in e)"class"==i?t.class+=" "+e[i]:"style"==i?t.style=(t.style?t.style+";":"")+e[i]:!t[i]&&"contenteditable"!=i&&"nodeName"!=i&&(t[i]=String(e[i]))}),t.translate||(t.translate="no"),[_r.node(0,n.state.doc.content.size,t)]}function Iz(n){if(n.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),n.cursorWrapper={dom:t,deco:_r.widget(n.state.selection.head,t,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function Oz(n){return!n.someProp("editable",t=>!1===t(n.state))}function Rz(n){let t=Object.create(null);function e(i){for(let r in i)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=i[r])}return n.someProp("nodeViews",e),n.someProp("markViews",e),t}function Nz(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var pl={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},dy={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},q1e=typeof navigator<"u"&&/Mac/.test(navigator.platform),W1e=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),mi=0;mi<10;mi++)pl[48+mi]=pl[96+mi]=String(mi);for(mi=1;mi<=24;mi++)pl[mi+111]="F"+mi;for(mi=65;mi<=90;mi++)pl[mi]=String.fromCharCode(mi+32),dy[mi]=String.fromCharCode(mi);for(var $k in pl)dy.hasOwnProperty($k)||(dy[$k]=pl[$k]);const K1e=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function Q1e(n){let i,r,o,a,t=n.split(/-(?!$)/),e=t[t.length-1];"Space"==e&&(e=" ");for(let s=0;s127)&&(o=pl[i.keyCode])&&o!=r){let s=t[jk(o,i)];if(s&&s(e.state,e.dispatch,e))return!0}}return!1}}var qk,Wk;if(typeof WeakMap<"u"){let n=new WeakMap;qk=t=>n.get(t),Wk=(t,e)=>(n.set(t,e),e)}else{const n=[];let e=0;qk=i=>{for(let r=0;r(10==e&&(e=0),n[e++]=i,n[e++]=r)}var ln=class{constructor(n,t,e,i){this.width=n,this.height=t,this.map=e,this.problems=i}findCell(n){for(let t=0;ti&&(o+=c.attrs.colspan)}}for(let a=0;a1&&(e=!0)}-1==t?t=o:t!=o&&(t=Math.max(t,o))}return t}(n),e=n.childCount,i=[];let r=0,o=null;const a=[];for(let c=0,d=t*e;c=e){(o||(o=[])).push({type:"overlong_rowspan",pos:d,n:k-M});break}const A=r+M*t;for(let O=0;O0;t--)if("row"==n.node(t).type.spec.tableRole)return n.node(0).resolve(n.before(t+1));return null}function oo(n){const t=n.selection.$head;for(let e=t.depth;e>0;e--)if("row"==t.node(e).type.spec.tableRole)return!0;return!1}function fm(n){const t=n.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&"cell"==t.node.type.spec.tableRole)return t.$anchor;const e=oh(t.$head)||function iDe(n){for(let t=n.nodeAfter,e=n.pos;t;t=t.firstChild,e++){const i=t.type.spec.tableRole;if("cell"==i||"header_cell"==i)return n.doc.resolve(e)}for(let t=n.nodeBefore,e=n.pos;t;t=t.lastChild,e--){const i=t.type.spec.tableRole;if("cell"==i||"header_cell"==i)return n.doc.resolve(e-t.nodeSize)}}(t.$head);if(e)return e;throw new RangeError(`No cell found around position ${t.head}`)}function Yk(n){return"row"==n.parent.type.spec.tableRole&&!!n.nodeAfter}function Kk(n,t){return n.depth==t.depth&&n.pos>=t.start(-1)&&n.pos<=t.end(-1)}function Lz(n,t,e){const i=n.node(-1),r=ln.get(i),o=n.start(-1),a=r.nextCell(n.pos-o,t,e);return null==a?null:n.node(0).resolve(o+a)}function Bc(n,t,e=1){const i={...n,colspan:n.colspan-e};return i.colwidth&&(i.colwidth=i.colwidth.slice(),i.colwidth.splice(t,e),i.colwidth.some(r=>r>0)||(i.colwidth=null)),i}function Bz(n,t,e=1){const i={...n,colspan:n.colspan+e};if(i.colwidth){i.colwidth=i.colwidth.slice();for(let r=0;rc!=t.pos-r);s.unshift(t.pos-r);const l=s.map(c=>{const d=e.nodeAt(c);if(!d)throw RangeError(`No cell with offset ${c} found`);const u=r+c+1;return new g6(a.resolve(u),a.resolve(u+d.content.size))});super(l[0].$from,l[0].$to,l),this.$anchorCell=n,this.$headCell=t}map(n,t){const e=n.resolve(t.map(this.$anchorCell.pos)),i=n.resolve(t.map(this.$headCell.pos));if(Yk(e)&&Yk(i)&&Kk(e,i)){const r=this.$anchorCell.node(-1)!=e.node(-1);return r&&this.isRowSelection()?Et.rowSelection(e,i):r&&this.isColSelection()?Et.colSelection(e,i):new Et(e,i)}return ht.between(e,i)}content(){const n=this.$anchorCell.node(-1),t=ln.get(n),e=this.$anchorCell.start(-1),i=t.rectBetween(this.$anchorCell.pos-e,this.$headCell.pos-e),r={},o=[];for(let s=i.top;s0||y>0){let w=p.attrs;if(v>0&&(w=Bc(w,0,v)),y>0&&(w=Bc(w,w.colspan-y,y)),h.lefti.bottom){const w={...p.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};p=h.top0)&&Math.max(n+this.$anchorCell.nodeAfter.attrs.rowspan,t+this.$headCell.nodeAfter.attrs.rowspan)==this.$headCell.node(-1).childCount}static colSelection(n,t=n){const e=n.node(-1),i=ln.get(e),r=n.start(-1),o=i.findCell(n.pos-r),a=i.findCell(t.pos-r),s=n.node(0);return o.top<=a.top?(o.top>0&&(n=s.resolve(r+i.map[o.left])),a.bottom0&&(t=s.resolve(r+i.map[a.left])),o.bottom0)&&Math.max(i+this.$anchorCell.nodeAfter.attrs.colspan,r+this.$headCell.nodeAfter.attrs.colspan)==t.width}eq(n){return n instanceof Et&&n.$anchorCell.pos==this.$anchorCell.pos&&n.$headCell.pos==this.$headCell.pos}static rowSelection(n,t=n){const e=n.node(-1),i=ln.get(e),r=n.start(-1),o=i.findCell(n.pos-r),a=i.findCell(t.pos-r),s=n.node(0);return o.left<=a.left?(o.left>0&&(n=s.resolve(r+i.map[o.top*i.width])),a.right0&&(t=s.resolve(r+i.map[a.top*i.width])),o.right{t.push(_r.node(i,i+e.nodeSize,{class:"selectedCell"}))}),In.create(n.doc,t)}var dDe=new rm("fix-tables");function zz(n,t,e,i){const r=n.childCount,o=t.childCount;e:for(let a=0,s=0;a{"table"==r.type.spec.tableRole&&(e=function hDe(n,t,e,i){const r=ln.get(t);if(!r.problems)return i;i||(i=n.tr);const o=[];for(let l=0;l0){let p="cell";d.firstChild&&(p=d.firstChild.type.spec.tableRole);const v=[];for(let w=0;wt.width)for(let u=0,h=0;ut.height){const u=[];for(let v=0,y=(t.height-1)*t.width;v=t.width)&&e.nodeAt(t.map[y+v]).type==l.header_cell;u.push(w?d||(d=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const h=l.row.create(null,Z.from(u)),p=[];for(let v=t.height;v{if(!r)return!1;const o=e.selection;if(o instanceof Et)return uy(e,i,et.near(o.$headCell,t));if("horiz"!=n&&!o.empty)return!1;const a=Uz(r,n,t);if(null==a)return!1;if("horiz"==n)return uy(e,i,et.near(e.doc.resolve(o.head+t),t));{const s=e.doc.resolve(a),l=Lz(s,n,t);let c;return c=l?et.near(l,1):t<0?et.near(e.doc.resolve(s.before(-1)),-1):et.near(e.doc.resolve(s.after(-1)),1),uy(e,i,c)}}}function fy(n,t){return(e,i,r)=>{if(!r)return!1;const o=e.selection;let a;if(o instanceof Et)a=o;else{const l=Uz(r,n,t);if(null==l)return!1;a=new Et(e.doc.resolve(l))}const s=Lz(a.$headCell,n,t);return!!s&&uy(e,i,new Et(a.$anchorCell,s))}}function py(n,t){const e=n.selection;if(!(e instanceof Et))return!1;if(t){const i=n.tr,r=gi(n.schema).cell.createAndFill().content;e.forEachCell((o,a)=>{o.content.eq(r)||i.replace(i.mapping.map(a+1),i.mapping.map(a+o.nodeSize-1),new pe(r,0,0))}),i.docChanged&&t(i)}return!0}function bDe(n,t){const i=oh(n.state.doc.resolve(t));return!!i&&(n.dispatch(n.state.tr.setSelection(new Et(i))),!0)}function vDe(n,t,e){if(!oo(n.state))return!1;let i=function fDe(n){if(!n.size)return null;let{content:t,openStart:e,openEnd:i}=n;for(;1==t.childCount&&(e>0&&i>0||"table"==t.child(0).type.spec.tableRole);)e--,i--,t=t.child(0).content;const r=t.child(0),o=r.type.spec.tableRole,a=r.type.schema,s=[];if("row"==o)for(let l=0;l=0;a--){const{rowspan:s,colspan:l}=o.child(a).attrs;for(let c=r;c=t.length&&t.push(Z.empty),e[r]i&&(h=h.type.createChecked(Bc(h.attrs,h.attrs.colspan,d+h.attrs.colspan-i),h.content)),c.push(h),d+=h.attrs.colspan;for(let p=1;pr&&(u=u.type.create({...u.attrs,rowspan:Math.max(1,r-u.attrs.rowspan)},u.content)),l.push(u)}o.push(Z.from(l))}e=o,t=r}return{width:n,height:t,rows:e}}(i,s.right-s.left,s.bottom-s.top),jz(n.state,n.dispatch,a,s,i),!0}if(i){const o=fm(n.state),a=o.start(-1);return jz(n.state,n.dispatch,a,ln.get(o.node(-1)).findCell(o.pos-a),i),!0}return!1}function yDe(n,t){var e;if(t.ctrlKey||t.metaKey)return;const i=Gz(n,t.target);let r;if(t.shiftKey&&n.state.selection instanceof Et)o(n.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&i&&null!=(r=oh(n.state.selection.$anchor))&&(null==(e=Xk(n,t))?void 0:e.pos)!=r.pos)o(r,t),t.preventDefault();else if(!i)return;function o(l,c){let d=Xk(n,c);const u=null==ml.getState(n.state);if(!d||!Kk(l,d)){if(!u)return;d=l}const h=new Et(l,d);if(u||!n.state.selection.eq(h)){const p=n.state.tr.setSelection(h);u&&p.setMeta(ml,l.pos),n.dispatch(p)}}function a(){n.root.removeEventListener("mouseup",a),n.root.removeEventListener("dragstart",a),n.root.removeEventListener("mousemove",s),null!=ml.getState(n.state)&&n.dispatch(n.state.tr.setMeta(ml,-1))}function s(l){const c=l,d=ml.getState(n.state);let u;if(null!=d)u=n.state.doc.resolve(d);else if(Gz(n,c.target)!=i&&(u=Xk(n,t),!u))return a();u&&o(u,c)}n.root.addEventListener("mouseup",a),n.root.addEventListener("dragstart",a),n.root.addEventListener("mousemove",s)}function Uz(n,t,e){if(!(n.state.selection instanceof ht))return null;const{$head:i}=n.state.selection;for(let r=i.depth-1;r>=0;r--){const o=i.node(r);if((e<0?i.index(r):i.indexAfter(r))!=(e<0?0:o.childCount))return null;if("cell"==o.type.spec.tableRole||"header_cell"==o.type.spec.tableRole){const s=i.before(r);return n.endOfTextblock("vert"==t?e>0?"down":"up":e>0?"right":"left")?s:null}}return null}function Gz(n,t){for(;t&&t!=n.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t;return null}function Xk(n,t){const e=n.posAtCoords({left:t.clientX,top:t.clientY});return e&&e?oh(n.state.doc.resolve(e.pos)):null}function va(n){const t=n.selection,e=fm(n),i=e.node(-1),r=e.start(-1),o=ln.get(i);return{...t instanceof Et?o.rectBetween(t.$anchorCell.pos-r,t.$headCell.pos-r):o.findCell(e.pos-r),tableStart:r,map:o,table:i}}function Kz(n,{map:t,tableStart:e,table:i},r){let o=r>0?-1:0;(function oDe(n,t,e){const i=gi(t.type.schema).header_cell;for(let r=0;r0&&r0&&t.map[s-1]==l||r0?-1:0;(function FDe(n,t,e){var i;const r=gi(t.type.schema).header_cell;for(let o=0;o0&&r0&&d==t.map[c-t.width]){const u=e.nodeAt(d).attrs;n.setNodeMarkup(n.mapping.slice(s).map(d+i),null,{...u,rowspan:u.rowspan-1}),l+=u.colspan-1}else if(r0&&e[o]==e[o-1]||i.right0&&e[r]==e[r-n]||i.bottom{var i;const r=t.selection;let o,a;if(r instanceof Et){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;o=r.$anchorCell.nodeAfter,a=r.$anchorCell.pos}else{if(o=function nDe(n){for(let t=n.depth;t>0;t--){const e=n.node(t).type.spec.tableRole;if("cell"===e||"header_cell"===e)return n.node(t)}return null}(r.$from),!o)return!1;a=null==(i=oh(r.$from))?void 0:i.pos}if(null==o||null==a||1==o.attrs.colspan&&1==o.attrs.rowspan)return!1;if(e){let s=o.attrs;const l=[],c=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const d=va(t),u=t.tr;for(let p=0;pe[i.type.spec.tableRole])(n,t)}function Jz(n,t,e){const i=t.map.cellsInRect({left:0,top:0,right:"row"==n?t.map.width:1,bottom:"column"==n?t.map.height:1});for(let r=0;rr.table.nodeAt(l));for(let l=0;l{const v=p+o.tableStart,y=a.doc.nodeAt(v);y&&a.setNodeMarkup(v,h,y.attrs)}),i(a)}return!0}}new rm("tableColumnResizing");var qDe=Zk("row",{useDeprecatedLogic:!0}),WDe=Zk("column",{useDeprecatedLogic:!0}),YDe=Zk("cell",{useDeprecatedLogic:!0});function Zz(n){return function(t,e){if(!oo(t))return!1;const i=function KDe(n,t){if(t<0){const e=n.nodeBefore;if(e)return n.pos-e.nodeSize;for(let i=n.index(-1)-1,r=n.before();i>=0;i--){const o=n.node(-1).child(i),a=o.lastChild;if(a)return r-1-a.nodeSize;r-=o.nodeSize}}else{if(n.index()0;i--)if("table"==e.node(i).type.spec.tableRole)return t&&t(n.tr.delete(e.before(i),e.after(i)).scrollIntoView()),!0;return!1}let eH=(()=>{class n{constructor(e){this.document=e;const i=this;this.plugin=new ls({state:{init:()=>In.empty,apply(r,o){o=o.map(r.mapping,r.doc);const a=r.getMeta(i.plugin);if(a&&a.add){const s=e.createElement("placeholder"),l=_r.widget(a.add.pos,s,{id:a.add.id});o=o.add(r.doc,[l])}else a&&a.remove&&(o=o.remove(o.find(void 0,void 0,s=>s.id===a.remove.id)));return o}},props:{decorations(r){return this.getState(r)}}})}findPlaceholder(e,i){const o=this.plugin.getState(e)?.find(void 0,void 0,a=>a.id===i);return o?.length?o[0].from:null}startImageUpload(e,i,r,o){const a={},s=e.state.tr;s.selection.empty||s.deleteSelection(),s.setMeta(this.plugin,{add:{id:a,pos:s.selection.from}}),e.dispatch(s),r(i).subscribe({next:l=>{const c=this.findPlaceholder(e.state,a);null!==c&&e.dispatch(e.state.tr.replaceWith(c,c,o.nodes.image.create({src:l})).setMeta(this.plugin,{remove:{id:a}}))},error:()=>{e?.dispatch(s.setMeta(this.plugin,{remove:{id:a}}))}})}}return n.\u0275fac=function(e){return new(e||n)(I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const JDe=["p",0],ZDe=["blockquote",0],eSe=["hr"],tSe=["pre",["code",0]],nSe=["br"],Vc={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:()=>JDe},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM:()=>ZDe},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM:()=>eSe},heading:{attrs:{level:{default:1}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM:n=>["h"+n.attrs.level,0]},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM:()=>tSe},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs:n=>({src:n.getAttribute("src"),title:n.getAttribute("title"),alt:n.getAttribute("alt")})}],toDOM(n){let{src:t,alt:e,title:i}=n.attrs;return["img",{src:t,alt:e,title:i}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:()=>nSe}},iSe=["em",0],rSe=["strong",0],oSe=["code",0],gy={link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:n=>({href:n.getAttribute("href"),title:n.getAttribute("title")})}],toDOM(n){let{href:t,title:e}=n.attrs;return["a",{href:t,title:e},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:n=>"em"==n.type.name}],toDOM:()=>iSe},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:n=>"normal"!=n.style.fontWeight&&null},{style:"font-weight=400",clearMark:n=>"strong"==n.type.name},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}],toDOM:()=>rSe},code:{parseDOM:[{tag:"code"}],toDOM:()=>oSe}},aSe=(new Jp({nodes:Vc,marks:gy}),["ol",0]),sSe=["ul",0],lSe=["li",0],cSe={attrs:{order:{default:1}},parseDOM:[{tag:"ol",getAttrs:n=>({order:n.hasAttribute("start")?+n.getAttribute("start"):1})}],toDOM:n=>1==n.attrs.order?aSe:["ol",{start:n.attrs.order},0]},dSe={parseDOM:[{tag:"ul"}],toDOM:()=>sSe},uSe={parseDOM:[{tag:"li"}],toDOM:()=>lSe,defining:!0};function eE(n,t){let e={};for(let i in n)e[i]=n[i];for(let i in t)e[i]=t[i];return e}function tH(n,t,e){return n.append({ordered_list:eE(cSe,{content:"list_item+",group:e}),bullet_list:eE(dSe,{content:"list_item+",group:e}),list_item:eE(uSe,{content:t})})}function tE(n,t=null){return function(e,i){let{$from:r,$to:o}=e.selection,a=r.blockRange(o),s=!1,l=a;if(!a)return!1;if(a.depth>=2&&r.node(a.depth-1).type.compatibleContent(n)&&0==a.startIndex){if(0==r.index(a.depth-1))return!1;let d=e.doc.resolve(a.start-2);l=new Wv(d,d,a.depth),a.endIndex=0;d--)o=Z.from(e[d].type.create(e[d].attrs,o));n.step(new pi(t.start-(i?2:0),t.end,t.start,t.end,new pe(o,0,0),e.length,!0));let a=0;for(let d=0;d{if(!(n instanceof HTMLElement))return null;const{textAlign:t}=n.style;let e=n.getAttribute("align")||t||"";e=bSe.test(e)?e:null;const i=n.getAttribute("id")||"";return{align:e,class:n.className,id:i}}}],toDOM:n=>{const{align:t,id:e}=n.attrs,i={};let r="";return t&&"left"!==t&&(r+=`text-align: ${t};`),r&&(i.style=r),e&&(i.id=e),n.attrs.class&&(i.class=n.attrs.class),["p",i,0]}},ah=function(n){return t=>{if(!(t instanceof HTMLElement))return null;const e=t.getAttribute("id")||null;return{level:n,class:t.className,id:e}}},vSe={attrs:{level:{default:1},class:{default:null},id:{default:null}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",getAttrs:ah(1)},{tag:"h2",getAttrs:ah(2)},{tag:"h3",getAttrs:ah(3)},{tag:"h4",getAttrs:ah(4)},{tag:"h5",getAttrs:ah(5)},{tag:"h6",getAttrs:ah(6)}],toDOM:n=>{const{id:t}=n.attrs,e={};return t&&(e.id=t),n.attrs.class&&(e.class=n.attrs.class),["h"+n.attrs.level,e,0]}};function nH(n,t){if(!(n instanceof HTMLElement))return null;const e=n.getAttribute("data-colwidth"),i=e&&/^\d+(,\d+)*$/.test(e)?e.split(",").map(a=>Number(a)):null,r=Number(n.getAttribute("colspan")||1),o={colspan:r,rowspan:Number(n.getAttribute("rowspan")||1),colwidth:i&&i.length==r?i:null};for(const a in t){const s=t[a].getFromDOM,l=s&&s(n);null!=l&&(o[a]=l)}return o}function iH(n,t){const e={};1!=n.attrs.colspan&&(e.colspan=n.attrs.colspan),1!=n.attrs.rowspan&&(e.rowspan=n.attrs.rowspan),n.attrs.colwidth&&(e["data-colwidth"]=n.attrs.colwidth.join(","));for(const i in t){const r=t[i].setDOMAttr;r&&r(n.attrs[i],e)}return e}const iE={link:gy.link,em:gy.em,strong:gy.strong},rH=new Jp({nodes:{doc:Vc.doc,paragraph:Vc.paragraph,heading:Vc.heading,text:Vc.text,hard_break:Vc.hard_break},marks:iE}),oH=new Jp({nodes:tH(rH.spec.nodes,"paragraph block*","block"),marks:rH.spec.marks}),wSe=new Jp({nodes:{...Vc,heading:vSe,...function ySe(n){const t=n.cellAttributes||{},e={colspan:{default:1},rowspan:{default:1},colwidth:{default:null}};for(const i in t)e[i]={default:t[i].default};return{table:{attrs:{class:{default:null},id:{default:""}},content:"table_row+",tableRole:"table",isolating:!0,group:n.tableGroup,parseDOM:[{tag:"table",getAttrs:i=>i instanceof HTMLElement?{class:i.className,id:i.id}:null}],toDOM:i=>{const r={};return i.attrs.class&&(r.class=i.attrs.class),i.attrs.id&&(r.id=i.attrs.id),["table",r,["tbody",0]]}},table_row:{content:"(table_cell | table_header)*",tableRole:"row",parseDOM:[{tag:"tr"}],toDOM:()=>["tr",0]},table_cell:{content:n.cellContent,attrs:e,tableRole:"cell",isolating:!0,parseDOM:[{tag:"td",getAttrs:i=>nH(i,t)}],toDOM:i=>["td",iH(i,t),0]},table_header:{content:n.cellContent,attrs:e,tableRole:"header_cell",isolating:!0,parseDOM:[{tag:"th",getAttrs:i=>nH(i,t)}],toDOM:i=>["th",iH(i,t),0]}}}({tableGroup:"block",cellContent:"block+",cellAttributes:{background:{default:null,getFromDOM:n=>n.style.backgroundColor||null,setDOMAttr(n,t){n&&(t.style=(t.style||"")+`background-color: ${n};`)}}}}),paragraph:nE},marks:iE}),aH=new Jp({nodes:tH(wSe.spec.nodes,"paragraph block*","block"),marks:iE});function sH(n,t){if("string"==typeof t)n.appendChild(document.createTextNode(t));else if(null!=t)if(null!=t.nodeType)n.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var e=0;e!n.selection.empty&&(t&&t(n.tr.deleteSelection().scrollIntoView()),!0);function sh(n,t,e=!1){for(let i=n;i;i="start"==t?i.firstChild:i.lastChild){if(i.isTextblock)return!0;if(e&&1!=i.childCount)return!1}return!1}function rE(n){if(!n.parent.type.spec.isolating)for(let t=n.depth-1;t>=0;t--){if(n.index(t)>0)return n.doc.resolve(n.before(t+1));if(n.node(t).type.spec.isolating)break}return null}function oE(n){if(!n.parent.type.spec.isolating)for(let t=n.depth-1;t>=0;t--){let e=n.node(t);if(n.index(t)+1{let r,e=n.selection,i=e instanceof $e;if(i){if(e.node.isTextblock||!Ku(n.doc,e.from))return!1;r=e.from}else if(r=c6(n.doc,e.from,-1),null==r)return!1;if(t){let o=n.tr.join(r);i&&o.setSelection($e.create(o.doc,r-n.doc.resolve(r).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0},MSe=(n,t)=>{let i,e=n.selection;if(e instanceof $e){if(e.node.isTextblock||!Ku(n.doc,e.to))return!1;i=e.to}else if(i=c6(n.doc,e.to,1),null==i)return!1;return t&&t(n.tr.join(i).scrollIntoView()),!0},sE=(n,t)=>{let{$from:e,$to:i}=n.selection,r=e.blockRange(i),o=r&&em(r);return null!=o&&(t&&t(n.tr.lift(r,o).scrollIntoView()),!0)};function lE(n){for(let t=0;t{let{$head:e,$anchor:i}=n.selection;if(!e.parent.type.spec.code||!e.sameParent(i))return!1;let r=e.node(-1),o=e.indexAfter(-1),a=lE(r.contentMatchAt(o));if(!a||!r.canReplaceWith(o,o,a))return!1;if(t){let s=e.after(),l=n.tr.replaceWith(s,s,a.createAndFill());l.setSelection(et.near(l.doc.resolve(s),1)),t(l.scrollIntoView())}return!0},fH=function OSe(n){return(t,e)=>{let{$from:i,$to:r}=t.selection;if(t.selection instanceof $e&&t.selection.node.isBlock)return!(!i.parentOffset||!Yu(t.doc,i.pos)||(e&&e(t.tr.split(i.pos).scrollIntoView()),0));if(!i.parent.isBlock)return!1;if(e){let o=r.parentOffset==r.parent.content.size,a=t.tr;(t.selection instanceof ht||t.selection instanceof mr)&&a.deleteSelection();let s=0==i.depth?null:lE(i.node(-1).contentMatchAt(i.indexAfter(-1))),l=n&&n(r.parent,o),c=l?[l]:o&&s?[{type:s}]:void 0,d=Yu(a.doc,a.mapping.map(i.pos),1,c);if(!c&&!d&&Yu(a.doc,a.mapping.map(i.pos),1,s?[{type:s}]:void 0)&&(s&&(c=[{type:s}]),d=!0),d&&(a.split(a.mapping.map(i.pos),1,c),!o&&!i.parentOffset&&i.parent.type!=s)){let u=a.mapping.map(i.before()),h=a.doc.resolve(u);s&&i.node(-1).canReplaceWith(h.index(),h.index()+1,s)&&a.setNodeMarkup(a.mapping.map(i.before()),s)}e(a.scrollIntoView())}return!0}}(),cE=(n,t)=>{let r,{$from:e,to:i}=n.selection,o=e.sharedDepth(i);return 0!=o&&(r=e.before(o),t&&t(n.tr.setSelection($e.create(n.doc,r))),!0)};function pH(n,t,e){let o,a,i=t.nodeBefore,r=t.nodeAfter;if(i.type.spec.isolating||r.type.spec.isolating)return!1;if(function NSe(n,t,e){let i=t.nodeBefore,r=t.nodeAfter,o=t.index();return!(!(i&&r&&i.type.compatibleContent(r.type))||(!i.content.size&&t.parent.canReplace(o-1,o)?(e&&e(n.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(o,o+1)||!r.isTextblock&&!Ku(n.doc,t.pos)||(e&&e(n.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),0)))}(n,t,e))return!0;let s=t.parent.canReplace(t.index(),t.index()+1);if(s&&(o=(a=i.contentMatchAt(i.childCount)).findWrapping(r.type))&&a.matchType(o[0]||r.type).validEnd){if(e){let u=t.pos+r.nodeSize,h=Z.empty;for(let y=o.length-1;y>=0;y--)h=Z.from(o[y].create(null,h));h=Z.from(i.copy(h));let p=n.tr.step(new pi(t.pos-1,u,t.pos,u,new pe(h,1,0),o.length,!0)),v=u+2*o.length;Ku(p.doc,v)&&p.join(v),e(p.scrollIntoView())}return!0}let l=et.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),d=c&&em(c);if(null!=d&&d>=t.depth)return e&&e(n.tr.lift(c,d).scrollIntoView()),!0;if(s&&sh(r,"start",!0)&&sh(i,"end")){let u=i,h=[];for(;h.push(u),!u.isTextblock;)u=u.lastChild;let p=r,v=1;for(;!p.isTextblock;p=p.firstChild)v++;if(u.canReplace(u.childCount,u.childCount,p.content)){if(e){let y=Z.empty;for(let k=h.length-1;k>=0;k--)y=Z.from(h[k].copy(y));e(n.tr.step(new pi(t.pos-h.length,t.pos+r.nodeSize,t.pos+v,t.pos+r.nodeSize-v,new pe(y,h.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function mH(n){return function(t,e){let i=t.selection,r=n<0?i.$from:i.$to,o=r.depth;for(;r.node(o).isInline;){if(!o)return!1;o--}return!!r.node(o).isTextblock&&(e&&e(t.tr.setSelection(ht.create(t.doc,n<0?r.start(o):r.end(o)))),!0)}}const FSe=mH(-1),PSe=mH(1);function dE(n,t=null){return function(e,i){let{$from:r,$to:o}=e.selection,a=r.blockRange(o),s=a&&uk(a,n,t);return!!s&&(i&&i(e.tr.wrap(a,s).scrollIntoView()),!0)}}function _y(n,t=null){return function(e,i){let r=!1;for(let o=0;o{if(r)return!1;if(l.isTextblock&&!l.hasMarkup(n,t))if(l.type==n)r=!0;else{let d=e.doc.resolve(c),u=d.index();r=d.parent.canReplaceWith(u,u+1,n)}})}if(!r)return!1;if(i){let o=e.tr;for(let a=0;a{if(a)return!1;a=s.inlineContent&&s.type.allowsMarkType(e)}),a)return!0}return!1}(e.doc,a,n))return!1;if(i)if(o)n.isInSet(e.storedMarks||o.marks())?i(e.tr.removeStoredMark(n)):i(e.tr.addStoredMark(n.create(t)));else{let s=!1,l=e.tr;for(let c=0;!s&&c{let i=function cH(n,t){let{$cursor:e}=n.selection;return!e||(t?!t.endOfTextblock("backward",n):e.parentOffset>0)?null:e}(n,e);if(!i)return!1;let r=rE(i);if(!r){let a=i.blockRange(),s=a&&em(a);return null!=s&&(t&&t(n.tr.lift(a,s).scrollIntoView()),!0)}let o=r.nodeBefore;if(!o.type.spec.isolating&&pH(n,r,t))return!0;if(0==i.parent.content.size&&(sh(o,"end")||$e.isSelectable(o))){let a=hk(n.doc,i.before(),i.after(),pe.empty);if(a&&a.slice.size{let{$head:i,empty:r}=n.selection,o=i;if(!r)return!1;if(i.parent.isTextblock){if(e?!e.endOfTextblock("backward",n):i.parentOffset>0)return!1;o=rE(i)}let a=o&&o.nodeBefore;return!(!a||!$e.isSelectable(a)||(t&&t(n.tr.setSelection($e.create(n.doc,o.pos-a.nodeSize)).scrollIntoView()),0))}),gH=by(lH,(n,t,e)=>{let i=function uH(n,t){let{$cursor:e}=n.selection;return!e||(t?!t.endOfTextblock("forward",n):e.parentOffset{let{$head:i,empty:r}=n.selection,o=i;if(!r)return!1;if(i.parent.isTextblock){if(e?!e.endOfTextblock("forward",n):i.parentOffset{let{$head:e,$anchor:i}=n.selection;return!(!e.parent.type.spec.code||!e.sameParent(i)||(t&&t(n.tr.insertText("\n").scrollIntoView()),0))},(n,t)=>{let e=n.selection,{$from:i,$to:r}=e;if(e instanceof mr||i.parent.inlineContent||r.parent.inlineContent)return!1;let o=lE(r.parent.contentMatchAt(r.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let a=(!i.parentOffset&&r.index(){let{$cursor:e}=n.selection;if(!e||e.parent.content.size)return!1;if(e.depth>1&&e.after()!=e.end(-1)){let o=e.before();if(Yu(n.doc,o))return t&&t(n.tr.split(o).scrollIntoView()),!0}let i=e.blockRange(),r=i&&em(i);return null!=r&&(t&&t(n.tr.lift(i,r).scrollIntoView()),!0)},fH),"Mod-Enter":hH,Backspace:uE,"Mod-Backspace":uE,"Shift-Backspace":uE,Delete:gH,"Mod-Delete":gH,"Mod-a":(n,t)=>(t&&t(n.tr.setSelection(new mr(n.doc))),!0)},_H={"Ctrl-h":us.Backspace,"Alt-Backspace":us["Mod-Backspace"],"Ctrl-d":us.Delete,"Ctrl-Alt-Backspace":us["Mod-Delete"],"Alt-Delete":us["Mod-Delete"],"Alt-d":us["Mod-Delete"],"Ctrl-a":FSe,"Ctrl-e":PSe};for(let n in us)_H[n]=us[n];const VSe=(typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&"darwin"==os.platform())?_H:us;var _i=function(){};_i.prototype.append=function(t){return t.length?(t=_i.from(t),!this.length&&t||t.length<200&&this.leafAppend(t)||this.length<200&&t.leafPrepend(this)||this.appendInner(t)):this},_i.prototype.prepend=function(t){return t.length?_i.from(t).append(this):this},_i.prototype.appendInner=function(t){return new zSe(this,t)},_i.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e?_i.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},_i.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},_i.prototype.forEach=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=this.length),e<=i?this.forEachInner(t,e,i,0):this.forEachInvertedInner(t,e,i,0)},_i.prototype.map=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=this.length);var r=[];return this.forEach(function(o,a){return r.push(t(o,a))},e,i),r},_i.from=function(t){return t instanceof _i?t:t&&t.length?new bH(t):_i.empty};var bH=function(n){function t(i){n.call(this),this.values=i}n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t;var e={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,o){return 0==r&&o==this.length?this:new t(this.values.slice(r,o))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,o,a,s){for(var l=o;l=a;l--)if(!1===r(this.values[l],s+l))return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=200)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=200)return new t(r.flatten().concat(this.values))},e.length.get=function(){return this.values.length},e.depth.get=function(){return 0},Object.defineProperties(t.prototype,e),t}(_i);_i.empty=new bH([]);var zSe=function(n){function t(e,i){n.call(this),this.left=e,this.right=i,this.length=e.length+i.length,this.depth=Math.max(e.depth,i.depth)+1}return n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(i){return is&&!1===this.right.forEachInner(i,Math.max(r-s,0),Math.min(this.length,o)-s,a+s))return!1},t.prototype.forEachInvertedInner=function(i,r,o,a){var s=this.left.length;if(r>s&&!1===this.right.forEachInvertedInner(i,r-s,Math.max(o,s)-s,a+s)||o=o?this.right.slice(i-o,r-o):this.left.slice(i,o).append(this.right.slice(0,r-o))},t.prototype.leafAppend=function(i){var r=this.right.leafAppend(i);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(i){var r=this.left.leafPrepend(i);if(r)return new t(r,this.right)},t.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new t(this.left,new t(this.right,i)):new t(this,i)},t}(_i);const vH=_i;class Fo{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){if(0==this.eventCount)return null;let r,o,i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}e&&(r=this.remapping(i,this.items.length),o=r.maps.length);let s,l,a=t.tr,c=[],d=[];return this.items.forEach((u,h)=>{if(!u.step)return r||(r=this.remapping(i,h+1),o=r.maps.length),o--,void d.push(u);if(r){d.push(new ya(u.map));let v,p=u.step.map(r.slice(o));p&&a.maybeStep(p).doc&&(v=a.mapping.maps[a.mapping.maps.length-1],c.push(new ya(v,void 0,void 0,c.length+d.length))),o--,v&&r.appendMap(v,o)}else a.maybeStep(u.step);return u.selection?(s=r?u.selection.map(r.slice(o)):u.selection,l=new Fo(this.items.slice(0,i).append(d.reverse().concat(c)),this.eventCount-1),!1):void 0},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,e,i,r){let o=[],a=this.eventCount,s=this.items,l=!r&&s.length?s.get(s.length-1):null;for(let d=0;djSe&&(s=function $Se(n,t){let e;return n.forEach((i,r)=>{if(i.selection&&0==t--)return e=r,!1}),n.slice(e)}(s,c),a-=c),new Fo(s.append(o),a)}remapping(t,e){let i=new qu;return this.items.forEach((r,o)=>{i.appendMap(r.map,null!=r.mirrorOffset&&o-r.mirrorOffset>=t?i.maps.length-r.mirrorOffset:void 0)},t,e),i}addMaps(t){return 0==this.eventCount?this:new Fo(this.items.append(t.map(e=>new ya(e))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this;let i=[],r=Math.max(0,this.items.length-e),o=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(h=>{h.selection&&s--},r);let l=e;this.items.forEach(h=>{let p=o.getMirror(--l);if(null==p)return;a=Math.min(a,p);let v=o.maps[p];if(h.step){let y=t.steps[p].invert(t.docs[p]),w=h.selection&&h.selection.map(o.slice(l+1,p));w&&s++,i.push(new ya(v,y,w))}else i.push(new ya(v))},r);let c=[];for(let h=e;h500&&(u=u.compress(this.items.length-i.length)),u}emptyItemCount(){let t=0;return this.items.forEach(e=>{e.step||t++}),t}compress(t=this.items.length){let e=this.remapping(0,t),i=e.maps.length,r=[],o=0;return this.items.forEach((a,s)=>{if(s>=t)r.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(e.slice(i)),c=l&&l.getMap();if(i--,c&&e.appendMap(c,i),l){let d=a.selection&&a.selection.map(e.slice(i));d&&o++;let h,u=new ya(c.invert(),l,d),p=r.length-1;(h=r.length&&r[p].merge(u))?r[p]=h:r.push(u)}}else a.map&&i--},this.items.length,0),new Fo(vH.from(r.reverse()),o)}}Fo.empty=new Fo(vH.empty,0);class ya{constructor(t,e,i,r){this.map=t,this.step=e,this.selection=i,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step);if(e)return new ya(e.getMap().invert(),e,this.selection)}}}class _l{constructor(t,e,i,r,o){this.done=t,this.undone=e,this.prevRanges=i,this.prevTime=r,this.prevComposition=o}}const jSe=20;function yH(n){let t=[];return n.forEach((e,i,r,o)=>t.push(r,o)),t}function hE(n,t){if(!n)return null;let e=[];for(let i=0;inew _l(Fo.empty,Fo.empty,null,0,-1),apply:(t,e,i)=>function USe(n,t,e,i){let o,r=e.getMeta(Ca);if(r)return r.historyState;e.getMeta(xH)&&(n=new _l(n.done,n.undone,null,0,-1));let a=e.getMeta("appendedTransaction");if(0==e.steps.length)return n;if(a&&a.getMeta(Ca))return a.getMeta(Ca).redo?new _l(n.done.addTransform(e,void 0,i,yy(t)),n.undone,yH(e.mapping.maps[e.steps.length-1]),n.prevTime,n.prevComposition):new _l(n.done,n.undone.addTransform(e,void 0,i,yy(t)),null,n.prevTime,n.prevComposition);if(!1===e.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(o=e.getMeta("rebased"))?new _l(n.done.rebased(e,o),n.undone.rebased(e,o),hE(n.prevRanges,e.mapping),n.prevTime,n.prevComposition):new _l(n.done.addMaps(e.mapping.maps),n.undone.addMaps(e.mapping.maps),hE(n.prevRanges,e.mapping),n.prevTime,n.prevComposition);{let s=e.getMeta("composition"),l=0==n.prevTime||!a&&n.prevComposition!=s&&(n.prevTime<(e.time||0)-i.newGroupDelay||!function GSe(n,t){if(!t)return!1;if(!n.docChanged)return!0;let e=!1;return n.mapping.maps[0].forEach((i,r)=>{for(let o=0;o=t[o]&&(e=!0)}),e}(e,n.prevRanges)),c=a?hE(n.prevRanges,e.mapping):yH(e.mapping.maps[e.steps.length-1]);return new _l(n.done.addTransform(e,l?t.selection.getBookmark():void 0,i,yy(t)),Fo.empty,c,e.time,s??n.prevComposition)}}(e,i,t,n)},config:n={depth:n.depth||100,newGroupDelay:n.newGroupDelay||500},props:{handleDOMEvents:{beforeinput(t,e){let i=e.inputType,r="historyUndo"==i?Cy:"historyRedo"==i?pm:null;return!!r&&(e.preventDefault(),r(t.state,t.dispatch))}}}})}const Cy=(n,t)=>{let e=Ca.getState(n);return!(!e||0==e.done.eventCount||(t&&CH(e,n,t,!1),0))},pm=(n,t)=>{let e=Ca.getState(n);return!(!e||0==e.undone.eventCount||(t&&CH(e,n,t,!0),0))},mm="http://www.w3.org/2000/svg",pE="ProseMirror-icon";const br="ProseMirror-menu";class zc{constructor(t){this.spec=t}render(t){let e=this.spec,i=e.render?e.render(t):e.icon?function KSe(n){let t=document.createElement("div");if(t.className=pE,n.path){let{path:e,width:i,height:r}=n,o="pm-icon-"+function YSe(n){let t=0;for(let e=0;e{o.preventDefault(),i.classList.contains(br+"-disabled")||e.run(t.state,t.dispatch,t,o)}),{dom:i,update:function r(o){if(e.select){let s=e.select(o);if(i.style.display=s?"":"none",!s)return!1}let a=!0;if(e.enable&&(a=e.enable(o)||!1,mE(i,br+"-disabled",!a)),e.active){let s=a&&e.active(o)||!1;mE(i,br+"-active",s)}return!0}}}}function gm(n,t){return n._props.translate?n._props.translate(t):t}const bm={join:{width:800,height:900,path:"M0 75h800v125h-800z M0 825h800v-125h-800z M250 400h100v-100h100v100h100v100h-100v100h-100v-100h-100z"},lift:{width:1024,height:1024,path:"M219 310v329q0 7-5 12t-12 5q-8 0-13-5l-164-164q-5-5-5-13t5-13l164-164q5-5 13-5 7 0 12 5t5 12zM1024 749v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12zM1024 530v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 310v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 91v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12z"},selectParentNode:{text:"\u2b1a",css:"font-weight: bold"},undo:{width:1024,height:1024,path:"M761 1024c113-206 132-520-313-509v253l-384-384 384-384v248c534-13 594 472 313 775z"},redo:{width:1024,height:1024,path:"M576 248v-248l384 384-384 384v-253c-446-10-427 303-313 509-280-303-221-789 313-775z"},strong:{width:805,height:1024,path:"M317 869q42 18 80 18 214 0 214-191 0-65-23-102-15-25-35-42t-38-26-46-14-48-6-54-1q-41 0-57 5 0 30-0 90t-0 90q0 4-0 38t-0 55 2 47 6 38zM309 442q24 4 62 4 46 0 81-7t62-25 42-51 14-81q0-40-16-70t-45-46-61-24-70-8q-28 0-74 7 0 28 2 86t2 86q0 15-0 45t-0 45q0 26 0 39zM0 950l1-53q8-2 48-9t60-15q4-6 7-15t4-19 3-18 1-21 0-19v-37q0-561-12-585-2-4-12-8t-25-6-28-4-27-2-17-1l-2-47q56-1 194-6t213-5q13 0 39 0t38 0q40 0 78 7t73 24 61 40 42 59 16 78q0 29-9 54t-22 41-36 32-41 25-48 22q88 20 146 76t58 141q0 57-20 102t-53 74-78 48-93 27-100 8q-25 0-75-1t-75-1q-60 0-175 6t-132 6z"},em:{width:585,height:1024,path:"M0 949l9-48q3-1 46-12t63-21q16-20 23-57 0-4 35-165t65-310 29-169v-14q-13-7-31-10t-39-4-33-3l10-58q18 1 68 3t85 4 68 1q27 0 56-1t69-4 56-3q-2 22-10 50-17 5-58 16t-62 19q-4 10-8 24t-5 22-4 26-3 24q-15 84-50 239t-44 203q-1 5-7 33t-11 51-9 47-3 32l0 10q9 2 105 17-1 25-9 56-6 0-18 0t-18 0q-16 0-49-5t-49-5q-78-1-117-1-29 0-81 5t-69 6z"},code:{width:896,height:1024,path:"M608 192l-96 96 224 224-224 224 96 96 288-320-288-320zM288 192l-288 320 288 320 96-96-224-224 224-224-96-96z"},link:{width:951,height:1024,path:"M832 694q0-22-16-38l-118-118q-16-16-38-16-24 0-41 18 1 1 10 10t12 12 8 10 7 14 2 15q0 22-16 38t-38 16q-8 0-15-2t-14-7-10-8-12-12-10-10q-18 17-18 41 0 22 16 38l117 118q15 15 38 15 22 0 38-14l84-83q16-16 16-38zM430 292q0-22-16-38l-117-118q-16-16-38-16-22 0-38 15l-84 83q-16 16-16 38 0 22 16 38l118 118q15 15 38 15 24 0 41-17-1-1-10-10t-12-12-8-10-7-14-2-15q0-22 16-38t38-16q8 0 15 2t14 7 10 8 12 12 10 10q18-17 18-41zM941 694q0 68-48 116l-84 83q-47 47-116 47-69 0-116-48l-117-118q-47-47-47-116 0-70 50-119l-50-50q-49 50-118 50-68 0-116-48l-118-118q-48-48-48-116t48-116l84-83q47-47 116-47 69 0 116 48l117 118q47 47 47 116 0 70-50 119l50 50q49-50 118-50 68 0 116 48l118 118q48 48 48 116z"},bulletList:{width:768,height:896,path:"M0 512h128v-128h-128v128zM0 256h128v-128h-128v128zM0 768h128v-128h-128v128zM256 512h512v-128h-512v128zM256 256h512v-128h-512v128zM256 768h512v-128h-512v128z"},orderedList:{width:768,height:896,path:"M320 512h448v-128h-448v128zM320 768h448v-128h-448v128zM320 128v128h448v-128h-448zM79 384h78v-256h-36l-85 23v50l43-2v185zM189 590c0-36-12-78-96-78-33 0-64 6-83 16l1 66c21-10 42-15 67-15s32 11 32 28c0 26-30 58-110 112v50h192v-67l-91 2c49-30 87-66 87-113l1-1z"},blockquote:{width:640,height:896,path:"M0 448v256h256v-256h-128c0 0 0-128 128-128v-128c0 0-256 0-256 256zM640 320v-128c0 0-256 0-256 256v256h256v-256h-128c0 0 0-128 128-128z"}},ZSe=new zc({title:"Join with above block",run:aE,select:n=>aE(n),icon:bm.join}),eke=new zc({title:"Lift out of enclosing block",run:sE,select:n=>sE(n),icon:bm.lift}),tke=new zc({title:"Select parent node",run:cE,select:n=>cE(n),icon:bm.selectParentNode});let nke=new zc({title:"Undo last change",run:Cy,enable:n=>Cy(n),icon:bm.undo}),ike=new zc({title:"Redo last undone change",run:pm,enable:n=>pm(n),icon:bm.redo});function bl(n,t){let e=_y(n,t.attrs),i={run:e,enable:r=>e(r),active(r){let{$from:o,to:a,node:s}=r.selection;return s?s.hasMarkup(n,t.attrs):a<=o.end()&&o.parent.hasMarkup(n,t.attrs)}};for(let r in t)i[r]=t[r];return new zc(i)}function mE(n,t,e){e?n.classList.add(t):n.classList.remove(t)}class hs{constructor(t){this.spec=t,this.active=!1,this.disabled=!1,this.show=!0}update(t,e){this.spec.active&&(this.active=this.spec.active(e)),this.spec.enable&&(this.disabled=!this.spec.enable(e)),this.spec.select&&(this.show=this.spec.select(e))}}class xy extends hs{constructor(t){super({active:e=>{const{selection:i,doc:r}=e,{from:o,to:a}=i;let s=!0,l=!1;return r.nodesBetween(o,a,c=>(s&&c.attrs.align===t&&(s=!1,l=!0),s)),l},enable:e=>{const{selection:i}=e;return i instanceof ht||i instanceof mr},run:(e,i)=>{const{schema:r,selection:o}=e,a=function dke(n,t,e){const{selection:i,doc:r}=n;if(!i||!r)return n;const{from:o,to:a}=i,{nodes:s}=t,l=[];e=e||null;const c=new Set([s.paragraph]);return r.nodesBetween(o,a,(d,u)=>{const h=d.type;return(d.attrs.align||null)!==e&&c.has(h)&&l.push({node:d,pos:u,nodeType:h}),!0}),l.length&&l.forEach(d=>{const{node:u,pos:h,nodeType:p}=d,v={...u.attrs,align:e||null};n=n.setNodeMarkup(h,p,v,u.marks)}),n}(e.tr.setSelection(o),r,this.active?null:t);return!!a.docChanged&&(i?.(a),!0)}})}}const MH=function(n){return{backgroundColor:n}};function uke(n,t){if(1&n){const e=Y();f(0,"div",17),E("click",function(){const o=B(e).$implicit;return V(x(2).selectColor(o))}),m()}2&n&&Ur(As(2,MH,t.$implicit))}function hke(n,t){if(1&n&&(f(0,"div"),S(1,uke,1,4,"div",16),m()),2&n){const e=t.$implicit;b(1),_("ngForOf",e)}}function fke(n,t){1&n&&(f(0,"mat-error"),Ce(1,18),m())}let pke=(()=>{class n{constructor(e,i){this.dialogRef=i,this.colors=[["#000000","#111111","#1c1c1c","#333333","#666666","#808080","#999999","#b2b2b2","#cccccc","#dddddd","#eeeeee","#ffffff"],["#ffff00","#ffbf00","#ff8000","#ff4000","#ff0000","#bf0041","#800080","#55308d","#2a6099","#158466","#00a933","#81d41a"],["#ffffd7","#fff5ce","#ffdbb6","#ffd8ce","#ffd7d7","#f7d1d5","#e0c2cd","#dedce6","#dee6ef","#dee7e5","#dde8cb","#f6f9d4"],["#ffffa6","#ffe994","#ffb66c","#ffaa95","#ffa6a6","#ec9ba4","#bf819e","#b7b3ca","#b4c7dc","#b3cac7","#afd095","#e8f2a1"],["#ffff6d","#ffde59","#ff972f","#ff7b59","#ff6d6d","#e16173","#a1467e","#8e86ae","#729fcf","#81aca6","#77bc65","#d4ea6b"],["#ffff38","#ffd428","#ff860d","#ff5429","#ff3838","#d62e4e","#8d1d75","#6b5e9b","#5983b0","#50938a","#3faf46","#bbe33d"],["#e6e905","#e8a202","#ea7500","#ed4c05","#f10d0c","#a7074b","#780373","#5b277d","#3465a4","#168253","#069a2e","#5eb91e"],["#acb20c","#b47804","#b85c00","#be480a","#c9211e","#861141","#650953","#55215b","#355269","#1e6a39","#127622","#468a1a"],["#706e0c","#784b04","#7b3d00","#813709","#8d281e","#611729","#4e102d","#481d32","#383d3c","#28471f","#224b12","#395511"],["#443205","#472702","#492300","#4b2204","#50200c","#41190d","#3b160e","#3a1a0f","#362413","#302709","#2e2706","#342a06"]],this.colorControl=new wt("",{validators:$t.pattern(/^#\p{Hex_Digit}{6}/u),nonNullable:!0}),this.form=new $n({color:this.colorControl}),this.form.setValue(e)}maybeConfirm(){qp(this.form).subscribe(()=>this.confirm())}confirm(){this.dialogRef.close(this.form.getRawValue())}selectColor(e){this.colorControl.setValue(e),this.maybeConfirm()}}return n.\u0275fac=function(e){return new(e||n)(g(hc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:22,vars:9,consts:function(){let t,e,i,r,o,a;return t=$localize`:␟03820e4ea2df1ce55bb67c61bcc5545e42f73487␟295912300910134862:Sélectionner une couleur`,e=$localize`:␟4a9cf92f6e8136deb955a031242ae939c4ccf346␟7075059674276878139:Transparent`,i=$localize`:␟4a605db7fe490b92ce2d286ccf5327e2354362d4␟3623818903326968730:Couleur`,r=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,o=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,a=$localize`:␟4feefac2e1903927fac423589415c520b461da7a␟8552620235557955322:Doit être le format hexadecimal. Par exemple: #ff4000 `,[["mat-dialog-title",""],t,[3,"formGroup"],[4,"ngFor","ngForOf"],["mat-button","",3,"click"],["naturalIcon","format_color_reset"],e,i,["matInput","","cdkFocusInitial","",3,"formControl","keydown.enter"],["matTextSuffix","",1,"sample"],[4,"ngIf"],["align","end"],["mat-button","","mat-dialog-close",""],r,["mat-stroked-button","",3,"disabled","click"],o,["class","color",3,"style","click",4,"ngFor","ngForOf"],[1,"color",3,"click"],a]},template:function(e,i){1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content",2)(3,"div"),S(4,hke,2,1,"div",3),m(),f(5,"div")(6,"button",4),E("click",function(){return i.selectColor("")}),T(7,"mat-icon",5),f(8,"span"),Ce(9,6),m()()(),f(10,"mat-form-field")(11,"mat-label"),Ce(12,7),m(),f(13,"input",8),E("keydown.enter",function(){return i.maybeConfirm()}),m(),T(14,"div",9),S(15,fke,2,0,"mat-error",10),m()(),f(16,"mat-dialog-actions",11)(17,"button",12),Ce(18,13),m(),f(19,"button",14),E("click",function(){return i.maybeConfirm()}),f(20,"span"),Ce(21,15),m()()()),2&e&&(b(2),_("formGroup",i.form),b(2),_("ngForOf",i.colors),b(9),_("formControl",i.colorControl),b(1),Ur(As(7,MH,i.colorControl.valid?i.colorControl.value:"")),b(1),_("ngIf",i.colorControl.hasError("pattern")),b(4),_("disabled",!i.form.valid))},dependencies:[Js,fc,pc,mc,gc,Ut,ui,jt,si,sn,an,gn,ke,Zt,Le,ct,tn,li,Zn,fi,_n,An,Tn,to,kc,Ii,Ai],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:70vw;max-width:30em;display:grid;justify-content:center;row-gap:25px}.color[_ngcontent-%COMP%]{display:inline-block;width:25px;height:25px;margin:3px;cursor:pointer}.color[_ngcontent-%COMP%]:hover{padding:3px;margin:0}.sample[_ngcontent-%COMP%]{width:27px;height:27px}"]}),n})();const TH=function UDe(n,t){return function(e,i){if(!oo(e))return!1;const r=fm(e);if(r.nodeAfter.attrs[n]===t)return!1;if(i){const o=e.tr;e.selection instanceof Et?e.selection.forEachCell((a,s)=>{a.attrs[n]!==t&&o.setNodeMarkup(s,null,{...a.attrs,[n]:t})}):o.setNodeMarkup(r.pos,null,{...r.nodeAfter.attrs,[n]:t}),i(o)}return!0}}.bind(null,"background");function mke(n){if(!oo(n))return"";let e=fm(n)?.nodeAfter?.attrs.background??"";if(e)return e;let i=!0;return n.selection instanceof Et&&n.selection.forEachCell(r=>{const o=r.attrs.background;i&&o&&(i=!1,e=o)}),e}class gke extends hs{constructor(t){super({enable:e=>TH("#000001")(e),run(e,i,r){t.open(pke,{data:{color:mke(e)}}).afterClosed().subscribe(o=>{i&&o&&TH(o.color)(e,i),r.focus()})}})}}function _ke(n,t){1&n&&(f(0,"mat-error"),Ce(1,12),m())}let bke=(()=>{class n{constructor(e,i){this.dialogRef=i,this.hrefControl=new wt("",{validators:$t.required,nonNullable:!0}),this.titleControl=new wt("",{nonNullable:!0}),this.form=new $n({href:this.hrefControl,title:this.titleControl}),this.form.setValue({title:"",...e})}maybeConfirm(){qp(this.form).subscribe(()=>this.confirm())}confirm(){this.dialogRef.close(this.form.getRawValue())}}return n.\u0275fac=function(e){return new(e||n)(g(hc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:18,vars:5,consts:function(){let t,e,i,r,o,a;return t=$localize`:␟39e6ab4addb6241cc85ada225193c1c3383878aa␟119963413501148110:Insérer un lien`,e=$localize`:␟801b98c6f02fe3b32f6afa3ee854c99ed83474e6␟2375260419993138758:URL`,i=$localize`:␟622c8cdb03ed166e3e1b652021cf0992cb26bc18␟6518032478600962138:Titre`,r=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,o=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,a=$localize`:␟c0635fdb2285e10406f861a2135c2d72eab0e8c4␟8857159515510586089:Ce champ est requis`,[["mat-dialog-title",""],t,[3,"formGroup"],e,["matInput","",3,"formControl","keydown.enter"],[4,"ngIf"],i,["align","end"],["mat-button","","mat-dialog-close",""],r,["mat-stroked-button","",3,"disabled","click"],o,a]},template:function(e,i){1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content",2)(3,"mat-form-field")(4,"mat-label"),Ce(5,3),m(),f(6,"input",4),E("keydown.enter",function(){return i.maybeConfirm()}),m(),S(7,_ke,2,0,"mat-error",5),m(),f(8,"mat-form-field")(9,"mat-label"),Ce(10,6),m(),f(11,"input",4),E("keydown.enter",function(){return i.maybeConfirm()}),m()()(),f(12,"mat-dialog-actions",7)(13,"button",8),Ce(14,9),m(),f(15,"button",10),E("click",function(){return i.maybeConfirm()}),f(16,"span"),Ce(17,11),m()()()),2&e&&(b(2),_("formGroup",i.form),b(4),_("formControl",i.hrefControl),b(1),_("ngIf",i.hrefControl.hasError("required")),b(4),_("formControl",i.titleControl),b(4),_("disabled",!i.form.valid))},dependencies:[Js,fc,pc,mc,gc,Ut,ui,jt,si,sn,an,gn,_n,An,Tn,to,Ii,Ai,ke,Le,ct,tn],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:70vw;max-width:60em;display:grid}"]}),n})();function gE(n,t){const{from:e,$from:i,to:r,empty:o}=n.selection;return o?!!t.isInSet(n.storedMarks||i.marks()):n.doc.rangeHasMark(e,r,t)}function vr(n){return new hs(n.spec)}function yr(n,t={}){const e={run:n,...t};return!t.enable&&!t.select&&(e.enable=i=>n(i)),new hs(e)}function _E(n){return yr(gl(n),{active:t=>gE(t,n)})}function AH(n,t){const{selection:e,doc:i}=n,{from:r,to:o}=e;let a=!0,s=!1;return i.nodesBetween(r,o,l=>(a&&t.includes(l.type.name)&&(a=!1,s=!0),a)),s}class vke extends hs{constructor(t,e){super({active:i=>gE(i,t),enable:i=>!i.selection.empty,run(i,r,o){gE(i,t)?gl(t)(i,r):e.open(bke,{data:{href:"",title:""}}).afterClosed().subscribe(a=>{a&&(a.title||delete a.title,gl(t,a)(o.state,o.dispatch)),o.focus()})}})}}class Cke extends hs{constructor(t){super({enable:e=>function yke(n,t){const e=n.selection.$from;for(let i=e.depth;i>=0;i--){const r=e.index(i);if(e.node(i).canReplaceWith(r,r,t))return!0}return!1}(e,t),run(e,i){i(e.tr.replaceSelectionWith(t.create()))}})}}function IH(n){return yr(tE(n))}function wke(n,t){1&n&&(f(0,"mat-error"),Ce(1,11),m())}let xke=(()=>{class n{constructor(e,i){this.dialogRef=i,this.classControl=new wt("",{validators:$t.pattern(/(^\s*(-?[_a-zA-Z]+[_a-zA-Z0-9-]*\s*)+)/),nonNullable:!0}),this.form=new $n({class:this.classControl}),this.form.setValue(e)}maybeConfirm(){qp(this.form).subscribe(()=>this.confirm())}confirm(){this.dialogRef.close(this.form.getRawValue())}}return n.\u0275fac=function(e){return new(e||n)(g(hc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:14,vars:4,consts:function(){let t,e,i,r,o;return t=$localize`:␟7fc4585194c171f794c907258033e76963286da5␟5915007300033018520:Saisir les classes CSS`,e=$localize`:␟fbe16e0d43f01135dfa18e9d73ab87bef9dae169␟770147264955285350:Classes CSS`,i=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,r=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,o=$localize`:␟77ff24a189b5c61c62c6fdfbda255f7ec521642f␟8967184240542661309:Doit être un ou plusieurs nom de classe CSS`,[["mat-dialog-title",""],t,[3,"formGroup"],e,["matInput","","cdkFocusInitial","",3,"formControl","keydown.enter"],[4,"ngIf"],["align","end"],["mat-button","","mat-dialog-close",""],i,["mat-stroked-button","",3,"disabled","click"],r,o]},template:function(e,i){1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content",2)(3,"mat-form-field")(4,"mat-label"),Ce(5,3),m(),f(6,"input",4),E("keydown.enter",function(){return i.maybeConfirm()}),m(),S(7,wke,2,0,"mat-error",5),m()(),f(8,"mat-dialog-actions",6)(9,"button",7),Ce(10,8),m(),f(11,"button",9),E("click",function(){return i.maybeConfirm()}),f(12,"span"),Ce(13,10),m()()()),2&e&&(b(2),_("formGroup",i.form),b(4),_("formControl",i.classControl),b(1),_("ngIf",i.classControl.hasError("pattern")),b(4),_("disabled",!i.form.valid))},dependencies:[Js,fc,pc,mc,gc,Ut,ui,jt,si,sn,an,gn,_n,An,Tn,to,Ii,Ai,ke,Le,ct,tn],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:70vw;max-width:30em;display:grid}"]}),n})();function OH(n,t){const{selection:e,doc:i}=n,{from:r,to:o}=e;let a=!0,s="";return i.nodesBetween(r,o,l=>(a&&t.includes(l.type.name)&&l.attrs.class&&(a=!1,s=l.attrs.class),a)),s}class RH extends hs{constructor(t,e){super({active:i=>!!OH(i,e),enable:i=>AH(i,e),run:(i,r,o)=>{t.open(xke,{data:{class:OH(i,e)}}).afterClosed().subscribe(a=>{if(r&&a){const{selection:s}=i,l=function Dke(n,t,e){const{selection:i,doc:r}=n;if(!i||!r)return n;const{from:o,to:a}=i,s=[];return r.nodesBetween(o,a,(l,c)=>{const d=l.type;return(l.attrs.class||null)!==t&&e.includes(d.name)&&s.push({node:l,pos:c,nodeType:d}),!0}),s.length&&s.forEach(l=>{const{node:c,pos:d,nodeType:u}=l,h={...c.attrs,class:t||null};n=n.setNodeMarkup(d,u,h,c.marks)}),n}(i.tr.setSelection(s),a.class,e);l.docChanged&&r?.(l)}o.focus()})}})}}function Ske(n,t){1&n&&(f(0,"mat-error"),Ce(1,10),m())}let kke=(()=>{class n{constructor(e,i){this.dialogRef=i,this.idControl=new wt("",{validators:$t.pattern(/(^(-?[_a-zA-Z]+[_a-zA-Z0-9-]*)+)/),nonNullable:!0}),this.form=new $n({id:this.idControl}),this.form.setValue(e)}maybeConfirm(){qp(this.form).subscribe(()=>this.confirm())}confirm(){this.dialogRef.close(this.form.getRawValue())}}return n.\u0275fac=function(e){return new(e||n)(g(hc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:14,vars:4,consts:function(){let t,e,i,r;return t=$localize`:␟467e083199695102d67fb6102133ed08e6d5779e␟3460345462620774021:Saisir le ID`,e=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,i=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,r=$localize`:␟36128a9b88800b04c7eb752cc5d9c7f118336f88␟2746908585963893086:Doit être un ID valide`,[["mat-dialog-title",""],t,[3,"formGroup"],["matInput","","cdkFocusInitial","",3,"formControl","keydown.enter"],[4,"ngIf"],["align","end"],["mat-button","","mat-dialog-close",""],e,["mat-stroked-button","",3,"disabled","click"],i,r]},template:function(e,i){1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content",2)(3,"mat-form-field")(4,"mat-label"),C(5,"ID"),m(),f(6,"input",3),E("keydown.enter",function(){return i.maybeConfirm()}),m(),S(7,Ske,2,0,"mat-error",4),m()(),f(8,"mat-dialog-actions",5)(9,"button",6),Ce(10,7),m(),f(11,"button",8),E("click",function(){return i.maybeConfirm()}),f(12,"span"),Ce(13,9),m()()()),2&e&&(b(2),_("formGroup",i.form),b(4),_("formControl",i.idControl),b(1),_("ngIf",i.idControl.hasError("pattern")),b(4),_("disabled",!i.form.valid))},dependencies:[Js,fc,pc,mc,gc,Ut,ui,jt,si,sn,an,gn,_n,An,Tn,to,Ii,Ai,ke,Le,ct,tn],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:70vw;max-width:30em;display:grid}"]}),n})();function NH(n,t){const{selection:e,doc:i}=n,{from:r,to:o}=e;let a=!0,s="";return i.nodesBetween(r,o,l=>(a&&t.includes(l.type.name)&&l.attrs.id&&(a=!1,s=l.attrs.id),a)),s}class FH extends hs{constructor(t,e){super({active:i=>!!NH(i,e),enable:i=>AH(i,e),run:(i,r,o)=>{t.open(kke,{data:{id:NH(i,e)}}).afterClosed().subscribe(a=>{if(r&&a){const{selection:s}=i,l=function Eke(n,t,e){const{selection:i,doc:r}=n;if(!i||!r)return n;const{from:o,to:a}=i,s=[];return r.nodesBetween(o,a,(l,c)=>{const d=l.type;return(l.attrs.id||null)!==t&&e.includes(d.name)&&s.push({node:l,pos:c,nodeType:d}),!0}),s.length&&s.forEach(l=>{const{node:c,pos:d,nodeType:u}=l,h={...c.attrs,id:t||null};n=n.setNodeMarkup(d,u,h,c.marks)}),n}(i.tr.setSelection(s),a.id,e);l.docChanged&&r?.(l)}o.focus()})}})}}function PH(n,t){return t?n.createChecked(null,t):n.createAndFill()}class Ake extends hs{constructor(){super({run:(t,e)=>function Tke(n,t,{rowsCount:e=3,colsCount:i=3,withHeaderRow:r=!0,cellContent:o}={}){const a=n.tr.selection.anchor+1,s=function Mke(n,t,e,i,r){const o=gi(n.schema),a=[],s=[];for(let c=0;cnew Rke(t,n)})}class Rke{constructor(t,e){var i;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(i=e.width)&&void 0!==i?i:1,this.color=!1===e.color?void 0:e.color||"black",this.class=e.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let o=a=>{this[r](a)};return t.dom.addEventListener(r,o),{name:r,handler:o}})}destroy(){this.handlers.forEach(({name:t,handler:e})=>this.editorView.dom.removeEventListener(t,e))}update(t,e){null!=this.cursorPos&&e.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,null==t?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let i,t=this.editorView.state.doc.resolve(this.cursorPos),e=!t.parent.inlineContent;if(e){let s=t.nodeBefore,l=t.nodeAfter;if(s||l){let c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let d=c.getBoundingClientRect(),u=s?d.bottom:d.top;s&&l&&(u=(u+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),i={left:d.left,right:d.right,top:u-this.width/2,bottom:u+this.width/2}}}}if(!i){let s=this.editorView.coordsAtPos(this.cursorPos);i={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let o,a,r=this.editorView.dom.offsetParent;if(this.element||(this.element=r.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",e),this.element.classList.toggle("prosemirror-dropcursor-inline",!e),!r||r==document.body&&"static"==getComputedStyle(r).position)o=-pageXOffset,a=-pageYOffset;else{let s=r.getBoundingClientRect();o=s.left-r.scrollLeft,a=s.top-r.scrollTop}this.element.style.left=i.left-o+"px",this.element.style.top=i.top-a+"px",this.element.style.width=i.right-i.left+"px",this.element.style.height=i.bottom-i.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let e=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),i=e&&e.inside>=0&&this.editorView.state.doc.nodeAt(e.inside),r=i&&i.type.spec.disableDropCursor,o="function"==typeof r?r(this.editorView,e,t):r;if(e&&!o){let a=e.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=d6(this.editorView.state.doc,a,this.editorView.dragging.slice);null!=s&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}class xn extends et{constructor(t){super(t,t)}map(t,e){let i=t.resolve(e.map(this.head));return xn.valid(i)?new xn(i):et.near(i)}content(){return pe.empty}eq(t){return t instanceof xn&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,e){if("number"!=typeof e.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new xn(t.resolve(e.pos))}getBookmark(){return new bE(this.anchor)}static valid(t){let e=t.parent;if(e.isTextblock||!function Nke(n){for(let t=n.depth;t>=0;t--){let e=n.index(t),i=n.node(t);if(0!=e)for(let r=i.child(e-1);;r=r.lastChild){if(0==r.childCount&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}else if(i.type.spec.isolating)return!0}return!0}(t)||!function Fke(n){for(let t=n.depth;t>=0;t--){let e=n.indexAfter(t),i=n.node(t);if(e!=i.childCount)for(let r=i.child(e);;r=r.firstChild){if(0==r.childCount&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}else if(i.type.spec.isolating)return!0}return!0}(t))return!1;let i=e.type.spec.allowGapCursor;if(null!=i)return i;let r=e.contentMatchAt(t.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,e,i=!1){e:for(;;){if(!i&&xn.valid(t))return t;let r=t.pos,o=null;for(let a=t.depth;;a--){let s=t.node(a);if(e>0?t.indexAfter(a)0){o=s.child(e>0?t.indexAfter(a):t.index(a)-1);break}if(0==a)return null;r+=e;let l=t.doc.resolve(r);if(xn.valid(l))return l}for(;;){let a=e>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!$e.isSelectable(o)){t=t.doc.resolve(r+o.nodeSize*e),i=!1;continue e}break}o=a,r+=e;let s=t.doc.resolve(r);if(xn.valid(s))return s}return null}}}xn.prototype.visible=!1,xn.findFrom=xn.findGapCursorFrom,et.jsonID("gapcursor",xn);class bE{constructor(t){this.pos=t}map(t){return new bE(t.map(this.pos))}resolve(t){let e=t.resolve(this.pos);return xn.valid(e)?new xn(e):et.near(e)}}const Lke=Gk({ArrowLeft:Dy("horiz",-1),ArrowRight:Dy("horiz",1),ArrowUp:Dy("vert",-1),ArrowDown:Dy("vert",1)});function Dy(n,t){const e="vert"==n?t>0?"down":"up":t>0?"right":"left";return function(i,r,o){let a=i.selection,s=t>0?a.$to:a.$from,l=a.empty;if(a instanceof ht){if(!o.endOfTextblock(e)||0==s.depth)return!1;l=!1,s=i.doc.resolve(t>0?s.after():s.before())}let c=xn.findGapCursorFrom(s,t,l);return!!c&&(r&&r(i.tr.setSelection(new xn(c))),!0)}}function Bke(n,t,e){if(!n||!n.editable)return!1;let i=n.state.doc.resolve(t);if(!xn.valid(i))return!1;let r=n.posAtCoords({left:e.clientX,top:e.clientY});return!(r&&r.inside>-1&&$e.isSelectable(n.state.doc.nodeAt(r.inside))||(n.dispatch(n.state.tr.setSelection(new xn(i))),0))}function Vke(n,t){if("insertCompositionText"!=t.inputType||!(n.state.selection instanceof xn))return!1;let{$from:e}=n.state.selection,i=e.parent.contentMatchAt(e.index()).findWrapping(n.state.schema.nodes.text);if(!i)return!1;let r=Z.empty;for(let a=i.length-1;a>=0;a--)r=Z.from(i[a].createAndFill(null,r));let o=n.state.tr.replace(e.pos,e.pos,new pe(r,0,0));return o.setSelection(ht.near(o.doc.resolve(e.pos+1))),n.dispatch(o),!1}function zke(n){if(!(n.selection instanceof xn))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",In.create(n.doc,[_r.widget(n.selection.head,t,{key:"gapcursor"})])}class vl{constructor(t,e){this.match=t,this.match=t,this.handler="string"==typeof e?function Hke(n){return function(t,e,i,r){let o=n;if(e[1]){let a=e[0].lastIndexOf(e[1]);o+=e[0].slice(a+e[1].length);let s=(i+=a)-r;s>0&&(o=e[0].slice(a-s,a)+o,i=r)}return t.tr.insertText(o,i,r)}}(e):e}}const $ke=500;function LH(n,t,e,i,r,o){if(n.composing)return!1;let a=n.state,s=a.doc.resolve(t);if(s.parent.type.spec.code)return!1;let l=s.parent.textBetween(Math.max(0,s.parentOffset-$ke),s.parentOffset,null,"\ufffc")+i;for(let c=0;c{let e=n.plugins;for(let i=0;i=0;l--)a.step(s.steps[l].invert(s.docs[l]));if(o.text){let l=a.doc.resolve(o.from).marks();a.replaceWith(o.from,o.to,n.schema.text(o.text,l))}else a.delete(o.from,o.to);t(a)}return!0}}return!1},Gke=new vl(/--$/,"\u2014"),qke=new vl(/\.\.\.$/,"\u2026");function vE(n,t,e=null,i){return new vl(n,(r,o,a,s)=>{let l=e instanceof Function?e(o):e,c=r.tr.delete(a,s),u=c.doc.resolve(a).blockRange(),h=u&&uk(u,t,l);if(!h)return null;c.wrap(u,h);let p=c.doc.resolve(a-1).nodeBefore;return p&&p.type==t&&Ku(c.doc,a-1)&&(!i||i(o,p))&&c.join(a-1),c})}function BH(n,t,e=null){return new vl(n,(i,r,o,a)=>{let s=i.doc.resolve(o),l=e instanceof Function?e(r):e;return s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),t)?i.tr.delete(o,a).setBlockType(o,o,t,l):null})}function nEe(n){const t=[qke,Gke];let e=n.nodes.blockquote;return e&&t.push(function Xke(n){return vE(/^\s*>\s$/,n)}(e)),e=n.nodes.ordered_list,e&&t.push(function Jke(n){return vE(/^(\d+)\.\s$/,n,t=>({order:+t[1]}),(t,e)=>e.childCount+e.attrs.order===+t[1])}(e)),e=n.nodes.bullet_list,e&&t.push(function Zke(n){return vE(/^\s*([-+*])\s$/,n)}(e)),e=n.nodes.code_block,e&&t.push(function eEe(n){return BH(/^```$/,n)}(e)),e=n.nodes.heading,e&&t.push(function tEe(n,t){return BH(new RegExp("^(#{1,"+t+"})\\s$"),n,e=>({level:e[1].length}))}(e,6)),function jke({rules:n}){let t=new ls({state:{init:()=>null,apply(e,i){return e.getMeta(this)||(e.selectionSet||e.docChanged?null:i)}},props:{handleTextInput:(e,i,r,o)=>LH(e,i,r,o,n,t),handleDOMEvents:{compositionend:e=>{setTimeout(()=>{let{$cursor:i}=e.state.selection;i&&LH(e,i.pos,i.pos,"",n,t)})}}},isInputRules:!0});return t}({rules:t})}function iEe(n,t){const e={};e["Mod-z"]=Cy,e["Shift-Mod-z"]=pm,e.Backspace=Uke,t||(e["Mod-y"]=pm),e["Alt-ArrowUp"]=aE,e["Alt-ArrowDown"]=MSe,e["Mod-BracketLeft"]=sE,e.Escape=cE;let i=n.marks.strong;if(i&&(e["Mod-b"]=gl(i),e["Mod-B"]=gl(i)),i=n.marks.em,i&&(e["Mod-i"]=gl(i),e["Mod-I"]=gl(i)),i=n.marks.code,i&&(e["Mod-`"]=gl(i)),i=n.nodes.bullet_list,i&&(e["Shift-Ctrl-8"]=tE(i)),i=n.nodes.ordered_list,i&&(e["Shift-Ctrl-9"]=tE(i)),i=n.nodes.blockquote,i&&(e["Ctrl->"]=dE(i)),i=n.nodes.hard_break,i){const r=i,o=by(hH,(a,s)=>(s?.(a.tr.replaceSelectionWith(r.create()).scrollIntoView()),!0));e["Mod-Enter"]=o,e["Shift-Enter"]=o,t&&(e["Ctrl-Enter"]=o)}if(i=n.nodes.list_item,i&&(e.Enter=function fSe(n,t){return function(e,i){let{$from:r,$to:o,node:a}=e.selection;if(a&&a.isBlock||r.depth<2||!r.sameParent(o))return!1;let s=r.node(-1);if(s.type!=n)return!1;if(0==r.parent.content.size&&r.node(-1).childCount==r.indexAfter(-1)){if(3==r.depth||r.node(-3).type!=n||r.index(-2)!=r.node(-2).childCount-1)return!1;if(i){let u=Z.empty,h=r.index(-1)?1:r.index(-2)?2:3;for(let k=r.depth-h;k>=r.depth-3;k--)u=Z.from(r.node(k).copy(u));let p=r.indexAfter(-1){if(w>-1)return!1;k.isTextblock&&0==k.content.size&&(w=D+1)}),w>-1&&y.setSelection(et.near(y.doc.resolve(w))),i(y.scrollIntoView())}return!0}let l=o.pos==r.end()?s.contentMatchAt(0).defaultType:null,c=e.tr.delete(r.pos,o.pos),d=l?[t?{type:n,attrs:t}:null,{type:l}]:void 0;return!!Yu(c.doc,r.pos,2,d)&&(i&&i(c.split(r.pos,2,d).scrollIntoView()),!0)}}(i),e["Mod-["]=function pSe(n){return function(t,e){let{$from:i,$to:r}=t.selection,o=i.blockRange(r,a=>a.childCount>0&&a.firstChild.type==n);return!!o&&(!e||(i.node(o.depth-1).type==n?function mSe(n,t,e,i){let r=n.tr,o=i.end,a=i.$to.end(i.depth);oy;v--)p-=r.child(v).nodeSize,i.delete(p-1,p+1);let o=i.doc.resolve(e.start),a=o.nodeAfter;if(i.mapping.map(e.end)!=e.start+o.nodeAfter.nodeSize)return!1;let s=0==e.startIndex,l=e.endIndex==r.childCount,c=o.node(-1),d=o.index(-1);if(!c.canReplace(d+(s?0:1),d+1,a.content.append(l?Z.empty:Z.from(r))))return!1;let u=o.pos,h=u+a.nodeSize;return i.step(new pi(u-(s?1:0),h+(l?1:0),u+1,h-1,new pe((s?Z.empty:Z.from(r.copy(Z.empty))).append(l?Z.empty:Z.from(r.copy(Z.empty))),s?0:1,l?0:1),s?0:1)),t(i.scrollIntoView()),!0}(t,e,o)))}}(i),e["Mod-]"]=function _Se(n){return function(t,e){let{$from:i,$to:r}=t.selection,o=i.blockRange(r,c=>c.childCount>0&&c.firstChild.type==n);if(!o)return!1;let a=o.startIndex;if(0==a)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=n)return!1;if(e){let c=l.lastChild&&l.lastChild.type==s.type,d=Z.from(c?n.create():null),u=new pe(Z.from(n.create(null,Z.from(s.type.create(null,d)))),c?3:1,0),h=o.start,p=o.end;e(t.tr.step(new pi(h-(c?3:1),p,h,p,u,1,!0)).scrollIntoView())}return!0}}(i)),i=n.nodes.paragraph,i&&(e["Shift-Ctrl-0"]=_y(i)),i=n.nodes.code_block,i&&(e["Shift-Ctrl-\\"]=_y(i)),i=n.nodes.heading,i)for(let r=1;r<=6;r++)e["Shift-Ctrl-"+r]=_y(i,{level:r});if(i=n.nodes.horizontal_rule,i){const r=i;e["Mod-_"]=(o,a)=>(a?.(o.tr.replaceSelectionWith(r.create()).scrollIntoView()),!0)}return e}function rEe(n,t,e){return!n.trim()||(t=t.toLowerCase(),e=e.toLowerCase(),n.split(",").some(i=>{if((i=i.trim().toLowerCase()).startsWith("."))return e.endsWith(i);{const r=i.replace(/\*/g,".*");return t.match(r)}}))}function VH(n){const t=n.getAttribute("type");return"input"===n.tagName.toLowerCase()&&!!t&&"file"===t.toLowerCase()}new vl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201c"),new vl(/"$/,"\u201d"),new vl(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018"),new vl(/'$/,"\u2019");let zH=0,HH=0;function lEe(n){return function cEe(n){return new Promise((t,e)=>{const i=new FileReader;i.onload=()=>{t(i.result)},i.onerror=e,i.readAsText(n)})}(n.slice(0,1)).then(t=>""!==t,()=>!1)}function vm(n){n.preventDefault(),n.stopPropagation()}function yE(n){const t=[];for(let e=0;e{class n{constructor(e){this.document=e,this.filesChanged=new q}getDownloadLink(e){const i=this.document.defaultView;if(!i)throw new Error("Cannot build download link because `window` is undefined");const r=i.location.protocol+"//"+i.location.hostname;return"File"===e?.__typename?r+"/api/file/"+e.id:"AccountingDocument"===e?.__typename?r+"/api/accounting-document/"+e.id:"Image"===e?.__typename?r+"/api/image/"+e.id:null}}return n.\u0275fac=function(e){return new(e||n)(I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jH=(()=>{class n extends ss{constructor(e,i,r){super(),this.element=e,this.naturalFileService=i,this.document=r,this.multiple=!1,this.accept="",this.maxSize=0,this.fileSelectionDisabled=!1,this.selectable=!1,this.broadcast=!0,this.fileChange=new j,this.filesChange=new j}ngOnDestroy(){super.ngOnDestroy(),delete this.fileElement}ngOnInit(){this.selectable&&this.enableSelecting(),this.getFileElement().multiple=this.multiple}ngOnChanges(e){e.accept&&this.getFileElement().setAttribute("accept",e.accept.currentValue||"*")}getFileElement(){if(this.fileElement)return this.fileElement;if(VH(this.element.nativeElement))return this.fileElement=this.element.nativeElement,this.fileElement;const e=function aEe(n){const t=function sEe(n){const t=n.createElement("input");return t.type="file",t}(n),e=n.createElement("label");return e.innerHTML="upload",e.style.visibility="hidden",e.style.position="absolute",e.style.overflow="hidden",e.style.width="0px",e.style.height="0px",e.style.border="none",e.style.margin="0px",e.style.padding="0px",e.setAttribute("tabindex","-1"),e.appendChild(t),e}(this.document);return this.fileElement=e.getElementsByTagName("input")[0],this.fileElement.addEventListener("change",this.changeFn.bind(this)),this.element.nativeElement.appendChild(e),this.fileElement}enableSelecting(){const e=this.element.nativeElement;if(VH(e)){const i=()=>this.beforeSelect();return e.addEventListener("click",i),void e.addEventListener("touchstart",i)}{const i=r=>this.clickHandler(r);e.addEventListener("click",i),e.addEventListener("touchstart",i),e.addEventListener("touchend",i)}}handleFiles(e){const i={valid:[],invalid:[]};ko(e.map(r=>this.validate(r).pipe(Ht(o=>{o?i.invalid.push({file:r,error:o}):i.valid.push(r)})))).subscribe(()=>{i.valid.length&&this.fileChange.emit(i.valid[0]),(i.valid.length||i.invalid.length)&&(this.filesChange.emit(i),this.broadcast&&this.naturalFileService.filesChanged.next(i)),this.getFileElement().value=""})}changeFn(e){if(!(e.target instanceof HTMLInputElement))return;const i=e.target.files;i&&(vm(e),this.handleFiles(yE(i)))}clickHandler(e){return!(this.element.nativeElement.getAttribute("disabled")||this.fileSelectionDisabled||!function oEe(n){const t="changedTouches"in n?n.changedTouches:null;if(!t)return!1;if("touchstart"===n.type)return HH=t[0].clientX,zH=t[0].clientY,!0;if("touchend"===n.type){const i=t[0].clientY;if(Math.abs(t[0].clientX-HH)>20||Math.abs(i-zH)>20)return n.stopPropagation(),n.cancelable&&n.preventDefault(),!1}return!0}(e)&&(this.getFileElement().click(),this.beforeSelect(),1))}beforeSelect(){this.fileElement&&(this.fileElement.value="")}onChange(e){const i=this.getFileElement().files,r=i?yE(i):$H(e);r.length&&(vm(e),this.handleFiles(r))}validate(e){return ko({accept:ee(rEe(this.accept,e.type,e.name)),fileSize:ee(!(this.maxSize&&e.size>this.maxSize)),directory:lEe(e)}).pipe(ue(i=>{for(const[r,o]of Object.entries(i))if(!o)return r;return null}))}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(CE),g(ye))},n.\u0275dir=R({type:n,hostBindings:function(e,i){1&e&&E("change",function(o){return i.onChange(o)})},inputs:{multiple:"multiple",accept:"accept",maxSize:"maxSize",fileSelectionDisabled:"fileSelectionDisabled",selectable:"selectable",broadcast:"broadcast"},outputs:{fileChange:"fileChange",filesChange:"filesChange"},features:[N,Je]}),n})();let wE=(()=>{class n extends jH{constructor(){super(...arguments),this.fileOverClass=!1,this.fileOver=new j,this.rawFileOver=new q}ngOnInit(){super.ngOnInit(),this.rawFileOver.pipe(se(this.ngUnsubscribe),function hEe(n,t=Wd,e){const i=oc(n,t);return function uEe(n,t){return qt((e,i)=>{const{leading:r=!0,trailing:o=!1}=t??{};let a=!1,s=null,l=null,c=!1;const d=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&i.complete())},u=()=>{l=null,c&&i.complete()},h=v=>l=ti(n(v)).subscribe(Vt(i,d,u)),p=()=>{if(a){a=!1;const v=s;s=null,i.next(v),!c&&h(v)}};e.subscribe(Vt(i,v=>{a=!0,s=v,(!l||l.closed)&&(r?p():h(v))},()=>{c=!0,(!(o&&a&&l)||l.closed)&&i.complete()}))})}(()=>i,e)}(200,Wd,{leading:!0,trailing:!0})).subscribe(e=>{this.fileOver.emit(e),this.fileOverClass=e})}onDrop(e){if(this.fileSelectionDisabled)return;this.closeDrags();const i=$H(e);i.length&&(vm(e),this.handleFiles(i))}onDragOver(e){if(!this.hasObservers()||this.fileSelectionDisabled)return;vm(e);const i=e.dataTransfer;i&&(i.dropEffect="copy"),this.rawFileOver.next(!0)}closeDrags(){this.rawFileOver.next(!1)}onDragLeave(e){this.fileSelectionDisabled||(vm(e),this.closeDrags())}hasObservers(){return this.fileChange.observed||this.filesChange.observed||this.broadcast&&this.naturalFileService.filesChanged.observed}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","naturalFileDrop","",3,"naturalFileSelect",""]],hostVars:2,hostBindings:function(e,i){1&e&&E("drop",function(o){return i.onDrop(o)})("dragover",function(o){return i.onDragOver(o)})("dragleave",function(o){return i.onDragLeave(o)}),2&e&&de("natural-file-over",i.fileOverClass)},outputs:{fileOver:"fileOver"},standalone:!0,features:[N]}),n})(),UH=(()=>{class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=te(e)}get inset(){return this._inset}set inset(e){this._inset=te(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(ie("aria-orientation",i.vertical?"vertical":"horizontal"),de("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),n})(),xE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Ue]}),n})();const fEe=["mat-menu-item",""];function pEe(n,t){1&n&&(Ci(),f(0,"svg",3),T(1,"polygon",4),m())}const mEe=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],gEe=["mat-icon, [matMenuItemIcon]","*"];function _Ee(n,t){if(1&n){const e=Y();f(0,"div",0),E("keydown",function(r){return B(e),V(x()._handleKeydown(r))})("click",function(){return B(e),V(x().closed.emit("click"))})("@transformMenu.start",function(r){return B(e),V(x()._onAnimationStart(r))})("@transformMenu.done",function(r){return B(e),V(x()._onAnimationDone(r))}),f(1,"div",1),re(2),m()()}if(2&n){const e=x();_("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),ie("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const bEe=["*"],DE=new F("MAT_MENU_PANEL"),vEe=Ks(Ao(class{}));let lh=(()=>{class n extends vEe{constructor(e,i,r,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new q,this._focused=new q,this._highlighted=!1,this._triggersSubmenu=!1,o?.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 r=0;r{class n{constructor(e,i,r,o,a,s,l){this._template=e,this._componentFactoryResolver=i,this._appRef=r,this._injector=o,this._viewContainerRef=a,this._document=s,this._changeDetectorRef=l,this._attached=new q}attach(e={}){this._portal||(this._portal=new sa(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new cB(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()}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Es),g(Va),g(Yt),g(Ft),g(ye),g(ze))},n.\u0275dir=R({type:n}),n})(),CEe=(()=>{class n extends yEe{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["ng-template","matMenuContent",""]],features:[ae([{provide:GH,useExisting:n}]),N]}),n})();const Sy={transformMenu:mn("transformMenu",[_t("void",_e({opacity:0,transform:"scale(0.8)"})),ot("void => enter",it("120ms cubic-bezier(0, 0, 0.2, 1)",_e({opacity:1,transform:"scale(1)"}))),ot("* => void",it("100ms 25ms linear",_e({opacity:0})))]),fadeInItems:mn("fadeInItems",[_t("showing",_e({opacity:1})),ot("void => *",[_e({opacity:0}),it("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let wEe=0;const qH=new F("mat-menu-default-options",{providedIn:"root",factory:function xEe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ym=(()=>{class n{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()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=te(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=te(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=o,this._directDescendantItems=new Jo,this._classList={},this._panelAnimationState="void",this._animationDone=new q,this.closed=new j,this.close=this.closed,this.panelId="mat-menu-panel-"+wEe++,this.overlayPanelClass=r.overlayPanelClass||"",this._xPosition=r.xPosition,this._yPosition=r.yPosition,this.backdropClass=r.backdropClass,this._overlapTrigger=r.overlapTrigger,this._hasBackdrop=r.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new kp(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(zt(this._directDescendantItems),xt(e=>dt(...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 r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(zt(this._directDescendantItems),xt(i=>dt(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:on(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)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(lt(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["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(zt(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce),g(qH),g(ze))},n.\u0275dir=R({type:n,contentQueries:function(e,i,r){if(1&e&&(Ee(r,GH,5),Ee(r,lh,5),Ee(r,lh,4)),2&e){let o;U(o=G())&&(i.lazyContent=o.first),U(o=G())&&(i._allItems=o),U(o=G())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&ve(kt,5),2&e){let r;U(r=G())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),SE=(()=>{class n extends ym{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce),g(qH),g(ze))},n.\u0275cmp=$({type:n,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(e,i){2&e&&ie("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[ae([{provide:DE,useExisting:n}]),N],ngContentSelectors:bEe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,i){1&e&&(qe(),S(0,_Ee,3,6,"ng-template"))},dependencies:[Yr],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}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-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;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;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.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{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) 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:[Sy.transformMenu,Sy.fadeInItems]},changeDetection:0}),n})();const WH=new F("mat-menu-scroll-strategy"),SEe={provide:WH,deps:[Jn],useFactory:function DEe(n){return()=>n.scrollStrategies.reposition()}},YH=Mo({passive:!0});let kEe=(()=>{class n{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,r,o,a,s,l,c,d){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=l,this._focusMonitor=c,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=We.EMPTY,this._hoverSubscription=We.EMPTY,this._menuCloseSubscription=We.EMPTY,this._changeDetectorRef=ne(ze),this._handleTouchStart=u=>{XD(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=o,this._parentMaterialMenu=a instanceof ym?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,YH)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,YH),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),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.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 ym&&(e._startAnimation(),e._directDescendantItems.changes.pipe(se(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.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 ym?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Be(r=>"void"===r.toState),lt(1),se(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,r=e.parentMenu;for(;r;)i++,r=r.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 qs({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(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",a="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,s]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[l,c]=[a,s],[d,u]=[r,o],h=0;if(this.triggersSubmenu()){if(u=r="before"===e.xPosition?"start":"end",o=d="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}h="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l="top"===a?"bottom":"top",c="top"===s?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:d,overlayY:a,offsetY:h},{originX:o,originY:l,overlayX:u,overlayY:a,offsetY:h},{originX:r,originY:c,overlayX:d,overlayY:s,offsetY:-h},{originX:o,originY:c,overlayX:u,overlayY:s,offsetY:-h}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return dt(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ee(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Be(a=>a!==this._menuItemInstance),Be(()=>this._menuOpen)):ee(),i)}_handleMousedown(e){QD(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(Be(e=>e===this._menuItemInstance&&!e.disabled),hi(0,K_)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ym&&this.menu._isAnimating?this.menu._animationDone.pipe(lt(1),hi(0,K_),se(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new sa(e.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(g(Jn),g(W),g(Ft),g(WH),g(DE,8),g(lh,10),g(Qt,8),g(fr),g(ce))},n.\u0275dir=R({type:n,hostVars:3,hostBindings:function(e,i){1&e&&E("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&ie("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),kE=(()=>{class n extends kEe{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[N]}),n})(),EE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[SEe],imports:[ke,Io,Ue,Ws,Ja,Ue]}),n})();const EEe=["button"],MEe=["*"],KH=new F("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),QH=new F("MatButtonToggleGroup"),TEe={provide:Mi,useExisting:st(()=>ky),multi:!0};let XH=0;class JH{constructor(t,e){this.source=t,this.value=e}}let ky=(()=>{class n{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=te(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=te(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e),this._markButtonsForCheck()}constructor(e,i){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+XH++,this.valueChange=new j,this.change=new j,this.appearance=i&&i.appearance?i.appearance:"standard"}ngOnInit(){this._selectionModel=new xc(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const i=new JH(e,this.value);this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,o=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):o=!0,o?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>null!=e.value&&i===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(i=>this._selectValue(i))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const i=this._buttonToggles.find(r=>null!=r.value&&r.value===e);i&&(i.checked=!0,this._selectionModel.select(i))}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(KH,8))},n.\u0275dir=R({type:n,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,Ey,5),2&e){let o;U(o=G())&&(i._buttonToggles=o)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,i){2&e&&(ie("aria-disabled",i.disabled),de("mat-button-toggle-vertical",i.vertical)("mat-button-toggle-group-appearance-standard","standard"===i.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[ae([TEe,{provide:QH,useExisting:n}])]}),n})();const AEe=Ks(class{});let Ey=(()=>{class n extends AEe{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const i=te(e);i!==this._checked&&(this._checked=i,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=te(e)}constructor(e,i,r,o,a,s){super(),this._changeDetectorRef=i,this._elementRef=r,this._focusMonitor=o,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new j;const l=Number(a);this.tabIndex=l||0===l?l:null,this.buttonToggleGroup=e,this.appearance=s&&s.appearance?s.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+XH++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new JH(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return n.\u0275fac=function(e){return new(e||n)(g(QH,8),g(ze),g(W),g(fr),wi("tabindex"),g(KH,8))},n.\u0275cmp=$({type:n,selectors:[["mat-button-toggle"]],viewQuery:function(e,i){if(1&e&&ve(EEe,5),2&e){let r;U(r=G())&&(i._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,i){1&e&&E("focus",function(){return i.focus()}),2&e&&(ie("aria-label",null)("aria-labelledby",null)("id",i.id)("name",null),de("mat-button-toggle-standalone",!i.buttonToggleGroup)("mat-button-toggle-checked",i.checked)("mat-button-toggle-disabled",i.disabled)("mat-button-toggle-appearance-standard","standard"===i.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[N],ngContentSelectors:MEe,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,i){if(1&e&&(qe(),f(0,"button",0,1),E("click",function(){return i._onButtonClick()}),f(2,"span",2),re(3),m()(),T(4,"span",3)(5,"span",4)),2&e){const r=mt(1);_("id",i.buttonId)("disabled",i.disabled||null),ie("tabindex",i.disabled?-1:i.tabIndex)("aria-pressed",i.checked)("name",i._getButtonName())("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),b(5),_("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)}},dependencies:[Ei],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),n})(),ME=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Io,Ue]}),n})();const IEe=["tooltip"],ZH=new F("mat-tooltip-scroll-strategy"),NEe={provide:ZH,deps:[Jn],useFactory:function REe(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},PEe=new F("mat-tooltip-default-options",{providedIn:"root",factory:function FEe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),e7="tooltip-panel",t7=Mo({passive:!0});let $Ee=(()=>{class n{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=te(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=pn(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=pn(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,r,o,a,s,l,c,d,u,h,p){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=s,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._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new q,this._scrollStrategy=d,this._document=p,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(se(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(se(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,r])=>{e.removeEventListener(i,r,t7)}),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 r=this._createOverlay(i);this._detach(),this._portal=this._portal||new aa(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(se(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.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 o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof W)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(se(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${e7}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(se(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(se(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(se(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!on(o)&&(o.preventDefault(),o.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,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(lt(1),se(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:r,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const s=this._overlayRef;if(s){const l=`${this._cssClassPrefix}-${e7}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_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],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&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,r])=>{this._elementRef.nativeElement.addEventListener(i,r,t7)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),fs=(()=>{class n extends $Ee{constructor(e,i,r,o,a,s,l,c,d,u,h,p){super(e,i,r,o,a,s,l,c,d,u,h,p),this._tooltipComponent=UEe,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return n.\u0275fac=function(e){return new(e||n)(g(Jn),g(W),g(bp),g(Ft),g(ce),g(yt),g(kB),g(fr),g(ZH),g(Qt,8),g(PEe,8),g(ye))},n.\u0275dir=R({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){2&e&&de("mat-mdc-tooltip-disabled",i.disabled)},exportAs:["matTooltip"],features:[N]}),n})(),jEe=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new q,this._animationsDisabled="NoopAnimations"===i}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(){}_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,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(Ot,8))},n.\u0275dir=R({type:n}),n})(),UEe=(()=>{class n extends jEe{constructor(e,i,r){super(e,r),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(W),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&ve(IEe,7),2&e){let r;U(r=G())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&E("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&un("zoom",i.isVisible()?1:null)},features:[N],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(f(0,"div",0,1),E("animationend",function(o){return i._handleAnimationEnd(o)}),f(2,"div",2),C(3),m()()),2&e&&(de("mdc-tooltip--multiline",i._isMultiline),_("ngClass",i.tooltipClass),b(3),xe(i.message))},dependencies:[Yr],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-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.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-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}),n})(),ps=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[NEe],imports:[Qb,ke,Ws,Ue,Ue,Ja]}),n})();const GEe=["editor"];function qEe(n,t){if(1&n){const e=Y();f(0,"button",28),E("click",function(){return B(e),V(x(2).save.emit())}),T(1,"mat-icon",29),m()}}function WEe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",30),E("click",function(r){return B(e),V(x(2).run(r,"toggleStrong"))}),T(1,"mat-icon",31),m()}if(2&n){const e=x(2);_("disabled",e.menu.toggleStrong.disabled)("checked",e.menu.toggleStrong.active)}}function YEe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",32),E("click",function(r){return B(e),V(x(2).run(r,"toggleEm"))}),T(1,"mat-icon",33),m()}if(2&n){const e=x(2);_("disabled",e.menu.toggleEm.disabled)("checked",e.menu.toggleEm.active)}}function KEe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",34),E("click",function(r){return B(e),V(x(2).run(r,"toggleCode"))}),T(1,"mat-icon",35),m()}if(2&n){const e=x(2);_("disabled",e.menu.toggleCode.disabled)("checked",e.menu.toggleCode.active)}}function QEe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",36),E("click",function(r){return B(e),V(x(2).run(r,"toggleLink"))}),T(1,"mat-icon",37),m()}if(2&n){const e=x(2);_("disabled",e.menu.toggleLink.disabled)("checked",e.menu.toggleLink.active)}}function XEe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeParagraph"))}),Ce(1,39),m()}2&n&&_("disabled",x(2).menu.makeParagraph.disabled)}function JEe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeCodeBlock"))}),Ce(1,40),m()}2&n&&_("disabled",x(2).menu.makeCodeBlock.disabled)}function ZEe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead1"))}),Ce(1,41),m()}2&n&&_("disabled",x(2).menu.makeHead1.disabled)}function eMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead2"))}),Ce(1,42),m()}2&n&&_("disabled",x(2).menu.makeHead2.disabled)}function tMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead3"))}),Ce(1,43),m()}2&n&&_("disabled",x(2).menu.makeHead3.disabled)}function nMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead4"))}),Ce(1,44),m()}2&n&&_("disabled",x(2).menu.makeHead4.disabled)}function iMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead5"))}),Ce(1,45),m()}2&n&&_("disabled",x(2).menu.makeHead5.disabled)}function rMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"makeHead6"))}),Ce(1,46),m()}2&n&&_("disabled",x(2).menu.makeHead6.disabled)}function oMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"blockClass"))}),Ce(1,47),m()}2&n&&_("disabled",x(2).menu.blockClass.disabled)}function aMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"blockId"))}),C(1,"ID... "),m()}2&n&&_("disabled",x(2).menu.blockId.disabled)}function sMe(n,t){1&n&&(f(0,"button",11)(1,"span"),Ce(2,48),m(),T(3,"mat-icon",13),m()),2&n&&(x(),_("matMenuTriggerFor",mt(27)))}function lMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"insertTable"))}),Ce(1,49),m()}2&n&&_("disabled",x(2).menu.insertTable.disabled)}function cMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"deleteTable"))}),Ce(1,50),m()}2&n&&_("disabled",x(2).menu.deleteTable.disabled)}function dMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"mergeCells"))}),Ce(1,51),m()}2&n&&_("disabled",x(2).menu.mergeCells.disabled)}function uMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"splitCell"))}),Ce(1,52),m()}2&n&&_("disabled",x(2).menu.splitCell.disabled)}function hMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"cellBackgroundColor"))}),Ce(1,53),m()}2&n&&_("disabled",x(2).menu.cellBackgroundColor.disabled)}function fMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"tableClass"))}),Ce(1,54),m()}2&n&&_("disabled",x(2).menu.tableClass.disabled)}function pMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"tableId"))}),C(1,"ID... "),m()}2&n&&_("disabled",x(2).menu.tableId.disabled)}function mMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"addColumnBefore"))}),Ce(1,55),m()}2&n&&_("disabled",x(2).menu.addColumnBefore.disabled)}function gMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"addColumnAfter"))}),Ce(1,56),m()}2&n&&_("disabled",x(2).menu.addColumnAfter.disabled)}function _Me(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"deleteColumn"))}),Ce(1,57),m()}2&n&&_("disabled",x(2).menu.deleteColumn.disabled)}function bMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"addRowBefore"))}),Ce(1,58),m()}2&n&&_("disabled",x(2).menu.addRowBefore.disabled)}function vMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"addRowAfter"))}),Ce(1,59),m()}2&n&&_("disabled",x(2).menu.addRowAfter.disabled)}function yMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"deleteRow"))}),Ce(1,60),m()}2&n&&_("disabled",x(2).menu.deleteRow.disabled)}function CMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"toggleHeaderColumn"))}),Ce(1,61),m()}2&n&&_("disabled",x(2).menu.toggleHeaderColumn.disabled)}function wMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"toggleHeaderRow"))}),Ce(1,62),m()}2&n&&_("disabled",x(2).menu.toggleHeaderRow.disabled)}function xMe(n,t){if(1&n){const e=Y();f(0,"button",38),E("click",function(r){return B(e),V(x(2).run(r,"toggleHeaderCell"))}),Ce(1,63),m()}2&n&&_("disabled",x(2).menu.toggleHeaderCell.disabled)}function DMe(n,t){if(1&n){const e=Y();f(0,"button",64),E("fileChange",function(r){return B(e),V(x(2).upload(r))}),T(1,"mat-icon",65),m()}2&n&&_("selectable",!0)("broadcast",!1)}function SMe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",70),E("click",function(r){return B(e),V(x(3).run(r,"alignLeft"))}),T(1,"mat-icon",71),m()}if(2&n){const e=x(3);_("disabled",e.menu.alignLeft.disabled)("checked",e.menu.alignLeft.active)}}function kMe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",72),E("click",function(r){return B(e),V(x(3).run(r,"alignCenter"))}),T(1,"mat-icon",73),m()}if(2&n){const e=x(3);_("disabled",e.menu.alignCenter.disabled)("checked",e.menu.alignCenter.active)}}function EMe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",74),E("click",function(r){return B(e),V(x(3).run(r,"alignRight"))}),T(1,"mat-icon",75),m()}if(2&n){const e=x(3);_("disabled",e.menu.alignRight.disabled)("checked",e.menu.alignRight.active)}}function MMe(n,t){if(1&n){const e=Y();f(0,"mat-button-toggle",76),E("click",function(r){return B(e),V(x(3).run(r,"alignJustify"))}),T(1,"mat-icon",77),m()}if(2&n){const e=x(3);_("disabled",e.menu.alignJustify.disabled)("checked",e.menu.alignJustify.active)}}function TMe(n,t){if(1&n&&(f(0,"mat-button-toggle-group"),S(1,SMe,2,2,"mat-button-toggle",66),S(2,kMe,2,2,"mat-button-toggle",67),S(3,EMe,2,2,"mat-button-toggle",68),S(4,MMe,2,2,"mat-button-toggle",69),m()),2&n){const e=x(2);b(1),_("ngIf",e.menu.alignLeft),b(1),_("ngIf",e.menu.alignCenter),b(1),_("ngIf",e.menu.alignRight),b(1),_("ngIf",e.menu.alignJustify)}}function AMe(n,t){if(1&n){const e=Y();f(0,"button",78),E("click",function(r){return B(e),V(x(2).run(r,"undo"))}),T(1,"mat-icon",79),m()}2&n&&_("disabled",x(2).menu.undo.disabled)}function IMe(n,t){if(1&n){const e=Y();f(0,"button",80),E("click",function(r){return B(e),V(x(2).run(r,"redo"))}),T(1,"mat-icon",81),m()}2&n&&_("disabled",x(2).menu.redo.disabled)}function OMe(n,t){if(1&n){const e=Y();f(0,"button",82),E("click",function(r){return B(e),V(x(2).run(r,"wrapBulletList"))}),T(1,"mat-icon",83),m()}2&n&&_("disabled",x(2).menu.wrapBulletList.disabled)}function RMe(n,t){if(1&n){const e=Y();f(0,"button",84),E("click",function(r){return B(e),V(x(2).run(r,"wrapOrderedList"))}),T(1,"mat-icon",85),m()}2&n&&_("disabled",x(2).menu.wrapOrderedList.disabled)}function NMe(n,t){if(1&n){const e=Y();f(0,"button",86),E("click",function(r){return B(e),V(x(2).run(r,"wrapBlockQuote"))}),T(1,"mat-icon",87),m()}2&n&&_("disabled",x(2).menu.wrapBlockQuote.disabled)}function FMe(n,t){if(1&n){const e=Y();f(0,"button",88),E("click",function(r){return B(e),V(x(2).run(r,"joinUp"))}),T(1,"mat-icon",89),m()}2&n&&_("disabled",x(2).menu.joinUp.disabled)}function PMe(n,t){if(1&n){const e=Y();f(0,"button",90),E("click",function(r){return B(e),V(x(2).run(r,"lift"))}),T(1,"mat-icon",91),m()}2&n&&_("disabled",x(2).menu.lift.disabled)}function LMe(n,t){if(1&n){const e=Y();f(0,"button",92),E("click",function(r){return B(e),V(x(2).run(r,"selectParentNode"))}),T(1,"mat-icon",93),m()}2&n&&_("disabled",x(2).menu.selectParentNode.disabled)}function BMe(n,t){if(1&n&&(f(0,"div",3)(1,"div",4),S(2,qEe,2,0,"button",5),f(3,"mat-button-toggle-group",6),S(4,WEe,2,2,"mat-button-toggle",7),S(5,YEe,2,2,"mat-button-toggle",8),S(6,KEe,2,2,"mat-button-toggle",9),S(7,QEe,2,2,"mat-button-toggle",10),m(),f(8,"button",11)(9,"span"),Ce(10,12),m(),T(11,"mat-icon",13),m(),f(12,"mat-menu",null,14),S(14,XEe,2,1,"button",15),S(15,JEe,2,1,"button",15),S(16,ZEe,2,1,"button",15),S(17,eMe,2,1,"button",15),S(18,tMe,2,1,"button",15),S(19,nMe,2,1,"button",15),S(20,iMe,2,1,"button",15),S(21,rMe,2,1,"button",15),T(22,"mat-divider"),S(23,oMe,2,1,"button",15),S(24,aMe,2,1,"button",15),m(),S(25,sMe,4,1,"button",16),f(26,"mat-menu",null,17),S(28,lMe,2,1,"button",15),S(29,cMe,2,1,"button",15),S(30,dMe,2,1,"button",15),S(31,uMe,2,1,"button",15),S(32,hMe,2,1,"button",15),S(33,fMe,2,1,"button",15),S(34,pMe,2,1,"button",15),T(35,"mat-divider"),S(36,mMe,2,1,"button",15),S(37,gMe,2,1,"button",15),S(38,_Me,2,1,"button",15),T(39,"mat-divider"),S(40,bMe,2,1,"button",15),S(41,vMe,2,1,"button",15),S(42,yMe,2,1,"button",15),T(43,"mat-divider"),S(44,CMe,2,1,"button",15),S(45,wMe,2,1,"button",15),S(46,xMe,2,1,"button",15),m(),S(47,DMe,2,2,"button",18),S(48,TMe,5,4,"mat-button-toggle-group",19),S(49,AMe,2,1,"button",20),S(50,IMe,2,1,"button",21),S(51,OMe,2,1,"button",22),S(52,RMe,2,1,"button",23),S(53,NMe,2,1,"button",24),S(54,FMe,2,1,"button",25),S(55,PMe,2,1,"button",26),S(56,LMe,2,1,"button",27),m()()),2&n){const e=mt(13),i=x();b(2),_("ngIf",i.save.observed),b(2),_("ngIf",i.menu.toggleStrong),b(1),_("ngIf",i.menu.toggleEm),b(1),_("ngIf",i.menu.toggleCode),b(1),_("ngIf",i.menu.toggleLink),b(1),_("matMenuTriggerFor",e),b(6),_("ngIf",i.menu.makeParagraph),b(1),_("ngIf",i.menu.makeCodeBlock),b(1),_("ngIf",i.menu.makeHead1),b(1),_("ngIf",i.menu.makeHead2),b(1),_("ngIf",i.menu.makeHead3),b(1),_("ngIf",i.menu.makeHead4),b(1),_("ngIf",i.menu.makeHead5),b(1),_("ngIf",i.menu.makeHead6),b(2),_("ngIf",i.menu.blockClass),b(1),_("ngIf",i.menu.blockId),b(1),_("ngIf",i.menu.addColumnBefore),b(3),_("ngIf",i.menu.insertTable),b(1),_("ngIf",i.menu.deleteTable),b(1),_("ngIf",i.menu.mergeCells),b(1),_("ngIf",i.menu.splitCell),b(1),_("ngIf",i.menu.cellBackgroundColor),b(1),_("ngIf",i.menu.tableClass),b(1),_("ngIf",i.menu.tableId),b(2),_("ngIf",i.menu.addColumnBefore),b(1),_("ngIf",i.menu.addColumnAfter),b(1),_("ngIf",i.menu.deleteColumn),b(2),_("ngIf",i.menu.addRowBefore),b(1),_("ngIf",i.menu.addRowAfter),b(1),_("ngIf",i.menu.deleteRow),b(2),_("ngIf",i.menu.toggleHeaderColumn),b(1),_("ngIf",i.menu.toggleHeaderRow),b(1),_("ngIf",i.menu.toggleHeaderCell),b(1),_("ngIf",i.imageUploader),b(1),_("ngIf",i.menu.alignLeft),b(1),_("ngIf",i.menu.undo),b(1),_("ngIf",i.menu.redo),b(1),_("ngIf",i.menu.wrapBulletList&&i.menu.wrapBulletList.show),b(1),_("ngIf",i.menu.wrapOrderedList&&i.menu.wrapOrderedList.show),b(1),_("ngIf",i.menu.wrapBlockQuote&&i.menu.wrapBlockQuote.show),b(1),_("ngIf",i.menu.joinUp&&i.menu.joinUp.show),b(1),_("ngIf",i.menu.lift&&i.menu.lift.show),b(1),_("ngIf",i.menu.selectParentNode&&i.menu.selectParentNode.show)}}let VMe=(()=>{class n{constructor(e,i,r,o){this.ngControl=e,this.document=i,this.dialog=r,this.imagePlugin=o,this.view=null,this.contentChange=new j,this.imageUploader=null,this.schema=oH,this.content="",this.menu=null,this.save=new j,this.disabled=!1,null!==this.ngControl&&(this.ngControl.valueAccessor=this)}ngOnInit(){this.schema=this.imageUploader?aH:oH,this.menu=function Ike(n,t){const e={joinUp:vr(ZSe),lift:vr(eke),selectParentNode:vr(tke),undo:vr(nke),redo:vr(ike)};let i;return i=n.marks.strong,i&&(e.toggleStrong=_E(i)),i=n.marks.em,i&&(e.toggleEm=_E(i)),i=n.marks.code,i&&(e.toggleCode=_E(i)),i=n.marks.link,i&&(e.toggleLink=new vke(i,t)),i=n.nodes.bullet_list,i&&(e.wrapBulletList=IH(i)),i=n.nodes.ordered_list,i&&(e.wrapOrderedList=IH(i)),i=n.nodes.blockquote,i&&(e.wrapBlockQuote=vr(function rke(n,t){let e={run:(i,r)=>dE(n,t.attrs)(i,r),select:i=>dE(n,t.attrs)(i)};for(let i in t)e[i]=t[i];return new zc(e)}(i,{}))),i=n.nodes.paragraph,i&&(e.makeParagraph=vr(bl(i,{})),i.spec===nE&&(e.alignLeft=new xy("left"),e.alignRight=new xy("right"),e.alignCenter=new xy("center"),e.alignJustify=new xy("justify"))),i=n.nodes.code_block,i&&(e.makeCodeBlock=vr(bl(i,{}))),i=n.nodes.heading,i&&(e.makeHead1=vr(bl(i,{attrs:{level:1}})),e.makeHead2=vr(bl(i,{attrs:{level:2}})),e.makeHead3=vr(bl(i,{attrs:{level:3}})),e.makeHead4=vr(bl(i,{attrs:{level:4}})),e.makeHead5=vr(bl(i,{attrs:{level:5}})),e.makeHead6=vr(bl(i,{attrs:{level:6}}))),n.nodes.paragraph?.spec===nE&&(e.blockId=new FH(t,["heading","paragraph"]),e.blockClass=new RH(t,["heading","paragraph"])),i=n.nodes.horizontal_rule,i&&(e.insertHorizontalRule=new Cke(i)),i=n.nodes.table,i&&(e.insertTable=new Ake,e.addColumnBefore=yr(IDe),e.addColumnAfter=yr(ODe),e.deleteColumn=yr(NDe),e.addRowBefore=yr(PDe),e.addRowAfter=yr(LDe),e.deleteRow=yr(VDe),e.deleteTable=yr(QDe),e.mergeCells=yr(HDe),e.splitCell=yr($De),e.toggleHeaderColumn=yr(WDe),e.toggleHeaderRow=yr(qDe),e.toggleHeaderCell=yr(YDe),e.cellBackgroundColor=new gke(t),e.tableClass=new RH(t,["table"]),e.tableId=new FH(t,["table"])),e}(this.schema,this.dialog);const e=pa.fromSchema(this.schema),i=this.createState();this.view=new j1e(this.editor.nativeElement,{state:i,editable:()=>!this.disabled,dispatchTransaction:r=>{if(!this.view)return;const o=this.view.state.apply(r);this.view.updateState(o);const a=e.serializeFragment(this.view.state.doc),s=this.document.createElement("_");s.appendChild(a),this.content===s.innerHTML||this.disabled||(this.content=s.innerHTML,this.onChange&&this.onChange(this.content),this.contentChange.emit(this.content))}}),this.update()}writeValue(e){if("string"==typeof e&&e!==this.content&&(this.content=e),null!==this.view){const i=this.createState();this.view.updateState(i)}}createState(){const e=this.document.createElement("_");if(e.innerHTML="
"+this.content+"
",!e.firstChild)throw new Error("child of template element could not be created");const r=Gu.fromSchema(this.schema).parse(e.firstChild);return Zu.create({doc:r,plugins:this.createPlugins()})}createPlugins(){const e=!!this.document.defaultView?.navigator.platform.match(/Mac/),i=[nEe(this.schema),Uk(iEe(this.schema,e)),Uk(VSe),Oke(),new ls({props:{decorations:zke,createSelectionBetween:(n,t,e)=>t.pos==e.pos&&xn.valid(e)?new xn(e):null,handleClick:Bke,handleKeyDown:Lke,handleDOMEvents:{beforeinput:Vke}}}),qSe(),new ls({props:{attributes:{class:"ProseMirror-example-setup-style"}}}),new ls({view:()=>this})];return this.schema===aH&&i.push(this.imagePlugin.plugin,function XDe({allowTableNodeSelection:n=!1}={}){return new ls({key:ml,state:{init:()=>null,apply(t,e){const i=t.getMeta(ml);if(null!=i)return-1==i?null:i;if(null==e||!t.docChanged)return e;const{deleted:r,pos:o}=t.mapping.mapResult(e);return r?null:o}},props:{decorations:aDe,handleDOMEvents:{mousedown:yDe},createSelectionBetween:t=>null!=ml.getState(t.state)?t.state.selection:null,handleTripleClick:bDe,handleKeyDown:_De,handlePaste:vDe},appendTransaction:(t,e,i)=>function cDe(n,t,e){const i=(t||n).selection,r=(t||n).doc;let o,a;if(i instanceof $e&&(a=i.node.type.spec.tableRole)){if("cell"==a||"header_cell"==a)o=Et.create(r,i.from);else if("row"==a){const s=r.resolve(i.from+1);o=Et.rowSelection(s,s)}else if(!e){const s=ln.get(i.node),l=i.from+1;o=Et.create(r,l+1,l+s.map[s.width*s.height-1])}}else i instanceof ht&&function sDe({$from:n,$to:t}){if(n.pos==t.pos||n.pos=0&&!(n.after(r+1)=0&&!(t.before(o+1)>t.start(o));o--,i--);return e==i&&/row|table/.test(n.node(r).type.spec.tableRole)}(i)?o=ht.create(r,i.from):i instanceof ht&&function lDe({$from:n,$to:t}){let e,i;for(let r=n.depth;r>0;r--){const o=n.node(r);if("cell"===o.type.spec.tableRole||"header_cell"===o.type.spec.tableRole){e=o;break}}for(let r=t.depth;r>0;r--){const o=t.node(r);if("cell"===o.type.spec.tableRole||"header_cell"===o.type.spec.tableRole){i=o;break}}return e!==i&&0===t.parentOffset}(i)&&(o=ht.create(r,i.$from.start(),i.$from.end()));return o&&(t||(t=n.tr)).setSelection(o),t}(i,uDe(i,e),n)})}(),Uk({Tab:Zz(1),"Shift-Tab":Zz(-1)})),i}update(){if(this.view&&this.menu)for(const e of Object.values(this.menu))e.update(this.view,this.view.state)}registerOnChange(e){this.onChange=e}registerOnTouched(){}setDisabledState(e){this.disabled=e}ngOnDestroy(){this.view&&(this.view.destroy(),this.view=null)}run(e,i){if(!this.view||!this.menu)return;const r=this.menu[i];!r||r.disabled||!r.show||(r.spec.run(this.view.state,this.view.dispatch,this.view,e),this.view.focus())}upload(e){!this.view||!this.imageUploader||(this.view.state.selection.$from.parent.inlineContent&&this.imagePlugin.startImageUpload(this.view,e,this.imageUploader,this.schema),this.view.focus())}}return n.\u0275fac=function(e){return new(e||n)(g(Qi,10),g(ye),g(Xs),g(eH))},n.\u0275cmp=$({type:n,selectors:[["natural-editor"]],viewQuery:function(e,i){if(1&e&&ve(GEe,7,W),2&e){let r;U(r=G())&&(i.editor=r.first)}},inputs:{imageUploader:"imageUploader"},outputs:{contentChange:"contentChange",save:"save"},standalone:!0,features:[ae([eH]),Se],decls:3,vars:1,consts:function(){let t,e,i,r,o,a,s,l,c,d,u,h,p,v,y,w,k,D,M,A,O,he,P,le,Ve,Ne,Dn,Vi,Bt,zi,bs,we,Me,Ae,at,bn,Hi,Tt,Cr,bt,Sa,kl,Un,Po;return t=$localize`:␟ed4e9803a21e1ebd2da72379252b471d64eda506␟4977912145007192180:Enregistrer`,e=$localize`:␟e571e69c1f6b7f0dff9ff4f1466b2e994b1192e5␟853518071026302177:Gras`,i=$localize`:␟47d9e7ef80f669552e3df42dbba8be7088b822d3␟300198309511639809:Italique`,r=$localize`:␟68572de01b84c678be4bf8a27b990ecac2f41ce9␟8186013988289067040:Code`,o=$localize`:␟ba7473f3a215d1323eff2ad3167d0e9e9274218e␟1557041251955945552:Insérer un lien...`,a=$localize`:␟f61c6867295f3b53d23557021f2f4e0aa1d0b8fc␟8650499415827640724:Type`,s=$localize`:␟9be03b6413d8068efe175697621131615a6ab3a0␟3841978350801808879:Insérer une image`,l=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,c=$localize`:␟8b5d0e4c0dec651a66d89de01f137cb5e5e04257␟6403851193916651073:Refaire`,d=$localize`:␟3ff6c7a0175eb584e95dca05def5571c9035940b␟4704418596776975081:Liste à puce`,u=$localize`:␟60623fec2df2e8744df5619b9b6dadc73672e24b␟7216232907864469265:Liste à numéro`,h=$localize`:␟7dabf675c8fe0749ca2779c47bba8f358c1019a4␟2451656483824020015:Citation`,p=$localize`:␟ace5a15008479d64be5ac213ca232ba5ecd8bb73␟5064870605618369023:Fusionner avec l'élément du haut`,v=$localize`:␟cb9750d7d225829cfd5d95b74ae4351b5ed65aa6␟2000897235581877997:Désindenter`,y=$localize`:␟83be2abf76edda9dc5b9154186284dc0f41fab77␟8614235463900586550:Sélectionner l'élément parent`,w=$localize`:␟d28fab97453e2081f570cd48af95ccdd6a8e6397␟6136400864719324541:Paragraphe `,k=$localize`:␟97af59623792a52ef3a17ba156af3e3a98b70d9f␟2538202305233848059:Code `,D=$localize`:␟0cd770f82e9b40302540b722aa4715adada5ff12␟2584920469226127358:Titre 1 `,M=$localize`:␟f2cfeb7dace4711aecb4ef406f9fe57a7e83cd2b␟2476185641560857556:Titre 2 `,A=$localize`:␟8bb4357ee55c3f7fd740efeb258a31d9f2703edf␟5436256042861037682:Titre 3 `,O=$localize`:␟63609168bcad34769071de0365d9fc0d9a344a19␟936401339229077313:Titre 4 `,he=$localize`:␟c337e2bd875c16f36286dac5a5ad3540c3ab63a5␟7421680847692046107:Titre 5 `,P=$localize`:␟7f60fe973299dc85f78991130b1383f97a08a6a9␟5620926499026208012:Titre 6 `,le=$localize`:␟593d23a4825040a26925c41f63121fe0efb5d9d5␟8769664555052864734:Classe... `,Ve=$localize`:␟b9549ffcf4f755b1d130ef02e560e470df4ddccc␟5784023628268896817:Tableau`,Ne=$localize`:␟0442ba52e6355e8f992bdf5e8f4eedfaea956dcf␟1946656239935628257:Insérer un tableau `,Dn=$localize`:␟a40df4982ffaded4b276dd25d33f7e0a32016321␟4853602868912920222:Supprimer le tableau `,Vi=$localize`:␟c765697875517db0fab6e311d5a48fcc9974ad66␟8691237197515173447:Fusionner les cellules `,Bt=$localize`:␟432e1f93f781f8403dbfb636d3a376e53788d510␟4797772159699051059:Scinder les cellules `,zi=$localize`:␟fd20bb03ff73f7dc4fe28db2b0a270d88c53d639␟3769381309463321881:Couleur de fond... `,bs=$localize`:␟593d23a4825040a26925c41f63121fe0efb5d9d5␟8769664555052864734:Classe... `,we=$localize`:␟804af476d87b2d86932e7f014380da92607e8708␟5333104642136967953:Insérer une colonne avant `,Me=$localize`:␟b3b4ea2c2e86d45752c0bede2a44473676f356a1␟91058110410087231:Insérer une colonne après `,Ae=$localize`:␟637535add43150a4ead5ba3a3af45f0ad0b28cdb␟8538662713416203555:Supprimer la colonne `,at=$localize`:␟7c4e33de9149ecc247ca964b1f296d587844a66b␟4531962888723553566:Insérer une ligne avant `,bn=$localize`:␟4dcafbec2b39be8553dbab1dab6c1dee4af6ca2e␟8333556608682627392:Insérer une ligne après `,Hi=$localize`:␟e27972b4a5842b59fa0ea7f2ce3274d68907de13␟333775365156251210:Supprimer la ligne `,Tt=$localize`:␟38bc19a45746e12248c3ec631137f776c3930fa1␟8309435796850150632:Entête de colonne `,Cr=$localize`:␟a408e1d151b957a1cefa419ddb461c7060035ebb␟2116722037476295193:Entête de ligne `,bt=$localize`:␟2fe2b278faa9079d19626dcfde7d817ef6a3d64f␟7159045021088816672:Entête de cellule `,Sa=$localize`:␟9c53596030535cb177aa59e9842e246c31653f1f␟115347249111072315:Aligner gauche`,kl=$localize`:␟f8b1dc60bc104c4a24e9539c099dc2d39382dfa0␟928726635862596808:Centrer`,Un=$localize`:␟4e5190f42014bef9660dec2299437ea94817593c␟1503396568088382412:Aligner droite`,Po=$localize`:␟782b8c1f80b16b4bddb129186f9f5d9d2a53d0ef␟5699727622825203342:Justifier`,[["class","menu-container",4,"ngIf"],[1,"editor-container"],["editor",""],[1,"menu-container"],[1,"menu"],["mat-icon-button","","matTooltip",t,3,"click",4,"ngIf"],["multiple",""],["matTooltip",e,3,"disabled","checked","click",4,"ngIf"],["matTooltip",i,3,"disabled","checked","click",4,"ngIf"],["matTooltip",r,3,"disabled","checked","click",4,"ngIf"],["matTooltip",o,3,"disabled","checked","click",4,"ngIf"],["mat-button","",3,"matMenuTriggerFor"],a,["fontIcon","arrow_drop_down"],["blockMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],["tableMenu","matMenu"],["mat-icon-button","","naturalFileDrop","","matTooltip",s,3,"selectable","broadcast","fileChange",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","matTooltip",l,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",c,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",d,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",u,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",h,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",p,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",v,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",y,3,"disabled","click",4,"ngIf"],["mat-icon-button","","matTooltip",t,3,"click"],["fontIcon","save"],["matTooltip",e,3,"disabled","checked","click"],["fontIcon","format_bold"],["matTooltip",i,3,"disabled","checked","click"],["fontIcon","format_italic"],["matTooltip",r,3,"disabled","checked","click"],["fontIcon","code"],["matTooltip",o,3,"disabled","checked","click"],["fontIcon","insert_link"],["mat-menu-item","",3,"disabled","click"],w,k,D,M,A,O,he,P,le,Ve,Ne,Dn,Vi,Bt,zi,bs,we,Me,Ae,at,bn,Hi,Tt,Cr,bt,["mat-icon-button","","naturalFileDrop","","matTooltip",s,3,"selectable","broadcast","fileChange"],["fontIcon","insert_photo"],["matTooltip",Sa,3,"disabled","checked","click",4,"ngIf"],["matTooltip",kl,3,"disabled","checked","click",4,"ngIf"],["matTooltip",Un,3,"disabled","checked","click",4,"ngIf"],["matTooltip",Po,3,"disabled","checked","click",4,"ngIf"],["matTooltip",Sa,3,"disabled","checked","click"],["fontIcon","format_align_left"],["matTooltip",kl,3,"disabled","checked","click"],["fontIcon","format_align_center"],["matTooltip",Un,3,"disabled","checked","click"],["fontIcon","format_align_right"],["matTooltip",Po,3,"disabled","checked","click"],["fontIcon","format_align_justify"],["mat-icon-button","","matTooltip",l,3,"disabled","click"],["fontIcon","undo"],["mat-icon-button","","matTooltip",c,3,"disabled","click"],["fontIcon","redo"],["mat-icon-button","","matTooltip",d,3,"disabled","click"],["fontIcon","format_list_bulleted"],["mat-icon-button","","matTooltip",u,3,"disabled","click"],["fontIcon","format_list_numbered"],["mat-icon-button","","matTooltip",h,3,"disabled","click"],["fontIcon","format_quote"],["mat-icon-button","","matTooltip",p,3,"disabled","click"],["fontIcon","move_up"],["mat-icon-button","","matTooltip",v,3,"disabled","click"],["fontIcon","format_indent_decrease"],["mat-icon-button","","matTooltip",y,3,"disabled","click"],["fontIcon","select_all"]]},template:function(e,i){1&e&&(S(0,BMe,57,43,"div",0),T(1,"div",1,2)),2&e&&_("ngIf",i.menu&&!i.disabled)},dependencies:[ke,Le,ct,tn,Nr,ps,fs,li,Zn,ME,ky,Ey,EE,SE,lh,kE,xE,UH,wE],styles:['.menu[_ngcontent-%COMP%]{border-bottom:1px solid;display:flex;flex-wrap:wrap;padding:10px 18px}.menu-container[_ngcontent-%COMP%]{position:sticky;top:-20px;z-index:999} .ProseMirror{position:relative} .ProseMirror{word-wrap:break-word;white-space:pre-wrap;font-variant-ligatures:none} .ProseMirror pre{white-space:pre-wrap} .ProseMirror li{position:relative} .ProseMirror-hideselection *::selection{background:transparent} .ProseMirror-hideselection *::-moz-selection{background:transparent} .ProseMirror-hideselection{caret-color:transparent} .ProseMirror-selectednode{outline:2px solid #8cf} li.ProseMirror-selectednode{outline:none} li.ProseMirror-selectednode:after{content:"";position:absolute;inset:-2px -2px -2px -32px;border:2px solid #8cf;pointer-events:none} .ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute} .ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid black;animation:_ngcontent-%COMP%_ProseMirror-cursor-blink 1.1s steps(2,start) infinite}@keyframes _ngcontent-%COMP%_ProseMirror-cursor-blink{to{visibility:hidden}} .ProseMirror-focused .ProseMirror-gapcursor{display:block} .ProseMirror-example-setup-style hr{padding:2px 10px;border:none;margin:1em 0} .ProseMirror-example-setup-style hr:after{content:"";display:block;height:1px;background-color:silver;line-height:2px} .ProseMirror ul, .ProseMirror ol{padding-left:30px} .ProseMirror blockquote{padding-left:1em;border-left:3px solid #eee;margin-left:0;margin-right:0} .ProseMirror-example-setup-style img{cursor:default} .ProseMirror p:first-child, .ProseMirror h1:first-child, .ProseMirror h2:first-child, .ProseMirror h3:first-child, .ProseMirror h4:first-child, .ProseMirror h5:first-child, .ProseMirror h6:first-child{margin-top:10px} .ProseMirror{padding:4px 8px 4px 14px;line-height:1.2;outline:none} .ProseMirror p{margin-bottom:1em} .ProseMirror .tableWrapper{overflow-x:auto} .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;overflow:hidden} .ProseMirror td, .ProseMirror th{vertical-align:top;box-sizing:border-box;position:relative} .ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;z-index:20;background-color:#adf;pointer-events:none} .ProseMirror.resize-cursor{cursor:col-resize} .ProseMirror .selectedCell:after{z-index:2;position:absolute;content:"";inset:0;background:rgba(200,200,255,.4);pointer-events:none} .ProseMirror table{margin:0} .ProseMirror th, .ProseMirror td{min-width:1em;border:1px solid #ddd;padding:3px 5px} .ProseMirror .tableWrapper{margin:1em 0} .ProseMirror th{font-weight:700;text-align:left} placeholder{display:block;width:50px;height:50px;background-size:500% 100%!important;animation:_ngcontent-%COMP%_gradient 3s none infinite}@keyframes _ngcontent-%COMP%_gradient{0%{background-position:100% 100%}to{background-position:0 0}}']}),n})();const zMe=["input"],HMe=["label"],$Me=["*"],jMe=new F("mat-checkbox-default-options",{providedIn:"root",factory:n7});function n7(){return{color:"accent",clickAction:"check-indeterminate"}}const UMe={provide:Mi,useExisting:st(()=>yl),multi:!0};class GMe{}let qMe=0;const i7=n7(),WMe=cc(Ys(Ks(Ao(class{constructor(n){this._elementRef=n}}))));let YMe=(()=>{class n extends WMe{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=te(e)}constructor(e,i,r,o,a,s,l){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=s,this._options=l,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=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||i7,this.color=this.defaultColor=this._options.color||i7.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++qMe}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=te(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=te(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=te(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),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}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},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?1:2),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 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&(ve(zMe,5),ve(HMe,5),ve(Ei,5)),2&e){let r;U(r=G())&&(i._inputElement=r.first),U(r=G())&&(i._labelElement=r.first),U(r=G())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[N]}),n})(),yl=(()=>{class n extends YMe{constructor(e,i,r,o,a,s){super("mat-mdc-checkbox-",e,i,r,o,a,s),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"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new GMe;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(ce),wi("tabindex"),g(Ot,8),g(jMe,8))},n.\u0275cmp=$({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(Si("id",i.id),ie("tabindex",null)("aria-label",null)("aria-labelledby",null),de("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[ae([UMe]),N],ngContentSelectors:$Me,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[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"],["label",""]],template:function(e,i){if(1&e&&(qe(),f(0,"div",0),E("click",function(o){return i._preventBubblingFromLabel(o)}),f(1,"div",1,2)(3,"div",3),E("click",function(){return i._onTouchTargetClick()}),m(),f(4,"input",4,5),E("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(o){return i._onInteractionEvent(o)}),m(),T(6,"div",6),f(7,"div",7),Ci(),f(8,"svg",8),T(9,"path",9),m(),Ss(),T(10,"div",10),m(),T(11,"div",11),m(),f(12,"label",12,13),re(14),m()()),2&e){const r=mt(2);de("mdc-form-field--align-end","before"==i.labelPosition),b(4),de("mdc-checkbox--selected",i.checked),_("checked",i.checked)("indeterminate",i.indeterminate)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),ie("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),b(7),_("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),b(1),_("for",i.inputId)}},dependencies:[Ei],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-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-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)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.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}.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%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),r7=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})(),Hc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Io,r7,Ue,r7]}),n})(),XMe=(()=>{class n{constructor(){this.disabled=!1,this.htmlStringBasic="

Basic

\n

Nap all day cat dog hate mouse eat string barf pillow no baths hate everything but kitty poochy. Sleep on keyboard toy mouse squeak roll over. Mesmerizing birds. Poop on grasses licks paws destroy couch intently sniff hand. The dog smells bad gnaw the corn cob.

\n

Throw down all the stuff in the kitchen fooled again thinking the dog likes me play riveting piece on synthesizer keyboard chew on cable missing until dinner time. Licks your face milk the cow.

\n
    \n
  • item 1
  • \n
  • item 2
  • \n
  • item 3
  • \n
",this.htmlStringAdvanced='

Advanced

\n\n \n \n \n
Wide header
OneTwoThree
FourFiveSix
\n

This text should be red when viewport is larger than 900px. Nap all day cat dog hate mouse eat string barf pillow no baths hate everything but kitty poochy. Sleep on keyboard toy mouse squeak roll over. Mesmerizing birds. Poop on grasses licks paws destroy couch intently sniff hand.

\n

qweqweqwe qwe qw eq eqw

\n

Throw down all the stuff in the kitchen fooled again thinking the dog likes me play riveting piece on synthesizer keyboard chew on cable missing until dinner time. Licks your face milk the cow.

\n
    \n
  • item 1
  • \n
  • item 2
  • \n
  • item 3
  • \n
\n

Title Level2 green italic

\n',this.css="\n .my-paragraph-class {background: pink}\n .my-table-class tr:nth-child(even) {background: darkgreen}\n .my-title-class {color: green}\n #chapter2 {font-style: italic}\n #myTable tr th {color: #2a7ae2}\n @media screen and (min-width: 900px) {\n .my-paragraph-class {color: red}\n }\n "}uploader(e){return new rt(i=>{const r=new FileReader;r.onload=()=>{i.next(r.result),i.complete()},r.onerror=()=>i.error(r.error);const o=setTimeout(()=>r.readAsDataURL(e),1500);return()=>{clearTimeout(o)}})}update(){console.log("Save button was clicked")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-editor"]],standalone:!0,features:[Se],decls:28,vars:12,consts:[["fxLayout","column"],[3,"ngModel","ngModelChange"],["fxFlex","","fxLayout","row","fxLayoutGap","50px"],["fxFlex","","fxLayout","column","fxLayoutGap","50px"],[3,"ngModel","disabled","ngModelChange"],[1,"mat-headline-4","margin-bottom"],[1,"preview",3,"innerHTML"],[1,"debug"],[3,"ngModel","imageUploader","naturalCustomCss","disabled","ngModelChange","save"],[1,"preview",3,"innerHTML","naturalCustomCss"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"mat-checkbox",1),E("ngModelChange",function(o){return i.disabled=o}),C(2,"Disabled"),m(),f(3,"div",2)(4,"div",3)(5,"natural-editor",4),E("ngModelChange",function(o){return i.htmlStringBasic=o}),m(),f(6,"div")(7,"h1",5),C(8,"Preview"),m(),f(9,"div",6),C(10,"\xa0"),m()(),f(11,"div")(12,"h1",5),C(13,"Debug"),m(),f(14,"p",7),C(15),m()()(),f(16,"div",3)(17,"natural-editor",8),E("ngModelChange",function(o){return i.htmlStringAdvanced=o})("save",function(){return i.update()}),m(),f(18,"div")(19,"h1",5),C(20,"Preview"),m(),f(21,"div",9),C(22,"\xa0"),m()(),f(23,"div")(24,"h1",5),C(25,"Debug"),m(),f(26,"p",7),C(27),m()()()()()),2&e&&(b(1),_("ngModel",i.disabled),b(4),_("ngModel",i.htmlStringBasic)("disabled",i.disabled),b(4),_("innerHTML",i.htmlStringBasic,OC),b(6),xe(i.htmlStringBasic),b(2),_("ngModel",i.htmlStringAdvanced)("imageUploader",i.uploader)("naturalCustomCss",i.css)("disabled",i.disabled),b(4),_("innerHTML",i.htmlStringAdvanced,OC)("naturalCustomCss",i.css),b(6),xe(i.htmlStringAdvanced))},dependencies:[Ln,En,Pn,Qd,Hc,yl,Ut,jt,tl,VMe,Swe],styles:[".preview[_ngcontent-%COMP%]{padding:20px 30px;border-radius:8px;background:rgba(0,0,0,.1)}"]}),n})();const o7={transformMenu:mn("transformMenu",[_t("void",_e({opacity:0,transform:"scale(0.01, 0.01)"})),ot("void => enter",aS([Eu(".natural-dropdown-container-content",_e({opacity:0})),it("100ms linear",_e({opacity:1,transform:"scale(1, 0.5)"})),Jb([Eu(".natural-dropdown-container-content",it("400ms cubic-bezier(0.55, 0, 0.55, 0.2)",_e({opacity:1}))),it("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",_e({transform:"scale(1, 1)"}))])])),ot("* => void",it("150ms 50ms linear",_e({opacity:0})))]),fadeInItems:mn("fadeInItems",[_t("showing",_e({opacity:1})),ot("void => *",[_e({opacity:0}),it("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};function JMe(n,t){}function ZMe(n,t){if(1&n){const e=Y();f(0,"div",4)(1,"button",5),E("click",function(){return B(e),V(x().close())}),Ce(2,6),m()()}}const a7=new F("NaturalDropdownContainerData");let tTe=(()=>{class n extends yp{constructor(e,i,r){super(),this.elementRef=e,this.focusTrapFactory=i,this.data=r,this.closed=new q,this.panelAnimationState="void",this.animationDone=new q,this.focusTrap=null,this.elementFocusedBeforeDialogWasOpened=null}ngOnDestroy(){this.closed.complete()}close(){this.closed.next()}attachTemplatePortal(e){return this.portalOutlet.attachTemplatePortal(e)}attachComponentPortal(e){return this.portalOutlet.hasAttached()&&function eTe(){throw Error("Attempting to attach dialog content after content is already attached")}(),this.portalOutlet.attachComponentPortal(e)}startAnimation(){this.panelAnimationState="enter"}onAnimationDone(e){"enter"===e.toState?this.trapFocus():"exit"===e.toState&&this.restoreFocus(),this.animationDone.next()}trapFocus(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement)),this.focusTrap.focusInitialElementWhenReady()}restoreFocus(){const e=this.elementFocusedBeforeDialogWasOpened;e&&"function"==typeof e.focus&&e.focus(),this.focusTrap&&this.focusTrap.destroy()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Wme),g(a7))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],viewQuery:function(e,i){if(1&e&&(ve(Rr,7),ve(kt,7)),2&e){let r;U(r=G())&&(i.portalOutlet=r.first),U(r=G())&&(i.templateRef=r.first)}},standalone:!0,features:[N,Se],decls:4,vars:2,consts:function(){let t;return t=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,[["role","menu","tabindex","-1",1,"natural-dropdown-container","mat-elevation-z2"],[1,"natural-dropdown-container-content"],["cdkPortalOutlet",""],["class","natural-dropdown-validate-button",4,"ngIf"],[1,"natural-dropdown-validate-button"],["color","primary","mat-raised-button","",3,"click"],t]},template:function(e,i){1&e&&(f(0,"div",0),E("@transformMenu.done",function(o){return i.onAnimationDone(o)}),f(1,"div",1),S(2,JMe,0,0,"ng-template",2),m(),S(3,ZMe,3,0,"div",3),m()),2&e&&(_("@transformMenu",i.panelAnimationState),b(3),_("ngIf",i.data.showValidateButton))},dependencies:[Za,Rr,ke,Le,ct,tn],styles:[".natural-dropdown-container{display:flex;flex-direction:column;border-radius:2px;height:100%}.natural-dropdown-container-content{flex:1;padding:5px;overflow:auto}.natural-dropdown-container .natural-dropdown-validate-button{flex:none;display:flex;flex-direction:row;justify-content:flex-end;margin:5px}\n"],encapsulation:2,data:{animation:[o7.transformMenu,o7.fadeInItems]}}),n})();class ms{constructor(t,e,i,r,o){this.dropdownContainer=t,this.closed=new q,i.push({provide:ms,useValue:this});const a=Yt.create({providers:i,parent:r}),s=new aa(e,void 0,a),l=o.instance.attachComponentPortal(s);this.componentInstance=l.instance}close(t){this.closed.next(t),this.closed.complete(),this.dropdownContainer.close()}}const wa=new F("NaturalDropdownData");let nTe=(()=>{class n{constructor(e,i){this.overlay=e,this.injector=i}open(e,i,r,o){const l=Yt.create({providers:[{provide:a7,useValue:{showValidateButton:o}}],parent:this.injector}),c=this.overlay.create(this.getOverlayConfig(i)),d=new aa(tTe,void 0,l),u=c.attach(d),h=u.instance,p=new ms(h,e,r,this.injector,u);return h.startAnimation(),h.closed.subscribe(()=>{c.dispose(),p.componentInstance.isValid()&&p.componentInstance.isDirty()?p.close({condition:p.componentInstance.getCondition()}):p.close()}),c.backdropClick().pipe(se(h.closed)).subscribe(()=>h.close()),p}getOverlayConfig(e){return new qs({positionStrategy:this.getPosition(e),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop"})}getPosition(e){return this.overlay.position().flexibleConnectedTo(e).withFlexibleDimensions(!0).withViewportMargin(30).withPush(!1).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:10}])}}return n.\u0275fac=function(e){return new(e||n)(I(Jn),I(Yt))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const s7=[{key:"less",label:"<"},{key:"lessOrEqual",label:"\u2264"},{key:"equal",label:"="},{key:"greaterOrEqual",label:"\u2265"},{key:"greater",label:">"}],l7=[{key:"is",label:$localize`est`},{key:"isnot",label:$localize`n'est pas`},{key:"any",label:$localize`avec`},{key:"none",label:$localize`sans`}];function iTe(n,t){1&n&&(f(0,"mat-error"),C(1,"*"),m())}class c7{isErrorState(t){return t&&t.invalid&&t.value}}let d7=(()=>{class n{constructor(e,i){this.dropdownRef=i,this.renderedValue=new ft(""),this.formCtrl=new wt("",{nonNullable:!0}),this.matcher=new c7,this.formCtrl.valueChanges.subscribe(r=>{this.renderedValue.next(null===r?"":this.formCtrl.value+"")}),this.formCtrl.setValidators([$t.required]),e.condition&&e.condition.like&&this.formCtrl.setValue(""+e.condition.like.value)}getCondition(){return this.formCtrl.value?{like:{value:this.formCtrl.value}}:{}}isValid(){return this.formCtrl.valid}isDirty(){return this.formCtrl.dirty}close(){this.isValid()?this.dropdownRef.close({condition:this.getCondition()}):this.dropdownRef.close()}}return n.\u0275fac=function(e){return new(e||n)(g(wa),g(ms))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:5,vars:4,consts:function(){let t;return t=$localize`:␟682c6738dc138ad385790cf462130300117061c1␟3717603792840045364:Valeur`,[t,["matInput","","type","text",3,"errorStateMatcher","formControl","required","keydown.enter"],[4,"ngIf"]]},template:function(e,i){1&e&&(f(0,"mat-form-field")(1,"mat-label"),Ce(2,0),m(),f(3,"input",1),E("keydown.enter",function(){return i.close()}),m(),S(4,iTe,2,0,"mat-error",2),m()),2&e&&(b(3),_("errorStateMatcher",i.matcher)("formControl",i.formCtrl)("required",!0),b(1),_("ngIf",i.formCtrl.hasError("required")))},dependencies:[_n,An,Tn,to,Ii,Ai,Ut,ui,jt,eo,sn,an,ke,Le],styles:["[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, [_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}"]}),n})();const rTe=["trigger"],oTe=["panel"];function aTe(n,t){if(1&n&&(f(0,"span",10),C(1),m()),2&n){const e=x();b(1),xe(e.placeholder)}}function sTe(n,t){if(1&n&&(f(0,"span",14),C(1),m()),2&n){const e=x(2);b(1),xe(e.triggerValue)}}function lTe(n,t){1&n&&re(0,0,["*ngSwitchCase","true"])}function cTe(n,t){1&n&&(f(0,"span",11),S(1,sTe,2,1,"span",12),S(2,lTe,1,0,"ng-content",13),m()),2&n&&(_("ngSwitch",!!x().customTrigger),b(2),_("ngSwitchCase",!0))}function dTe(n,t){if(1&n){const e=Y();Ci(),Ss(),f(0,"div",15,16),E("@transformPanel.done",function(r){return B(e),V(x()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return B(e),V(x()._handleKeydown(r))}),re(2,1),m()}if(2&n){const e=x();(function IR(n,t,e){mo(kr,Xo,Cd(K(),n,t,e),!0)})("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),_("ngClass",e.panelClass)("@transformPanel","showing"),ie("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const uTe=[[["mat-select-trigger"]],"*"],hTe=["mat-select-trigger","*"],fTe={transformPanelWrap:mn("transformPanelWrap",[ot("* => void",Eu("@transformPanel",[Zb()],{optional:!0}))]),transformPanel:mn("transformPanel",[_t("void",_e({opacity:0,transform:"scale(1, 0.8)"})),ot("void => showing",it("120ms cubic-bezier(0, 0, 0.2, 1)",_e({opacity:1,transform:"scale(1, 1)"}))),ot("* => void",it("100ms linear",_e({opacity:0})))])};let u7=0;const h7=new F("mat-select-scroll-strategy"),mTe=new F("MAT_SELECT_CONFIG"),gTe={provide:h7,deps:[Jn],useFactory:function pTe(n){return()=>n.scrollStrategies.reposition()}},_Te=new F("MatSelectTrigger");class bTe{constructor(t,e){this.source=t,this.value=e}}const vTe=Ks(cc(Ao(nS(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new q}}))));let yTe=(()=>{class n extends vTe{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator($t.required)??!1}set required(e){this._required=te(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=te(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=te(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=pn(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,r,o,a,s,l,c,d,u,h,p,v,y){super(a,o,l,c,u),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=s,this._parentFormField=d,this._liveAnnouncer=v,this._defaultOptions=y,this._panelOpen=!1,this._compareWith=(w,k)=>w===k,this._uid="mat-select-"+u7++,this._triggerAriaLabelledBy=null,this._destroy=new q,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+u7++,this._panelDoneAnimatingStream=new q,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Ld(()=>{const w=this.options;return w?w.changes.pipe(zt(w),xt(()=>dt(...w.map(k=>k.onSelectionChange)))):this._ngZone.onStable.pipe(lt(1),xt(()=>this.optionSelectionChanges))}),this.openedChange=new j,this._openedStream=this.openedChange.pipe(Be(w=>w),ue(()=>{})),this._closedStream=this.openedChange.pipe(Be(w=>!w),ue(()=>{})),this.selectionChange=new j,this.valueChange=new j,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=y?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=y.typeaheadDebounceInterval),this._scrollStrategyFactory=p,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}ngOnInit(){this._selectionModel=new xc(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ys(),se(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(se(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(zt(null),se(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=`${this.id}-panel`;this._trackedModal&&Sp(this._trackedModal,"aria-owns",i),WD(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(Sp(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!on(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const s=this.selected;a.onKeydown(e);const l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==r&&32!==r||!i.activeItem||on(e))if(!a&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{const s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(lt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new TB(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=dt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(se(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),dt(...this.options.map(i=>i._stateChanges)).pipe(se(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(g(Xa),g(ze),g(ce),g(Mp),g(W),g(Qt,8),g(Tu,8),g(gn,8),g(Uu,8),g(Qi,10),wi("tabindex"),g(h7),g(JD),g(mTe,8))},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&(ve(rTe,5),ve(oTe,5),ve(yB,5)),2&e){let r;U(r=G())&&(i.trigger=r.first),U(r=G())&&(i.panel=r.first),U(r=G())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[N,Je]}),n})(),$c=(()=>{class n extends yTe{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=e=>!this.panelOpen&&e.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(se(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const r=this.panel.nativeElement,o=JB(e,this.options,this.optionGroups),a=i._getHostElement();r.scrollTop=0===e&&1===o?0:ZB(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new bTe(this,e)}_getOverlayWidth(e){return"auto"===this.panelWidth?(e instanceof jD?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=te(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,_Te,5),Ee(r,da,5),Ee(r,oS,5)),2&e){let o;U(o=G())&&(i.customTrigger=o.first),U(o=G())&&(i.options=o),U(o=G())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&E("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(ie("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),de("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[ae([{provide:$v,useExisting:n},{provide:rS,useExisting:n}]),N],ngContentSelectors:hTe,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(qe(uTe),f(0,"div",0,1),E("click",function(){return i.toggle()}),f(3,"div",2),S(4,aTe,2,1,"span",3),S(5,cTe,3,2,"span",4),m(),f(6,"div",5)(7,"div",6),Ci(),f(8,"svg",7),T(9,"path",8),m()()()(),S(10,dTe,3,9,"ng-template",9),E("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=mt(1);b(3),_("ngSwitch",i.empty),ie("id",i._valueId),b(1),_("ngSwitchCase",!0),b(1),_("ngSwitchCase",!1),b(5),_("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[Yr,ql,Cf,sF,yB,jD],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[fTe.transformPanel]},changeDetection:0}),n})(),jc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[gTe],imports:[ke,Ws,Oo,Ue,Ja,_n,Oo,Ue]}),n})();function CTe(n,t){if(1&n&&(f(0,"mat-option",8),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}function wTe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("< ",e.configuration.min,"")}}function xTe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("> ",e.configuration.max,"")}}let My=(()=>{class n{constructor(e,i){this.dropdownRef=i,this.renderedValue=new ft(""),this.operatorCtrl=new wt("equal",{nonNullable:!0}),this.valueCtrl=new wt,this.matcher=new c7,this.form=new $n({operator:this.operatorCtrl,value:this.valueCtrl}),this.operators=s7,this.defaults={min:null,max:null,step:null},this.configuration={...this.defaults,...e.configuration},dt(this.operatorCtrl.valueChanges,this.valueCtrl.valueChanges).subscribe(()=>{const r=this.getRenderedValue();this.renderedValue.next(r)}),this.initValidators(),this.reloadCondition(e.condition)}getCondition(){const e={};return e[this.operatorCtrl.value]={value:this.valueCtrl.value},e}isValid(){return this.form.valid}isDirty(){return this.form.dirty}close(){this.isValid()?this.dropdownRef.close({condition:this.getCondition()}):this.dropdownRef.close()}initValidators(){const e=[$t.required];if(this.configuration.min&&e.push($t.min(this.configuration.min)),this.configuration.max&&e.push($t.max(this.configuration.max)),this.configuration.step){const r=((""+this.configuration.step).match(/\.(\d+)$/)?.[1]??"").length;e.push(X5(r))}this.valueCtrl.setValidators(e)}reloadCondition(e){if(e)for(const i of this.operators){const r=e[i.key];r&&(this.operatorCtrl.setValue(i.key),this.valueCtrl.setValue(r.value))}}getRenderedValue(){const e=this.operators.find(i=>i.key===this.operatorCtrl.value);return null!==this.valueCtrl.value&&e?e.label+" "+this.valueCtrl.value:""}}return n.\u0275fac=function(e){return new(e||n)(g(wa),g(ms))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:12,vars:12,consts:function(){let t,e;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,e=$localize`:␟682c6738dc138ad385790cf462130300117061c1␟3717603792840045364:Valeur`,[[3,"formGroup"],[2,"max-width","4em","margin-right","1em"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],e,["matInput","","type","number",3,"errorStateMatcher","formControl","required","step","keydown.enter"],[4,"ngIf"],[3,"value"]]},template:function(e,i){1&e&&(f(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),Ce(3,2),m(),f(4,"mat-select",3),S(5,CTe,2,2,"mat-option",4),m()(),f(6,"mat-form-field")(7,"mat-label"),Ce(8,5),m(),f(9,"input",6),E("keydown.enter",function(){return i.close()}),m(),S(10,wTe,2,1,"mat-error",7),S(11,xTe,2,1,"mat-error",7),m()()),2&e&&(_("formGroup",i.form),b(4),_("formControl",i.operatorCtrl)("required",!0),b(1),_("ngForOf",i.operators),b(4),_("errorStateMatcher",i.matcher)("formControl",i.valueCtrl)("required",!0)("step",i.configuration.step),ie("max",i.configuration.max)("min",i.configuration.min),b(1),_("ngIf",i.valueCtrl.hasError("min")),b(1),_("ngIf",i.valueCtrl.hasError("max")))},dependencies:[Ut,vc,ui,wS,jt,si,eo,sn,an,gn,_n,An,Tn,to,jc,$c,da,ke,Zt,Le,Oo,Ii,Ai],styles:["[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, [_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}"]}),n})();class DTe{constructor(){this.expansionModel=new xc(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}class STe extends DTe{constructor(t,e,i){super(),this.getLevel=t,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(t){const i=[];for(let r=this.dataNodes.indexOf(t)+1;rthis._trackByValue(t)))}}const Ty=new F("CDK_TREE_NODE_OUTLET_NODE");let Cm=(()=>{class n{constructor(e,i){this.viewContainer=e,this._node=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(Ty,8))},n.\u0275dir=R({type:n,selectors:[["","cdkTreeNodeOutlet",""]]}),n})();class kTe{constructor(t){this.$implicit=t}}let Ay=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),n})(),gs=(()=>{class n{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,i){this._differs=e,this._changeDetectorRef=i,this._onDestroy=new q,this._levels=new Map,this.viewChange=new ft({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const e=this._nodeDefs.filter(i=>!i.when);this._defaultNodeDef=e[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(e){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let e;yv(this._dataSource)?e=this._dataSource.connect(this):c_(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=ee(this._dataSource)),e&&(this._dataSubscription=e.pipe(se(this._onDestroy)).subscribe(i=>this.renderNodeChanges(i)))}renderNodeChanges(e,i=this._dataDiffer,r=this._nodeOutlet.viewContainer,o){const a=i.diff(e);a&&(a.forEachOperation((s,l,c)=>{if(null==s.previousIndex)this.insertNode(e[c],c,r,o);else if(null==c)r.remove(l),this._levels.delete(s.item);else{const d=r.get(l);r.move(d,c)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(e,i){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(o=>o.when&&o.when(i,e))||this._defaultNodeDef}insertNode(e,i,r,o){const a=this._getNodeDef(e,i),s=new kTe(e);s.level=this.treeControl.getLevel?this.treeControl.getLevel(e):typeof o<"u"&&this._levels.has(o)?this._levels.get(o)+1:0,this._levels.set(e,s.level),(r||this._nodeOutlet.viewContainer).createEmbeddedView(a.template,s,i),xa.mostRecentTreeNode&&(xa.mostRecentTreeNode.data=e)}}return n.\u0275fac=function(e){return new(e||n)(g(Gr),g(ze))},n.\u0275cmp=$({type:n,selectors:[["cdk-tree"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,Ay,5),2&e){let o;U(o=G())&&(i._nodeDefs=o)}},viewQuery:function(e,i){if(1&e&&ve(Cm,7),2&e){let r;U(r=G())&&(i._nodeOutlet=r.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[Cm],encapsulation:2}),n})(),xa=(()=>{class n{get role(){return"treeitem"}set role(e){this._elementRef.nativeElement.setAttribute("role",e)}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(e,i){this._elementRef=e,this._tree=i,this._destroyed=new q,this._dataChanges=new q,n.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function ETe(n){let t=n.parentElement;for(;t&&!MTe(t);)t=t.parentElement;return t?t.classList.contains("cdk-nested-tree-node")?pn(t.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){n.mostRecentTreeNode===this&&(n.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return n.mostRecentTreeNode=null,n.\u0275fac=function(e){return new(e||n)(g(W),g(gs))},n.\u0275dir=R({type:n,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(e,i){2&e&&ie("aria-expanded",i.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),n})();function MTe(n){const t=n.classList;return!(!t?.contains("cdk-nested-tree-node")&&!t?.contains("cdk-tree"))}const TTe=/([A-Za-z%]+)$/;let AE=(()=>{class n{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}constructor(e,i,r,o){this._treeNode=e,this._tree=i,this._element=r,this._dir=o,this._destroyed=new q,this.indentUnits="px",this._indent=40,this._setPadding(),o&&o.change.pipe(se(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const e=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,i=null==this._level?e:this._level;return"number"==typeof i?`${i*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){const i=this._paddingIndent();if(i!==this._currentPadding||e){const r=this._element.nativeElement,o=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",a="paddingLeft"===o?"paddingRight":"paddingLeft";r.style[o]=i||"",r.style[a]="",this._currentPadding=i}}_setLevelInput(e){this._level=pn(e,null),this._setPadding()}_setIndentInput(e){let i=e,r="px";if("string"==typeof e){const o=e.split(TTe);i=o[0],r=o[1]||r}this.indentUnits=r,this._indent=pn(i),this._setPadding()}}return n.\u0275fac=function(e){return new(e||n)(g(xa),g(gs),g(W),g(Qt,8))},n.\u0275dir=R({type:n,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),n})(),IE=(()=>{class n{get recursive(){return this._recursive}set recursive(e){this._recursive=te(e)}constructor(e,i){this._tree=e,this._treeNode=i,this._recursive=!1}_toggle(e){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(g(gs),g(xa))},n.\u0275dir=R({type:n,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(e,i){1&e&&E("click",function(o){return i._toggle(o)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),n})(),ATe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const ITe=cc(Ao(xa));let f7=(()=>{class n extends ITe{constructor(e,i,r){super(e,i),this.tabIndex=Number(r)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(gs),wi("tabindex"))},n.\u0275dir=R({type:n,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[ae([{provide:xa,useExisting:n}]),N]}),n})(),p7=(()=>{class n extends Ay{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[ae([{provide:Ay,useExisting:n}]),N]}),n})(),m7=(()=>{class n extends AE{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[ae([{provide:AE,useExisting:n}]),N]}),n})(),OE=(()=>{class n{constructor(e,i){this.viewContainer=e,this._node=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(Ty,8))},n.\u0275dir=R({type:n,selectors:[["","matTreeNodeOutlet",""]],features:[ae([{provide:Cm,useExisting:n}])]}),n})(),g7=(()=>{class n extends gs{constructor(){super(...arguments),this._nodeOutlet=void 0}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-tree"]],viewQuery:function(e,i){if(1&e&&ve(OE,7),2&e){let r;U(r=G())&&(i._nodeOutlet=r.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[ae([{provide:gs,useExisting:n}]),N],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(e,i){1&e&&Gi(0,0)},dependencies:[OE],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),n})(),_7=(()=>{class n extends IE{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[ae([{provide:IE,useExisting:n}]),N]}),n})(),RTe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ATe,Ue,Ue]}),n})();class NTe{constructor(t,e,i,r){this.transformFunction=t,this.getLevel=e,this.isExpandable=i,this.getChildren=r}_flattenNode(t,e,i,r){const o=this.transformFunction(t,e);if(i.push(o),this.isExpandable(o)){const a=this.getChildren(t);a&&(Array.isArray(a)?this._flattenChildren(a,e,i,r):a.pipe(lt(1)).subscribe(s=>{this._flattenChildren(s,e,i,r)}))}return i}_flattenChildren(t,e,i,r){t.forEach((o,a)=>{let s=r.slice();s.push(a!=t.length-1),this._flattenNode(o,e+1,i,s)})}flattenNodes(t){let e=[];return t.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(t,e){let i=[],r=[];return r[0]=!0,t.forEach(o=>{let a=!0;for(let s=0;s<=this.getLevel(o);s++)a=a&&r[s];a&&i.push(o),this.isExpandable(o)&&(r[this.getLevel(o)+1]=e.isExpanded(o))}),i}}class FTe extends VS{get data(){return this._data.value}set data(t){this._data.next(t),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(t,e,i){super(),this._treeControl=t,this._treeFlattener=e,this._flattenedData=new ft([]),this._expandedData=new ft([]),this._data=new ft([]),i&&(this.data=i)}connect(t){return dt(t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ue(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}function Iy(n,t){if(!t)return"";const e=n.getYear(t),i=n.getMonth(t)+1,r=n.getDate(t);return e+"-"+(i<10?"0":"")+i+"-"+(r<10?"0":"")+r}function v7(n,t){return e=>e.value&&n.compareDate(e.value,t)<0?{min:!0}:null}function y7(n,t){return e=>e.value&&n.compareDate(e.value,t)>0?{max:!0}:null}const LTe=["mat-calendar-body",""];function BTe(n,t){if(1&n&&(f(0,"tr",3)(1,"td",4),C(2),m()()),2&n){const e=x();b(1),un("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ie("colspan",e.numCols),b(1),me(" ",e.label," ")}}function VTe(n,t){if(1&n&&(f(0,"td",4),C(1),m()),2&n){const e=x(2);un("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ie("colspan",e._firstRowOffset),b(1),me(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function zTe(n,t){if(1&n){const e=Y();f(0,"td",8)(1,"button",9),E("click",function(r){const a=B(e).$implicit;return V(x(2)._cellClicked(a,r))})("focus",function(r){const a=B(e).$implicit;return V(x(2)._emitActiveDateChange(a,r))}),f(2,"span",10),C(3),m(),T(4,"span",11),m()()}if(2&n){const e=t.$implicit,i=t.index,r=x().index,o=x();un("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),ie("data-mat-row",r)("data-mat-col",i),b(1),de("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",o._isActiveCell(r,i))("mat-calendar-body-range-start",o._isRangeStart(e.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",o._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(e.compareValue,r,i))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(e.compareValue,r,i))("mat-calendar-body-comparison-start",o._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",o._isInPreview(e.compareValue)),_("ngClass",e.cssClasses)("tabindex",o._isActiveCell(r,i)?0:-1),ie("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",o._isSelected(e.compareValue))("aria-current",o.todayValue===e.compareValue?"date":null)("aria-describedby",o._getDescribedby(e.compareValue)),b(1),de("mat-calendar-body-selected",o._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",o.todayValue===e.compareValue),b(1),me(" ",e.displayValue," ")}}function HTe(n,t){if(1&n&&(f(0,"tr",5),S(1,VTe,2,6,"td",6),S(2,zTe,5,48,"td",7),m()),2&n){const e=t.$implicit,i=t.index,r=x();b(1),_("ngIf",0===i&&r._firstRowOffset),b(1),_("ngForOf",e)}}function $Te(n,t){if(1&n&&(f(0,"th",5)(1,"span",6),C(2),m(),f(3,"span",7),C(4),m()()),2&n){const e=t.$implicit;b(2),xe(e.long),b(2),xe(e.narrow)}}const jTe=["*"];function UTe(n,t){}function GTe(n,t){if(1&n){const e=Y();f(0,"mat-month-view",5),E("activeDateChange",function(r){return B(e),V(x().activeDate=r)})("_userSelection",function(r){return B(e),V(x()._dateSelected(r))})("dragStarted",function(r){return B(e),V(x()._dragStarted(r))})("dragEnded",function(r){return B(e),V(x()._dragEnded(r))}),m()}if(2&n){const e=x();_("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function qTe(n,t){if(1&n){const e=Y();f(0,"mat-year-view",6),E("activeDateChange",function(r){return B(e),V(x().activeDate=r)})("monthSelected",function(r){return B(e),V(x()._monthSelectedInYearView(r))})("selectedChange",function(r){return B(e),V(x()._goToDateInView(r,"month"))}),m()}if(2&n){const e=x();_("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function WTe(n,t){if(1&n){const e=Y();f(0,"mat-multi-year-view",7),E("activeDateChange",function(r){return B(e),V(x().activeDate=r)})("yearSelected",function(r){return B(e),V(x()._yearSelectedInMultiYearView(r))})("selectedChange",function(r){return B(e),V(x()._goToDateInView(r,"year"))}),m()}if(2&n){const e=x();_("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function YTe(n,t){}const KTe=["button"];function QTe(n,t){1&n&&(Ci(),f(0,"svg",3),T(1,"path",4),m())}const XTe=[[["","matDatepickerToggleIcon",""]]],JTe=["[matDatepickerToggleIcon]"];let wm=(()=>{class n{constructor(){this.changes=new q,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,i){return`${e} \u2013 ${i}`}formatYearRangeLabel(e,i){return`${e} to ${i}`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class RE{constructor(t,e,i,r,o={},a=t,s){this.value=t,this.displayValue=e,this.ariaLabel=i,this.enabled=r,this.cssClasses=o,this.compareValue=a,this.rawValue=s}}let ZTe=1;const C7=Mo({passive:!1,capture:!0}),Cl=Mo({passive:!0,capture:!0}),Oy=Mo({passive:!0});let ch=(()=>{class n{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(e,i){this._elementRef=e,this._ngZone=i,this._platform=ne(yt),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new j,this.previewChange=new j,this.activeDateChange=new j,this.dragStarted=new j,this.dragEnded=new j,this._didDragSinceMouseDown=!1,this._enterHandler=r=>{if(this._skipNextFocus&&"focus"===r.type)this._skipNextFocus=!1;else if(r.target&&this.isRange){const o=this._getCellFromElement(r.target);o&&this._ngZone.run(()=>this.previewChange.emit({value:o.enabled?o:null,event:r}))}},this._touchmoveHandler=r=>{if(!this.isRange)return;const o=w7(r),a=o?this._getCellFromElement(o):null;o!==r.target&&(this._didDragSinceMouseDown=!0),FE(r.target)&&r.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:a?.enabled?a:null,event:r}))},this._leaveHandler=r=>{null!==this.previewEnd&&this.isRange&&("blur"!==r.type&&(this._didDragSinceMouseDown=!0),r.target&&this._getCellFromElement(r.target)&&(!r.relatedTarget||!this._getCellFromElement(r.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:r})))},this._mousedownHandler=r=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const o=r.target&&this._getCellFromElement(r.target);!o||!this._isInRange(o.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:o.rawValue,event:r})})},this._mouseupHandler=r=>{if(!this.isRange)return;const o=FE(r.target);o?o.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const a=this._getCellFromElement(o);this.dragEnded.emit({value:a?.rawValue??null,event:r})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:r})})},this._touchendHandler=r=>{const o=w7(r);o&&this._mouseupHandler({target:o})},this._id="mat-calendar-body-"+ZTe++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,i.runOutsideAngular(()=>{const r=e.nativeElement;r.addEventListener("touchmove",this._touchmoveHandler,C7),r.addEventListener("mouseenter",this._enterHandler,Cl),r.addEventListener("focus",this._enterHandler,Cl),r.addEventListener("mouseleave",this._leaveHandler,Cl),r.addEventListener("blur",this._leaveHandler,Cl),r.addEventListener("mousedown",this._mousedownHandler,Oy),r.addEventListener("touchstart",this._mousedownHandler,Oy),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(e,i){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:i})}_emitActiveDateChange(e,i){e.enabled&&this.activeDateChange.emit({value:e.value,event:i})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const i=e.numCols,{rows:r,numCols:o}=this;(e.rows||i)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(e.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/o+"%"),(i||!this._cellWidth)&&(this._cellWidth=100/o+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,C7),e.removeEventListener("mouseenter",this._enterHandler,Cl),e.removeEventListener("focus",this._enterHandler,Cl),e.removeEventListener("mouseleave",this._leaveHandler,Cl),e.removeEventListener("blur",this._leaveHandler,Cl),e.removeEventListener("mousedown",this._mousedownHandler,Oy),e.removeEventListener("touchstart",this._mousedownHandler,Oy),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,i){let r=e*this.numCols+i;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(lt(1)).subscribe(()=>{setTimeout(()=>{const i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(this._skipNextFocus=!0),i.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return PE(e,this.startValue,this.endValue)}_isRangeEnd(e){return LE(e,this.startValue,this.endValue)}_isInRange(e){return BE(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return PE(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,i,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let o=this.rows[i][r-1];if(!o){const a=this.rows[i-1];o=a&&a[a.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(e,i,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let o=this.rows[i][r+1];if(!o){const a=this.rows[i+1];o=a&&a[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(e){return LE(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return BE(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return PE(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return LE(e,this.previewStart,this.previewEnd)}_isInPreview(e){return BE(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_getCellFromElement(e){const i=FE(e);if(i){const r=i.getAttribute("data-mat-row"),o=i.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)][parseInt(o)]}return null}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce))},n.\u0275cmp=$({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Je],attrs:LTe,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,i){1&e&&(S(0,BTe,3,6,"tr",0),S(1,HTe,3,2,"tr",1),f(2,"label",2),C(3),m(),f(4,"label",2),C(5),m()),2&e&&(_("ngIf",i._firstRowOffset=t&&n===e}function BE(n,t,e,i){return i&&null!==t&&null!==e&&t!==e&&n>=t&&n<=e}function w7(n){const t=n.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}class tr{constructor(t,e){this.start=t,this.end=e}}let wl=(()=>{class n{constructor(e,i){this.selection=e,this._adapter=i,this._selectionChanged=new q,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,i){const r=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:i,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return n.\u0275fac=function(e){Mr()},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})(),eAe=(()=>{class n extends wl{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new n(this._adapter);return e.updateSelection(this.selection,this),e}}return n.\u0275fac=function(e){return new(e||n)(I(Hn))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const x7={provide:wl,deps:[[new fo,new Na,wl],Hn],useFactory:function nAe(n,t){return n||new eAe(t)}},Ry=new F("MAT_DATE_RANGE_SELECTION_STRATEGY");let D7=(()=>{class n{get activeDate(){return this._activeDate}set activeDate(e){const i=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tr?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,r,o,a){this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=r,this._dir=o,this._rangeStrategy=a,this._rerenderSubscription=We.EMPTY,this.activeDrag=null,this.selectedChange=new j,this._userSelection=new j,this.dragStarted=new j,this.dragEnded=new j,this.activeDateChange=new j,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnChanges(e){const i=e.comparisonStart||e.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const i=e.value,r=this._getDateFromDayOfMonth(i);let o,a;this._selected instanceof tr?(o=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):o=a=this._getDateInCurrentMonth(this._selected),(o!==i||a!==i)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!on(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:i}){if(this._rangeStrategy){const r=i?i.rawValue:null,o=this._rangeStrategy.createPreview(r,this.selected,e);if(this._previewStart=this._getCellCompareValue(o.start),this._previewEnd=this._getCellCompareValue(o.end),this.activeDrag&&r){const a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,r,e);a&&(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){const i=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:i??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow");let o=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:i[s]}));this._weekdays=o.slice(e).concat(o.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,o=this._firstWeekOffset;r=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,i){return!(!e||!i||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(i)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(i))}_getCellCompareValue(e){if(e){const i=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),o=this._dateAdapter.getDate(e);return new Date(i,r,o).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof tr?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(es,8),g(Hn,8),g(Qt,8),g(Ry,8))},n.\u0275cmp=$({type:n,selectors:[["mat-month-view"]],viewQuery:function(e,i){if(1&e&&ve(ch,5),2&e){let r;U(r=G())&&(i._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Je],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,i){1&e&&(f(0,"table",0)(1,"thead",1)(2,"tr"),S(3,$Te,5,2,"th",2),m(),f(4,"tr"),T(5,"th",3),m()(),f(6,"tbody",4),E("selectedValueChange",function(o){return i._dateSelected(o)})("activeDateChange",function(o){return i._updateActiveDate(o)})("previewChange",function(o){return i._previewChanged(o)})("dragStarted",function(o){return i.dragStarted.emit(o)})("dragEnded",function(o){return i._dragEnded(o)})("keyup",function(o){return i._handleCalendarBodyKeyup(o)})("keydown",function(o){return i._handleCalendarBodyKeydown(o)}),m()()),2&e&&(b(3),_("ngForOf",i._weekdays),b(3),_("label",i._monthLabel)("rows",i._weeks)("todayValue",i._todayDate)("startValue",i._rangeStart)("endValue",i._rangeEnd)("comparisonStart",i._comparisonRangeStart)("comparisonEnd",i._comparisonRangeEnd)("previewStart",i._previewStart)("previewEnd",i._previewEnd)("isRange",i._isRange)("labelMinRequiredCells",3)("activeCell",i._dateAdapter.getDate(i.activeDate)-1)("startDateAccessibleName",i.startDateAccessibleName)("endDateAccessibleName",i.endDateAccessibleName))},dependencies:[Zt,ch],encapsulation:2,changeDetection:0}),n})();const Pr=24;let S7=(()=>{class n{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate;const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),k7(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tr?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,r){this._changeDetectorRef=e,this._dateAdapter=i,this._dir=r,this._rerenderSubscription=We.EMPTY,this.selectedChange=new j,this.yearSelected=new j,this.activeDateChange=new j,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const i=this._dateAdapter.getYear(this._activeDate)-xm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let r=0,o=[];rthis._createCellForYear(a))),o=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const i=e.value,r=this._dateAdapter.createDate(i,0,1),o=this._getDateFromYear(i);this.yearSelected.emit(r),this.selectedChange.emit(o)}_updateActiveDate(e){const r=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-xm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pr-xm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-Pr:-Pr);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*Pr:Pr);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return xm(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));return this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(e){const i=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(i),o=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new RE(e,r,r,this._shouldEnableYear(e),o)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate;const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tr?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,r,o){this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=r,this._dir=o,this._rerenderSubscription=We.EMPTY,this.selectedChange=new j,this.monthSelected=new j,this.activeDateChange=new j,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(zt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const i=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(r);const o=this._getDateFromMonth(i);this.selectedChange.emit(o)}_updateActiveDate(e){const r=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const i=this._activeDate,r=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(r=>this._createCellForMonth(r,e[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(e,i){const r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(r,"year"):void 0;return new RE(e,i.toLocaleUpperCase(),o,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){const i=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(i,e)||this._isYearAndMonthBeforeMinDate(i,e))return!1;if(!this.dateFilter)return!0;for(let o=this._dateAdapter.createDate(i,e,1);this._dateAdapter.getMonth(o)==e;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(e,i){if(this.maxDate){const r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&i>o}return!1}_isYearAndMonthBeforeMinDate(e,i){if(this.minDate){const r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return e{class n{constructor(e,i,r,o,a){this._intl=e,this.calendar=i,this._dateAdapter=r,this._dateFormats=o,this._id="mat-calendar-header-"+sAe++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>a.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-Pr)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:Pr)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,i){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i):k7(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const i=this._dateAdapter.getYear(this.calendar.activeDate)-xm(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=i+Pr-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(r,0,1))]}}return n.\u0275fac=function(e){return new(e||n)(g(wm),g(st(()=>HE)),g(Hn,8),g(es,8),g(ze))},n.\u0275cmp=$({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:jTe,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(e,i){1&e&&(qe(),f(0,"div",0)(1,"div",1)(2,"button",2),E("click",function(){return i.currentPeriodClicked()}),f(3,"span",3),C(4),m(),Ci(),f(5,"svg",4),T(6,"polygon",5),m()(),Ss(),T(7,"div",6),re(8),f(9,"button",7),E("click",function(){return i.previousClicked()}),m(),f(10,"button",8),E("click",function(){return i.nextClicked()}),m()()(),f(11,"label",9),C(12),m()),2&e&&(b(2),ie("aria-label",i.periodButtonLabel)("aria-describedby",i._periodButtonLabelId),b(2),xe(i.periodButtonText),b(1),de("mat-calendar-invert","month"!==i.calendar.currentView),b(4),_("disabled",!i.previousEnabled()),ie("aria-label",i.prevButtonLabel),b(1),_("disabled",!i.nextEnabled()),ie("aria-label",i.nextButtonLabel),b(1),_("id",i._periodButtonLabelId),b(1),xe(i.periodButtonDescription))},dependencies:[tn,Nr],encapsulation:2,changeDetection:0}),n})(),HE=(()=>{class n{get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof tr?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const i=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&this.viewChanged.emit(i)}constructor(e,i,r,o){this._dateAdapter=i,this._dateFormats=r,this._changeDetectorRef=o,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new j,this.yearSelected=new j,this.monthSelected=new j,this.viewChanged=new j(!0),this._userSelection=new j,this._userDragDrop=new j,this._activeDrag=null,this.stateChanges=new q,this._intlChanges=e.changes.subscribe(()=>{o.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new aa(this.headerComponent||lAe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const i=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,r=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,o=i||r||e.dateFilter;if(o&&!o.firstChange){const a=this._getCurrentViewComponent();a&&(this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const i=e.value;(this.selected instanceof tr||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,i){this.activeDate=e,this.currentView=i}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return n.\u0275fac=function(e){return new(e||n)(g(wm),g(Hn,8),g(es,8),g(ze))},n.\u0275cmp=$({type:n,selectors:[["mat-calendar"]],viewQuery:function(e,i){if(1&e&&(ve(D7,5),ve(M7,5),ve(S7,5)),2&e){let r;U(r=G())&&(i.monthView=r.first),U(r=G())&&(i.yearView=r.first),U(r=G())&&(i.multiYearView=r.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[ae([x7]),Je],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,i){1&e&&(S(0,UTe,0,0,"ng-template",0),f(1,"div",1),S(2,GTe,1,11,"mat-month-view",2),S(3,qTe,1,6,"mat-year-view",3),S(4,WTe,1,6,"mat-multi-year-view",4),m()),2&e&&(_("cdkPortalOutlet",i._calendarHeaderPortal),b(1),_("ngSwitch",i.currentView),b(1),_("ngSwitchCase","month"),b(1),_("ngSwitchCase","year"),b(1),_("ngSwitchCase","multi-year"))},dependencies:[ql,Cf,NB,Rr,D7,M7,S7],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),n})();const T7={transformPanel:mn("transformPanel",[ot("void => enter-dropdown",it("120ms cubic-bezier(0, 0, 0.2, 1)",ku([_e({opacity:0,transform:"scale(1, 0.8)"}),_e({opacity:1,transform:"scale(1, 1)"})]))),ot("void => enter-dialog",it("150ms cubic-bezier(0, 0, 0.2, 1)",ku([_e({opacity:0,transform:"scale(0.7)"}),_e({transform:"none",opacity:1})]))),ot("* => void",it("100ms linear",_e({opacity:0})))]),fadeInCalendar:mn("fadeInCalendar",[_t("void",_e({opacity:0})),_t("enter",_e({opacity:1})),ot("void => *",it("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let cAe=0;const A7=new F("mat-datepicker-scroll-strategy"),uAe={provide:A7,deps:[Jn],useFactory:function dAe(n){return()=>n.scrollStrategies.reposition()}},hAe=Ys(class{constructor(n){this._elementRef=n}});let fAe=(()=>{class n extends hAe{constructor(e,i,r,o,a,s){super(e),this._changeDetectorRef=i,this._globalModel=r,this._dateAdapter=o,this._rangeSelectionStrategy=a,this._subscriptions=new We,this._animationDone=new q,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=s.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const i=this._model.selection,r=e.value,o=i instanceof tr;if(o&&this._rangeSelectionStrategy){const a=this._rangeSelectionStrategy.selectionFinished(r,i,e.event);this._model.updateSelection(a,this)}else r&&(o||!this._dateAdapter.sameDate(r,i))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating="start"===e.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,i){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,i&&this._changeDetectorRef.detectChanges()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(wl),g(Hn),g(Ry,8),g(wm))},n.\u0275cmp=$({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(e,i){if(1&e&&ve(HE,5),2&e){let r;U(r=G())&&(i._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,i){1&e&&af("@transformPanel.start",function(o){return i._handleAnimationEvent(o)})("@transformPanel.done",function(o){return i._handleAnimationEvent(o)}),2&e&&(lf("@transformPanel",i._animationState),de("mat-datepicker-content-touch",i.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[N],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,i){if(1&e&&(f(0,"div",0)(1,"mat-calendar",1),E("yearSelected",function(o){return i.datepicker._selectYear(o)})("monthSelected",function(o){return i.datepicker._selectMonth(o)})("viewChanged",function(o){return i.datepicker._viewChanged(o)})("_userSelection",function(o){return i._handleUserSelection(o)})("_userDragDrop",function(o){return i._handleUserDragDrop(o)}),m(),S(2,YTe,0,0,"ng-template",2),f(3,"button",3),E("focus",function(){return i._closeButtonFocused=!0})("blur",function(){return i._closeButtonFocused=!1})("click",function(){return i.datepicker.close()}),C(4),m()()),2&e){let r;de("mat-datepicker-content-container-with-custom-header",i.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",i._actionsPortal),ie("aria-modal",!0)("aria-labelledby",null!==(r=i._dialogLabelId)&&void 0!==r?r:void 0),b(1),_("id",i.datepicker.id)("ngClass",i.datepicker.panelClass)("startAt",i.datepicker.startAt)("startView",i.datepicker.startView)("minDate",i.datepicker._getMinDate())("maxDate",i.datepicker._getMaxDate())("dateFilter",i.datepicker._getDateFilter())("headerComponent",i.datepicker.calendarHeaderComponent)("selected",i._getSelected())("dateClass",i.datepicker.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",i.startDateAccessibleName)("endDateAccessibleName",i.endDateAccessibleName),b(1),_("cdkPortalOutlet",i._actionsPortal),b(1),de("cdk-visually-hidden",!i._closeButtonFocused),_("color",i.color||"primary"),b(1),xe(i._closeButtonText)}},dependencies:[Yr,tn,$me,Rr,HE],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[T7.transformPanel,T7.fadeInCalendar]},changeDetection:0}),n})(),I7=(()=>{class n{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=te(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const i=te(e);i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=te(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=nB(e)}get opened(){return this._opened}set opened(e){te(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(e,i,r,o,a,s,l){this._overlay=e,this._ngZone=i,this._viewContainerRef=r,this._dateAdapter=a,this._dir=s,this._model=l,this._inputStateChanges=We.EMPTY,this._document=ne(ye),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new j,this.monthSelected=new j,this.viewChanged=new j(!0),this.openedStream=new j,this.closedStream=new j,this._opened=!1,this.id="mat-datepicker-"+cAe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new q,this._scrollStrategy=o}ngOnChanges(e){const i=e.xPosition||e.yPosition;if(i&&!i.firstChange&&this._overlayRef){const r=this._overlayRef.getConfig().positionStrategy;r instanceof mB&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=xu(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:r,location:o}=this._componentRef;r._startExitAnimation(),r._animationDone.pipe(lt(1)).subscribe(()=>{const a=this._document.activeElement;e&&(!a||a===this._document.activeElement||o.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(i):i()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const e=this.touchUi,i=new aa(fAe,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new qs({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(r).subscribe(o=>{o&&o.preventDefault(),this.close()}),r.keydownEvents().subscribe(o=>{const a=o.keyCode;(38===a||40===a||37===a||39===a||33===a||34===a)&&o.preventDefault()}),this._componentRef=r.attach(i),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe(lt(1)).subscribe(()=>r.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const i="end"===this.xPosition?"end":"start",r="start"===i?"end":"start",o="above"===this.yPosition?"bottom":"top",a="top"===o?"bottom":"top";return e.withPositions([{originX:i,originY:a,overlayX:i,overlayY:o},{originX:i,originY:o,overlayX:i,overlayY:a},{originX:r,originY:a,overlayX:r,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:a}])}_getCloseStream(e){const i=["ctrlKey","shiftKey","metaKey"];return dt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(Be(r=>27===r.keyCode&&!on(r)||this.datepickerInput&&on(r,"altKey")&&38===r.keyCode&&i.every(o=>!on(r,o)))))}}return n.\u0275fac=function(e){return new(e||n)(g(Jn),g(ce),g(Ft),g(A7),g(Hn,8),g(Qt,8),g(wl))},n.\u0275dir=R({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Je]}),n})(),O7=(()=>{class n extends I7{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[ae([x7,{provide:I7,useExisting:n}]),N],decls:0,vars:0,template:function(e,i){},encapsulation:2,changeDetection:0}),n})();class Ny{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let pAe=(()=>{class n{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const i=te(e),r=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this.stateChanges.next(void 0)),i&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(i=>{if(this._shouldHandleChangeEvent(i)){const r=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Ny(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ny(this,this._elementRef.nativeElement))}})}constructor(e,i,r){this._elementRef=e,this._dateAdapter=i,this._dateFormats=r,this.dateChange=new j,this.dateInput=new j,this.stateChanges=new q,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=We.EMPTY,this._localeSubscription=We.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=o=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}},this._minValidator=o=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value)),s=this._getMinDate();return!s||!a||this._dateAdapter.compareDate(s,a)<=0?null:{matDatepickerMin:{min:s,actual:a}}},this._maxValidator=o=>{const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(o.value)),s=this._getMaxDate();return!s||!a||this._dateAdapter.compareDate(s,a)>=0?null:{matDatepickerMax:{max:s,actual:a}}},this._lastValueValid=!1,this._localeSubscription=i.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function mAe(n,t){const e=Object.keys(n);for(let i of e){const{previousValue:r,currentValue:o}=n[i];if(!t.isDateInstance(r)||!t.isDateInstance(o))return!0;if(!t.sameDate(r,o))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){on(e,"altKey")&&40===e.keyCode&&["ctrlKey","shiftKey","metaKey"].every(o=>!on(e,o))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const i=this._lastValueValid;let r=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);const o=!this._dateAdapter.sameDate(r,this.value);!r||o?this._cvaOnChange(r):(e&&!this.value&&this._cvaOnChange(r),i!==this._lastValueValid&&this._validatorOnChange()),o&&(this._assignValue(r),this.dateInput.emit(new Ny(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ny(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const i=this._getDateFilter();return!i||i(e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Hn,8),g(es,8))},n.\u0275dir=R({type:n,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Je]}),n})();const gAe={provide:Mi,useExisting:st(()=>Fy),multi:!0},_Ae={provide:ai,useExisting:st(()=>Fy),multi:!0};let Fy=(()=>{class n extends pAe{set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._min)||(this._min=i,this._validatorOnChange())}get max(){return this._max}set max(e){const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._max)||(this._max=i,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const i=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==i&&this._validatorOnChange()}constructor(e,i,r,o){super(e,i,r),this._formField=o,this._closedSubscription=We.EMPTY,this._validator=$t.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Hn,8),g(es,8),g(Uu,8))},n.\u0275dir=R({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,i){1&e&&E("input",function(o){return i._onInput(o.target.value)})("change",function(){return i._onChange()})("blur",function(){return i._onBlur()})("keydown",function(o){return i._onKeydown(o)}),2&e&&(Si("disabled",i.disabled),ie("aria-haspopup",i._datepicker?"dialog":null)("aria-owns",(null==i._datepicker?null:i._datepicker.opened)&&i._datepicker.id||null)("min",i.min?i._dateAdapter.toIso8601(i.min):null)("max",i.max?i._dateAdapter.toIso8601(i.max):null)("data-mat-calendar",i._datepicker?i._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[ae([gAe,_Ae,{provide:TV,useExisting:n}]),N]}),n})(),bAe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matDatepickerToggleIcon",""]]}),n})(),$E=(()=>{class n{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=te(e)}constructor(e,i,r){this._intl=e,this._changeDetectorRef=i,this._stateChanges=We.EMPTY;const o=Number(r);this.tabIndex=o||0===o?o:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:ee(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ee(),r=this.datepicker?dt(this.datepicker.openedStream,this.datepicker.closedStream):ee();this._stateChanges.unsubscribe(),this._stateChanges=dt(this._intl.changes,e,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(g(wm),g(ze),wi("tabindex"))},n.\u0275cmp=$({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,bAe,5),2&e){let o;U(o=G())&&(i._customIcon=o.first)}},viewQuery:function(e,i){if(1&e&&ve(KTe,5),2&e){let r;U(r=G())&&(i._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,i){1&e&&E("click",function(o){return i._open(o)}),2&e&&(ie("tabindex",null)("data-mat-calendar",i.datepicker?i.datepicker.id:null),de("mat-datepicker-toggle-active",i.datepicker&&i.datepicker.opened)("mat-accent",i.datepicker&&"accent"===i.datepicker.color)("mat-warn",i.datepicker&&"warn"===i.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Je],ngContentSelectors:JTe,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,i){1&e&&(qe(XTe),f(0,"button",0,1),S(2,QTe,2,0,"svg",2),re(3),m()),2&e&&(_("disabled",i.disabled)("disableRipple",i.disableRipple),ie("aria-haspopup",i.datepicker?"dialog":null)("aria-label",i.ariaLabel||i._intl.openCalendarLabel)("tabindex",i.disabled?-1:i.tabIndex),b(2),_("ngIf",!i._customIcon))},dependencies:[Le,Nr],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),UE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[wm,uAe],imports:[ke,ct,Ws,Qb,Za,Ue,Ja]}),n})();function CAe(n,t){if(1&n&&(f(0,"mat-option",11),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}function wAe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("< ",e.configuration.min,"")}}function xAe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("> ",e.configuration.max,"")}}function DAe(n,t){1&n&&(f(0,"mat-error"),C(1,"*"),m())}let N7=(()=>{class n{constructor(e,i,r){this.dateAdapter=i,this.dateFormats=r,this.renderedValue=new ft(""),this.operatorCtrl=new wt("equal",{nonNullable:!0}),this.valueCtrl=new wt(null),this.todayCtrl=new wt(!1),this.operators=s7,this.form=new $n({operator:this.operatorCtrl,value:this.valueCtrl,today:this.todayCtrl}),this.defaults={min:null,max:null},this.configuration={...this.defaults,...e.configuration},this.todayCtrl.valueChanges.pipe(Wp()).subscribe(o=>{o?(this.valueCtrl.setValue(this.dateAdapter.today()),this.valueCtrl.disable()):this.valueCtrl.enable()}),dt(this.operatorCtrl.valueChanges,this.valueCtrl.valueChanges,this.todayCtrl.valueChanges).pipe(Wp()).subscribe(()=>this.renderedValue.next(this.getRenderedValue())),this.initValidators(),this.reloadCondition(e.condition)}getCondition(){if(!this.valueCtrl.value)return{};const e={};let r,o,i=this.operatorCtrl.value;return this.todayCtrl.value?(r="today",o="tomorrow"):(r=Iy(this.dateAdapter,this.valueCtrl.value),o=Iy(this.dateAdapter,this.getDayAfter(this.valueCtrl.value))),"equal"===i?(e.greaterOrEqual={value:r},e.less={value:o}):("today"!==r&&("greater"===i?(i="greaterOrEqual",r=o):"lessOrEqual"===i&&(i="less",r=o)),e[i]={value:r}),e}isValid(){return this.form.valid}isDirty(){return this.form.dirty}reloadCondition(e){if(e){if(e.greaterOrEqual&&e.less)return this.operatorCtrl.setValue("equal"),void this.setTodayOrDate(e.greaterOrEqual.value);for(const i of this.operators){const r=e[i.key];r&&(this.operatorCtrl.setValue(i.key),this.setTodayOrDate(r.value))}}}setTodayOrDate(e){"today"===e?(this.valueCtrl.setValue(this.dateAdapter.today()),this.todayCtrl.setValue(!0)):(this.valueCtrl.setValue(this.dateAdapter.deserialize(e)),this.todayCtrl.setValue(!1))}initValidators(){const e=[$t.required];this.configuration.min&&e.push(v7(this.dateAdapter,this.configuration.min)),this.configuration.max&&e.push(y7(this.dateAdapter,this.configuration.max)),this.valueCtrl.setValidators(e)}getDayAfter(e){return this.dateAdapter.addCalendarDays(this.dateAdapter.clone(e),1)}getRenderedValue(){const e=this.operators.find(r=>r.key===this.operatorCtrl.value);let i="";return this.todayCtrl.value?i=$localize`Aujourd'hui`:this.valueCtrl.value&&(i=this.dateAdapter.format(this.valueCtrl.value,this.dateFormats.display.dateInput)),e&&i?e.label+" "+i:""}}return n.\u0275fac=function(e){return new(e||n)(g(wa),g(Hn),g(es))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:18,vars:14,consts:function(){let t,e,i;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,e=$localize`:␟2f933b826a570836cab04f683970a2d22068458c␟3973931101896534797:Date`,i=$localize`:␟0d2abaedb3d973e6f6f10be08b3095b9252ae48d␟588955082819236113:Aujourd'hui`,[[3,"formGroup"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],e,["matInput","",3,"formControl","matDatepicker","max","min","required"],["matIconSuffix","",3,"for"],["value",""],[4,"ngIf"],[3,"formControl"],i,[3,"value"]]},template:function(e,i){if(1&e&&(f(0,"form",0)(1,"mat-form-field")(2,"mat-label"),Ce(3,1),m(),f(4,"mat-select",2),S(5,CAe,2,2,"mat-option",3),m()(),f(6,"mat-form-field")(7,"mat-label"),Ce(8,4),m(),T(9,"input",5)(10,"mat-datepicker-toggle",6)(11,"mat-datepicker",null,7),S(13,wAe,2,1,"mat-error",8),S(14,xAe,2,1,"mat-error",8),S(15,DAe,2,0,"mat-error",8),m(),f(16,"mat-checkbox",9),Ce(17,10),m()()),2&e){const r=mt(12);_("formGroup",i.form),b(4),_("formControl",i.operatorCtrl)("required",!0),b(1),_("ngForOf",i.operators),b(4),_("formControl",i.valueCtrl)("matDatepicker",r)("max",i.configuration.max)("min",i.configuration.min)("required",!0),b(1),_("for",r),b(3),_("ngIf",i.valueCtrl.hasError("min")),b(1),_("ngIf",i.valueCtrl.hasError("max")),b(1),_("ngIf",i.valueCtrl.hasError("required")),b(1),_("formControl",i.todayCtrl)}},dependencies:[Ut,vc,ui,jt,si,eo,sn,an,gn,_n,An,Tn,to,kc,jc,$c,da,ke,Zt,Le,Oo,Ii,Ai,UE,O7,Fy,$E,Hc,yl],styles:["form[_ngcontent-%COMP%]{display:grid;grid:auto auto/4em auto;grid-gap:0 1em}form[_ngcontent-%COMP%] > mat-checkbox[_ngcontent-%COMP%]{grid-column-start:2;margin-bottom:.3em}"]}),n})();function Py(n,t){const e={};(!(t=Ou(t))||0===t.length)&&(t=[[]]);for(const i of t){const r={},o=n?n.filter(B7):[];for(const a of i){const s=B5(n,a),l=L7(s,a);B7(s)?o.splice(o.indexOf(s),1):F7(r,l)}for(const a of o)F7(r,L7(a,{field:a.field,name:a.name,condition:Ou(a.condition)}));EAe(e,r)}return e}function F7(n,t){const[e,i]=t.field.split(".");let r,o;i?(r=function SAe(n,t){return n.joins||(n.joins={}),n.joins[t]||(n.joins[t]={}),n.joins[t]}(n,e),o=P7(i,t.condition)):(r=n,o=P7(t.field,t.condition)),function kAe(n,t){t&&(n.conditions||(n.conditions=[]),n.conditions.push(t))}(r,o)}function EAe(n,t){(t.conditions||t.joins)&&(n.groups||(n.groups=[]),n.groups.push(t),n.groups.length>1&&(t.groupLogic=wc.OR))}function P7(n,t){const e={};return"search"===n&&t.like?{custom:{search:{value:t.like.value}}}:(e[n]=t,e)}function L7(n,t){const e=n&&n.transform?n.transform(t):t;return function MAe(n){return!!n&&"component"in n&&n.component===N7}(n)?function PTe(n){const t=new Date,e=R5(t);t.setDate(t.getDate()+1);const i=R5(t),r=n.condition;1===Object.keys(r).length&&("today"===r.lessOrEqual?.value?(delete r.lessOrEqual,r.less={value:"tomorrow"}):"today"===r.greater?.value&&(delete r.greater,r.greaterOrEqual={value:"tomorrow"}));for(const o in r){const a=r[o];a&&"value"in a&&("today"===a.value?a.value=e:"tomorrow"===a.value&&(a.value=i))}return n}(e):t}function B7(n){return!!n&&"inversed"in n&&n.inversed||!1}class TAe{constructor(t,e,i=0,r=!1,o=!0,a=!0){this.node=t,this.name=e,this.level=i,this.expandable=r,this.selectable=o,this.deselectable=a,this.loading=!1}}var AAe=Math.min;const NAe=function RAe(n){return sp(n)?n:[]};var FAe=dp(function(n){var t=Cu(n,NAe);return t.length&&t[0]===n[0]?function IAe(n,t,e){for(var i=e?ND:RD,r=n[0].length,o=n.length,a=o,s=Array(o),l=1/0,c=[];a--;){var d=n[a];a&&t&&(d=Cu(d,lp(t))),l=AAe(d.length,l),s[a]=!e&&(t||r>=120&&d.length>=120)?new Bb(a&&d):void 0}d=n[0];var u=-1,h=s[0];e:for(;++u{class n{constructor(e){this.injector=e,this.dataChange=new ft([]),this.configuration=[]}init(e,i=null,r=null){return this.validateConfiguration(e),this.configuration=this.injectServicesInConfiguration(e),this.getList(null,i,r).pipe(ue(o=>this.dataChange.next(o)))}loadChildren(e,i=null){e.node.children.length||(e.loading=!0,this.getList(e,i).pipe(Co(()=>e.loading=!1)).subscribe(r=>{e.node.childrenChange.next(r),this.dataChange.next(this.dataChange.value)}))}search(e,i=null){this.getList(null,i,e).subscribe(r=>{this.dataChange.next(r)})}getList(e=null,i=null,r=null){const o=this.getContextualizedConfigs(e,i,r);return ko(o.map(s=>s.configuration.injectedService.getAll(s.variablesManager))).pipe(ue(s=>{const l=[];for(let c=0;ca.configuration.injectedService.count(a.variablesManager).pipe(Qr()))).subscribe(a=>{const s=a.reduce((l,c)=>l+c,0);e.expandable=s>0})}getContextualizedConfigs(e=null,i=null,r=null){const o=[],a=e?this.getNextConfigs(e.node.config):this.configuration,s={pageIndex:0,pageSize:999};for(const l of a){const c={},d=this.getFilterByService(l,i),u=this.getServiceFilter(e,l,d,!!r);if(!u||!l.injectedService)continue;const h=new ua;h.set("variables",{filter:u,pagination:s}),h.set("config-filter",{filter:l.filter}),r&&h.set("natural-search",r),c.configuration=l,c.variablesManager=h,o.push(c)}return o}toOrganizedSelection(e){const i=this.configuration.reduce((r,o)=>(o.selectableAtKey&&(r[o.selectableAtKey]=[]),r),{});for(const r of e)r.config.selectableAtKey&&i[r.config.selectableAtKey].push(r.model);return i}fromOrganizedSelection(e){if(!e)return[];const i=[];for(const r of Object.keys(e)){const o=this.getConfigurationBySelectableKey(r);if(o)for(const a of e[r])i.push(new V7(a,o))}return i}injectServicesInConfiguration(e){for(const i of e)i.injectedService||(i.injectedService=this.injector.get(i.service));return e}validateConfiguration(e){const i=[];for(const r of e)if(r.selectableAtKey){const o=i.indexOf(r.selectableAtKey);-1===o&&r.selectableAtKey&&i.push(r.selectableAtKey),o<-1&&console.warn("Invalid hierarchic configuration : selectableAtKey attribute should be unique")}}getNextConfigs(e){const i=this.configuration.findIndex(r=>r===e);return this.configuration.slice(i)}getServiceFilter(e,i,r=null,o=!1){const a={};if(e){if(!e.node.config.childrenRelationNames||!i.parentsRelationNames)return null;const l=PAe(e.node.config.childrenRelationNames,i.parentsRelationNames);if(!l.length)return null;a[l[0]]={have:{values:[e.node.model.id]}}}else{if(!i.parentsRelationNames)return r||{};o||i.parentsRelationNames.forEach(l=>{a[l]={empty:{}}})}const s={groups:[{conditions:[a]}]};return r&&s.groups.push(...r.groups),s}getFilterByService(e,i){if(!i||!e)return null;const r=i.find(o=>o.service===e.service);return r?r.filter:null}getConfigurationBySelectableKey(e){return this.configuration&&this.configuration.find(i=>i.selectableAtKey===e)||null}getOrCreateModelNode(e,i){return this.dataChange.value.find(o=>o.model.id===e.id&&o.model.__typename===e.__typename)||new V7(e,i)}}return n.\u0275fac=function(e){return new(e||n)(I(Yt))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function LAe(n,t){1&n&&(f(0,"span",8),re(1,1),m())}function BAe(n,t){1&n&&(f(0,"span",9),re(1,2),m())}const H7=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],$7=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function VAe(n,t){1&n&&(f(0,"span",9),re(1,1),f(2,"span",10),Ci(),f(3,"svg",11),T(4,"path",12),m()()())}function zAe(n,t){1&n&&(f(0,"span",13),re(1,2),m())}const GE=["*"],Ly=new F("mat-chips-default-options"),qE=new F("MatChipAvatar"),WE=new F("MatChipTrailingIcon"),YE=new F("MatChipRemove"),By=new F("MatChip");class QAe{}const XAe=cc(QAe,-1);let dh=(()=>{class n extends XAe{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=te(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(By))},n.\u0275dir=R({type:n,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,i){1&e&&E("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(ie("tabindex",i._getTabindex())("disabled",i._getDisabledAttribute())("aria-disabled",i.disabled),de("mdc-evolution-chip__action--primary",i._isPrimary)("mdc-evolution-chip__action--presentational",!i.isInteractive)("mdc-evolution-chip__action--trailing",!i._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[N]}),n})(),G7=(()=>{class n extends dh{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,i){2&e&&ie("aria-hidden",null)},features:[ae([{provide:YE,useExisting:n}]),N]}),n})(),eIe=0;const tIe=cc(Ys(Ks(Ao(class{constructor(n){this._elementRef=n}})),"primary"),-1);let uh=(()=>{class n extends tIe{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=te(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=te(e)}constructor(e,i,r,o,a,s,l,c){super(i),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=l,this._isRippleCentered=!1,this._onFocus=new q,this._onBlur=new q,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+eIe++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new j,this.destroyed=new j,this.basicChipAttrName="mat-basic-chip",this._document=a,this._animationsDisabled="NoopAnimations"===s,null!=c&&(this.tabIndex=parseInt(c)??this.defaultTabIndex),this._monitorFocus()}ngOnInit(){const e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=dt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(lt(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(W),g(ce),g(fr),g(ye),g(Ot,8),g(uc,8),wi("tabindex"))},n.\u0275cmp=$({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,qE,5),Ee(r,WE,5),Ee(r,YE,5),Ee(r,qE,5),Ee(r,WE,5),Ee(r,YE,5)),2&e){let o;U(o=G())&&(i.leadingIcon=o.first),U(o=G())&&(i.trailingIcon=o.first),U(o=G())&&(i.removeIcon=o.first),U(o=G())&&(i._allLeadingIcons=o),U(o=G())&&(i._allTrailingIcons=o),U(o=G())&&(i._allRemoveIcons=o)}},viewQuery:function(e,i){if(1&e&&(ve(Ei,5),ve(dh,5)),2&e){let r;U(r=G())&&(i.ripple=r.first),U(r=G())&&(i.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,i){1&e&&E("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Si("id",i.id),ie("role",i.role)("tabindex",i.role?i.tabIndex:null)("aria-label",i.ariaLabel),de("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-basic-chip",i._isBasicChip)("mat-mdc-standard-chip",!i._isBasicChip)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon())("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ae([{provide:By,useExisting:n}]),N],ngContentSelectors:$7,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(qe(H7),T(0,"span",0)(1,"span",1),f(2,"span",2)(3,"span",3),S(4,LAe,2,0,"span",4),f(5,"span",5),re(6),T(7,"span",6),m()()(),S(8,BAe,2,0,"span",7)),2&e&&(_("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i._isRippleCentered)("matRippleTrigger",i._elementRef.nativeElement),b(3),_("isInteractive",!1),b(1),_("ngIf",i.leadingIcon),b(4),_("ngIf",i._hasTrailingIcon()))},dependencies:[Le,Ei,dh],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),KE=(()=>{class n extends uh{constructor(){super(...arguments),this._defaultOptions=ne(Ly,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new j}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=te(e),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(e){this._setSelectedState(te(e),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,i,r){e!==this.selected&&(this._selected=e,r&&this.selectionChange.emit({source:this,isUserInput:i,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(e,i){2&e&&(Si("id",i.id),ie("tabindex",null)("aria-label",null)("aria-description",null)("role",i.role),de("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--filter",!i._isBasicChip)("mdc-evolution-chip--selectable",!i._isBasicChip)("mat-mdc-chip-selected",i.selected)("mat-mdc-chip-multiple",i._chipListMultiple)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-chip-with-avatar",i.leadingIcon)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--selected",i.selected)("mdc-evolution-chip--selecting",!i._animationsDisabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-primary-graphic",i._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[ae([{provide:uh,useExisting:n},{provide:By,useExisting:n}]),N],ngContentSelectors:$7,decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(qe(H7),T(0,"span",0)(1,"span",1),f(2,"span",2)(3,"button",3),S(4,VAe,5,0,"span",4),f(5,"span",5),re(6),T(7,"span",6),m()()(),S(8,zAe,2,0,"span",7),f(9,"span",8),C(10),m()),2&e&&(_("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i._isRippleCentered)("matRippleTrigger",i._elementRef.nativeElement),b(3),_("tabIndex",i.tabIndex)("_allowFocusWhenDisabled",!0),ie("aria-selected",i.ariaSelected)("aria-label",i.ariaLabel)("aria-describedby",i._ariaDescriptionId),b(1),_("ngIf",i._hasLeadingGraphic()),b(4),_("ngIf",i._hasTrailingIcon()),b(1),_("id",i._ariaDescriptionId),b(1),xe(i.ariaDescription))},dependencies:[Le,Ei,dh],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();class nIe{constructor(t){}}const iIe=cc(nIe);let QE=(()=>{class n extends iIe{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,r){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new q,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Jo}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(zt(null),xt(()=>dt(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(zt(this._chips)).subscribe(e=>{const i=[];e.forEach(r=>r._getActions().forEach(o=>i.push(o))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new kp(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(se(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(se(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(zt(null),se(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(se(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(Qt,8))},n.\u0275cmp=$({type:n,selectors:[["mat-chip-set"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,uh,5),2&e){let o;U(o=G())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,i){1&e&&E("keydown",function(o){return i._handleKeydown(o)}),2&e&&ie("role",i.role)},inputs:{disabled:"disabled",role:"role"},features:[N],ngContentSelectors:GE,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(qe(),f(0,"div",0),re(1),m())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})();class rIe{constructor(t,e){this.source=t,this.value=e}}const oIe={provide:Mi,useExisting:st(()=>XE),multi:!0};let XE=(()=>{class n extends QE{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=ne(Ly,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(e,i)=>e===i,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new j,this._chips=void 0}get multiple(){return this._multiple}set multiple(e){this._multiple=te(e),this._syncListboxProperties()}get selected(){const e=this._chips.toArray().filter(i=>i.selected);return this.multiple?e:e[0]}get selectable(){return this._selectable}set selectable(e){this._selectable=te(e),this._syncListboxProperties()}get required(){return this._required}set required(e){this._required=te(e)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=te(e),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(zt(null),se(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(se(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(se(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(i=>{i!==e.source&&i._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){this._chips?this._setSelectionByValue(e,!1):null!=e&&(this._pendingInitialValue=e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,i=!0){this._clearSelection(),Array.isArray(e)?e.forEach(r=>this._selectValue(r,i)):this._selectValue(e,i)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(e){9===e.keyCode&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;e=Array.isArray(this.selected)?this.selected.map(i=>i.value):this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new rIe(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(i=>{i!==e&&i.deselect()})}_selectValue(e,i){const r=this._chips.find(o=>null!=o.value&&this.compareWith(o.value,e));return r&&(i?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-chip-listbox"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,KE,5),2&e){let o;U(o=G())&&(i._chips=o)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(e,i){1&e&&E("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(o){return i._keydown(o)}),2&e&&(Si("tabIndex",i.empty?-1:i.tabIndex),ie("role",i.role)("aria-describedby",i._ariaDescribedby||null)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-multiselectable",i.multiple)("aria-orientation",i.ariaOrientation),de("mat-mdc-chip-list-disabled",i.disabled)("mat-mdc-chip-list-required",i.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[ae([oIe]),N],ngContentSelectors:GE,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(qe(),f(0,"div",0),re(1),m())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})(),uIe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Mp,{provide:Ly,useValue:{separatorKeyCodes:[13]}}],imports:[Ue,ke,Io,Ue]}),n})();const hIe=["determinateSpinner"];function fIe(n,t){if(1&n&&(Ci(),f(0,"svg",11),T(1,"circle",12),m()),2&n){const e=x();ie("viewBox",e._viewBox()),b(1),un("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ie("r",e._circleRadius())}}const pIe=Ys(class{constructor(n){this._elementRef=n}},"primary"),mIe=new F("mat-progress-spinner-default-options",{providedIn:"root",factory:function gIe(){return{diameter:W7}}}),W7=100;let Dm=(()=>{class n extends pIe{constructor(e,i,r){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=W7,this._noopAnimations="NoopAnimations"===i&&!!r&&!r._forceAnimations,r&&(r.color&&(this.color=this.defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,pn(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=pn(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=pn(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Ot,8),g(mIe))},n.\u0275cmp=$({type:n,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,i){if(1&e&&ve(hIe,5),2&e){let r;U(r=G())&&(i._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(e,i){2&e&&(ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===i.mode?i.value:null)("mode",i.mode),un("width",i.diameter,"px")("height",i.diameter,"px")("--mdc-circular-progress-size",i.diameter+"px")("--mdc-circular-progress-active-indicator-width",i.diameter+"px"),de("_mat-animation-noopable",i._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===i.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[N],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,i){if(1&e&&(S(0,fIe,2,8,"ng-template",null,0,_o),f(2,"div",1,2),Ci(),f(4,"svg",3),T(5,"circle",4),m()(),Ss(),f(6,"div",5)(7,"div",6)(8,"div",7),Gi(9,8),m(),f(10,"div",9),Gi(11,8),m(),f(12,"div",10),Gi(13,8),m()()()),2&e){const r=mt(1);b(4),ie("viewBox",i._viewBox()),b(1),un("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeDashOffset(),"px")("stroke-width",i._circleStrokeWidth(),"%"),ie("r",i._circleRadius()),b(4),_("ngTemplateOutlet",r),b(2),_("ngTemplateOutlet",r),b(2),_("ngTemplateOutlet",r)}},dependencies:[Vd],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),Sm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ke,Ue]}),n})();const Y7=["*"],K7='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::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-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',Q7=["unscopedContent"],bIe=["text"],vIe=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],yIe=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function CIe(n,t){1&n&&re(0,4)}function wIe(n,t){if(1&n&&(f(0,"div",11),T(1,"input",12),f(2,"div",13),Ci(),f(3,"svg",14),T(4,"path",15),m(),Ss(),T(5,"div",16),m()()),2&n){const e=x();de("mdc-checkbox--disabled",e.disabled),b(1),_("checked",e.selected)("disabled",e.disabled)}}function xIe(n,t){if(1&n&&(f(0,"div",17),T(1,"input",18),f(2,"div",19),T(3,"div",20)(4,"div",21),m()()),2&n){const e=x();de("mdc-radio--disabled",e.disabled),b(1),_("checked",e.selected)("disabled",e.disabled)}}function DIe(n,t){}function SIe(n,t){if(1&n&&(f(0,"span",22),S(1,DIe,0,0,"ng-template",23),m()),2&n){x();const e=mt(3);b(1),_("ngTemplateOutlet",e)}}function kIe(n,t){}function EIe(n,t){if(1&n&&(f(0,"span",24),S(1,kIe,0,0,"ng-template",23),m()),2&n){x();const e=mt(5);b(1),_("ngTemplateOutlet",e)}}function MIe(n,t){}function TIe(n,t){1&n&&S(0,MIe,0,0,"ng-template",23),2&n&&(x(),_("ngTemplateOutlet",mt(1)))}function AIe(n,t){}function IIe(n,t){if(1&n&&(f(0,"span",25),S(1,AIe,0,0,"ng-template",23),m()),2&n){x();const e=mt(3);b(1),_("ngTemplateOutlet",e)}}function OIe(n,t){}function RIe(n,t){if(1&n&&(f(0,"span",25),S(1,OIe,0,0,"ng-template",23),m()),2&n){x();const e=mt(5);b(1),_("ngTemplateOutlet",e)}}function NIe(n,t){}function FIe(n,t){1&n&&S(0,NIe,0,0,"ng-template",23),2&n&&(x(),_("ngTemplateOutlet",mt(1)))}const PIe=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],LIe=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],X7=new F("ListOption");let J7=(()=>{class n{constructor(e){this._elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),n})(),Z7=(()=>{class n{constructor(e){this._elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),n})(),BIe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),n})(),e9=(()=>{class n{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return n.\u0275fac=function(e){return new(e||n)(g(X7,8))},n.\u0275dir=R({type:n,hostVars:4,hostBindings:function(e,i){2&e&&de("mdc-list-item__start",i._isAlignedAtStart())("mdc-list-item__end",!i._isAlignedAtStart())}}),n})(),VIe=(()=>{class n extends e9{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[N]}),n})(),t9=(()=>{class n extends e9{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[N]}),n})();const zIe=new F("MAT_LIST_CONFIG");let hh=(()=>{class n{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=ne(zIe,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=te(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,hostVars:1,hostBindings:function(e,i){2&e&&ie("aria-disabled",i.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),n})(),JE=(()=>{class n{set lines(e){this._explicitLines=pn(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=te(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=te(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,i,r,o,a,s){this._elementRef=e,this._ngZone=i,this._listBase=r,this._platform=o,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new We,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=a||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===s,r&&!r._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new dc(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(dt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();const i=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===i),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===i),this._hasUnscopedTextContent){const o=0===this._titles.length&&1===i;r.classList.toggle("mdc-list-item__primary-text",o),r.classList.toggle("mdc-list-item__secondary-text",!o)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!(!e.textContent||!e.textContent.trim()))}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce),g(hh,8),g(yt),g(uc,8),g(Ot,8))},n.\u0275dir=R({type:n,contentQueries:function(e,i,r){if(1&e&&(Ee(r,VIe,4),Ee(r,t9,4)),2&e){let o;U(o=G())&&(i._avatars=o),U(o=G())&&(i._icons=o)}},hostVars:4,hostBindings:function(e,i){2&e&&(ie("aria-disabled",i.disabled)("disabled",i._isButtonElement&&i.disabled||null),de("mdc-list-item--disabled",i.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),n})(),n9=(()=>{class n extends JE{get activated(){return this._activated}set activated(e){this._activated=te(e)}constructor(e,i,r,o,a,s){super(e,i,r,o,a,s),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce),g(hh,8),g(yt),g(uc,8),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,Z7,5),Ee(r,J7,5),Ee(r,BIe,5)),2&e){let o;U(o=G())&&(i._lines=o),U(o=G())&&(i._titles=o),U(o=G())&&(i._meta=o)}},viewQuery:function(e,i){if(1&e&&(ve(Q7,5),ve(bIe,5)),2&e){let r;U(r=G())&&(i._unscopedContent=r.first),U(r=G())&&(i._itemText=r.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(e,i){2&e&&(ie("aria-current",i._getAriaCurrent()),de("mdc-list-item--activated",i.activated)("mdc-list-item--with-leading-avatar",0!==i._avatars.length)("mdc-list-item--with-leading-icon",0!==i._icons.length)("mdc-list-item--with-trailing-meta",0!==i._meta.length)("_mat-animation-noopable",i._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[N],ngContentSelectors:yIe,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(e,i){1&e&&(qe(vIe),re(0),f(1,"span",0),re(2,1),re(3,2),f(4,"span",1,2),E("cdkObserveContent",function(){return i._updateItemLines(!0)}),re(6,3),m()(),re(7,4),re(8,5),T(9,"div",3))},dependencies:[GD],encapsulation:2,changeDetection:0}),n})();const i9=new F("SelectionList");let r9=(()=>{class n extends JE{get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){const i=te(e);i!==this._selected&&(this._setSelected(i),(i||this._selectionList.multiple)&&this._selectionList._reportValueChange())}constructor(e,i,r,o,a,s,l){super(e,i,r,o,s,l),this._selectionList=r,this._changeDetectorRef=a,this.selectedChange=new j,this.togglePosition="after",this._selected=!1,this._inputsInitialized=!1}ngOnInit(){const e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);const i=this._selected;Promise.resolve().then(()=>{(this._selected||i)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,i){return this._getTogglePosition()!==i&&("avatars"===e?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e!==this._selected&&(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce),g(i9),g(yt),g(ze),g(uc,8),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-list-option"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,Z7,5),Ee(r,J7,5)),2&e){let o;U(o=G())&&(i._lines=o),U(o=G())&&(i._titles=o)}},viewQuery:function(e,i){if(1&e&&ve(Q7,5),2&e){let r;U(r=G())&&(i._unscopedContent=r.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(e,i){1&e&&E("blur",function(){return i._handleBlur()})("click",function(){return i._toggleOnInteraction()}),2&e&&(ie("aria-selected",i.selected),de("mdc-list-item--selected",i.selected&&!i._selectionList.multiple&&i._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",i._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",i._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",i._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",i._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",i._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",i._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",i._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",i._hasRadioAt("after"))("mat-accent","primary"!==i.color&&"warn"!==i.color)("mat-warn","warn"===i.color)("_mat-animation-noopable",i._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[ae([{provide:JE,useExisting:n},{provide:X7,useExisting:n}]),N],ngContentSelectors:LIe,decls:20,vars:6,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],["class","mdc-list-item__start mat-mdc-list-option-radio-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["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"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(e,i){1&e&&(qe(PIe),S(0,CIe,1,0,"ng-template",null,0,_o),S(2,wIe,6,4,"ng-template",null,1,_o),S(4,xIe,5,4,"ng-template",null,2,_o),S(6,SIe,2,1,"span",3),S(7,EIe,2,1,"span",4),S(8,TIe,1,1,"ng-template",5),f(9,"span",6),re(10),re(11,1),f(12,"span",7,8),E("cdkObserveContent",function(){return i._updateItemLines(!0)}),re(14,2),m()(),S(15,IIe,2,1,"span",9),S(16,RIe,2,1,"span",9),S(17,FIe,1,1,"ng-template",5),re(18,3),T(19,"div",10)),2&e&&(b(6),_("ngIf",i._hasCheckboxAt("before")),b(1),_("ngIf",i._hasRadioAt("before")),b(1),_("ngIf",i._hasIconsOrAvatarsAt("before")),b(7),_("ngIf",i._hasCheckboxAt("after")),b(1),_("ngIf",i._hasRadioAt("after")),b(1),_("ngIf",i._hasIconsOrAvatarsAt("after")))},dependencies:[GD,Le,Vd],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:""}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@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}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, "#fff")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, "#fff")}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-hover-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-focus-icon-color, #f44336)}100%{border-color:#212121;border-color:var(--mdc-checkbox-unselected-focus-icon-color, #212121);background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:#f44336;border-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336);background-color:#f44336;background-color:var(--mdc-checkbox-selected-pressed-icon-color, #f44336)}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__ripple::after{background-color:black;background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, black)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.16;opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, 0.16)}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#f44336;background-color:var(--mdc-checkbox-selected-hover-state-layer-color, #f44336)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-focus-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-hover-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#f44336;border-color:var(--mdc-radio-selected-pressed-icon-color, #f44336)}.mat-mdc-list-option .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#212121;border-color:var(--mdc-radio-unselected-hover-icon-color, #212121)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-radio-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54))}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0}),n})(),o9=(()=>{class n extends hh{constructor(){super(...arguments),this._isNonInteractive=!1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[ae([{provide:hh,useExisting:n}]),N],ngContentSelectors:Y7,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},styles:[K7],encapsulation:2,changeDetection:0}),n})();const HIe={provide:Mi,useExisting:st(()=>ZE),multi:!0};class $Ie{constructor(t,e){this.source=t,this.options=e}}let ZE=(()=>{class n extends hh{get multiple(){return this._multiple}set multiple(e){const i=te(e);i!==this._multiple&&(this._multiple=i,this.selectedOptions=new xc(this._multiple,this.selectedOptions.selected))}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=te(e)}constructor(e,i){super(),this._element=e,this._ngZone=i,this._initialized=!1,this._destroyed=new q,this._onChange=r=>{},this.selectionChange=new j,this.color="accent",this.compareWith=(r,o)=>r===o,this._multiple=!0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.selectedOptions=new xc(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=r=>{if(this.disabled)return;const o=this._items.toArray().findIndex(a=>a._elementRef.nativeElement.contains(r.target));o>-1?this._setActiveOption(o):this._resetActiveOption()},this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(e){const i=e.disabled,r=e.disableRipple,o=e.hideSingleSelectionIndicator;(r&&!r.firstChange||i&&!i.firstChange||o&&!o.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new $Ie(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e}get disabled(){return this._selectionListDisabled}set disabled(e){this._selectionListDisabled=te(e),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(se(this._destroyed)).subscribe(e=>{for(let i of e.added)i.selected=!0;for(let i of e.removed)i.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(i=>i._setSelected(!1)),e.forEach(i=>{const r=this.options.find(o=>!o.selected&&this.compareWith(o.value,i));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,i){const r=[];return this.options.forEach(o=>{(!i||!o.disabled)&&o._setSelected(e)&&r.push(o)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){const i=this._keyManager.activeItem;if(13!==e.keyCode&&32!==e.keyCode||this._keyManager.isTyping()||!i||i.disabled)if(65===e.keyCode&&this.multiple&&!this._keyManager.isTyping()&&on(e,"ctrlKey")){const r=this.options.some(o=>!o.disabled&&!o.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e);else e.preventDefault(),i._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new kp(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(se(this._destroyed)).subscribe(()=>{const e=this._keyManager.activeItem;(!e||!this._items.toArray().indexOf(e))&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((i,r)=>i._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const e=this._items.find(i=>i.selected&&!i.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){const e=xu();return e&&this._element.nativeElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ce))},n.\u0275cmp=$({type:n,selectors:[["mat-selection-list"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,r9,5),2&e){let o;U(o=G())&&(i._items=o)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(e,i){1&e&&E("keydown",function(o){return i._handleKeydown(o)}),2&e&&ie("aria-multiselectable",i.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[ae([HIe,{provide:hh,useExisting:n},{provide:i9,useExisting:n}]),N,Je],ngContentSelectors:Y7,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},styles:[K7],encapsulation:2,changeDetection:0}),n})(),eM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[qb,ke,Ue,Io,QB,xE]}),n})();function jIe(n,t){if(1&n&&(f(0,"div",2),C(1),m()),2&n){const e=x();b(1),xe(e.data.title)}}function UIe(n,t){if(1&n){const e=Y();f(0,"mat-list-item",3),E("click",function(){const o=B(e).$implicit,a=x();return a.selection=o,V(a.close())}),f(1,"a"),C(2),m()()}if(2&n){const e=t.$implicit;b(2),xe(e.display)}}let GIe=(()=>{class n{constructor(e,i){this.data=e,this.dropdownRef=i,this.renderedValue=new ft(""),this.selection=null,this.facets=e.configuration.facets}getCondition(){return{}}close(){this.selection&&this.dropdownRef.close({condition:{},facet:this.selection})}isValid(){return!!this.selection}isDirty(){return!0}}return n.\u0275fac=function(e){return new(e||n)(g(wa),g(ms))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:3,vars:2,consts:[["class","dropdown-title mat-body-2",4,"ngIf"],[3,"click",4,"ngFor","ngForOf"],[1,"dropdown-title","mat-body-2"],[3,"click"]],template:function(e,i){1&e&&(S(0,jIe,2,1,"div",0),f(1,"mat-nav-list"),S(2,UIe,3,1,"mat-list-item",1),m()),2&e&&(_("ngIf",i.data.title),b(2),_("ngForOf",i.facets))},dependencies:[ke,Zt,Le,eM,o9,n9],styles:[".mat-nav-list[_ngcontent-%COMP%]{padding:0}.dropdown-title[_ngcontent-%COMP%]{padding:5px;font-variant:all-small-caps;font-size:18px;opacity:.7}"]}),n})();const qIe=["input"];function WIe(n,t){if(1&n&&(f(0,"mat-label"),C(1),m()),2&n){const e=x();b(1),xe(e.facet.display)}}function YIe(n,t){if(1&n&&(f(0,"mat-label"),C(1),m()),2&n){const e=x();b(1),xe(e.placeholder)}}function KIe(n,t){1&n&&T(0,"mat-icon",8)}function QIe(n,t){if(1&n){const e=Y();f(0,"button",9),E("click",function(){return B(e),V(x().clear())}),T(1,"mat-icon",10),m()}}function XIe(n,t){if(1&n){const e=Y();f(0,"button",9),E("click",function(){return B(e),V(x().clear())}),T(1,"mat-icon",11),m()}}class JIe{isErrorState(t){return!!t&&t.invalid}}function ZIe(n){return()=>n.isValid()?null:{component:!0}}let eOe=(()=>{class n{focus(){this.neutralizeDropdownOpening=!0,this.input.nativeElement.focus(),this.neutralizeDropdownOpening=!1}constructor(e,i,r){this.element=e,this.dropdownService=i,this.injector=r,this.searchFieldName="search",this.selection=null,this.dropdownTitle="",this.selectionChange=new j,this.cleared=new j,this.facet=null,this.formCtrl=new wt(null),this.errorMatcher=new JIe,this.dropdownRef=null,this.dropdownComponentRef=null,this.minLength=5,this.length=this.minLength,this.neutralizeDropdownOpening=!1}ngOnInit(){this.input.nativeElement.addEventListener("focus",()=>{this.openDropdown()}),this.input.nativeElement.addEventListener("keyup",()=>{this.dropdownRef&&""!==this.formCtrl.value&&this.dropdownRef.close()}),this.placeholder||(this.placeholder=$localize`Recherche`),this.length=Math.max(this.minLength,Math.ceil(.66*(this.facet?this.facet.display.length:this.placeholder.length)))}ngOnDestroy(){this.dropdownComponentRef&&this.dropdownComponentRef.destroy()}ngOnChanges(){if(!this.facets&&this.selection)setTimeout(()=>this.clear());else if(this.facets&&this.selection)if(this.facet=B5(this.facets,this.selection),this.isDropdown()){const e=this.createComponent(this.facet);this.formCtrl.setValidators([ZIe(e)]),e.renderedValue.subscribe(i=>{this.formCtrl.setValue(i)})}else this.isFlag()?this.formCtrl.setValue(""):this.selection&&this.selection.field===this.searchFieldName&&this.selection.condition.like?this.formCtrl.setValue(""+this.selection.condition.like.value):setTimeout(()=>this.clear())}search(e){e.stopPropagation(),e.preventDefault(),this.formCtrl.value&&(this.isDropdown()||this.formCtrl.valid&&this.formCtrl.dirty&&this.selectionChange.emit(this.getSelection({like:{value:this.formCtrl.value}})))}clear(){this.facet=null,this.selection=null,this.formCtrl.setValue(null),this.cleared.emit(this)}openDropdown(){this.dropdownRef||this.neutralizeDropdownOpening||(this.launchRipple(),this.facet||this.formCtrl.value?this.openTypeDropdown():this.openFacetSelectorDropdown(this.dropdownTitle))}isDropdown(){return!(!this.facet||!this.facet.component)}isFlag(){return!(!this.facet||!this.facet.condition)}createComponent(e){this.dropdownComponentRef&&this.dropdownComponentRef.destroy();const o=Pw(this.createProviders({condition:this.selection?this.selection.condition:null,configuration:e.configuration}),this.injector);return this.dropdownComponentRef=function ZJ(n,t){const e=At(n),i=t.elementInjector||Tg();return new Jh(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}(e.component,{environmentInjector:o}),this.dropdownComponentRef.instance}createProviders(e){return[{provide:ms,useValue:null},{provide:wa,useValue:e}]}launchRipple(){this.ripple.launch({persistent:!0,centered:!0}).fadeOut()}openFacetSelectorDropdown(e){if(!this.facets||this.facets&&!this.facets.length)return;const r=this.createProviders({condition:{},title:e,configuration:{facets:this.facets}});this.dropdownRef=this.dropdownService.open(GIe,this.element,r,!1),this.dropdownRef.closed.subscribe(o=>{this.dropdownRef=null,void 0!==o&&(o.facet?this.setFacet(o.facet):o.condition&&this.setValue(o))})}openTypeDropdown(){if(!this.isDropdown())return;const e=this.facet,r=this.createProviders({condition:this.selection?this.selection.condition:null,configuration:e.configuration});this.dropdownRef=this.dropdownService.open(e.component,this.element,r,void 0===e.showValidateButton||e.showValidateButton),this.dropdownRef.closed.subscribe(a=>{this.dropdownRef=null,void 0!==a&&this.setValue(a)})}setFacet(e){this.facet=e,this.isDropdown()?this.openTypeDropdown():this.isFlag()?this.setValue({condition:e.condition}):this.input.nativeElement.focus()}setValue(e){this.facet&&this.selectionChange.emit(this.getSelection(e.condition))}getSelection(e){const i={field:this.facet?this.facet.field:this.searchFieldName,condition:e};return this.facet&&this.facet.name&&(i.name=this.facet.name),i}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(nTe),g(Yo))},n.\u0275cmp=$({type:n,selectors:[["natural-input"]],viewQuery:function(e,i){if(1&e&&(ve(Ei,7),ve(qIe,7)),2&e){let r;U(r=G())&&(i.ripple=r.first),U(r=G())&&(i.input=r.first)}},hostBindings:function(e,i){1&e&&E("focus",function(){return i.focus()})},inputs:{placeholder:"placeholder",searchFieldName:"searchFieldName",selection:"selection",facets:"facets",dropdownTitle:"dropdownTitle"},outputs:{selectionChange:"selectionChange",cleared:"cleared"},standalone:!0,features:[Je,Se],decls:11,vars:10,consts:[["matRipple","",3,"click"],["field",""],[4,"ngIf"],["autocomplete","off","matInput","","type","text",3,"errorStateMatcher","formControl","readonly","blur","keydown.enter"],["input",""],["naturalIcon","search","matIconPrefix","",4,"ngIf"],["mat-icon-button","","matIconSuffix","",3,"click",4,"ngIf"],[1,"hide"],["naturalIcon","search","matIconPrefix",""],["mat-icon-button","","matIconSuffix","",3,"click"],["naturalIcon","close"],["naturalIcon","undo"]],template:function(e,i){1&e&&(f(0,"mat-form-field",0,1),E("click",function(){return i.selection||i.facet&&!i.selection?null:i.openDropdown()}),S(2,WIe,2,1,"mat-label",2),S(3,YIe,2,1,"mat-label",2),f(4,"input",3,4),E("blur",function(o){return i.search(o)})("keydown.enter",function(o){return i.search(o)}),m(),S(6,KIe,1,0,"mat-icon",5),S(7,QIe,2,0,"button",6),S(8,XIe,2,0,"button",6),m(),f(9,"div",7),C(10),m()),2&e&&(b(2),_("ngIf",i.facet),b(1),_("ngIf",!i.facet),b(1),_("errorStateMatcher",i.errorMatcher)("formControl",i.formCtrl)("readonly",i.isDropdown()&&!!i.selection||i.isFlag()),ie("size",i.length),b(2),_("ngIf",!i.facet&&!i.selection),b(1),_("ngIf",i.selection),b(1),_("ngIf",i.facet&&!i.selection),b(2),xe(i.formCtrl.value?i.formCtrl.value:i.facet?i.facet.display:i.placeholder))},dependencies:[_n,An,Tn,zv,kc,Io,Ei,ke,Le,Ii,Ai,Ut,ui,jt,sn,an,li,Zn,fi,ct,Nr],styles:["[_nghost-%COMP%]{position:relative;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px;display:flex;flex-direction:column}[_nghost-%COMP%] .hide[_ngcontent-%COMP%]{color:transparent;height:0;margin:0 50px 0 10px;font-size:inherit;white-space:nowrap;font-family:Roboto,Helvetica Neue,sans-serif}"]}),n})();const tOe=["newValueInput"];function nOe(n,t){if(1&n){const e=Y();f(0,"natural-input",3),E("cleared",function(){const o=B(e).index;return V(x().removeInput(o))})("selectionChange",function(r){const a=B(e).index;return V(x().updateInput(r,a))}),m()}if(2&n){const e=t.$implicit;_("facets",x().facets)("selection",e)}}let iOe=(()=>{class n{constructor(){this.dropdownTitle="",this.selectionChange=new j,this.innerSelections=[]}set selections(e){this.innerSelections=Ou(e)}updateInput(e,i){this.innerSelections[i]=e,this.selectionChange.emit(this.innerSelections)}addInput(e){this.newValueInput.clear(),this.innerSelections.push(e),this.selectionChange.emit(this.innerSelections)}removeInput(e){this.innerSelections.splice(e,1),this.selectionChange.emit(this.innerSelections)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-group"]],viewQuery:function(e,i){if(1&e&&ve(tOe,5),2&e){let r;U(r=G())&&(i.newValueInput=r.first)}},inputs:{dropdownTitle:"dropdownTitle",placeholder:"placeholder",facets:"facets",selections:"selections"},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[Se],decls:3,vars:4,consts:[[3,"facets","selection","cleared","selectionChange",4,"ngFor","ngForOf"],["tabIndex","10","cdkFocusInitial","",3,"facets","placeholder","dropdownTitle","selectionChange"],["newValueInput",""],[3,"facets","selection","cleared","selectionChange"]],template:function(e,i){1&e&&(S(0,nOe,1,2,"natural-input",0),f(1,"natural-input",1,2),E("selectionChange",function(o){return i.addInput(o)}),m()),2&e&&(_("ngForOf",i.innerSelections),b(1),_("facets",i.facets)("placeholder",i.placeholder)("dropdownTitle",i.dropdownTitle))},dependencies:[ke,Zt,eOe],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap}[_nghost-%COMP%] natural-input[_ngcontent-%COMP%]{flex:auto;display:inline-flex;margin-right:10px;margin-bottom:10px}[_nghost-%COMP%] natural-input[_ngcontent-%COMP%]:last-of-type{flex:1;min-width:250px}"]}),n})();function rOe(n,t){if(1&n){const e=Y();f(0,"button",11),E("click",function(){B(e);const r=x().index;return V(x().removeGroup(r))}),T(1,"mat-icon",12),m()}}function oOe(n,t){1&n&&T(0,"mat-divider")}function aOe(n,t){if(1&n){const e=Y();Dt(0),f(1,"div",7)(2,"natural-group",8),E("selectionChange",function(r){const a=B(e).index;return V(x().updateGroup(r,a))}),m(),f(3,"div",3),S(4,rOe,2,0,"button",9),m()(),S(5,oOe,1,0,"mat-divider",10),St()}if(2&n){const e=t.$implicit,i=t.last,r=x();b(2),_("facets",r.facets)("placeholder",r.placeholder)("selections",e)("dropdownTitle",r.dropdownTitle),b(2),_("ngIf",r.innerSelections.length>1),b(1),_("ngIf",!i)}}function sOe(n,t){if(1&n){const e=Y();f(0,"button",13),E("click",function(){return B(e),V(x().addGroup())}),T(1,"mat-icon",14),m()}}const lOe=function(n,t){return{mobile:n,hasMultipleGroups:t}};let zy=(()=>{class n{set selections(e){this.innerSelections=e&&e[0]?Ou(e):[[]]}constructor(e){this.breakpointObserver=e,this.placeholder=$localize`Rechercher`,this.facets=[],this.multipleGroups=!1,this.dropdownTitle="",this.selectionChange=new j,this.innerSelections=[[]],this.isMobile=this.breakpointObserver.observe("(max-width: 599.98px)").pipe(ue(i=>i.matches))}ngOnChanges(){this.facets||(this.facets=[])}updateGroup(e,i){for(let r=0;r1)),b(3),_("ngForOf",i.innerSelections),b(2),_("ngIf",i.multipleGroups))},dependencies:[ke,Yr,Zt,Le,wf,iOe,ct,Nr,ps,fs,li,Zn,fi,xE,UH],styles:[".natural-search[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:flex-end}.natural-search[_ngcontent-%COMP%] .groupsWrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-width:0}.natural-search[_ngcontent-%COMP%] .groupWrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:10px;min-width:0}.natural-search[_ngcontent-%COMP%] .groupWrapper[_ngcontent-%COMP%] natural-group[_ngcontent-%COMP%]{flex:1;max-width:100%}.natural-search[_ngcontent-%COMP%] .groupWrapper[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}.natural-search[_ngcontent-%COMP%] .endOfRowButton[_ngcontent-%COMP%]{height:53px;display:flex;flex-direction:row;align-items:center;margin-bottom:15px}.natural-search[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin:-10px 0 10px}.natural-search.mobile[_ngcontent-%COMP%] .clear-button[_ngcontent-%COMP%]{display:none}.natural-search.mobile.hasMultipleGroups[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.natural-search.mobile.hasMultipleGroups[_ngcontent-%COMP%] .endOfRowButton[_ngcontent-%COMP%]{flex-direction:row-reverse;margin-bottom:0}"]}),n})();function cOe(n,t){1&n&&T(0,"mat-progress-spinner",8),2&n&&_("diameter",36)}function dOe(n,t){1&n&&T(0,"mat-progress-spinner",16),2&n&&_("diameter",24)("strokeWidth",5)}function uOe(n,t){if(1&n&&T(0,"mat-icon",17),2&n){const e=x(2).$implicit;_("naturalIcon",x().treeControl.isExpanded(e)?"expand_more":"chevron_right")}}function hOe(n,t){if(1&n){const e=Y();f(0,"button",13),E("click",function(){B(e);const r=x().$implicit;return V(x().loadChildren(r))}),S(1,dOe,1,2,"mat-progress-spinner",14),S(2,uOe,1,1,"mat-icon",15),m()}if(2&n){const e=x().$implicit;ie("aria-label","toggle "+e.name),b(1),_("ngIf",e.loading),b(1),_("ngIf",!e.loading)}}function fOe(n,t){1&n&&T(0,"mat-icon",18),2&n&&_("naturalIcon",x().$implicit.node.config.icon)}const pOe=function(n){return{leaf:n}};function mOe(n,t){if(1&n){const e=Y();f(0,"mat-tree-node",9),S(1,hOe,3,3,"button",10),f(2,"mat-checkbox",11),E("change",function(){const o=B(e).$implicit;return V(x().toggleFlatNode(o))}),S(3,fOe,1,1,"mat-icon",12),f(4,"span"),C(5),m()()()}if(2&n){const e=t.$implicit,i=x();_("ngClass",As(6,pOe,!e.expandable)),b(1),_("ngIf",e.expandable),b(1),_("checked",i.flatNodesSelection.isSelected(e))("disabled",!i.isNodeTogglable(e)),b(1),_("ngIf",e.node.config.icon),b(2),xe(e.name)}}function gOe(n,t){1&n&&T(0,"mat-icon",17),2&n&&_("naturalIcon",x().$implicit.config.icon)}function _Oe(n,t){if(1&n){const e=Y();f(0,"mat-chip-option",19),E("removed",function(){const o=B(e).$implicit;return V(x().unselectModelNode(o))}),S(1,gOe,1,1,"mat-icon",15),f(2,"div",20),C(3),m(),T(4,"mat-icon",21),m()}if(2&n){const e=t.$implicit;_("removable",!0)("selectable",!1),b(1),_("ngIf",e.config.icon),b(2),xe(e.model.name||e.model.fullName)}}function bOe(n,t){1&n&&(f(0,"div",22),Ce(1,23),m())}let tM=(()=>{class n extends ss{constructor(e){super(),this.hierarchicSelectorService=e,this.multiple=!1,this.selected={},this.allowUnselect=!0,this.searchFacets=[],this.searchSelections=[],this.searchSelectionChange=new j,this.selectedNodes=[],this.selectionChange=new j,this.loading=!1,this.flatNodeMap=new Map}ngOnInit(){let e;this.flatNodesSelection=new xc(this.multiple),this.treeFlattener=new NTe(this.transformer(),this.getLevel(),this.isExpandable(),this.getChildren()),this.treeControl=new STe(this.getLevel(),this.isExpandable()),this.dataSource=new FTe(this.treeControl,this.treeFlattener),this.hierarchicSelectorService.dataChange.pipe(se(this.ngUnsubscribe)).subscribe(i=>this.dataSource.data=i),this.searchSelections.some(i=>i.length)&&(e={filter:Py(this.searchFacets,this.searchSelections)}),this.loadRoots(e),this.updateInnerSelection(this.selected)}ngOnChanges(e){e.selected&&!e.selected.firstChange&&this.updateInnerSelection(this.selected),e.filters&&!e.filters.firstChange&&this.loadRoots()}toggleFlatNode(e){this.multiple?this.flatNodesSelection.isSelected(e)?this.unselectFlatNode(e):this.selectFlatNode(e):this.multiple||(this.flatNodesSelection.isSelected(e)?this.unselectSingleFlatNode():this.selectSingleFlatNode(e))}unselectModelNode(e){const i=this.getFlatNode(e);i?this.unselectFlatNode(i):(this.removeModelNode(e),this.updateSelection(this.selectedNodes))}isNodeTogglable(e){return this.isNodeSelected(e.node)?e.deselectable:e.selectable}getDisplayFn(e){return e.displayWith?e.displayWith:this.displayWith?this.displayWith:i=>i?i.fullName||i.name:""}loadChildren(e){this.treeControl.isExpanded(e)&&this.hierarchicSelectorService.loadChildren(e,this.filters)}getChildren(){return e=>e.childrenChange}transformer(){return(e,i)=>this.getOrCreateFlatNode(e,i)}getLevel(){return e=>e.level}isExpandable(){return e=>e.expandable}getOrCreateFlatNode(e,i){return this.getFlatNode(e)||this.createFlatNode(e,i)}search(e){if(this.searchSelectionChange.emit(e),e.some(i=>i.length)){const i={filter:Py(this.searchFacets,e)};this.hierarchicSelectorService.search(i,this.filters)}else this.loadRoots()}loadRoots(e){this.loading=!0,this.flatNodeMap=new Map,this.hierarchicSelectorService.init(this.config,this.filters,e||null).pipe(Co(()=>this.loading=!1)).subscribe()}updateInnerSelection(e){this.selectedNodes=this.hierarchicSelectorService.fromOrganizedSelection(e),this.flatNodesSelection.clear();for(const i of this.selectedNodes){const r=this.getFlatNode(i);r&&this.flatNodesSelection.select(r)}}unselectFlatNode(e){this.flatNodesSelection.deselect(e),this.removeModelNode(e.node),this.updateSelection(this.selectedNodes)}removeModelNode(e){const i=this.getMapKey(e.model),r=this.selectedNodes.findIndex(o=>this.getMapKey(o.model)===i);this.selectedNodes.splice(r,1)}selectFlatNode(e){this.flatNodesSelection.select(e),this.selectedNodes.push(e.node),this.updateSelection(this.selectedNodes)}selectSingleFlatNode(e){this.flatNodesSelection.clear(),this.flatNodesSelection.select(e),this.selectedNodes=[e.node],this.updateSelection(this.selectedNodes)}unselectSingleFlatNode(){this.flatNodesSelection.clear(),this.selectedNodes=[],this.updateSelection(this.selectedNodes)}updateSelection(e){const i=this.hierarchicSelectorService.toOrganizedSelection(e);(function Hye(n,t){!n||!t||(Object.keys(n).forEach(e=>{delete n[e]}),Object.keys(t).forEach(e=>{n[e]=t[e]}))})(this.selected,i),this.selectionChange.emit(i)}isNodeSelected(e){const i=this.getMapKey(e.model);return this.selectedNodes.some(r=>this.getMapKey(r.model)===i)}getFlatNode(e){const i=this.getMapKey(e.model);return this.flatNodeMap.get(i)||null}createFlatNode(e,i){const r=this.getMapKey(e.model),o=this.getDisplayFn(e.config)(e.model),s=!e.config.isSelectableCallback||e.config.isSelectableCallback(e.model),c=new TAe(e,o,i,!1,!!e.config.selectableAtKey&&s);return this.hierarchicSelectorService.countItems(c,this.filters),this.isNodeSelected(e)&&(this.allowUnselect||(c.deselectable=!1),this.flatNodesSelection.select(c)),this.flatNodeMap.set(r,c),c}getMapKey(e){return e.__typename+"-"+e.id}}return n.\u0275fac=function(e){return new(e||n)(g(z7))},n.\u0275cmp=$({type:n,selectors:[["natural-hierarchic-selector"]],inputs:{displayWith:"displayWith",config:"config",multiple:"multiple",selected:"selected",allowUnselect:"allowUnselect",filters:"filters",searchFacets:"searchFacets",searchSelections:"searchSelections"},outputs:{searchSelectionChange:"searchSelectionChange",selectionChange:"selectionChange"},standalone:!0,features:[ae([z7]),N,Je,Se],decls:9,vars:9,consts:function(){let t;return t=$localize`:␟dd6839133282aa13835f301df1cae5bc06cef85f␟8332478813279888013:Aucun résultat`,[[3,"facets","selections","selectionChange"],[1,"body"],["mode","indeterminate","style","margin: 10px",3,"diameter",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodePadding","",3,"ngClass",4,"matTreeNodeDef"],["aria-orientation","vertical",1,"mat-mdc-chip-set-stacked"],[3,"removable","selectable","removed",4,"ngFor","ngForOf"],["class","margin-v",4,"ngIf"],["mode","indeterminate",2,"margin","10px",3,"diameter"],["matTreeNodePadding","",3,"ngClass"],["mat-icon-button","","matTreeNodeToggle","",3,"click",4,"ngIf"],[2,"margin-right","10px",3,"checked","disabled","change"],["style","margin-right: 10px",3,"naturalIcon",4,"ngIf"],["mat-icon-button","","matTreeNodeToggle","",3,"click"],["mode","indeterminate",3,"diameter","strokeWidth",4,"ngIf"],[3,"naturalIcon",4,"ngIf"],["mode","indeterminate",3,"diameter","strokeWidth"],[3,"naturalIcon"],[2,"margin-right","10px",3,"naturalIcon"],[3,"removable","selectable","removed"],[1,"mat-body","chip-label"],["matChipRemove","","naturalIcon","cancel"],[1,"margin-v"],t]},template:function(e,i){1&e&&(f(0,"div")(1,"natural-search",0),E("selectionChange",function(o){return i.search(o)}),m()(),f(2,"div",1),S(3,cOe,1,1,"mat-progress-spinner",2),f(4,"mat-tree",3),S(5,mOe,6,8,"mat-tree-node",4),m(),f(6,"mat-chip-listbox",5),S(7,_Oe,5,4,"mat-chip-option",6),m()(),S(8,bOe,2,0,"div",7)),2&e&&(un("margin-bottom",20,"px"),b(1),_("facets",i.searchFacets)("selections",i.searchSelections),b(2),_("ngIf",i.loading),b(1),_("dataSource",i.dataSource)("treeControl",i.treeControl),b(3),_("ngForOf",i.selectedNodes),b(1),_("ngIf",!i.loading&&!i.dataSource.data.length))},dependencies:[zy,ke,Yr,Zt,Le,Sm,Dm,RTe,p7,m7,_7,g7,f7,ct,Nr,li,Zn,fi,Hc,yl,uIe,XE,KE,G7],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] ul[_ngcontent-%COMP%], [_nghost-%COMP%] li[_ngcontent-%COMP%]{-webkit-margin-before:0;-webkit-margin-after:0;list-style-type:none}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;font-size:18px}[_nghost-%COMP%] .mat-tree-node.leaf[_ngcontent-%COMP%]{margin-left:48px}[_nghost-%COMP%] .body[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}[_nghost-%COMP%] .body[_ngcontent-%COMP%] mat-tree[_ngcontent-%COMP%]{flex:66}[_nghost-%COMP%] .body[_ngcontent-%COMP%] mat-chip-listbox[_ngcontent-%COMP%]{flex:33}[_nghost-%COMP%] mat-tree[_ngcontent-%COMP%]{flex-shrink:0}[_nghost-%COMP%] mat-chip-listbox[_ngcontent-%COMP%]{margin-left:10px}"]}),n})();const km=function yOe(n){return MS(n,4)},COe=function(){return{}},a9=function(){return[]};let wOe=(()=>{class n{constructor(e,i){this.dialogRef=i,this.config=_v(e,{multiple:!0,allowUnselect:!0}),this.searchSelectionsOutput=this.config.searchSelections}close(e){const i={hierarchicSelection:km(e),searchSelections:km(this.searchSelectionsOutput)};this.dialogRef.close(i)}}return n.\u0275fac=function(e){return new(e||n)(g(hc),g(Qs))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:10,vars:10,consts:function(){let t,e,i;return t=$localize`:␟da386a4b0b09e6213d2755b17da58ca888466b59␟7244876284182662703:Sélection`,e=$localize`:␟12380235948088ddf227ad226ce8a2ae63878fe5␟1711750570766225138:Annuler`,i=$localize`:␟5d689cec6690d9dd229ac67c852d365d67e3b4e3␟4003387801369922138:Valider`,[["mat-dialog-title",""],t,[3,"selected","config","filters","multiple","allowUnselect","searchFacets","searchSelections","selectionChange","searchSelectionChange"],["align","end"],["mat-dialog-close","","mat-button",""],e,["color","primary","mat-raised-button","",3,"click"],i]},template:function(e,i){if(1&e&&(f(0,"h2",0),Ce(1,1),m(),f(2,"mat-dialog-content")(3,"natural-hierarchic-selector",2),E("selectionChange",function(o){return i.config.hierarchicSelection=o})("searchSelectionChange",function(o){return i.searchSelectionsOutput=o}),m()(),f(4,"mat-dialog-actions",3)(5,"button",4),Ce(6,5),m(),f(7,"button",6),E("click",function(){return i.close(i.config.hierarchicSelection)}),f(8,"span"),Ce(9,7),m()()()),2&e){let r,o,a,s,l;b(3),_("selected",null!==(r=i.config.hierarchicSelection)&&void 0!==r?r:wn(7,COe))("config",i.config.hierarchicConfig)("filters",i.config.hierarchicFilters)("multiple",null!==(o=i.config.multiple)&&void 0!==o&&o)("allowUnselect",null===(a=i.config.allowUnselect)||void 0===a||a)("searchFacets",null!==(s=i.config.searchFacets)&&void 0!==s?s:wn(8,a9))("searchSelections",null!==(l=i.config.searchSelections)&&void 0!==l?l:wn(9,a9))}},dependencies:[Js,fc,pc,mc,gc,tM,ct,tn]}),n})(),nM=(()=>{class n{constructor(e){this.dialog=e}open(e,i){return this.dialog.open(wOe,_v(i,{width:"700px",data:e}))}}return n.\u0275fac=function(e){return new(e||n)(I(Xs))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xOe=(()=>{class n{constructor(e){this.hierarchicDialogService=e,this.searchFacets=[{display:"Number less than 100",field:"number",component:My,configuration:{max:100}},{display:"With archives",field:"archived",condition:{equal:{value:!0}}}],this.searchSelections=[[{field:"number",condition:{equal:{value:50}}}]],this.selected={any:[{id:123,name:"Any 123"},{id:124,name:"Any 124"}]},this.config=[{service:Ti,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}log(...e){console.log(e)}select(){this.hierarchicDialogService.open({hierarchicConfig:this.config,hierarchicSelection:this.selected,searchFacets:this.searchFacets,searchSelections:this.searchSelections}).afterClosed().subscribe(i=>{this.log("dialog usage",i)})}}return n.\u0275fac=function(e){return new(e||n)(g(nM))},n.\u0275cmp=$({type:n,selectors:[["app-hierarchic"]],standalone:!0,features:[Se],decls:12,vars:6,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","50px"],[1,"mat-headline-6"],[3,"allowUnselect","config","multiple","selected","searchFacets","searchSelections","selectionChange"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-search"),m(),f(2,"div",1)(3,"div")(4,"div",2),C(5,"Component usage"),m(),f(6,"natural-hierarchic-selector",3),E("selectionChange",function(o){return i.log("component usage",o)}),m()(),f(7,"div")(8,"div",2),C(9,"Dialog usage"),m(),f(10,"button",4),E("click",function(){return i.select()}),C(11,"Select any"),m()()()),2&e&&(b(6),_("allowUnselect",!0)("config",i.config)("multiple",!0)("selected",i.selected)("searchFacets",i.searchFacets)("searchSelections",i.searchSelections))},dependencies:[Ln,En,Pn,tM,ct,tn]}),n})();const DOe=["*"];let SOe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-sidenav-content"]],standalone:!0,features:[Se],ngContentSelectors:DOe,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;overflow:auto}"]}),n})(),kOe=0;const iM=new F("CdkAccordion");let EOe=(()=>{class n{constructor(){this._stateChanges=new q,this._openCloseAllActions=new q,this.id="cdk-accordion-"+kOe++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=te(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[ae([{provide:iM,useExisting:n}]),Je]}),n})(),MOe=0,TOe=(()=>{class n{get expanded(){return this._expanded}set expanded(e){e=te(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=te(e)}constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=We.EMPTY,this.closed=new j,this.opened=new j,this.destroyed=new j,this.expandedChange=new j,this.id="cdk-accordion-child-"+MOe++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(g(iM,12),g(ze),g(j5))},n.\u0275dir=R({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[ae([{provide:iM,useValue:void 0}])]}),n})(),AOe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({}),n})();const IOe=["body"];function OOe(n,t){}const ROe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],NOe=["mat-expansion-panel-header","*","mat-action-row"];function FOe(n,t){1&n&&T(0,"span",2),2&n&&_("@indicatorRotate",x()._getExpandedState())}const POe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],LOe=["mat-panel-title","mat-panel-description","*"],rM=new F("MAT_ACCORDION"),s9="225ms cubic-bezier(0.4,0.0,0.2,1)",l9={indicatorRotate:mn("indicatorRotate",[_t("collapsed, void",_e({transform:"rotate(0deg)"})),_t("expanded",_e({transform:"rotate(180deg)"})),ot("expanded <=> collapsed, void => collapsed",it(s9))]),bodyExpansion:mn("bodyExpansion",[_t("collapsed, void",_e({height:"0px",visibility:"hidden"})),_t("expanded",_e({height:"*",visibility:"visible"})),ot("expanded <=> collapsed, void => collapsed",it(s9))])},c9=new F("MAT_EXPANSION_PANEL");let BOe=(()=>{class n{constructor(e,i){this._template=e,this._expansionPanel=i}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(c9,8))},n.\u0275dir=R({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),VOe=0;const d9=new F("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let u9=(()=>{class n extends TOe{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=te(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,i,r,o,a,s,l){super(e,i,r),this._viewContainerRef=o,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new j,this.afterCollapse=new j,this._inputChanges=new q,this._headerId="mat-expansion-panel-header-"+VOe++,this._bodyAnimationDone=new q,this.accordion=e,this._document=a,this._bodyAnimationDone.pipe(ys((c,d)=>c.fromState===d.fromState&&c.toState===d.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(zt(null),Be(()=>this.expanded&&!this._portal),lt(1)).subscribe(()=>{this._portal=new sa(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(g(rM,12),g(ze),g(j5),g(Ft),g(ye),g(Ot,8),g(d9,8))},n.\u0275cmp=$({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,BOe,5),2&e){let o;U(o=G())&&(i._lazyContent=o.first)}},viewQuery:function(e,i){if(1&e&&ve(IOe,5),2&e){let r;U(r=G())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&de("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[ae([{provide:rM,useValue:void 0},{provide:c9,useExisting:n}]),N,Je],ngContentSelectors:NOe,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(qe(ROe),re(0),f(1,"div",0,1),E("@bodyExpansion.done",function(o){return i._bodyAnimationDone.next(o)}),f(3,"div",2),re(4,1),S(5,OOe,0,0,"ng-template",3),m(),re(6,2),m()),2&e&&(b(1),_("@bodyExpansion",i._getExpandedState())("id",i.id),ie("aria-labelledby",i._headerId),b(4),_("cdkPortalOutlet",i._portal))},dependencies:[Rr],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[l9.bodyExpansion]},changeDetection:0}),n})();class zOe{}const HOe=cc(zOe);let $Oe=(()=>{class n extends HOe{constructor(e,i,r,o,a,s,l){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=s,this._parentChangeSubscription=We.EMPTY;const c=e.accordion?e.accordion._stateChanges.pipe(Be(d=>!(!d.hideToggle&&!d.togglePosition))):vn;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=dt(e.opened,e.closed,c,e._inputChanges.pipe(Be(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Be(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:on(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(g(u9,1),g(W),g(fr),g(ze),g(d9,8),g(Ot,8),wi("tabindex"))},n.\u0275cmp=$({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&E("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),2&e&&(ie("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),un("height",i._getHeaderHeight()),de("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[N],ngContentSelectors:LOe,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(qe(POe),f(0,"span",0),re(1),re(2,1),re(3,2),m(),S(4,FOe,1,1,"span",1)),2&e&&(de("mat-content-hide-toggle",!i._showToggle()),b(4),_("ngIf",i._showToggle()))},dependencies:[Le],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[l9.indicatorRotate]},changeDetection:0}),n})(),jOe=(()=>{class n extends EOe{constructor(){super(...arguments),this._ownHeaders=new Jo,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=te(e)}ngAfterContentInit(){this._headers.changes.pipe(zt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new kp(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,$Oe,5),2&e){let o;U(o=G())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&de("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[ae([{provide:rM,useExisting:n}]),N]}),n})(),UOe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ke,Ue,AOe,Za]}),n})();const GOe=["*"];let qOe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-sidenav"]],standalone:!0,features:[Se],ngContentSelectors:GOe,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},encapsulation:2}),n})();const Hy=["*"],WOe=["content"];function YOe(n,t){if(1&n){const e=Y();f(0,"div",2),E("click",function(){return B(e),V(x()._onBackdropClicked())}),m()}2&n&&de("mat-drawer-shown",x()._isShowingBackdrop())}function KOe(n,t){1&n&&(f(0,"mat-drawer-content"),re(1,2),m())}const QOe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],XOe=["mat-drawer","mat-drawer-content","*"];function JOe(n,t){if(1&n){const e=Y();f(0,"div",2),E("click",function(){return B(e),V(x()._onBackdropClicked())}),m()}2&n&&de("mat-drawer-shown",x()._isShowingBackdrop())}function ZOe(n,t){1&n&&(f(0,"mat-sidenav-content"),re(1,2),m())}const eRe=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],tRe=["mat-sidenav","mat-sidenav-content","*"],h9={transformDrawer:mn("transform",[_t("open, open-instant",_e({transform:"none",visibility:"visible"})),_t("void",_e({"box-shadow":"none",visibility:"hidden"})),ot("void => open-instant",it("0ms")),ot("void <=> open, open-instant => void",it("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},iRe=new F("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function rRe(){return!1}}),oM=new F("MAT_DRAWER_CONTAINER");let $y=(()=>{class n extends vp{constructor(e,i,r,o,a){super(r,o,a),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(st(()=>p9)),g(W),g(bp),g(ce))},n.\u0275cmp=$({type:n,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,i){2&e&&un("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[ae([{provide:vp,useExisting:n}]),N],ngContentSelectors:Hy,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},encapsulation:2,changeDetection:0}),n})(),f9=(()=>{class n{get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=te(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=te(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(te(e))}constructor(e,i,r,o,a,s,l,c){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=r,this._platform=o,this._ngZone=a,this._interactivityChecker=s,this._doc=l,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new q,this._animationEnd=new q,this._animationState="void",this.openedChange=new j(!0),this._openedStream=this.openedChange.pipe(Be(d=>d),ue(()=>{})),this.openedStart=this._animationStarted.pipe(Be(d=>d.fromState!==d.toState&&0===d.toState.indexOf("open")),D_(void 0)),this._closedStream=this.openedChange.pipe(Be(d=>!d),ue(()=>{})),this.closedStart=this._animationStarted.pipe(Be(d=>d.fromState!==d.toState&&"void"===d.toState),D_(void 0)),this._destroyed=new q,this.onPositionChanged=new j,this._modeChanged=new q,this.openedChange.subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Eo(this._elementRef.nativeElement,"keydown").pipe(Be(d=>27===d.keyCode&&!this.disableClose&&!on(d)),se(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(ys((d,u)=>d.fromState===u.fromState&&d.toState===u.toState)).subscribe(d=>{const{fromState:u,toState:h}=d;(0===h.indexOf("open")&&"void"===u||"void"===h&&0===u.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);const r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,i,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(lt(1)).subscribe(a=>o(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const i=this._elementRef.nativeElement,r=i.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,i)),r.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Ep),g(fr),g(yt),g(ce),g(Du),g(ye,8),g(oM,8))},n.\u0275cmp=$({type:n,selectors:[["mat-drawer"]],viewQuery:function(e,i){if(1&e&&ve(WOe,5),2&e){let r;U(r=G())&&(i._content=r.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(e,i){1&e&&af("@transform.start",function(o){return i._animationStarted.next(o)})("@transform.done",function(o){return i._animationEnd.next(o)}),2&e&&(ie("align",null),lf("@transform",i._animationState),de("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Hy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(qe(),f(0,"div",0,1),re(2),m())},dependencies:[vp],encapsulation:2,data:{animation:[h9.transformDrawer]},changeDetection:0}),n})(),p9=(()=>{class n{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=te(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:te(e)}get scrollable(){return this._userContent||this._content}constructor(e,i,r,o,a,s=!1,l){this._dir=e,this._element=i,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=l,this._drawers=new Jo,this.backdropClick=new j,this._destroyed=new q,this._doCheckSubject=new q,this._contentMargins={left:null,right:null},this._contentMarginChanges=new q,e&&e.change.pipe(se(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe(se(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(zt(this._allDrawers),se(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(zt(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Fs(10),se(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,i-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();i+=r,e-=r}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Be(i=>i.fromState!==i.toState),se(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(se(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(se(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(lt(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(se(dt(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const i=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?i.add(r):i.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return n.\u0275fac=function(e){return new(e||n)(g(Qt,8),g(W),g(ce),g(ze),g(Xa),g(iRe),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-drawer-container"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,$y,5),Ee(r,f9,5)),2&e){let o;U(o=G())&&(i._content=o.first),U(o=G())&&(i._allDrawers=o)}},viewQuery:function(e,i){if(1&e&&ve($y,5),2&e){let r;U(r=G())&&(i._userContent=r.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,i){2&e&&de("mat-drawer-container-explicit-backdrop",i._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[ae([{provide:oM,useExisting:n}])],ngContentSelectors:XOe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(qe(QOe),S(0,YOe,1,2,"div",0),re(1),re(2,1),S(3,KOe,2,0,"mat-drawer-content",1)),2&e&&(_("ngIf",i.hasBackdrop),b(3),_("ngIf",!i._content))},dependencies:[Le,$y],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),n})(),aM=(()=>{class n extends $y{constructor(e,i,r,o,a){super(e,i,r,o,a)}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(st(()=>lM)),g(W),g(bp),g(ce))},n.\u0275cmp=$({type:n,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,i){2&e&&un("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[ae([{provide:vp,useExisting:n}]),N],ngContentSelectors:Hy,decls:1,vars:0,template:function(e,i){1&e&&(qe(),re(0))},encapsulation:2,changeDetection:0}),n})(),sM=(()=>{class n extends f9{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=te(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=pn(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=pn(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,i){2&e&&(ie("align",null),un("top",i.fixedInViewport?i.fixedTopGap:null,"px")("bottom",i.fixedInViewport?i.fixedBottomGap:null,"px"),de("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened)("mat-sidenav-fixed",i.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[N],ngContentSelectors:Hy,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(qe(),f(0,"div",0,1),re(2),m())},dependencies:[vp],encapsulation:2,data:{animation:[h9.transformDrawer]},changeDetection:0}),n})(),lM=(()=>{class n extends p9{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-sidenav-container"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,aM,5),Ee(r,sM,5)),2&e){let o;U(o=G())&&(i._content=o.first),U(o=G())&&(i._allDrawers=o)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,i){2&e&&de("mat-drawer-container-explicit-backdrop",i._backdropOverride)},exportAs:["matSidenavContainer"],features:[ae([{provide:oM,useExisting:n}]),N],ngContentSelectors:tRe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(qe(eRe),S(0,JOe,1,2,"div",0),re(1),re(2,1),S(3,ZOe,2,0,"mat-sidenav-content",1)),2&e&&(_("ngIf",i.hasBackdrop),b(3),_("ngIf",!i._content))},dependencies:[Le,aM],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),n})(),oRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ke,Ue,Ja,Ja,Ue]}),n})();const jy=new F("Session storage that can be shimed when running on server or in tests"),m9=new F("Local storage that can be shimed when running on server or in tests");let Uy=(()=>{class n{constructor(){this.data=new Map}get length(){return this.data.size}clear(){this.data.clear()}getItem(e){const i=this.data.get(e);return void 0===i?null:i}key(e){let i=0;for(const r of this.data.keys())if(i++===e)return r;return null}removeItem(e){this.data.delete(e)}setItem(e,i){this.data.set(e,i)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const sRe={provide:jy,useFactory:function aRe(){try{if(typeof sessionStorage<"u")return sessionStorage}catch{}return new Uy}},cRe={provide:m9,useFactory:function lRe(){try{if(typeof localStorage<"u")return localStorage}catch{}return new Uy}};let dRe=(()=>{class n{constructor(){this.sidenavs=[],this.currentSidenav=new q}register(e){if(this.sidenavs.some(r=>r.name===e.name))throw new Error("Duplicated side nav name: "+e.name);this.sidenavs.push(e),this.next()}unregister(e){const i=this.sidenavs.indexOf(e);if(-1===i)throw Error("Trying to remove a SidenavContainer that was never registered");this.sidenavs.splice(i,1),this.next()}next(){this.currentSidenav.next(this.sidenavs[this.sidenavs.length-1])}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Gy(n){if(!n)throw new Error("Must call NaturalSidenavService.init() before using the service")}let g9=(()=>{class n extends ss{constructor(e,i,r,o){super(),this.mediaObserver=e,this.router=i,this.sessionStorage=r,this.naturalSidenavStackService=o,this.modes=["side","push"],this.mode=this.modes[0],this.opened=!0,this.tmpOpened=this.opened,this.minimized=!1,this.minimizedStorageKey="menu-minimized",this.openedStorageKey="menu-opened",this.minimizedStorageKeyWithName=null,this.openedStorageKeyWithName=null}get activeMode(){return this.mode}get isOpened(){return this.opened}get isMinimized(){return this.minimized}destroy(e){this.naturalSidenavStackService.unregister(e)}init(e,i,r,o,a=!1){if(!e||""===e)throw new Error('No sidenav name provided, use ');this.naturalSidenavStackService.register(o),this.minimizedStorageKeyWithName=e+"-"+this.minimizedStorageKey,this.openedStorageKeyWithName=e+"-"+this.openedStorageKey,this.minimized=this.getMinimizedStatus(),this.opened=this.getMenuOpenedStatus(),this.tmpOpened=this.opened;let s=null;this.mediaObserver.asObservable().pipe(se(this.ngUnsubscribe)).subscribe(()=>{const l=!this.isMobileView();this.mode=l?this.modes[0]:this.modes[1],(null===s||l!==s)&&(s=l,l||(this.tmpOpened=this.opened,this.opened=!1),l&&this.tmpOpened&&(this.opened=!0,this.minimized=this.getMinimizedStatus()))}),a&&this.router.events.pipe(se(this.ngUnsubscribe),Be(l=>l instanceof Ql)).subscribe(()=>{this.navItemClicked()})}isMobileView(){return!this.mediaObserver.isActive("gt-sm")}navItemClicked(){this.isMobileView()&&this.close()}setMinimized(e){this.minimized=e,Gy(this.minimizedStorageKeyWithName),this.sessionStorage.setItem(this.minimizedStorageKeyWithName,e?"true":"false")}minimize(){this.setMinimized(!0)}expand(){this.setMinimized(!1)}toggleMinimized(){this.setMinimized(!this.minimized)}getMinimizedStatus(){Gy(this.minimizedStorageKeyWithName);const e=this.sessionStorage.getItem(this.minimizedStorageKeyWithName);return null!==e&&"true"===e}getMenuOpenedStatus(){Gy(this.openedStorageKeyWithName);const e=this.sessionStorage.getItem(this.openedStorageKeyWithName);return null===e||"true"===e}toggle(){this.setOpened(!this.opened)}close(){this.setOpened(!1)}open(){this.setOpened(!0)}setOpened(e){this.opened=e,this.opened&&this.isMobileView()?this.minimized=!1:this.isMobileView()||(Gy(this.openedStorageKeyWithName),this.sessionStorage.setItem(this.openedStorageKeyWithName,this.opened?"true":"false"))}}return n.\u0275fac=function(e){return new(e||n)(I(YP),I(ii),I(jy),I(dRe))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const uRe=[[["natural-sidenav"]],[["natural-sidenav-content"]]],hRe=["natural-sidenav","natural-sidenav-content"];let fRe=(()=>{class n{constructor(e){this.sidenavService=e,this.position="start",this.mobileAutoClose=!0,this.minimizedWidth=150,this.noScroll=!1}get isMinimized(){return this.sidenavService.isMinimized}get isMobileView(){return this.sidenavService.isMobileView()}ngOnInit(){this.sidenavService.init(this.name,this.menuContainer,this.menuSidenav,this,this.mobileAutoClose)}ngOnDestroy(){this.sidenavService.destroy(this)}toggle(){this.sidenavService.toggle()}close(){this.sidenavService.close()}open(){this.sidenavService.open()}minimize(){this.sidenavService.minimize()}expand(){this.sidenavService.expand()}toggleMinimized(){this.sidenavService.toggleMinimized()}}return n.\u0275fac=function(e){return new(e||n)(g(g9))},n.\u0275cmp=$({type:n,selectors:[["natural-sidenav-container"]],viewQuery:function(e,i){if(1&e&&(ve(lM,7),ve(sM,7)),2&e){let r;U(r=G())&&(i.menuContainer=r.first),U(r=G())&&(i.menuSidenav=r.first)}},hostVars:1,hostBindings:function(e,i){2&e&&ie("no-scroll",i.noScroll)},inputs:{name:"name",position:"position",mobileAutoClose:"mobileAutoClose",minimizedWidth:"minimizedWidth",noScroll:"noScroll"},standalone:!0,features:[ae([g9]),Se],ngContentSelectors:hRe,decls:6,vars:8,consts:[[3,"backdropClick"],[3,"mode","ngClass","opened","position"]],template:function(e,i){1&e&&(qe(uRe),f(0,"mat-sidenav-container",0),E("backdropClick",function(){return i.sidenavService.setOpened(!1)}),f(1,"mat-sidenav",1),re(2),m(),f(3,"mat-sidenav-content")(4,"div"),re(5,1),m()()()),2&e&&(b(1),un("min-width",i.sidenavService.isMinimized&&i.minimizedWidth?i.minimizedWidth:null,"px")("width",i.sidenavService.isMinimized&&i.minimizedWidth?i.minimizedWidth:null,"px"),_("mode",i.sidenavService.activeMode)("ngClass",i.sidenavService.isMinimized?"menuMinimized":"")("opened",i.sidenavService.isOpened)("position",i.position))},dependencies:[oRe,sM,lM,aM,ke,Yr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] mat-sidenav-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1}[_nghost-%COMP%] mat-sidenav-content[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:auto}[_nghost-%COMP%] .menuMinimized[_ngcontent-%COMP%]{overflow-x:hidden}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}"]}),n})();const pRe=["*",[["mat-toolbar-row"]]],mRe=["*","mat-toolbar-row"],gRe=Ys(class{constructor(n){this._elementRef=n}});let _Re=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),bRe=(()=>{class n extends gRe{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(yt),g(ye))},n.\u0275cmp=$({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,_Re,5),2&e){let o;U(o=G())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&de("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[N],ngContentSelectors:mRe,decls:2,vars:0,template:function(e,i){1&e&&(qe(pRe),re(0),re(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),n})(),vRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ue,Ue]}),n})(),yRe=(()=>{class n{constructor(){this.theme=new ft("defaultDark"),this.darkActivated=!1,this.theme.value.indexOf("Dark")>-1&&(this.darkActivated=!0)}set(e){this.darkActivated&&-1===e.indexOf("Dark")?this.theme.next("defaultDark"):this.theme.next("default")}setNightMode(e){this.darkActivated=e,this.set(this.theme.getValue())}toggle(){this.setNightMode(!this.darkActivated)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function CRe(n,t){if(1&n){const e=Y();f(0,"button",7),E("click",function(){return B(e),x(),V(mt(14).toggle())}),T(1,"mat-icon",48),m()}}function wRe(n,t){if(1&n){const e=Y();f(0,"a",49),E("click",function(){return B(e),x(),V(mt(14).toggleMinimized())}),T(1,"mat-icon",50),m()}if(2&n){x();const e=mt(14);b(1),_("naturalIcon",e.isMinimized?"keyboard_arrow_right":"keyboard_arrow_left")}}const xRe=function(){return{dog:"qwer"}},DRe=function(n){return["/list",n]},SRe=function(){return{cat:"cat"}},kRe=function(){return{dog:"dog"}},ERe=function(n,t){return["/nested/anyValue",n,"list",t]},MRe=function(){return["/editable-list"]},TRe=function(){return["/navigable-list"]},ARe=function(){return["/detail/123"]},IRe=function(){return["/detail-header"]};let ORe=(()=>{class n{constructor(e,i){this.themeService=e,this.document=i}ngOnInit(){this.themeService.theme.subscribe(e=>{this.document.body.classList.remove("default"),this.document.body.classList.remove("defaultDark"),this.document.body.classList.add(e)})}}return n.\u0275fac=function(e){return new(e||n)(g(yRe),g(ye))},n.\u0275cmp=$({type:n,selectors:[["app-home"]],standalone:!0,features:[Se],decls:101,vars:23,consts:[["fxFlex","","fxLayout","column"],["fxFlex","none","fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","20px"],["mat-icon-button","",3,"click",4,"ngIf"],["href","/","mat-button",""],["height","40px","src","assets/logo.svg"],[1,"mat-headline-6"],["fxFlex",""],["mat-icon-button","",3,"click"],["naturalIcon","invert_colors"],["href","https://github.com/ecodev/natural","mat-icon-button",""],["src","assets/github.svg",2,"height","24px"],["fxFlex","","name","menu",3,"noScroll"],["menu",""],[2,"overflow-x","auto","margin","20px"],["id","menu"],["displayMode","flat"],[1,"mat-elevation-z0",3,"disabled","expanded"],["mat-list-item","","routerLink","/"],["matListItemIcon","","naturalIcon","home"],["mat-list-item","","routerLink","/search"],["matListItemIcon","","naturalIcon","search"],["mat-list-item","",3,"routerLink"],["matListItemIcon","","naturalIcon","list"],["matListItemIcon","","naturalIcon","subdirectory_arrow_right"],["matListItemIcon","","naturalIcon","details"],["matListItemIcon","","naturalIcon","title"],["mat-list-item","","routerLink","/select"],["matListItemIcon","","naturalIcon","check"],["mat-list-item","","routerLink","/select-hierarchic"],["mat-list-item","","routerLink","/select-enum"],["mat-list-item","","routerLink","/relation"],["matListItemIcon","","naturalIcon","device_hub"],["mat-list-item","","routerLink","/hierarchic"],["matListItemIcon","","naturalIcon","account_tree"],["mat-list-item","","routerLink","/panels"],["matListItemIcon","","naturalIcon","filter_none"],["mat-list-item","","routerLink","/file"],["matListItemIcon","","naturalIcon","file_upload"],["mat-list-item","","routerLink","/alert-service"],["matListItemIcon","","naturalIcon","error"],["mat-list-item","","routerLink","/avatar"],["matListItemIcon","","naturalIcon","face"],["mat-list-item","","routerLink","/editor"],["matListItemIcon","","naturalIcon","format_size"],["mat-list-item","","routerLink","/other"],["matListItemIcon","","naturalIcon","build"],["mat-list-item","",3,"click",4,"ngIf"],["fxFlex","","fxLayout","column",2,"padding","20px","overflow","auto"],["naturalIcon","menu"],["mat-list-item","",3,"click"],["matListItemIcon","",3,"naturalIcon"]],template:function(e,i){if(1&e&&(f(0,"div",0)(1,"mat-toolbar",1),S(2,CRe,2,0,"button",2),f(3,"a",3),T(4,"img",4),f(5,"span",5),C(6,"@ecodev/natural"),m()(),T(7,"div",6),f(8,"button",7),E("click",function(){return i.themeService.toggle()}),T(9,"mat-icon",8),m(),f(10,"a",9),T(11,"img",10),m()(),f(12,"div",0)(13,"natural-sidenav-container",11,12)(15,"natural-sidenav")(16,"div",13)(17,"div",14)(18,"mat-accordion",15)(19,"mat-expansion-panel",16)(20,"mat-nav-list")(21,"a",17),T(22,"mat-icon",18),f(23,"span"),C(24,"Home"),m()(),f(25,"a",19),T(26,"mat-icon",20),f(27,"span"),C(28,"Search"),m()(),f(29,"a",21),T(30,"mat-icon",22),f(31,"span"),C(32,"List A"),m()(),f(33,"a",21),T(34,"mat-icon",22),f(35,"span"),C(36,"List B"),m()(),f(37,"a",21),T(38,"mat-icon",22),f(39,"span"),C(40,"Editable list"),m()(),f(41,"a",21),T(42,"mat-icon",23),f(43,"span"),C(44,"Navigable list"),m()(),f(45,"a",21),T(46,"mat-icon",24),f(47,"span"),C(48,"Detail"),m()(),f(49,"a",21),T(50,"mat-icon",25),f(51,"span"),C(52,"Detail header"),m()(),f(53,"a",26),T(54,"mat-icon",27),f(55,"span"),C(56,"Select"),m()(),f(57,"a",28),T(58,"mat-icon",27),f(59,"span"),C(60,"Select hierarchic"),m()(),f(61,"a",29),T(62,"mat-icon",27),f(63,"span"),C(64,"Select Enum"),m()(),f(65,"a",30),T(66,"mat-icon",31),f(67,"span"),C(68,"Relation"),m()(),f(69,"a",32),T(70,"mat-icon",33),f(71,"span"),C(72,"Hi\xe9rarchic"),m()(),f(73,"a",34),T(74,"mat-icon",35),f(75,"span"),C(76,"Panels"),m()(),f(77,"a",36),T(78,"mat-icon",37),f(79,"span"),C(80,"File"),m()(),f(81,"a",38),T(82,"mat-icon",39),f(83,"span"),C(84,"Alert service"),m()(),f(85,"a",40),T(86,"mat-icon",41),f(87,"span"),C(88,"Avatar"),m()(),f(89,"a",42),T(90,"mat-icon",43),f(91,"span"),C(92,"Editor"),m()(),f(93,"a",44),T(94,"mat-icon",45),f(95,"span"),C(96,"Other tools"),m()(),S(97,wRe,2,1,"a",46),m()()()()()(),f(98,"natural-sidenav-content")(99,"div",47),T(100,"router-outlet"),m()()()()()),2&e){const r=mt(14);b(2),_("ngIf",r),b(11),_("noScroll",!0),b(6),_("disabled",!0)("expanded",!0),b(10),_("routerLink",As(12,DRe,wn(11,xRe))),b(4),_("routerLink",e_(16,ERe,wn(14,SRe),wn(15,kRe))),b(4),_("routerLink",wn(19,MRe)),b(4),_("routerLink",wn(20,TRe)),b(4),_("routerLink",wn(21,ARe)),b(4),_("routerLink",wn(22,IRe)),b(48),_("ngIf",!r.isMobileView)}},dependencies:[Ln,En,Pn,Wa,Qd,vRe,bRe,ke,Le,ct,Sc,tk,Nr,li,Zn,fi,fRe,qOe,UOe,jOe,u9,eM,o9,n9,t9,dr,SOe,Xl]}),n})(),RRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-homepage"]],standalone:!0,features:[Se],decls:3,vars:0,consts:[["src","assets/logo.svg",2,"height","20vmax","max-height","150px","margin-bottom","30px"],[1,"mat-headline-4"]],template:function(e,i){1&e&&(T(0,"img",0),f(1,"h1",1),C(2,"@ecodev/natural"),m())},styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}"]}),n})();var LRe=Object.prototype.hasOwnProperty;let zRe=(()=>{class n{constructor(e){this.data=e}}return n.\u0275fac=function(e){return new(e||n)(g(hc))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:10,vars:6,consts:[["mat-dialog-title",""],[1,"mat-body"],["align","end"],["mat-button","",3,"mat-dialog-close"],["mat-stroked-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,i){1&e&&(f(0,"h2",0),C(1),m(),f(2,"mat-dialog-content")(3,"p",1),C(4),m()(),f(5,"mat-dialog-actions",2)(6,"button",3),C(7),m(),f(8,"button",4),C(9),m()()),2&e&&(b(1),xe(i.data.title),b(3),xe(i.data.message),b(2),_("mat-dialog-close",!1),b(1),xe(i.data.cancelText),b(1),_("mat-dialog-close",!0),b(1),xe(i.data.confirmText))},dependencies:[Js,fc,pc,mc,gc,ct,tn],styles:["mat-dialog-content[_ngcontent-%COMP%]{max-width:40em}"]}),n})();function HRe(n,t){if(1&n){const e=Y();f(0,"div",2)(1,"button",3),E("click",function(){return B(e),V(x().action())}),C(2),m()()}if(2&n){const e=x();b(2),me(" ",e.data.action," ")}}const $Re=["label"];function jRe(n,t){}const URe=Math.pow(2,31)-1;class cM{constructor(t,e){this._overlayRef=e,this._afterDismissed=new q,this._afterOpened=new q,this._onAction=new q,this._dismissedByAction=!1,this.containerInstance=t,t._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(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,URe))}_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 _9=new F("MatSnackBarData");class qy{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let GRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),n})(),qRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),n})(),WRe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),n})(),YRe=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(g(cM),g(_9))},n.\u0275cmp=$({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,i){1&e&&(f(0,"div",0),C(1),m(),S(2,HRe,3,1,"div",1)),2&e&&(b(1),me(" ",i.data.message,"\n"),b(1),_("ngIf",i.hasAction))},dependencies:[Le,tn,GRe,qRe,WRe],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),n})();const KRe={snackBarState:mn("state",[_t("void, hidden",_e({transform:"scale(0.8)",opacity:0})),_t("visible",_e({transform:"scale(1)",opacity:1})),ot("* => visible",it("150ms cubic-bezier(0, 0, 0.2, 1)")),ot("* => void, * => hidden",it("75ms cubic-bezier(0.4, 0.0, 1, 1)",_e({opacity:0})))])};let QRe=0,XRe=(()=>{class n extends yp{constructor(e,i,r,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=a,this._document=ne(ye),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new q,this._onExit=new q,this._onEnter=new q,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+QRe++,this.attachDomPortal=s=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(s);return this._afterPortalAttached(),l},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.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:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(lt(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{const i=e.getAttribute("aria-owns");if(i){const r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):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 r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(g(ce),g(W),g(ze),g(yt),g(qy))},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&ve(Rr,7),2&e){let r;U(r=G())&&(i._portalOutlet=r.first)}},features:[N]}),n})(),JRe=(()=>{class n extends XRe{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,i){if(1&e&&ve($Re,7),2&e){let r;U(r=G())&&(i._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,i){1&e&&af("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&lf("@state",i._animationState)},features:[N],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(f(0,"div",0)(1,"div",1,2)(3,"div",3),S(4,jRe,0,0,"ng-template",4),m(),T(5,"div"),m()()),2&e&&(b(5),ie("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Rr],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;--mdc-snackbar-container-shape:4px;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-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;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:[KRe.snackBarState]}}),n})(),b9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[Ws,Za,ke,ct,Ue,Ue]}),n})();const v9=new F("mat-snack-bar-default-options",{providedIn:"root",factory:function ZRe(){return new qy}});let e2e=(()=>{class n{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,r,o,a,s){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=s,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o={...this._defaultConfig,...r};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Yt.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:qy,useValue:i}]}),a=new aa(this.snackBarContainerComponent,i.viewContainerRef,o),s=e.attach(a);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){const r={...new qy,...this._defaultConfig,...i},o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),s=new cM(a,o);if(e instanceof kt){const l=new sa(e,null,{$implicit:r.data,snackBarRef:s});s.instance=a.attachTemplatePortal(l)}else{const l=this._createInjector(r,s),c=new aa(e,void 0,l),d=a.attachComponentPortal(c);s.instance=d.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(se(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,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 qs;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,s=!a&&"center"!==e.horizontalPosition;return a?r.left("0"):s?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return Yt.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:cM,useValue:i},{provide:_9,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(I(Jn),I(JD),I(Yt),I(Dp),I(n,12),I(v9))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})(),y9=(()=>{class n extends e2e{constructor(e,i,r,o,a,s){super(e,i,r,o,a,s),this.simpleSnackBarComponent=YRe,this.snackBarContainerComponent=JRe,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(I(Jn),I(JD),I(Yt),I(Dp),I(n,12),I(v9))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:b9}),n})(),Wy=(()=>{class n{constructor(e,i){this.dialog=e,this.snackBar=i}info(e,i=2500){return this.snackBar.open(e,void 0,{duration:null===i?void 0:i,verticalPosition:"top",horizontalPosition:"end"})}error(e,i=2500,r){return this.snackBar.open(e,r,{duration:null===i?void 0:i,panelClass:["snackbar-error"],verticalPosition:"top",horizontalPosition:"end"})}confirm(e,i,r,o=$localize`Annuler`){return this.dialog.open(zRe,{data:{title:e,message:i,confirmText:r,cancelText:o}}).afterClosed()}}return n.\u0275fac=function(e){return new(e||n)(I(Xs),I(y9))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),dM=(()=>{class n extends ss{constructor(){super(...arguments),this.data={},this.isFrontPanel=!1,this.isPanel=!1}clickPanel(){!this.isFrontPanel&&this.panelService&&this.panelService.goToPanelByComponent(this)}initPanel(e){this.panelData=e,this.isPanel=!0,this.panelData&&this.panelData.data&&So(this.data,this.panelData.data)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,hostVars:4,hostBindings:function(e,i){1&e&&E("click",function(){return i.clickPanel()}),2&e&&de("isFrontPanel",i.isFrontPanel)("isPanel",i.isPanel)},features:[N]}),n})();function Yy(n){if(!n||!n.length)return null;const t=Ou(n);for(const i of t)for(const r of i)r.f=r.field,r.c=r.condition,delete r.field,delete r.condition;const e=JSON.stringify(t);return"[[]]"===e?null:e}function uM(n){if(!n||!n.length)return[[]];const t=JSON.parse(n);for(const e of t)for(const i of e)i.field=i.f,i.condition=i.c,delete i.f,delete i.c;return 0===t.length&&t.push([]),t}const t2e=new F("Validator for persisted value retrieved from NaturalPersistenceService. If returns false, the persisted value will never be returned.");let n2e=(()=>{class n{constructor(e,i,r){this.router=e,this.sessionStorage=i,this.isValid=r,this.isValid=this.isValid??(()=>!0)}persist(e,i,r,o,a){return this.persistInStorage(e,i,o),this.persistInUrl(e,i,r,a)}get(e,i,r){let o=this.getFromUrl(e,i);return this.isFalseyValue(o)?(o=this.getFromStorage(e,r),this.isFalseyValue(o)?null:(this.persistInUrl(e,o,i),o)):(this.persistInStorage(e,o,r),o)}getFromUrl(e,i){const r=i.snapshot.paramMap.get(e);return this.deserialize(e,null,r)}persistInUrl(e,i,r,o){const a=km(r.snapshot.url[r.snapshot.url.length-1].parameters);return this.isFalseyValue(i)?delete a[e]:a[e]=JSON.stringify(i),o=Object.assign(o||{},{relativeTo:r}),this.router.navigate([".",a],o)}getFromStorage(e,i){const r=this.sessionStorage.getItem(this.getStorageKey(e,i));return this.deserialize(e,i,r)}persistInStorage(e,i,r){this.isFalseyValue(i)?this.sessionStorage.removeItem(this.getStorageKey(e,r)):this.sessionStorage.setItem(this.getStorageKey(e,r),JSON.stringify(i))}getStorageKey(e,i){return i+"-"+e}isFalseyValue(e){return null==e||""===e}deserialize(e,i,r){if(!r)return null;let o=null;try{o=JSON.parse(r)}catch{}return this.isValid(e,i,o)?o:null}}return n.\u0275fac=function(e){return new(e||n)(I(ii),I(jy),I(t2e,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class C9 extends VS{constructor(t){super(),this.ngUnsubscribe=new q,t instanceof rt?(this.internalData=new ft(null),t.pipe(se(this.ngUnsubscribe)).subscribe(e=>this.data=e)):this.internalData=new ft(t)}get internalDataObservable(){return this.internalData}get data(){return this.internalData.value}set data(t){this.internalData.next(t)}connect(){return this.internalData.pipe(se(this.ngUnsubscribe),ue(t=>t?t.items:[]))}disconnect(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}push(t){if(!this.data)return;const e=[...this.data.items];e.push(t),this.data={...this.data,items:e,length:e.length}}pop(){if(!this.data)return;const t=[...this.data.items],e=t.pop();return this.data={...this.data,items:t,length:t.length},e}remove(t){if(!this.data)return;const e=this.data.items.indexOf(t);if(e>-1){const i=[...this.data.items];i.splice(e,1),this.data={...this.data,items:i,length:i.length}}}}function w9(n){return"item"in n&&"hasNavigation"in n?n.item:n}let x9=(()=>{class n extends dM{constructor(e){super(),this.service=e,this.persistSearch=!0,this.availableColumns=[],this.columnsForTable=[],this.defaultSelectedColumns=null,this.selection=new xc(!0,[]),this.bulkActionSelected=null,this.variablesManager=new ua,this.naturalSearchFacets=[],this.naturalSearchSelections=[[]],this.pageSizeOptions=[5,25,50,100,200],this.defaultPagination={offset:null,pageIndex:0,pageSize:25},this.router=ne(ii),this.route=ne(Ar),this.alertService=ne(Wy),this.persistenceService=ne(n2e)}set forcedVariables(e){e&&this.applyForcedVariables(e)}ngOnInit(){this.routeData=this.route.snapshot.data,this.initFromRoute(),this.initFromPersisted(),this.variablesManager.defaults("pagination",{pagination:this.defaultPagination}),this.variablesManager.defaults("sorting",{sorting:this.defaultSorting}),this.dataSource=new C9(this.getDataObservable()),this.selection.clear();let e=!1;this.router.events.pipe(se(this.ngUnsubscribe),Be(i=>i instanceof qx&&"popstate"===i.navigationTrigger)).subscribe(()=>{e=!0}),this.router.events.pipe(se(this.ngUnsubscribe),Be(i=>i instanceof Ql&&e)).subscribe(()=>{e=!1,this.naturalSearchSelections=uM(this.persistenceService.getFromUrl("ns",this.route))})}search(e,i,r=!0){if(r&&this.variablesManager.merge("pagination",{pagination:gv(this.defaultPagination,["offset","pageIndex"])}),this.persistSearch&&!this.isPanel){const o=this.persistenceService.persist("ns",Yy(e),this.route,this.getStorageKey()),a=this.getPagination();this.pagination(a,o,i)}this.translateSearchAndRefreshList(e)}sorting(e){this.variablesManager.merge("pagination",{pagination:gv(this.defaultPagination,["offset","pageIndex"])});let i=e.filter(r=>!!r.direction).map(r=>{const o={field:r.active};return"asc"===r.direction?o.order=is.ASC:"desc"===r.direction&&(o.order=is.DESC),"nullAsHighest"in r&&(o.nullAsHighest=r.nullAsHighest),"emptyStringAsHighest"in r&&(o.emptyStringAsHighest=r.emptyStringAsHighest),o});if(0===i.length&&this.defaultSorting&&(i=this.defaultSorting),this.variablesManager.set("sorting",{sorting:i}),this.persistSearch&&!this.isPanel){const r=this.persistenceService.persist("so",pp(i,this.defaultSorting)?null:i,this.route,this.getStorageKey()),o=this.getPagination();this.pagination(o,r)}}getPagination(){const e=this.variablesManager.get("pagination");return e&&e.pagination?e.pagination:this.defaultPagination}pagination(e,i,r){let o=this.defaultPagination,a=null,s=gv(e,Object.keys(this.defaultPagination));s=_v(s,this.defaultPagination),pp(s,this.defaultPagination)||(o=a=s),this.variablesManager.set("pagination",{pagination:o}),this.persistPagination(a,i,r)}persistPagination(e,i,r){if(this.persistSearch&&!this.isPanel){const o=a=>this.persistenceService.persist("pa",a,this.route,this.getStorageKey(),r);i?i.then(()=>o(e)):o(e)}}masterToggle(){this.isAllSelected()?this.selection.clear():this.dataSource?.data?.items.forEach(e=>{const i=w9(e);i.id&&this.selection.select(i)})}isAllSelected(){const e=this.selection.selected.length;let i=0;return this.dataSource?.data?.items.forEach(r=>{w9(r).id&&i++}),e===i}bulkAction(){if(!this.bulkActionSelected)throw new Error("Trying to execute a bulk action without selecting one");if(!(this.bulkActionSelected in this))throw new Error("Trying to execute a bulk action that does not exist: "+this.bulkActionSelected);this[this.bulkActionSelected]()}showHeader(){return!this.isPanel||this.isPanel&&this.showTable()}showSearch(){return!this.isPanel}showTable(){return!!this.dataSource&&!!this.dataSource.data&&this.dataSource.data.length>0}showNoResults(){return!this.isPanel&&!!this.dataSource&&!!this.dataSource.data&&0===this.dataSource.data.length}initFromRoute(){this.route.snapshot.data.forcedVariables&&this.applyForcedVariables(this.route.snapshot.data.forcedVariables),this.route.snapshot.data.availableColumns&&(this.availableColumns=this.route.snapshot.data.availableColumns),this.route.snapshot.data.selectedColumns&&(this.selectedColumns=this.route.snapshot.data.selectedColumns)}getDataObservable(){return this.service.watchAll(this.variablesManager).pipe(se(this.ngUnsubscribe))}initFromPersisted(){if(!this.persistSearch||this.isPanel)return;const e=this.getStorageKey(),i=this.persistenceService.get("pa",this.route,e);i&&this.variablesManager.set("pagination",{pagination:i});const r=this.persistenceService.get("so",this.route,e);r&&this.variablesManager.set("sorting",{sorting:r});const o=this.persistenceService.get("col",this.route,e);"string"==typeof o&&(this.selectedColumns=o.split(",")),this.naturalSearchSelections=uM(this.persistenceService.get("ns",this.route,e)),this.translateSearchAndRefreshList(this.naturalSearchSelections,!0)}translateSearchAndRefreshList(e,i=!1){const r=Py(this.naturalSearchFacets,e);i&&function BRe(n){if(null==n)return!0;if(pu(n)&&(oi(n)||"string"==typeof n||"function"==typeof n.splice||mu(n)||Fb(n)||su(n)))return!n.length;var t=yu(n);if("[object Map]"==t||"[object Set]"==t)return!n.size;if(Nb(n))return!$4(n).length;for(var e in n)if(LRe.call(n,e))return!1;return!0}(r)||this.variablesManager.set("natural-search",{filter:r})}getStorageKey(){const e=this.router.parseUrl(this.router.url);return e.root.children.primary.segments[e.root.children.primary.segments.length-1].parameters={},e.toString()}bulkdDeleteConfirmation(){return this.alertService.confirm($localize`Suppression`,$localize`Voulez-vous supprimer définitivement les éléments sélectionnés ?`,$localize`Supprimer définitivement`)}bulkDelete(){const e=new q;return this.bulkdDeleteConfirmation().subscribe(i=>{this.bulkActionSelected=null,i&&this.service.delete(this.selection.selected).subscribe(()=>{this.selection.clear(),this.alertService.info($localize`Supprimé`),e.next(),e.complete()})}),e}applyForcedVariables(e){e.filter&&this.variablesManager.set("forced-filter",{filter:e.filter}),e.pagination&&this.variablesManager.set("pagination",{pagination:e.pagination}),e.sorting&&this.variablesManager.set("sorting",{sorting:e.sorting})}selectColumns(e){if(this.columnsForTable=e,this.persistSearch&&!this.isPanel)if(this.defaultSelectedColumns){const i=pp(this.defaultSelectedColumns,e)?null:e.join(",");this.persistenceService.persist("col",i,this.route,this.getStorageKey())}else this.defaultSelectedColumns=e}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,inputs:{persistSearch:"persistSearch",availableColumns:"availableColumns",selectedColumns:"selectedColumns",forcedVariables:"forcedVariables"},features:[N]}),n})();function i2e(n,t){if(1&n&&(f(0,"mat-option",19),C(1),m()),2&n){const e=t.$implicit;_("value",e),b(1),me(" ",e," ")}}function r2e(n,t){if(1&n){const e=Y();f(0,"mat-form-field",16)(1,"mat-select",17),E("selectionChange",function(r){return B(e),V(x(2)._changePageSize(r.value))}),S(2,i2e,2,2,"mat-option",18),m()()}if(2&n){const e=x(2);_("appearance",e._formFieldAppearance)("color",e.color),b(1),_("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),b(1),_("ngForOf",e._displayedPageSizeOptions)}}function o2e(n,t){if(1&n&&(f(0,"div",20),C(1),m()),2&n){const e=x(2);b(1),xe(e.pageSize)}}function a2e(n,t){if(1&n&&(f(0,"div",12)(1,"div",13),C(2),m(),S(3,r2e,3,8,"mat-form-field",14),S(4,o2e,2,1,"div",15),m()),2&n){const e=x();b(1),Wg("id",e._pageSizeLabelId),b(1),me(" ",e._intl.itemsPerPageLabel," "),b(1),_("ngIf",e._displayedPageSizeOptions.length>1),b(1),_("ngIf",e._displayedPageSizeOptions.length<=1)}}function s2e(n,t){if(1&n){const e=Y();f(0,"button",21),E("click",function(){return B(e),V(x().firstPage())}),Ci(),f(1,"svg",7),T(2,"path",22),m()()}if(2&n){const e=x();_("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ie("aria-label",e._intl.firstPageLabel)}}function l2e(n,t){if(1&n){const e=Y();Ci(),Ss(),f(0,"button",23),E("click",function(){return B(e),V(x().lastPage())}),Ci(),f(1,"svg",7),T(2,"path",24),m()()}if(2&n){const e=x();_("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ie("aria-label",e._intl.lastPageLabel)}}let Ky=(()=>{class n{constructor(){this.changes=new q,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const o=e*i;return`${o+1} \u2013 ${o<(r=Math.max(r,0))?Math.min(o+i,r):o+i} of ${r}`}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const d2e={provide:Ky,deps:[[new fo,new Na,Ky]],useFactory:function c2e(n){return n||new Ky}},D9=new F("MAT_PAGINATOR_DEFAULT_OPTIONS"),h2e=Ao(jB(class{}));let f2e=(()=>{class n extends h2e{get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(pn(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=pn(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(pn(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>pn(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=te(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=te(e)}constructor(e,i,r){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new j,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),r){const{pageSize:o,pageSizeOptions:a,hidePageSize:s,showFirstLastButtons:l}=r;null!=o&&(this._pageSize=o),null!=a&&(this._pageSizeOptions=a),null!=s&&(this._hidePageSize=s),null!=l&&(this._showFirstLastButtons=l)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[N]}),n})(),p2e=0,hM=(()=>{class n extends f2e{constructor(e,i,r){super(e,i,r),this._pageSizeLabelId="mat-paginator-page-size-label-"+p2e++,this._formFieldAppearance=r?.formFieldAppearance||"outline"}}return n.\u0275fac=function(e){return new(e||n)(g(Ky),g(ze),g(D9,8))},n.\u0275cmp=$({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[N],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"div",1),S(2,a2e,5,4,"div",2),f(3,"div",3)(4,"div",4),C(5),m(),S(6,s2e,3,5,"button",5),f(7,"button",6),E("click",function(){return i.previousPage()}),Ci(),f(8,"svg",7),T(9,"path",8),m()(),Ss(),f(10,"button",9),E("click",function(){return i.nextPage()}),Ci(),f(11,"svg",7),T(12,"path",10),m()(),S(13,l2e,3,5,"button",11),m()()()),2&e&&(b(2),_("ngIf",!i.hidePageSize),b(3),me(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),b(1),_("ngIf",i.showFirstLastButtons),b(1),_("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),ie("aria-label",i._intl.previousPageLabel),b(3),_("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),ie("aria-label",i._intl.nextPageLabel),b(3),_("ngIf",i.showFirstLastButtons))},dependencies:[Zt,Le,Nr,An,$c,da,fs],styles:[".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),fM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[d2e],imports:[ke,ct,jc,ps]}),n})();function m2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(2).icon)}function g2e(n,t){if(1&n&&(f(0,"span"),C(1),m()),2&n){const e=x(2);b(1),xe(e.label)}}function _2e(n,t){if(1&n&&(f(0,"span"),S(1,m2e,1,1,"mat-icon",1),S(2,g2e,2,1,"span",0),m()),2&n){const e=x();b(1),_("ngIf",e.icon),b(1),_("ngIf",e.label)}}function b2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function v2e(n,t){if(1&n&&(f(0,"a",9),S(1,b2e,1,1,"mat-icon",1),f(2,"span"),C(3),m()()),2&n){const e=x(2);_("color",e.color)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("routerLink",e.navigate)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("disabled",e.disabled),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function y2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function C2e(n,t){if(1&n&&(f(0,"a",10),S(1,y2e,1,1,"mat-icon",1),m()),2&n){const e=x(2);_("color",e.color)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("routerLink",e.navigate)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("disabled",e.disabled),b(1),_("ngIf",e.icon)}}function w2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function x2e(n,t){if(1&n){const e=Y();f(0,"a",11),E("click",function(r){return B(e),V(x(2).buttonClick.emit(r))}),S(1,w2e,1,1,"mat-icon",1),f(2,"span"),C(3),m()()}if(2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function D2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function S2e(n,t){if(1&n){const e=Y();f(0,"a",12),E("click",function(r){return B(e),V(x(2).buttonClick.emit(r))}),S(1,D2e,1,1,"mat-icon",1),m()}if(2&n){const e=x(2);_("disabled",e.disabled),b(1),_("ngIf",e.icon)}}function k2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function E2e(n,t){if(1&n&&(f(0,"a",13),S(1,k2e,1,1,"mat-icon",1),f(2,"span"),C(3),m()()),2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),ie("href",e.href,Wo),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function M2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function T2e(n,t){if(1&n&&(f(0,"a",14),S(1,M2e,1,1,"mat-icon",1),m()),2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),ie("href",e.href,Wo),b(1),_("ngIf",e.icon)}}function A2e(n,t){if(1&n&&(Dt(0),S(1,v2e,4,9,"a",3),S(2,C2e,2,8,"a",4),S(3,x2e,4,4,"a",5),S(4,S2e,2,2,"a",6),S(5,E2e,4,5,"a",7),S(6,T2e,2,4,"a",8),St()),2&n){const e=x();b(1),_("ngIf","routerLink"===e.type&&e.label),b(1),_("ngIf","routerLink"===e.type&&!e.label),b(1),_("ngIf","click"===e.type&&e.label),b(1),_("ngIf","click"===e.type&&!e.label),b(1),_("ngIf","href"===e.type&&e.label),b(1),_("ngIf","href"===e.type&&!e.label)}}function I2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function O2e(n,t){if(1&n&&(f(0,"a",21),S(1,I2e,1,1,"mat-icon",1),f(2,"span"),C(3),m()()),2&n){const e=x(2);_("color",e.color)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("routerLink",e.navigate)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("disabled",e.disabled),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function R2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function N2e(n,t){if(1&n&&(f(0,"a",22),S(1,R2e,1,1,"mat-icon",1),m()),2&n){const e=x(2);_("color",e.color)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("routerLink",e.navigate)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("disabled",e.disabled),b(1),_("ngIf",e.icon)}}function F2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function P2e(n,t){if(1&n){const e=Y();f(0,"a",23),E("click",function(r){return B(e),V(x(2).buttonClick.emit(r))}),S(1,F2e,1,1,"mat-icon",1),f(2,"span"),C(3),m()()}if(2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function L2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function B2e(n,t){if(1&n){const e=Y();f(0,"a",24),E("click",function(r){return B(e),V(x(2).buttonClick.emit(r))}),S(1,L2e,1,1,"mat-icon",1),m()}if(2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),b(1),_("ngIf",e.icon)}}function V2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function z2e(n,t){if(1&n&&(f(0,"a",25),S(1,V2e,1,1,"mat-icon",1),f(2,"span"),C(3),m()()),2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),ie("href",e.href,Wo),b(1),_("ngIf",e.icon),b(2),xe(e.label)}}function H2e(n,t){1&n&&T(0,"mat-icon",2),2&n&&_("naturalIcon",x(3).icon)}function $2e(n,t){if(1&n&&(f(0,"a",26),S(1,H2e,1,1,"mat-icon",1),m()),2&n){const e=x(2);_("color",e.color)("disabled",e.disabled),ie("href",e.href,Wo),b(1),_("ngIf",e.icon)}}function j2e(n,t){if(1&n&&(Dt(0),S(1,O2e,4,9,"a",15),S(2,N2e,2,8,"a",16),S(3,P2e,4,4,"a",17),S(4,B2e,2,3,"a",18),S(5,z2e,4,5,"a",19),S(6,$2e,2,4,"a",20),St()),2&n){const e=x();b(1),_("ngIf","routerLink"===e.type&&e.label),b(1),_("ngIf","routerLink"===e.type&&!e.label),b(1),_("ngIf","click"===e.type&&e.label),b(1),_("ngIf","click"===e.type&&!e.label),b(1),_("ngIf","href"===e.type&&e.label),b(1),_("ngIf","href"===e.type&&!e.label)}}let pM=(()=>{class n{constructor(){this.queryParams={},this.queryParamsHandling="",this.navigate=[],this.preserveFragment=!1,this.disabled=!1,this.raised=!1,this.buttonClick=new j,this.type="none"}ngOnChanges(){this.type=this.navigate?.length||Object.keys(this.queryParams).length?"routerLink":this.href?"href":this.buttonClick.observed?"click":"none"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-table-button"]],inputs:{queryParams:"queryParams",queryParamsHandling:"queryParamsHandling",label:"label",icon:"icon",href:"href",navigate:"navigate",fragment:"fragment",preserveFragment:"preserveFragment",disabled:"disabled",raised:"raised",color:"color"},outputs:{buttonClick:"buttonClick"},standalone:!0,features:[Je,Se],decls:3,vars:3,consts:[[4,"ngIf"],[3,"naturalIcon",4,"ngIf"],[3,"naturalIcon"],["mat-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled",4,"ngIf"],["mat-icon-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled",4,"ngIf"],["mat-button","",3,"color","disabled","click",4,"ngIf"],["mat-icon-button","",3,"disabled","click",4,"ngIf"],["mat-button","","target","_blank",3,"color","disabled",4,"ngIf"],["mat-icon-button","","target","_blank",3,"color","disabled",4,"ngIf"],["mat-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled"],["mat-icon-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled"],["mat-button","",3,"color","disabled","click"],["mat-icon-button","",3,"disabled","click"],["mat-button","","target","_blank",3,"color","disabled"],["mat-icon-button","","target","_blank",3,"color","disabled"],["mat-raised-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled",4,"ngIf"],["mat-icon-button","","class","mat-elevation-z4",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled",4,"ngIf"],["mat-raised-button","",3,"color","disabled","click",4,"ngIf"],["mat-icon-button","","class","mat-elevation-z4",3,"color","disabled","click",4,"ngIf"],["mat-raised-button","","target","_blank",3,"color","disabled",4,"ngIf"],["mat-icon-button","","class","mat-elevation-z4","target","_blank",3,"color","disabled",4,"ngIf"],["mat-raised-button","",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled"],["mat-icon-button","",1,"mat-elevation-z4",3,"color","queryParams","queryParamsHandling","routerLink","fragment","preserveFragment","disabled"],["mat-raised-button","",3,"color","disabled","click"],["mat-icon-button","",1,"mat-elevation-z4",3,"color","disabled","click"],["mat-raised-button","","target","_blank",3,"color","disabled"],["mat-icon-button","","target","_blank",1,"mat-elevation-z4",3,"color","disabled"]],template:function(e,i){1&e&&(S(0,_2e,3,2,"span",0),S(1,A2e,7,6,"ng-container",0),S(2,j2e,7,6,"ng-container",0)),2&e&&(_("ngIf","none"===i.type),b(1),_("ngIf",!i.raised),b(1),_("ngIf",i.raised))},dependencies:[ke,Le,li,Zn,fi,ct,Sc,tk,dr],styles:["natural-table-button{flex:1;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}natural-table-button mat-icon:not(:last-child){margin-right:5px}natural-table-button a.mat-mdc-button{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}natural-table-button a.mat-mdc-button .mdc-button__label{display:flex;flex-direction:row;align-items:center}natural-table-button>span{padding:0 8px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}\n"],encapsulation:2}),n})();const U2e=["mat-sort-header",""];function G2e(n,t){if(1&n){const e=Y();f(0,"div",3),E("@arrowPosition.start",function(){return B(e),V(x()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return B(e),V(x()._disableViewStateAnimation=!1)}),T(1,"div",4),f(2,"div",5),T(3,"div",6)(4,"div",7)(5,"div",8),m()()}if(2&n){const e=x();_("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),b(2),_("@indicator",e._getArrowDirectionState()),b(1),_("@leftPointer",e._getArrowDirectionState()),b(1),_("@rightPointer",e._getArrowDirectionState())}}const q2e=["*"],S9=new F("MAT_SORT_DEFAULT_OPTIONS"),W2e=jB(Ao(class{}));let mM=(()=>{class n extends W2e{get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=te(e)}constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new q,this.start="asc",this._direction="",this.sortChange=new j}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 r=function Y2e(n,t){let e=["asc","desc"];return"desc"==n&&e.reverse(),t||e.push(""),e}(e.start||this.start,e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(g(S9,8))},n.\u0275dir=R({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[N,Je]}),n})();const xl=gge.ENTERING+" "+mge.STANDARD_CURVE,fh={indicator:mn("indicator",[_t("active-asc, asc",_e({transform:"translateY(0px)"})),_t("active-desc, desc",_e({transform:"translateY(10px)"})),ot("active-asc <=> active-desc",it(xl))]),leftPointer:mn("leftPointer",[_t("active-asc, asc",_e({transform:"rotate(-45deg)"})),_t("active-desc, desc",_e({transform:"rotate(45deg)"})),ot("active-asc <=> active-desc",it(xl))]),rightPointer:mn("rightPointer",[_t("active-asc, asc",_e({transform:"rotate(45deg)"})),_t("active-desc, desc",_e({transform:"rotate(-45deg)"})),ot("active-asc <=> active-desc",it(xl))]),arrowOpacity:mn("arrowOpacity",[_t("desc-to-active, asc-to-active, active",_e({opacity:1})),_t("desc-to-hint, asc-to-hint, hint",_e({opacity:.54})),_t("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",_e({opacity:0})),ot("* => asc, * => desc, * => active, * => hint, * => void",it("0ms")),ot("* <=> *",it(xl))]),arrowPosition:mn("arrowPosition",[ot("* => desc-to-hint, * => desc-to-active",it(xl,ku([_e({transform:"translateY(-25%)"}),_e({transform:"translateY(0)"})]))),ot("* => hint-to-desc, * => active-to-desc",it(xl,ku([_e({transform:"translateY(0)"}),_e({transform:"translateY(25%)"})]))),ot("* => asc-to-hint, * => asc-to-active",it(xl,ku([_e({transform:"translateY(25%)"}),_e({transform:"translateY(0)"})]))),ot("* => hint-to-asc, * => active-to-asc",it(xl,ku([_e({transform:"translateY(0)"}),_e({transform:"translateY(-25%)"})]))),_t("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",_e({transform:"translateY(0)"})),_t("hint-to-desc, active-to-desc, desc",_e({transform:"translateY(-25%)"})),_t("hint-to-asc, active-to-asc, asc",_e({transform:"translateY(25%)"}))]),allowChildren:mn("allowChildren",[ot("* <=> *",[Eu("@*",Zb(),{optional:!0})])])};let Qy=(()=>{class n{constructor(){this.changes=new q}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Q2e={provide:Qy,deps:[[new fo,new Na,Qy]],useFactory:function K2e(n){return n||new Qy}},X2e=Ao(class{});let k9=(()=>{class n extends X2e{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=te(e)}constructor(e,i,r,o,a,s,l,c){super(),this._intl=e,this._changeDetectorRef=i,this._sort=r,this._columnDef=o,this._focusMonitor=a,this._elementRef=s,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",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()}_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=dt(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()})}}return n.\u0275fac=function(e){return new(e||n)(g(Qy),g(ze),g(mM,8),g("MAT_SORT_HEADER_COLUMN_DEF",8),g(fr),g(W),g(kB,8),g(S9,8))},n.\u0275cmp=$({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,i){1&e&&E("click",function(){return i._handleClick()})("keydown",function(o){return i._handleKeydown(o)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&e&&(ie("aria-sort",i._getAriaSortAttribute()),de("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[N],attrs:U2e,ngContentSelectors:q2e,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[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(e,i){1&e&&(qe(),f(0,"div",0)(1,"div",1),re(2),m(),S(3,G2e,6,6,"div",2),m()),2&e&&(de("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"===i.arrowPosition),ie("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),b(3),_("ngIf",i._renderArrow()))},dependencies:[Le],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;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:[fh.indicator,fh.leftPointer,fh.rightPointer,fh.arrowOpacity,fh.arrowPosition,fh.allowChildren]},changeDetection:0}),n})(),E9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[Q2e],imports:[ke,Ue]}),n})();function gM(n){return Ht({subscribe:()=>console.log("SUBSCRIBE",n),unsubscribe:()=>console.log("UNSUBSCRIBE",n),next:t=>console.log("NEXT",n,t),error:t=>console.log("ERROR",n,t),complete:()=>console.log("COMPLETE",n)})}function Z2e(n,t){1&n&&T(0,"mat-checkbox",14),2&n&&_("checked",x(2).$implicit.checked)}function eNe(n,t){if(1&n){const e=Y();f(0,"a",12),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),S(1,Z2e,1,1,"mat-checkbox",13),C(2),m()}if(2&n){const e=x().$implicit,i=x(3);_("href",i.defaultTrue(e.show)&&e.href,Wo)("disabled",e.disabled)("ngClass",i.needMargin(e)),b(1),_("ngIf",i.useCheckbox(e)),b(1),me(" ",e.label," ")}}function tNe(n,t){1&n&&T(0,"mat-checkbox",14),2&n&&_("checked",x(2).$implicit.checked)}function nNe(n,t){if(1&n){const e=Y();f(0,"button",15),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),S(1,tNe,1,1,"mat-checkbox",13),C(2),m()}if(2&n){const e=x().$implicit,i=x(3);_("disabled",e.disabled)("ngClass",i.needMargin(e)),b(1),_("ngIf",i.useCheckbox(e)),b(1),me(" ",e.label," ")}}function iNe(n,t){1&n&&T(0,"mat-checkbox",14),2&n&&_("checked",x(2).$implicit.checked)}function rNe(n,t){if(1&n){const e=Y();f(0,"a",19),E("click",function(r){const a=B(e).$implicit;return V(a.click(a,r))}),C(1),m()}if(2&n){const e=t.$implicit;_("disabled",e.disabled),b(1),me(" ",e.label," ")}}function oNe(n,t){1&n&&S(0,rNe,2,2,"a",18),2&n&&_("ngForOf",x(2).$implicit.buttons)}function aNe(n,t){if(1&n){const e=Y();Dt(0),f(1,"button",16),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),S(2,iNe,1,1,"mat-checkbox",13),C(3),m(),f(4,"mat-menu",null,17),S(6,oNe,1,1,"ng-template",3),m(),St()}if(2&n){const e=mt(5),i=x().$implicit,r=x(3);b(1),_("matMenuTriggerFor",e)("ngClass",r.needMargin(i)),b(1),_("ngIf",r.useCheckbox(i)),b(1),me(" ",i.label," ")}}function sNe(n,t){if(1&n&&(Dt(0),S(1,eNe,3,5,"a",9),S(2,nNe,3,4,"button",10),S(3,aNe,7,4,"ng-container",11),St()),2&n){const e=t.$implicit,i=x(3);b(1),_("ngIf",e.href),b(1),_("ngIf",i.defaultTrue(e.show)&&!e.href&&!e.buttons),b(1),_("ngIf",i.defaultTrue(e.show)&&e.buttons)}}function lNe(n,t){if(1&n&&(f(0,"button",20)(1,"span"),Ce(2,21),m()()),2&n){const e=x(3);_("matMenuTriggerFor",mt(6))("ngClass",e.needMargin(null))}}function cNe(n,t){if(1&n&&(S(0,sNe,4,3,"ng-container",7),S(1,lNe,3,2,"button",8)),2&n){const e=x(2);_("ngForOf",e.buttons),b(1),_("ngIf",e.displayedColumns.length)}}function dNe(n,t){if(1&n&&(Dt(0),f(1,"button",4),T(2,"mat-icon",5),m(),f(3,"mat-menu",null,6),S(5,cNe,2,2,"ng-template",3),m(),St()),2&n){const e=mt(4);b(1),_("matMenuTriggerFor",e)}}function uNe(n,t){if(1&n){const e=Y();f(0,"a",25),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),T(1,"mat-icon",26),m()}if(2&n){const e=x().$implicit,i=x(2);_("href",i.defaultTrue(e.show)&&e.href,Wo)("disabled",e.disabled)("color",i.color(e))("matTooltip",e.label),b(1),_("naturalIcon",e.icon)}}function hNe(n,t){if(1&n){const e=Y();f(0,"button",27),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),T(1,"mat-icon",26),m()}if(2&n){const e=x().$implicit,i=x(2);_("disabled",e.disabled)("color",i.color(e))("matTooltip",e.label),b(1),_("naturalIcon",e.icon)}}function fNe(n,t){if(1&n){const e=Y();f(0,"a",19),E("click",function(r){const a=B(e).$implicit;return V(a.click(a,r))}),C(1),m()}if(2&n){const e=t.$implicit;_("disabled",e.disabled),b(1),me(" ",e.label," ")}}function pNe(n,t){1&n&&S(0,fNe,2,2,"a",18),2&n&&_("ngForOf",x(2).$implicit.buttons)}function mNe(n,t){if(1&n){const e=Y();Dt(0),f(1,"button",28),E("click",function(r){B(e);const o=x().$implicit;return V(null==o.click?null:o.click(o,r))}),T(2,"mat-icon",26),m(),f(3,"mat-menu",null,29),S(5,pNe,1,1,"ng-template",3),m(),St()}if(2&n){const e=mt(4),i=x().$implicit,r=x(2);b(1),_("matMenuTriggerFor",e)("disabled",i.disabled)("color",r.color(i))("matTooltip",i.label),b(1),_("naturalIcon",i.icon)}}function gNe(n,t){if(1&n&&(Dt(0),S(1,uNe,2,5,"a",23),S(2,hNe,2,4,"button",24),S(3,mNe,6,5,"ng-container",11),St()),2&n){const e=t.$implicit,i=x(2);b(1),_("ngIf",e.href),b(1),_("ngIf",i.defaultTrue(e.show)&&!e.href&&!e.buttons),b(1),_("ngIf",i.defaultTrue(e.show)&&e.buttons)}}function _Ne(n,t){1&n&&(f(0,"button",30),T(1,"mat-icon",31),m()),2&n&&(x(2),_("matMenuTriggerFor",mt(6)))}function bNe(n,t){if(1&n&&(S(0,gNe,4,3,"ng-container",7),S(1,_Ne,2,1,"button",22)),2&n){const e=x();_("ngForOf",e.buttons),b(1),_("ngIf",e.displayedColumns.length)}}function vNe(n,t){if(1&n){const e=Y();f(0,"div",33),E("click",function(r){const a=B(e).$implicit,s=x(2);return r.stopPropagation(),a.checked=!a.checked,V(s.updateColumns())}),f(1,"mat-checkbox",34),E("click",function(r){return r.stopPropagation()})("change",function(){return B(e),V(x(2).updateColumns())})("ngModelChange",function(r){return V(B(e).$implicit.checked=r)}),C(2),m()()}if(2&n){const e=t.$implicit;b(1),_("ngModel",e.checked),b(1),xe(e.label)}}function yNe(n,t){1&n&&S(0,vNe,3,2,"div",32),2&n&&_("ngForOf",x().displayedColumns)}let M9=(()=>{class n{set availableColumns(e){this._availableColumns=e?.map(i=>({checked:!0,hidden:!1,...i}))??[]}set selections(e){this._selections=e,e&&this._availableColumns.length&&this._availableColumns.forEach(i=>{i.checked=e.includes(i.id)})}constructor(e){this.breakpointObserver=e,this._availableColumns=[],this.buttons=[],this.selectionChange=new j,this.displayedColumns=[],this.ngUnsubscribe=new q,this.isMobile=this.breakpointObserver.observe("(max-width: 599.98px)").pipe(ue(i=>i.matches))}initColumns(){this._availableColumns?.forEach(e=>{e.checked=this._selections?.length?this._selections.includes(e.id):e.checked}),this.displayedColumns=this._availableColumns.filter(e=>!e.hidden)??[]}updateColumns(){const e=this._availableColumns.filter(i=>i.checked).map(i=>i.id);this.selectionChange.emit(e)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}ngOnChanges(e){(function J2e(n,t=0){return oc(t).pipe(lt(1),se(n),ue(()=>{}))})(this.ngUnsubscribe).subscribe(()=>{e.availableColumns?(this.initColumns(),this.updateColumns()):e.selections&&this.updateColumns()})}defaultTrue(e){return e??!0}color(e){return e.checked?"primary":null}useCheckbox(e){return"checked"in e}needMargin(e=null){return!this.buttons?.some(this.useCheckbox)||e&&this.useCheckbox(e)?"":"align-with-checkbox"}someVisibleButtons(){return(this.buttons?.reduce((i,r)=>this.defaultTrue(r.show)?1:0,0)??0)>0}}return n.\u0275fac=function(e){return new(e||n)(g(Dp))},n.\u0275cmp=$({type:n,selectors:[["natural-columns-picker"]],inputs:{buttons:"buttons",availableColumns:"availableColumns",selections:"selections"},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[Je,Se],decls:8,vars:4,consts:function(){let t,e;return t=$localize`:␟d9c43f4cfc3cde8d56a7c8461e33a23aea2dca69␟3298063886296349322:Colonnes`,e=$localize`:␟e8a4364be8b1df617e75d6d4d6510d8afa887ae0␟7906097430996361692:Sélectionner les colonnes`,[[4,"ngIf","ngIfElse"],["elseBlock",""],["columnMenu","matMenu"],["matMenuContent",""],["mat-icon-button","",3,"matMenuTriggerFor"],["naturalIcon","more_vert"],["mobileMenu","matMenu"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matMenuTriggerFor","ngClass",4,"ngIf"],["mat-menu-item","",3,"href","disabled","ngClass","click",4,"ngIf"],["mat-menu-item","",3,"disabled","ngClass","click",4,"ngIf"],[4,"ngIf"],["mat-menu-item","",3,"href","disabled","ngClass","click"],[3,"checked",4,"ngIf"],[3,"checked"],["mat-menu-item","",3,"disabled","ngClass","click"],["mat-menu-item","",3,"matMenuTriggerFor","ngClass","click"],["subMenu","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"matMenuTriggerFor","ngClass"],t,["mat-icon-button","","matTooltip",e,3,"matMenuTriggerFor",4,"ngIf"],["mat-icon-button","",3,"href","disabled","color","matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"disabled","color","matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"href","disabled","color","matTooltip","click"],[3,"naturalIcon"],["mat-icon-button","",3,"disabled","color","matTooltip","click"],["mat-icon-button","",3,"matMenuTriggerFor","disabled","color","matTooltip","click"],["menu","matMenu"],["mat-icon-button","","matTooltip",e,3,"matMenuTriggerFor"],["naturalIcon","view_column"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[3,"ngModel","click","change","ngModelChange"]]},template:function(e,i){if(1&e&&(f(0,"div"),S(1,dNe,6,1,"ng-container",0),Q(2,"async"),S(3,bNe,2,2,"ng-template",null,1,_o),m(),f(5,"mat-menu",null,2),S(7,yNe,1,1,"ng-template",3),m()),2&e){const r=mt(4);b(1),_("ngIf",X(2,2,i.isMobile)&&i.someVisibleButtons())("ngIfElse",r)}},dependencies:[ke,Yr,Zt,Le,wf,ct,tk,Nr,EE,SE,lh,CEe,kE,li,Zn,fi,Hc,yl,ps,fs,Ut,jt,tl],styles:[".align-with-checkbox[_ngcontent-%COMP%]{padding-left:61px}"]}),n})();function CNe(n,t){1&n&&T(0,"tr",29)}function wNe(n,t){1&n&&T(0,"tr",30)}function xNe(n,t){if(1&n){const e=Y();f(0,"th",31)(1,"mat-checkbox",32),E("change",function(r){B(e);const o=x(2);return V(r?o.masterToggle():null)}),m()()}if(2&n){const e=x(2);b(1),_("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function DNe(n,t){if(1&n){const e=Y();f(0,"td",33)(1,"mat-checkbox",34),E("change",function(r){const a=B(e).$implicit,s=x(2);return V(r?s.selection.toggle(a):null)})("click",function(r){return r.stopPropagation()}),m()()}if(2&n){const e=t.$implicit,i=x(2);b(1),_("checked",i.selection.isSelected(e))}}function SNe(n,t){1&n&&(f(0,"th",31),C(1,"id"),m())}function kNe(n,t){if(1&n&&(f(0,"td",33),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.id)}}function ENe(n,t){1&n&&(f(0,"th",35),C(1,"name"),m())}const MNe=function(){return["."]};function TNe(n,t){if(1&n&&(f(0,"td",33),T(1,"natural-table-button",36),m()),2&n){const e=t.$implicit;b(1),_("label",e.name)("navigate",wn(2,MNe))}}function ANe(n,t){1&n&&(f(0,"th",37),C(1,"description"),m())}function INe(n,t){if(1&n&&(f(0,"td",38),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.description)}}function ONe(n,t){1&n&&(f(0,"th",37),C(1,"hidden"),m())}function RNe(n,t){1&n&&(f(0,"td",38),C(1,"visible but hidden in dropdown"),m())}function NNe(n,t){1&n&&(f(0,"th",37),C(1,"Not in picker"),m())}function FNe(n,t){1&n&&(f(0,"td",38),C(1,"should never be visible, even if solicited by url"),m())}function PNe(n,t){1&n&&(f(0,"div",39)(1,"div"),C(2,"Pas de r\xe9sultats"),m()())}function LNe(n,t){1&n&&(f(0,"div",39),T(1,"mat-progress-spinner",40),m()),2&n&&(b(1),_("diameter",40))}function BNe(n,t){if(1&n){const e=Y();f(0,"div",2)(1,"div",3)(2,"div",4),C(3),m(),f(4,"natural-columns-picker",5),E("selectionChange",function(r){return B(e),V(x().selectColumns(r))}),m()(),f(5,"div",6)(6,"div",7)(7,"natural-search",8),E("selectionChange",function(r){return B(e),V(x().search(r))}),m()(),f(8,"div",9)(9,"table",10),E("matSortChange",function(r){return B(e),V(x().sorting([r]))}),S(10,CNe,1,0,"tr",11),S(11,wNe,1,0,"tr",12),Dt(12,13),S(13,xNe,2,2,"th",14),S(14,DNe,2,1,"td",15),St(),Dt(15,16),S(16,SNe,2,0,"th",14),S(17,kNe,2,1,"td",15),St(),Dt(18,17),S(19,ENe,2,0,"th",18),S(20,TNe,2,3,"td",15),St(),Dt(21,19),S(22,ANe,2,0,"th",20),S(23,INe,2,1,"td",21),St(),Dt(24,22),S(25,ONe,2,0,"th",20),S(26,RNe,2,0,"td",21),St(),Dt(27,23),S(28,NNe,2,0,"th",20),S(29,FNe,2,0,"td",21),St(),m()(),S(30,PNe,3,0,"div",24),S(31,LNe,2,1,"div",24),f(32,"mat-paginator",25),E("page",function(r){return B(e),V(x().pagination(r))}),m()(),f(33,"div",26)(34,"pre",27),C(35),Q(36,"json"),m(),f(37,"pre",27),C(38),Q(39,"json"),m(),f(40,"pre",28),C(41),Q(42,"json"),m(),f(43,"pre",28),C(44),Q(45,"json"),m()()()}if(2&n){const e=x();b(3),xe(null==e.routeData?null:e.routeData.title),b(1),_("availableColumns",e.availableColumns)("selections",e.selectedColumns)("buttons",e.buttons),b(3),_("facets",e.naturalSearchFacets)("multipleGroups",!0)("selections",e.naturalSearchSelections),b(2),_("dataSource",e.dataSource),b(1),_("matHeaderRowDef",e.columnsForTable),b(1),_("matRowDefColumns",e.columnsForTable),b(19),_("ngIf",0===(null==e.dataSource.data?null:e.dataSource.data.length)),b(1),_("ngIf",null===(null==e.dataSource.data?null:e.dataSource.data.length)),b(1),_("length",null==e.dataSource.data?null:e.dataSource.data.length)("pageIndex",null==e.dataSource.data?null:e.dataSource.data.pageIndex)("pageSizeOptions",e.pageSizeOptions)("pageSize",null==e.dataSource.data?null:e.dataSource.data.pageSize),b(3),me("columnsForTable : ",X(36,20,e.columnsForTable),""),b(3),me("selectedColumns : ",X(39,22,e.selectedColumns),""),b(3),me("variables : ",X(42,24,e.variablesManager.variables.value),""),b(3),me("row selection : ",X(45,26,e.selection.selected),"")}}let T9=(()=>{class n extends x9{constructor(e){super(e),this.pageSizeOptions=[1,2,3,4,5],this.availableColumns=[{id:"select",label:"select"},{id:"id",label:"id",checked:!1},{id:"name",label:"name"},{id:"description",label:"description"},{id:"hidden",label:"hidden in menu",hidden:!0}],this.buttons=[{label:"Button with nothing",icon:"favorite"},{label:"Button with callback",icon:"forest",click:console.log},{label:"Button with href",icon:"diamond",href:"/"},{label:"Button with check",icon:"check",checked:!1,click:i=>{i.checked=!i.checked}},{label:"Button with sub-buttons",icon:"bolt",buttons:[{label:"My sub-button 1",click:console.log},{label:"My sub-button 2",click:console.log}]}],this.defaultPagination={offset:null,pageIndex:0,pageSize:5},this.defaultSorting=[{field:"name",order:is.DESC}]}}return n.\u0275fac=function(e){return new(e||n)(g(Ti))},n.\u0275cmp=$({type:n,selectors:[["app-list"]],standalone:!0,features:[N,Se],decls:3,vars:1,consts:[[1,"mat-headline-4"],["fxFlex","","fxLayout","column",4,"ngIf"],["fxFlex","","fxLayout","column"],["fxLayout","row"],["fxFlex","",1,"mat-headline-6","no-margin"],[3,"availableColumns","selections","buttons","selectionChange"],["fxLayout","column"],["fxLayout","row","overflow","",1,"margin-v"],["fxFlex","",3,"facets","multipleGroups","selections","selectionChange"],[1,"responsive-table"],["mat-table","","matSort","",3,"dataSource","matSortChange"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","select"],["mat-header-cell","","natural-3em-column","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-cell","","natural-align-right","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","natural-align-right","",4,"matCellDef"],["matColumnDef","hidden"],["matColumnDef","not-in-picker"],["class","margin","fxLayout","column","fxLayoutAlign","center center",4,"ngIf"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],["fxLayout","row","fxLayoutGap","20px"],[1,"debug",2,"overflow","auto"],["fxFlex","",1,"debug",2,"overflow","auto"],["mat-header-row",""],["mat-row",""],["mat-header-cell","","natural-3em-column",""],[3,"checked","indeterminate","change"],["mat-cell",""],[3,"checked","change","click"],["mat-header-cell","","mat-sort-header",""],["icon","add",3,"label","navigate"],["mat-header-cell","","natural-align-right","","mat-sort-header",""],["mat-cell","","natural-align-right",""],["fxLayout","column","fxLayoutAlign","center center",1,"margin"],["mode","indeterminate",3,"diameter"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalAbstractList"),m(),S(2,BNe,46,28,"div",1)),2&e&&(b(2),_("ngIf",i.dataSource))},dependencies:[ke,Le,Kr,Ln,En,Pn,Wa,Qd,M9,zy,Av,Hp,Lu,$p,Bu,Pu,jp,Vu,zu,Up,Gp,E9,mM,k9,Hc,yl,pM,Sm,Dm,fM,hM],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"]}),n})(),VNe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-modal-placeholder"]],standalone:!0,features:[Se],decls:9,vars:1,consts:[["mat-dialog-title",""],[1,"mat-typography"],["align","end"],["mat-button","","mat-dialog-close",""],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,i){1&e&&(f(0,"h2",0),C(1,"title"),m(),f(2,"mat-dialog-content",1),C(3," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi cursus, lectus sed facilisis viverra, turpis massa bibendum orci, porttitor aliquam sapien odio eget leo. Integer aliquet orci accumsan sapien sollicitudin eleifend. Etiam at tortor odio. Pellentesque aliquet sapien ac lacus rutrum accumsan. Donec rutrum placerat leo, vitae placerat augue tincidunt non. Sed non leo suscipit, euismod arcu eget, vestibulum purus. Nunc pretium, arcu et sodales vestibulum, massa tellus tincidunt tellus, ac aliquam lectus lectus nec lectus. Vivamus semper lacus at nibh auctor, quis vehicula metus accumsan. Fusce tristique, magna at vestibulum aliquet, dolor enim ornare lorem, eget vestibulum nisl massa a diam. Cras ut molestie ligula. Nam posuere nibh sed velit porta mattis. Sed nec justo eget nulla sodales egestas. Nulla facilisi.\n"),m(),f(4,"mat-dialog-actions",2)(5,"button",3),C(6,"Cancel"),m(),f(7,"button",4),C(8,"Ok"),m()()),2&e&&(b(7),_("mat-dialog-close",!0))},dependencies:[Js,fc,pc,mc,gc,ct,tn]}),n})(),zNe=(()=>{class n extends x9{constructor(e){super(e),this.ancestorRelationName="parent",this.oldAncertorId=null,this.breadcrumbs=[]}ngOnInit(){this.route.params.subscribe(e=>{if(e.ns)return;let i=null;if(e.na){i={have:{values:[e.na]}},this.service.getOne(e.na).subscribe(s=>this.breadcrumbs=this.getBreadcrumb(s));const a=e.na!==this.oldAncertorId;this.oldAncertorId=e.na,this.clearSearch(a)}else i={empty:{}},this.breadcrumbs=[];const r={};r[this.ancestorRelationName]=i,this.variablesManager.set("navigation",{filter:{groups:[{conditions:[r]}]}})}),super.ngOnInit()}getDataObservable(){return this.service.watchAll(this.variablesManager).pipe(se(this.ngUnsubscribe),ue(e=>{const i=e.items.map(o=>{const a={item:o,hasNavigation:!1},s={};s[this.ancestorRelationName]={have:{values:[o.id]}};const l={filter:{groups:[{conditions:[s]}]}},c=new ua;return c.set("variables",l),this.service.count(c).pipe(Qr()).subscribe(d=>a.hasNavigation=d>0),a});return{...e,items:i}}))}translateSearchAndRefreshList(e){e.some(i=>i.length)&&(this.variablesManager.set("navigation",null),this.breadcrumbs=[]),super.translateSearchAndRefreshList(e)}clearSearch(e=!0){this.naturalSearchSelections=[[]],super.search([[]],void 0,e),this.persistenceService.persistInStorage("ns",null,this.getStorageKey())}search(e,i,r=!0){this.persistenceService.persistInUrl("na",null,this.route).then(()=>{super.search(e,i,r)})}getChildLink(e){return e&&e.id?[".",{na:e.id}]:[".",{}]}getBreadcrumb(e){const i=e[this.ancestorRelationName];return i?this.getBreadcrumb(i).concat([e]):[e]}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,inputs:{ancestorRelationName:"ancestorRelationName"},features:[N]}),n})();function HNe(n,t){if(1&n&&(f(0,"a",28),T(1,"mat-icon",29),f(2,"span"),C(3),m()()),2&n){const e=t.$implicit;_("routerLink",x(2).getChildLink(e)),b(3),xe(e.name)}}function $Ne(n,t){1&n&&T(0,"tr",30)}function jNe(n,t){1&n&&T(0,"tr",31)}function UNe(n,t){if(1&n){const e=Y();f(0,"th",32)(1,"mat-checkbox",33),E("change",function(r){B(e);const o=x(2);return V(r?o.masterToggle():null)}),m()()}if(2&n){const e=x(2);b(1),_("checked",e.selection.hasValue()&&e.isAllSelected())("indeterminate",e.selection.hasValue()&&!e.isAllSelected())}}function GNe(n,t){if(1&n){const e=Y();f(0,"td",34)(1,"mat-checkbox",35),E("change",function(r){const a=B(e).$implicit,s=x(2);return V(r?s.selection.toggle(a.item):null)})("click",function(r){return r.stopPropagation()}),m()()}if(2&n){const e=t.$implicit,i=x(2);b(1),_("checked",i.selection.isSelected(e.item))}}function qNe(n,t){1&n&&T(0,"th",32)}function WNe(n,t){if(1&n&&T(0,"natural-table-button",37),2&n){const e=x().$implicit;_("navigate",x(2).getChildLink(e.item))}}function YNe(n,t){if(1&n&&(f(0,"td",34),S(1,WNe,1,1,"natural-table-button",36),m()),2&n){const e=t.$implicit;b(1),_("ngIf",e.hasNavigation)}}function KNe(n,t){1&n&&(f(0,"th",32),C(1,"id"),m())}function QNe(n,t){if(1&n&&(f(0,"td",34),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.item.id)}}function XNe(n,t){1&n&&(f(0,"th",38),C(1,"name"),m())}function JNe(n,t){if(1&n&&(f(0,"td",34),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.item.name)}}function ZNe(n,t){1&n&&(f(0,"th",39),C(1,"description"),m())}function eFe(n,t){if(1&n&&(f(0,"td",40),C(1),m()),2&n){const e=t.$implicit;b(1),xe(e.item.description)}}function tFe(n,t){1&n&&(f(0,"div",41)(1,"div"),C(2,"Pas de r\xe9sultats"),m()())}function nFe(n,t){1&n&&(f(0,"div",41),T(1,"mat-progress-spinner",42),m()),2&n&&(b(1),_("diameter",40))}function iFe(n,t){if(1&n){const e=Y();f(0,"div",2)(1,"div",3)(2,"div",4),S(3,HNe,4,2,"a",5),m(),f(4,"div",6)(5,"natural-search",7),E("selectionChange",function(r){return B(e),V(x().search(r))}),f(6,"natural-columns-picker",8),E("selectionChange",function(r){return B(e),V(x().selectColumns(r))}),m()()(),f(7,"div",9)(8,"table",10),E("matSortChange",function(r){return B(e),V(x().sorting([r]))}),S(9,$Ne,1,0,"tr",11),S(10,jNe,1,0,"tr",12),Dt(11,13),S(12,UNe,2,2,"th",14),S(13,GNe,2,1,"td",15),St(),Dt(14,16),S(15,qNe,1,0,"th",14),S(16,YNe,2,1,"td",15),St(),Dt(17,17),S(18,KNe,2,0,"th",14),S(19,QNe,2,1,"td",15),St(),Dt(20,18),S(21,XNe,2,0,"th",19),S(22,JNe,2,1,"td",15),St(),Dt(23,20),S(24,ZNe,2,0,"th",21),S(25,eFe,2,1,"td",22),St(),m()(),S(26,tFe,3,0,"div",23),S(27,nFe,2,1,"div",23),f(28,"mat-paginator",24),E("page",function(r){return B(e),V(x().pagination(r))}),m()(),f(29,"div",25)(30,"pre",26),C(31),Q(32,"json"),m(),f(33,"pre",26),C(34),Q(35,"json"),m(),f(36,"pre",27),C(37),Q(38,"json"),m(),f(39,"pre",27),C(40),Q(41,"json"),m()()()}if(2&n){const e=x();b(3),_("ngForOf",e.breadcrumbs),b(2),_("facets",e.naturalSearchFacets)("multipleGroups",!0)("selections",e.naturalSearchSelections),b(1),_("availableColumns",e.availableColumns)("selections",e.selectedColumns),b(2),_("dataSource",e.dataSource),b(1),_("matHeaderRowDef",e.columnsForTable),b(1),_("matRowDefColumns",e.columnsForTable),b(16),_("ngIf",0===(null==e.dataSource.data?null:e.dataSource.data.length)),b(1),_("ngIf",null===(null==e.dataSource.data?null:e.dataSource.data.length)),b(1),_("length",null==e.dataSource.data?null:e.dataSource.data.length)("pageIndex",null==e.dataSource.data?null:e.dataSource.data.pageIndex)("pageSizeOptions",e.pageSizeOptions)("pageSize",null==e.dataSource.data?null:e.dataSource.data.pageSize),b(3),me("columnsForTable : ",X(32,19,e.columnsForTable),""),b(3),me("selectedColumns : ",X(35,21,e.selectedColumns),""),b(3),me("variables : ",X(38,23,e.variablesManager.variables.value),""),b(3),me("row selection : ",X(41,25,e.selection.selected),"")}}let rFe=(()=>{class n extends zNe{constructor(e){super(e),this.defaultPagination={offset:null,pageIndex:0,pageSize:5},this.availableColumns=[{id:"select",label:"select"},{id:"navigation",label:"navigation"},{id:"name",label:"name"},{id:"description",label:"description"}],this.defaultSorting=[{field:"name",order:is.DESC}]}}return n.\u0275fac=function(e){return new(e||n)(g(Ti))},n.\u0275cmp=$({type:n,selectors:[["app-navigable-list"]],standalone:!0,features:[N,Se],decls:3,vars:1,consts:[[1,"mat-headline-4"],["fxFlex","","fxLayout","column",4,"ngIf"],["fxFlex","","fxLayout","column"],["fxLayout","column"],["fxLayout","row wrap"],["class","no-padding","mat-button","",3,"routerLink",4,"ngFor","ngForOf"],["fxLayout","row","overflow","",1,"margin-v"],["fxFlex","",3,"facets","multipleGroups","selections","selectionChange"],[3,"availableColumns","selections","selectionChange"],[1,"responsive-table"],["mat-table","","matSort","",3,"dataSource","matSortChange"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","select"],["mat-header-cell","","natural-3em-column","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","navigation"],["matColumnDef","id"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","description"],["mat-header-cell","","natural-align-right","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","natural-align-right","",4,"matCellDef"],["class","margin","fxLayout","column","fxLayoutAlign","center center",4,"ngIf"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],["fxLayout","row","fxLayoutGap","20px"],[1,"debug",2,"overflow","auto"],["fxFlex","",1,"debug",2,"overflow","auto"],["mat-button","",1,"no-padding",3,"routerLink"],["naturalIcon","chevron_right"],["mat-header-row",""],["mat-row",""],["mat-header-cell","","natural-3em-column",""],[3,"checked","indeterminate","change"],["mat-cell",""],[3,"checked","change","click"],["icon","chevron_right","matTooltip","Show children",3,"navigate",4,"ngIf"],["icon","chevron_right","matTooltip","Show children",3,"navigate"],["mat-header-cell","","mat-sort-header",""],["mat-header-cell","","natural-align-right","","mat-sort-header",""],["mat-cell","","natural-align-right",""],["fxLayout","column","fxLayoutAlign","center center",1,"margin"],["mode","indeterminate",3,"diameter"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalAbstractNavigableList"),m(),S(2,iFe,42,27,"div",1)),2&e&&(b(2),_("ngIf",i.dataSource))},dependencies:[ke,Zt,Le,Kr,Ln,En,Pn,Wa,Qd,ct,Sc,dr,li,Zn,fi,zy,M9,Av,Hp,Lu,$p,Bu,Pu,jp,Vu,zu,Up,Gp,E9,mM,k9,Hc,yl,pM,ps,fs,Sm,Dm,fM,hM],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"]}),n})(),aFe=(()=>{class n{constructor(){this.naturalHttpPrefix=null}httpize(e){if(this.naturalHttpPrefix){const i=function oFe(n){if(!n)return n;const t=/^(https?):\/\//i.test(n),e=0==="https://".indexOf(n)||0==="http://".indexOf(n);return t||e?n:"http://"+n}(e)||e;e!==i&&this.naturalHttpPrefix.setValue(i)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=R({type:n,selectors:[["","naturalHttpPrefix",""]],hostBindings:function(e,i){1&e&&E("ngModelChange",function(o){return i.httpize(o)})},inputs:{naturalHttpPrefix:"naturalHttpPrefix"},standalone:!0}),n})();function sFe(n,t){if(1&n&&T(0,"natural-table-button",25),2&n){const e=t.$implicit;_("label",e.label)("icon",e.icon)("href",e.href)("navigate",e.navigate)("queryParams",e.queryParams)("queryParamsHandling",e.queryParamsHandling)("fragment",e.fragment)("preserveFragment",e.preserveFragment)("color",e.color)}}function lFe(n,t){if(1&n){const e=Y();f(0,"natural-table-button",26),E("buttonClick",function(r){return B(e),V(x().log(r))}),m()}if(2&n){const e=t.$implicit;_("label",e.label)("icon",e.icon)("color",e.color)}}let cFe=(()=>{class n{constructor(e){this.httpClient=e,this.httpPrefixControl=new wt("",[$t.required]),this.configurations=[{label:"my label without any link",icon:void 0,href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:void 0,icon:"home",href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label without any link",icon:"home",href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with undefined navigate",icon:"home",href:void 0,navigate:void 0,queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with routerLink",icon:void 0,href:void 0,navigate:["/search"],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with href",icon:void 0,href:"/search",navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with queryParams but no routerLink",icon:void 0,href:void 0,navigate:[],queryParams:{foo:"bar"},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with queryParams and routerLink",icon:"home",href:void 0,navigate:["/search"],queryParams:{foo:"bar"},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"with colors",icon:"home",href:void 0,navigate:["/search"],queryParams:{foo:"bar"},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:"primary"}],this.configurationsWithClick=[{label:"my label with click",icon:void 0,href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:void 0,icon:"home",href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:"my label with click",icon:void 0,href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0},{label:void 0,icon:"home",href:void 0,navigate:[],queryParams:{},queryParamsHandling:"",fragment:void 0,preserveFragment:!1,color:void 0}],this.httpPrefixGroup=new $n({prefix:new wt("",[$t.required])})}ngOnInit(){this.httpPrefixControl.valueChanges.subscribe(e=>{console.log("httpPrefixControl.valueChanges",e)}),this.httpPrefixGroup.valueChanges.subscribe(e=>{console.log("httpPrefixGroup.valueChanges",e)})}error(){throw Error("I'm a natural error")}error2(){this.httpClient.get("https://doesnotexist.youpi").subscribe()}error3(){fetch("https://doesnotexist.youpi").then()}log(e){console.log("clicked",e)}}return n.\u0275fac=function(e){return new(e||n)(g(np))},n.\u0275cmp=$({type:n,selectors:[["app-other"]],standalone:!0,features:[Se],decls:109,vars:44,consts:[[1,"mat-headline-6"],[1,"mat-body"],[3,"label","icon","href","navigate","queryParams","queryParamsHandling","fragment","preserveFragment","color",4,"ngFor","ngForOf"],[3,"label","icon","color","buttonClick",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutGap","20px"],["matInput","",3,"naturalHttpPrefix","formControl"],[1,"debug"],[3,"formGroup"],["matInput","","formControlName","prefix",3,"naturalHttpPrefix"],[1,"mat-body","icons"],["fontIcon","search"],["naturalIcon","search",3,"size"],["naturalIcon","search"],["naturalIcon","natural",3,"size"],["naturalIcon","github",3,"size"],["mat-raised-button","","color","accent","aria-label","Example icon-button with a menu",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["matInput",""],["matIconPrefix","","fontIcon","language"],["matIconSuffix",""],["matIconPrefix","","naturalIcon","language"],["mat-flat-button","","color","primary","routerLink","dialog"],["mat-flat-button","","color","primary",3,"click"],["matRipple","",2,"padding","20px","border","1px solid cyan"],[3,"label","icon","href","navigate","queryParams","queryParamsHandling","fragment","preserveFragment","color"],[3,"label","icon","color","buttonClick"]],template:function(e,i){if(1&e&&(f(0,"div")(1,"h1",0),C(2,"natural-table-button"),m(),f(3,"div",1),S(4,sFe,1,9,"natural-table-button",2),S(5,lFe,1,3,"natural-table-button",3),m(),f(6,"h1",0),C(7,"HTTP Prefix"),m(),f(8,"div",4)(9,"div")(10,"mat-form-field")(11,"mat-label"),C(12,"formControl"),m(),T(13,"input",5),m(),f(14,"pre",6),C(15),Q(16,"json"),Q(17,"json"),Q(18,"json"),Q(19,"json"),Q(20,"json"),m()(),f(21,"div",7)(22,"mat-form-field")(23,"mat-label"),C(24,"formGroup"),m(),T(25,"input",8),m(),f(26,"pre",6),C(27),Q(28,"json"),Q(29,"json"),Q(30,"json"),Q(31,"json"),Q(32,"json"),m()()(),T(33,"br")(34,"br")(35,"br"),f(36,"h1",0),C(37,"Icons"),m(),f(38,"div",9)(39,"span"),C(40,"Native font mat-icon"),m(),T(41,"mat-icon",10),f(42,"span"),C(43,"Font naturalIcon"),m(),T(44,"mat-icon",11)(45,"mat-icon",12)(46,"mat-icon",11)(47,"mat-icon",11)(48,"mat-icon",11),f(49,"span"),C(50,"SVG naturalIcon"),m(),T(51,"mat-icon",13)(52,"mat-icon",14),m(),f(53,"div",9)(54,"button",15),T(55,"mat-icon",10),C(56," Button with native mat-icon "),m(),f(57,"button",15),T(58,"mat-icon",12),C(59," Button with naturalIcon "),m(),f(60,"mat-menu",null,16)(62,"button",17),T(63,"mat-icon",10),f(64,"span"),C(65,"Option mat-icon"),m()(),f(66,"button",17),T(67,"mat-icon",12),f(68,"span"),C(69,"Option mat-icon"),m()()(),f(70,"mat-form-field")(71,"mat-label"),C(72,"Test mat-icon"),m(),T(73,"input",18)(74,"mat-icon",19)(75,"mat-datepicker-toggle",20),m(),f(76,"mat-form-field")(77,"mat-label"),C(78,"Test naturalIcon"),m(),T(79,"input",18)(80,"mat-icon",21)(81,"mat-datepicker-toggle",20),m()(),T(82,"br")(83,"br")(84,"br"),f(85,"h1",0),C(86,"Dialog trigger"),m(),f(87,"button",22),C(88,"Open dialog"),m(),T(89,"br")(90,"br")(91,"br")(92,"br"),f(93,"h1",0),C(94,"Error handler"),m(),f(95,"button",23),E("click",function(){return i.error()}),C(96,"Throw error !"),m(),f(97,"button",23),E("click",function(){return i.error2()}),C(98,"httpClient error !"),m(),f(99,"button",23),E("click",function(){return i.error3()}),C(100,"fetch error !"),m(),T(101,"br")(102,"br")(103,"br")(104,"br")(105,"br"),f(106,"div",24),C(107,"custom ripple"),m()(),T(108,"router-outlet")),2&e){const r=mt(61);let o;b(4),_("ngForOf",i.configurations),b(1),_("ngForOf",i.configurationsWithClick),b(8),_("naturalHttpPrefix",i.httpPrefixControl)("formControl",i.httpPrefixControl),b(2),go("touched: ",X(16,24,i.httpPrefixControl.touched),"\ndirty: ",X(17,26,i.httpPrefixControl.dirty),"\nstatus: ",X(18,28,i.httpPrefixControl.status),"\nerrors: ",X(19,30,i.httpPrefixControl.errors),"\nvalue: ",X(20,32,i.httpPrefixControl.value),"\n "),b(6),_("formGroup",i.httpPrefixGroup),b(4),_("naturalHttpPrefix",i.httpPrefixGroup.get("prefix")),b(2),go("touched: ",X(28,34,i.httpPrefixGroup.touched),"\ndirty: ",X(29,36,i.httpPrefixGroup.dirty),"\nstatus: ",X(30,38,i.httpPrefixGroup.status),"\nerrors: ",X(31,40,null==(o=i.httpPrefixGroup.get("prefix"))?null:o.errors),"\nvalue: ",X(32,42,i.httpPrefixGroup.value),"\n "),b(17),_("size",35),b(2),_("size",null),b(1),_("size",void 0),b(1),_("size",24),b(3),_("size",35),b(1),_("size",150),b(2),_("matMenuTriggerFor",r),b(3),_("matMenuTriggerFor",r)}},dependencies:[ke,Zt,Kr,pM,Ln,En,Pn,_n,An,Tn,zv,kc,Ii,Ai,Ut,ui,jt,si,aFe,sn,an,gn,ns,li,Zn,fi,ct,tn,EE,SE,lh,kE,UE,$E,dr,Io,Ei,Xl],styles:[".icons[_ngcontent-%COMP%]{display:flex;align-items:center}.icons[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:not(:last-child){margin-right:20px}"]}),n})();function dFe(n,t){}const uFe=function(n){return{animationDuration:n}},hFe=function(n,t){return{value:n,params:t}};function fFe(n,t){1&n&&re(0)}const A9=["*"],pFe=["tabListContainer"],mFe=["tabList"],gFe=["tabListInner"],_Fe=["nextPaginator"],bFe=["previousPaginator"],vFe=["tabBodyWrapper"],yFe=["tabHeader"];function CFe(n,t){}function wFe(n,t){1&n&&S(0,CFe,0,0,"ng-template",14),2&n&&_("cdkPortalOutlet",x().$implicit.templateLabel)}function xFe(n,t){1&n&&C(0),2&n&&xe(x().$implicit.textLabel)}function DFe(n,t){if(1&n){const e=Y();f(0,"div",6,7),E("click",function(){const r=B(e),o=r.$implicit,a=r.index,s=x(),l=mt(1);return V(s._handleClick(o,l,a))})("cdkFocusChange",function(r){const a=B(e).index;return V(x()._tabFocusChanged(r,a))}),T(2,"span",8)(3,"div",9),f(4,"span",10)(5,"span",11),S(6,wFe,1,1,"ng-template",12),S(7,xFe,1,1,"ng-template",null,13,_o),m()()()}if(2&n){const e=t.$implicit,i=t.index,r=mt(1),o=mt(8),a=x();de("mdc-tab--active",a.selectedIndex===i),_("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),ie("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),b(3),_("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),b(3),_("ngIf",e.templateLabel)("ngIfElse",o)}}function SFe(n,t){if(1&n){const e=Y();f(0,"mat-tab-body",15),E("_onCentered",function(){return B(e),V(x()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return B(e),V(x()._setTabBodyWrapperHeight(r))}),m()}if(2&n){const e=t.$implicit,i=t.index,r=x();de("mat-mdc-tab-body-active",r.selectedIndex===i),_("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),ie("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const kFe={translateTab:mn("translateTab",[_t("center, void, left-origin-center, right-origin-center",_e({transform:"none"})),_t("left",_e({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),_t("right",_e({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ot("* => left, * => right, left => center, right => center",it("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ot("void => left-origin-center",[_e({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),it("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ot("void => right-origin-center",[_e({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),it("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let EFe=(()=>{class n extends Rr{constructor(e,i,r,o){super(e,i,o),this._host=r,this._centeringSub=We.EMPTY,this._leavingSub=We.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(zt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(g(Es),g(Ft),g(st(()=>I9)),g(ye))},n.\u0275dir=R({type:n,selectors:[["","matTabBodyHost",""]],features:[N]}),n})(),MFe=(()=>{class n{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=We.EMPTY,this._translateTabComplete=new q,this._onCentering=new j,this._beforeCentering=new j,this._afterLeavingCenter=new j,this._onCentered=new j(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(ys((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Qt,8),g(ze))},n.\u0275dir=R({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),I9=(()=>{class n extends MFe{constructor(e,i,r){super(e,i,r)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Qt,8),g(ze))},n.\u0275cmp=$({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&ve(Rr,5),2&e){let r;U(r=G())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[N],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(f(0,"div",0,1),E("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),S(2,dFe,0,0,"ng-template",2),m()),2&e&&_("@translateTab",e_(3,hFe,i._position,As(1,uFe,i.animationDuration)))},dependencies:[EFe],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[kFe.translateTab]}}),n})();const TFe=new F("MatTabContent");let AFe=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(g(kt))},n.\u0275dir=R({type:n,selectors:[["","matTabContent",""]],features:[ae([{provide:TFe,useExisting:n}])]}),n})();const IFe=new F("MatTabLabel"),O9=new F("MAT_TAB");let OFe=(()=>{class n extends rme{constructor(e,i,r){super(e,i),this._closestTab=r}}return n.\u0275fac=function(e){return new(e||n)(g(kt),g(Ft),g(O9,8))},n.\u0275dir=R({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[ae([{provide:IFe,useExisting:n}]),N]}),n})();const _M="mdc-tab-indicator--active",R9="mdc-tab-indicator--no-transition";class RFe{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){const r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function NFe(n){return class extends n{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=te(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(_M);const i=e.getBoundingClientRect(),r=t.width/i.width,o=t.left-i.left;e.classList.add(R9),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(R9),e.classList.add(_M),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(_M)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const PFe=Ao(class{}),LFe=NFe((()=>{class n extends PFe{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(g(W))},n.\u0275dir=R({type:n,features:[N]}),n})());let N9=(()=>{class n extends LFe{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(ie("aria-disabled",!!i.disabled),de("mat-mdc-tab-disabled",i.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[N]}),n})();const BFe=Ao(class{}),F9=new F("MAT_TAB_GROUP");let VFe=(()=>{class n extends BFe{get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new q,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new sa(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(g(Ft),g(F9,8))},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&ve(kt,7),2&e){let r;U(r=G())&&(i._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[N,Je]}),n})(),bM=(()=>{class n extends VFe{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,AFe,7,kt),Ee(r,OFe,5)),2&e){let o;U(o=G())&&(i._explicitContent=o.first),U(o=G())&&(i.templateLabel=o.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[ae([{provide:O9,useExisting:n}]),N],ngContentSelectors:A9,decls:1,vars:0,template:function(e,i){1&e&&(qe(),S(0,fFe,1,0,"ng-template"))},encapsulation:2}),n})();const P9=Mo({passive:!0});let $Fe=(()=>{class n{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=te(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=pn(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,r,o,a,s,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=s,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new q,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new q,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new j,this.indexFocused=new j,a.runOutsideAngular(()=>{Eo(e.nativeElement,"mouseleave").pipe(se(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Eo(this._previousPaginator.nativeElement,"touchstart",P9).pipe(se(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Eo(this._nextPaginator.nativeElement,"touchstart",P9).pipe(se(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ee("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new kp(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(lt(1)).subscribe(r),dt(e,i,this._items.changes,this._itemsResized()).pipe(se(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?vn:this._items.changes.pipe(zt(this._items),xt(e=>new rt(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),UD(1),Be(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!on(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let s,l;"ltr"==this._getLayoutDirection()?(s=o,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-o,s=l-a);const c=this.scrollDistance,d=this.scrollDistance+r;sd&&(this.scrollDistance+=Math.min(l-d,s-c))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),oc(650,100).pipe(se(dt(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(Xa),g(Qt,8),g(ce),g(yt),g(Ot,8))},n.\u0275dir=R({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),jFe=(()=>{class n extends $Fe{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=te(e)}constructor(e,i,r,o,a,s,l){super(e,i,r,o,a,s,l),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(Xa),g(Qt,8),g(ce),g(yt),g(Ot,8))},n.\u0275dir=R({type:n,inputs:{disableRipple:"disableRipple"},features:[N]}),n})(),UFe=(()=>{class n extends jFe{constructor(e,i,r,o,a,s,l){super(e,i,r,o,a,s,l)}ngAfterContentInit(){this._inkBar=new RFe(this._items),super.ngAfterContentInit()}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(Xa),g(Qt,8),g(ce),g(yt),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,N9,4),2&e){let o;U(o=G())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(ve(pFe,7),ve(mFe,7),ve(gFe,7),ve(_Fe,5),ve(bFe,5)),2&e){let r;U(r=G())&&(i._tabListContainer=r.first),U(r=G())&&(i._tabList=r.first),U(r=G())&&(i._tabListInner=r.first),U(r=G())&&(i._nextPaginator=r.first),U(r=G())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&de("mat-mdc-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[N],ngContentSelectors:A9,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(qe(),f(0,"button",0,1),E("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),T(2,"div",2),m(),f(3,"div",3,4),E("keydown",function(o){return i._handleKeydown(o)}),f(5,"div",5,6),E("cdkObserveContent",function(){return i._onContentChanges()}),f(7,"div",7,8),re(9),m()()(),f(10,"button",9,10),E("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),T(12,"div",2),m()),2&e&&(de("mat-mdc-tab-header-pagination-disabled",i._disableScrollBefore),_("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),b(3),de("_mat-animation-noopable","NoopAnimations"===i._animationMode),b(7),de("mat-mdc-tab-header-pagination-disabled",i._disableScrollAfter),_("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[Ei,GD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),n})();const L9=new F("MAT_TABS_CONFIG");let GFe=0;const qFe=Ys(Ks(class{constructor(n){this._elementRef=n}}),"primary");let WFe=(()=>{class n extends qFe{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=te(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=pn(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=pn(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=te(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=te(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new Jo,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=We.EMPTY,this._tabLabelSubscription=We.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new j,this.focusChange=new j,this.animationDone=new j,this.selectedTabChange=new j(!0),this._groupId=GFe++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(zt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new YFe;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=dt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(L9,8),g(Ot,8))},n.\u0275dir=R({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[N]}),n})(),vM=(()=>{class n extends WFe{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=te(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=te(e)}constructor(e,i,r,o){super(e,i,r,o),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent,this.stretchTabs=!r||null==r.stretchTabs||r.stretchTabs}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(ze),g(L9,8),g(Ot,8))},n.\u0275cmp=$({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,bM,5),2&e){let o;U(o=G())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(ve(vFe,5),ve(yFe,5)),2&e){let r;U(r=G())&&(i._tabBodyWrapper=r.first),U(r=G())&&(i._tabHeader=r.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(e,i){2&e&&(un("--mat-tab-animation-duration",i.animationDuration),de("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===i.headerPosition)("mat-mdc-tab-group-stretch-tabs",i.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[ae([{provide:F9,useExisting:n}]),N],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(f(0,"mat-tab-header",0,1),E("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),S(2,DFe,9,17,"div",2),m(),f(3,"div",3,4),S(5,SFe,1,11,"mat-tab-body",5),m()),2&e&&(_("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),b(2),_("ngForOf",i._tabs),b(1),de("_mat-animation-noopable","NoopAnimations"===i._animationMode),b(2),_("ngForOf",i._tabs))},dependencies:[Yr,Zt,Le,Rr,Ei,NB,I9,N9,UFe],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-letter-spacing);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),n})();class YFe{}let B9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({imports:[ke,Ue,Za,Io,qb,Qb,Ue]}),n})();function V9(n){return n.content?.viewContainerRef.element.nativeElement.id??""}let z9=(()=>{class n extends ss{constructor(e,i,r){super(),this.component=e,this.route=i,this.router=r,this.naturalLinkableTab=!0}ngAfterViewInit(){!1!==this.naturalLinkableTab&&(this.route.fragment.pipe(se(this.ngUnsubscribe)).subscribe(e=>{const i=this.getTabIndex(e);(i>=0||!e)&&(this.component.selectedIndex=i)}),this.component.selectedTabChange.pipe(se(this.ngUnsubscribe)).subscribe(e=>{const i=V9(e.tab),r=this.route.snapshot.url;if(!r.length)throw new Error("Cannot update URL for tabs without any segments in URL");const o=km(r[r.length-1].parameters);this.router.navigate([".",o],{relativeTo:this.route,queryParamsHandling:"preserve",fragment:i&&i.length?i:void 0})}))}getTabIndex(e){return this.component._tabs.toArray().findIndex(i=>e===V9(i))}}return n.\u0275fac=function(e){return new(e||n)(g(vM),g(Ar),g(ii))},n.\u0275dir=R({type:n,selectors:[["mat-tab-group","naturalLinkableTab",""]],inputs:{naturalLinkableTab:"naturalLinkableTab"},standalone:!0,features:[N]}),n})();const KFe=function(){return["panel","2"]},QFe=function(){return["invalid-url"]};let XFe=(()=>{class n extends dM{constructor(){super()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-any"]],standalone:!0,features:[N,Se],decls:20,vars:11,consts:[["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","",3,"routerLink"],["mat-flat-button","","routerLink","panel/3"],["mat-stretch-tabs","false",3,"naturalLinkableTab"],["label","Tab1"],["label","Tab2"],["label","Tab3"],[1,"debug"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"a",1),C(2,"Panel 2 (dynamic)"),m(),f(3,"a",2),C(4,"Panel 3 (static)"),m(),f(5,"a",1),C(6,"invalid url"),m()(),f(7,"mat-tab-group",3)(8,"mat-tab",4),C(9,"Tab1"),m(),f(10,"mat-tab",5),C(11,"Tab2"),m(),f(12,"mat-tab",6),C(13,"Tab3"),m()(),f(14,"pre",7),C(15),Q(16,"json"),m(),f(17,"pre",7),C(18),Q(19,"json"),m()),2&e&&(b(1),_("routerLink",wn(9,KFe)),b(4),_("routerLink",wn(10,QFe)),b(2),_("naturalLinkableTab",!1),b(8),me("data : ",X(16,5,i.data),""),b(3),me("panelData : ",X(19,7,i.panelData),""))},dependencies:[Ln,En,Pn,ct,Sc,dr,B9,bM,vM,z9,ke,Kr]}),n})();const H9=[{path:"panel/:param",component:XFe,resolve:{foo:function JFe(){return ee({...ne(Ti).getItem(),name:"resolved",description:"resolved description"})}}}];let ZFe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-panels"]],standalone:!0,features:[Se],decls:10,vars:0,consts:[[1,"mat-headline-4"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","","routerLink","panel/1"],["mat-flat-button","","routerLink","panel/1/panel/2"],["mat-flat-button","","routerLink","invalid-url"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalPanelsService"),m(),f(2,"div",1)(3,"a",2),C(4,"Panel 1"),m(),f(5,"a",3),C(6,"Panel 1 & 2"),m(),f(7,"a",4),C(8,"invalid url"),m()(),T(9,"router-outlet"))},dependencies:[Ln,En,Pn,ct,Sc,dr,Xl]}),n})();const aPe=function nPe(n){return function(t){return n?.[t]}}({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});var sPe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fPe=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var gPe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var vPe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var $9="\\ud800-\\udfff",j9="\\u2700-\\u27bf",U9="a-z\\xdf-\\xf6\\xf8-\\xff",G9="A-Z\\xc0-\\xd6\\xd8-\\xde",q9="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Y9="["+q9+"]",K9="\\d+",OPe="["+j9+"]",Q9="["+U9+"]",X9="[^"+$9+q9+K9+j9+U9+G9+"]",J9="(?:\\ud83c[\\udde6-\\uddff]){2}",Z9="[\\ud800-\\udbff][\\udc00-\\udfff]",ph="["+G9+"]",e$="(?:"+Q9+"|"+X9+")",LPe="(?:"+ph+"|"+X9+")",t$="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",n$="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",i$="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",r$="[\\ufe0e\\ufe0f]?",HPe=r$+i$+"(?:\\u200d(?:"+["[^"+$9+"]",J9,Z9].join("|")+")"+r$+i$+")*",$Pe="(?:"+[OPe,J9,Z9].join("|")+")"+HPe,jPe=RegExp([ph+"?"+Q9+"+"+t$+"(?="+[Y9,ph,"$"].join("|")+")",LPe+"+"+n$+"(?="+[Y9,ph+e$,"$"].join("|")+")",ph+"?"+e$+"+"+t$,ph+"+"+n$,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",K9,$Pe].join("|"),"g");const WPe=function qPe(n,t,e){return n=OS(n),void 0===(t=e?void 0:t)?function yPe(n){return vPe.test(n)}(n)?function UPe(n){return n.match(jPe)||[]}(n):function _Pe(n){return n.match(gPe)||[]}(n):n.match(t)||[]};var KPe=RegExp("['\u2019]","g"),XPe=function QPe(n){return function(t){return function ePe(n,t,e,i){var r=-1,o=null==n?0:n.length;for(i&&o&&(e=n[++r]);++r{class n extends dM{constructor(e,i){super(),this.key=e,this.service=i,this.data={model:this.service.getDefaultForServer()},this.form=new _S({}),this.showFabButton=!0,this.alertService=ne(Wy),this.router=ne(ii),this.route=ne(Ar),this._isFetched=!1}ngOnInit(){this.isPanel?this.initForm():this.route.data.subscribe(e=>{this.data=So({model:this.service.getDefaultForServer()},e[this.key]),this.data=So(this.data,RS(e,[this.key])),this._isFetched=!!this.data.model.id,this.initForm()})}changeTab(e){this.showFabButton=0===e}isFetched(){return this._isFetched}update(e=!1){this.isFetched()&&(il(this.form),qp(this.form).subscribe(()=>{this.formToData();const i=r=>{this.alertService.info($localize`Mis à jour`),this.form.patchValue(r),this.postUpdate(r)};e?this.service.updateNow(this.data.model).subscribe(i):this.service.update(this.data.model).subscribe(i)}))}create(e=!0){il(this.form),this.form.valid&&(this.formToData(),this.form.disable(),this.service.create(this.data.model).pipe(xt(i=>(this.alertService.info($localize`Créé`),this.form.patchValue(i),this.postCreate(i).pipe(function ZPe(...n){return t=>Pd(t,ee(...n))}(i),yF()))),xt(i=>{if(e){if(this.isPanel){const r=this.router.url,o=this.panelData?.config.params.nextRoute,a=r.replace("/new","/"+i.id)+(o?"/"+o:"");return this.router.navigateByUrl(a)}return this.router.navigate(["..",i.id],{relativeTo:this.route})}return vn}),Co(()=>this.form.enable())).subscribe())}delete(e){this.form.disable(),this.alertService.confirm($localize`Suppression`,$localize`Voulez-vous supprimer définitivement cet élément ?`,$localize`Supprimer définitivement`).pipe(xt(i=>i?(this.preDelete(this.data.model),this.service.delete([this.data.model]).pipe(xt(()=>{if(this.alertService.info($localize`Supprimé`),this.isPanel)return this.panelService?.goToPenultimatePanel(),vn;{const r=["../../"+JPe(this.key)];return this.router.navigate(e||r,{relativeTo:this.route})}}))):vn),Co(()=>this.form.enable())).subscribe()}postUpdate(e){}postCreate(e){return vn}preDelete(e){}initForm(){this.form=this.service.getFormGroup(this.data.model)}formToData(){nl(this.data.model,this.form.value,bv)}}return n.\u0275fac=function(e){Mr()},n.\u0275dir=R({type:n,features:[N]}),n})();const eLe=["panel"];function tLe(n,t){if(1&n&&(f(0,"div",0,1),re(2),m()),2&n){const e=t.id,i=x();_("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),ie("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const nLe=["*"],iLe=mn("panelAnimation",[_t("void, hidden",_e({opacity:0,transform:"scaleY(0.8)"})),ot(":enter, hidden => visible",[Jb([it("0.03s linear",_e({opacity:1})),it("0.12s cubic-bezier(0, 0, 0.2, 1)",_e({transform:"scaleY(1)"}))])]),ot(":leave, visible => hidden",[it("0.075s linear",_e({opacity:0}))])]);let rLe=0;class oLe{constructor(t,e){this.source=t,this.option=e}}const aLe=Ks(class{}),a$=new F("mat-autocomplete-default-options",{providedIn:"root",factory:function sLe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let lLe=(()=>{class n extends aLe{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=te(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=te(e)}set classList(e){this._classList=e&&e.length?nB(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=r,this._activeOptionChanges=We.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new j,this.opened=new j,this.closed=new j,this.optionActivated=new j,this._classList={},this.id="mat-autocomplete-"+rLe++,this.inertGroups=o?.SAFARI||!1,this._autoActiveFirstOption=!!r.autoActiveFirstOption,this._autoSelectActiveOption=!!r.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new TB(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new oLe(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}_skipPredicate(e){return e.disabled}}return n.\u0275fac=function(e){return new(e||n)(g(ze),g(W),g(a$),g(yt))},n.\u0275dir=R({type:n,viewQuery:function(e,i){if(1&e&&(ve(kt,7),ve(eLe,5)),2&e){let r;U(r=G())&&(i.template=r.first),U(r=G())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[N]}),n})(),cLe=(()=>{class n extends lLe{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=te(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}_skipPredicate(e){return!1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(Ee(r,oS,5),Ee(r,da,5)),2&e){let o;U(o=G())&&(i.optionGroups=o),U(o=G())&&(i.options=o)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[ae([{provide:rS,useExisting:n}]),N],ngContentSelectors:nLe,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(qe(),S(0,tLe,3,5,"ng-template"))},dependencies:[Yr],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[iLe]},changeDetection:0}),n})();const dLe={provide:Mi,useExisting:st(()=>yM),multi:!0},s$=new F("mat-autocomplete-scroll-strategy"),hLe={provide:s$,deps:[Jn],useFactory:function uLe(n){return()=>n.scrollStrategies.reposition()}};let fLe=(()=>{class n{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=te(e)}constructor(e,i,r,o,a,s,l,c,d,u,h){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=l,this._formField=c,this._document=d,this._viewportRuler=u,this._defaults=h,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=We.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new q,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Ld(()=>{const p=this.autocomplete?this.autocomplete.options:null;return p?p.changes.pipe(zt(p),xt(()=>dt(...p.map(v=>v.onSelectionChange)))):this._zone.onStable.pipe(lt(1),xt(()=>this.optionSelections))}),this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return dt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Be(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Be(()=>this._overlayAttached)):ee()).pipe(ue(e=>e instanceof XB?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return dt(Eo(this._document,"click"),Eo(this._document,"auxclick"),Eo(this._document,"touchend")).pipe(Be(e=>{const i=Qa(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,r=on(e);if(27===i&&!r&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,a=38===i||40===i;9===i||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return dt(this._zone.onStable.pipe(lt(1)),this.autocomplete.options.changes.pipe(Ht(()=>this._positionStrategy.reapplyLastPosition()),hi(0))).pipe(xt(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),lt(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=e?e.source:this._pendingAutoselectedOption;i&&(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new sa(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._applyModalPanelOwnership(),this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new qs({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let a;a="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let r=0;r{(27===i.keyCode&&!on(i)||38===i.keyCode&&on(i,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),e.outsidePointerEvents().subscribe()}_applyModalPanelOwnership(){const e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=this.autocomplete.id;this._trackedModal&&Sp(this._trackedModal,"aria-owns",i),WD(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(Sp(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return n.\u0275fac=function(e){return new(e||n)(g(W),g(Jn),g(Ft),g(ce),g(ze),g(s$),g(Qt,8),g(Uu,9),g(ye,8),g(Xa),g(a$,8))},n.\u0275dir=R({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Je]}),n})(),yM=(()=>{class n extends fLe{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&E("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(){return i._handleClick()}),2&e&&ie("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-controls",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[ae([dLe]),N]}),n})(),pLe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=Oe({providers:[hLe],imports:[Ws,Oo,Ue,ke,Ja,Oo,Ue]}),n})();class mLe extends Mp{constructor(t){super(),this.component=t}isErrorState(){const t=this.component.ngControl?.control||this.component.internalCtrl;return!!t&&!(!t.errors||!t.touched&&!t.dirty)}}let CM=(()=>{class n extends ss{set required(e){this._required=te(e),this.applyRequired()}get required(){return!!this._required}constructor(e){super(),this.ngControl=e,this.showIcon=!0,this.icon="search",this.selectionChange=new j,this.blur=new j,this.internalCtrl=new wt(null),this.ngControl&&(this.ngControl.valueAccessor=this),this.matcher=new mLe(this)}ngDoCheck(){this.ngControl&&this.applyRequired()}writeValue(e){this.internalCtrl.setValue(e)}ngOnInit(){(this.ngControl instanceof an||this.ngControl instanceof ns)&&typeof this._required<"u"&&console.warn(" should not be used as ReactiveForm and with the [required] attribute")}set disabled(e){e?this.internalCtrl.disable():this.internalCtrl.enable()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}clear(){this.internalCtrl.setValue(null),this.propagateValue(null)}onBlur(){this.touch(),this.blur.emit()}propagateValue(e){this.onChange&&this.onChange(e),this.selectionChange.emit(e)}setDisabledState(e){this.disabled=e}showClearButton(){return this.internalCtrl?.enabled&&!!this.clearLabel&&!!this.internalCtrl.value}touch(){this.onTouched&&this.onTouched()}hasRequiredError(){return(this.ngControl?.control?this.ngControl?.control:this.internalCtrl).hasError("required")}applyRequired(){const e=this?.ngControl?.control?.validator?.({})?.required,i=typeof this._required<"u"?this._required:e;this.internalCtrl?.validator?.({})?.required!==i&&(i?this.internalCtrl.setValidators($t.required):this.internalCtrl.clearValidators(),this.internalCtrl.updateValueAndValidity())}}return n.\u0275fac=function(e){return new(e||n)(g(Qi,10))},n.\u0275dir=R({type:n,inputs:{placeholder:"placeholder",required:"required",navigateTo:"navigateTo",clearLabel:"clearLabel",showIcon:"showIcon",icon:"icon",displayWith:"displayWith",disabled:"disabled"},outputs:{selectionChange:"selectionChange",blur:"blur"},features:[N]}),n})();function gLe(n,t){}const _Le=function(n){return{item:n}};function bLe(n,t){if(1&n&&(f(0,"mat-option",14),S(1,gLe,0,0,"ng-template",15),m()),2&n){const e=t.$implicit,i=x(),r=mt(6);_("value",e),b(1),_("ngTemplateOutletContext",As(3,_Le,e))("ngTemplateOutlet",i.itemTemplate?i.itemTemplate:r)}}function vLe(n,t){if(1&n&&(f(0,"div",16),Ce(1,17),m()),2&n){const e=x();b(1),Tw(e.moreNbItems),function p2(n){!function pQ(n,t,e){if(uf>0){const i=n.data[e];ZR(n,t,Array.isArray(i)?i:i.update,Oa()-uf-1,df)}df=0,uf=0}(Ct(),K(),n+pt)}(1)}}function yLe(n,t){if(1&n&&(f(0,"span"),C(1),m()),2&n){const e=t.item,i=x();b(1),xe(i.getDisplayFn()(e))}}function CLe(n,t){1&n&&T(0,"mat-icon",18),2&n&&_("naturalIcon",x().icon)}function wLe(n,t){1&n&&(f(0,"div",19),T(1,"mat-progress-spinner",20),m()),2&n&&(b(1),_("diameter",21)("strokeWidth",5))}function xLe(n,t){if(1&n){const e=Y();f(0,"button",21),E("click",function(){return B(e),V(x().clear())}),T(1,"mat-icon",22),m()}}function DLe(n,t){if(1&n){const e=Y();f(0,"button",23),E("click",function(){return B(e),V(x().reset())}),T(1,"mat-icon",24),m()}}function SLe(n,t){1&n&&(f(0,"button",25),E("click",function(i){return i.stopPropagation()}),T(1,"mat-icon",26),m()),2&n&&_("routerLink",x().navigateTo)}function kLe(n,t){1&n&&(f(0,"mat-error"),Ce(1,27),m())}function ELe(n,t){if(1&n){const e=Y();f(0,"button",30),E("click",function(){return B(e),V(x(2).clear())}),C(1),m()}if(2&n){const e=x(2);b(1),xe(e.clearLabel)}}function MLe(n,t){if(1&n&&(f(0,"div",28),S(1,ELe,2,1,"button",29),m()),2&n){const e=x();b(1),_("ngIf",e.showClearButton())}}let Xy=(()=>{class n extends CM{constructor(){super(...arguments),this.optionRequired=!0,this.searchField="custom",this.searchOperator=null,this.lastValidValue=null,this.items=null,this.loading=!1,this.moreNbItems=0,this.pageSize=10,this.variablesManager=new ua}set filter(e){this.variablesManager.set("additional-filter",{filter:e})}set disabled(e){e?this.internalCtrl.disable():this.internalCtrl.enable()}ngAfterViewInit(){this.internalCtrl.valueChanges.pipe(se(this.ngUnsubscribe),ys(),Fs(300)).subscribe(e=>this.search(e))}onInternalFormChange(){this.optionRequired||this.propagateValue(this.internalCtrl.value)}ngOnInit(){super.ngOnInit(),this.initService()}onBlur(){this.internalCtrl.dirty&&this.reset(),super.onBlur()}reset(){this.internalCtrl.setValue(this.lastValidValue),this.internalCtrl.markAsPristine()}onKeyEnter(){this.internalCtrl.value||(this.clear(),this.autoTrigger.closePanel())}writeValue(e){super.writeValue(e),this.lastValidValue=this.internalCtrl.value}initService(){if("function"!=typeof this.service.watchAll)throw new TypeError("Provided service does not contain watchAll function");const i=So({pagination:{pageIndex:0,pageSize:this.pageSize}},this.getSearchFilter(null));this.variablesManager.set("variables",i)}startSearch(){this.items||(this.items=this.service.watchAll(this.variablesManager).pipe(se(this.ngUnsubscribe),Co(()=>this.loading=!1),ue(e=>{this.loading=!1;const i=e.length,r=Math.min(e.length,this.pageSize);return this.moreNbItems=i-r,e.items})),this.loading=!0,this.items.subscribe())}propagateValue(e){this.internalCtrl.markAsPristine(),this.lastValidValue=this.internalCtrl.value,this.loading=!1,!this.optionRequired&&null===e&&(e=""),super.propagateValue(e)}getDisplayFn(){return this.displayWith?this.displayWith:e=>e?"string"==typeof e?e:e.fullName||e.name||e.iban||e[this.searchField]||e.id:""}clear(){this.search(null),super.clear()}search(e){("string"==typeof e||null===e)&&(e&&(this.loading=!!this.items),this.variablesManager.merge("variables",this.getSearchFilter(e)))}showClearButton(){return this.internalCtrl?.enabled&&!!this.clearLabel&&!!this.internalCtrl.value}getSearchFilter(e){const i=this.searchOperator??("custom"===this.searchField?"search":"like");return e&&"like"===i&&(e="%"+e+"%"),{filter:{groups:[{conditions:[{[this.searchField]:e?{[i]:{value:e}}:null}]}]}}}getVariablesForDebug(){return this.variablesManager.variables.value}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["natural-select"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,kt,5),2&e){let o;U(o=G())&&(i.itemTemplate=o.first)}},viewQuery:function(e,i){if(1&e&&ve(yM,5),2&e){let r;U(r=G())&&(i.autoTrigger=r.first)}},inputs:{service:"service",optionRequired:"optionRequired",searchField:"searchField",searchOperator:"searchOperator",filter:"filter",disabled:"disabled"},standalone:!0,features:[N,Se],decls:19,vars:16,consts:function(){let t,e,i,r,o,a;return t=$localize`:␟24db55d2b71cb10137208e99c6c112b630194818␟3383260231057423151:Recherche et sélection`,e=$localize`:␟b73f9486556a620fa0bc34490ca8aef60d5ba50e␟7476559703529470786:Désélectionner`,i=$localize`:␟544712c95235b75b3adeb737b44273acbd5b1373␟7476112743504592464:Annuler la recherche`,r=$localize`:␟c556a47cd554d8b94066106f1832d6272fbca1e1␟6489170507220514306:Naviguer vers`,o=$localize`:␟ef7d6d2a37b4d0667b5cd7a84b59814b788141db␟6225218323477785782:${"\ufffd0\ufffd"}:INTERPOLATION: élément(s) supplémentaire(s)`,a=$localize`:␟c0635fdb2285e10406f861a2135c2d72eab0e8c4␟8857159515510586089:Ce champ est requis`,[["panelWidth","auto !important",3,"displayWith","optionSelected"],["ac","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["class","mat-caption","style","padding: 5px 10px",4,"ngIf"],["defaultACItem",""],["aria-label",t,"matInput","",3,"formControl","matAutocomplete","errorStateMatcher","blur","change","click","focus","keydown.esc","keydown.enter"],["matIconPrefix","",3,"naturalIcon",4,"ngIf"],["class","loading-wrapper","matIconPrefix","",4,"ngIf"],["matIconSuffix","",1,"suffix-buttons"],["mat-icon-button","","matTooltip",e,3,"click",4,"ngIf"],["mat-icon-button","","matTooltip",i,3,"click",4,"ngIf"],["mat-icon-button","","matTooltip",r,3,"routerLink","click",4,"ngIf"],[4,"ngIf"],["class","external-buttons",4,"ngIf"],[3,"value"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"mat-caption",2,"padding","5px 10px"],o,["matIconPrefix","",3,"naturalIcon"],["matIconPrefix","",1,"loading-wrapper"],["mode","indeterminate",3,"diameter","strokeWidth"],["mat-icon-button","","matTooltip",e,3,"click"],["naturalIcon","close"],["mat-icon-button","","matTooltip",i,3,"click"],["naturalIcon","undo"],["mat-icon-button","","matTooltip",r,3,"routerLink","click"],["naturalIcon","open_in_browser"],a,[1,"external-buttons"],["color","warn","mat-button","",3,"click",4,"ngIf"],["color","warn","mat-button","",3,"click"]]},template:function(e,i){if(1&e&&(f(0,"mat-autocomplete",0,1),E("optionSelected",function(o){return i.propagateValue(o.option.value)}),S(2,bLe,2,5,"mat-option",2),Q(3,"async"),S(4,vLe,2,1,"div",3),m(),S(5,yLe,2,1,"ng-template",null,4,_o),f(7,"mat-form-field")(8,"mat-label"),C(9),m(),f(10,"input",5),E("blur",function(){return i.onBlur()})("change",function(){return i.onInternalFormChange()})("click",function(){return i.autoTrigger.openPanel()})("focus",function(){return i.startSearch()})("keydown.esc",function(){return i.reset()})("keydown.enter",function(){return i.onKeyEnter()}),m(),S(11,CLe,1,1,"mat-icon",6),S(12,wLe,2,2,"div",7),f(13,"div",8),S(14,xLe,2,0,"button",9),S(15,DLe,2,0,"button",10),S(16,SLe,2,1,"button",11),m(),S(17,kLe,2,0,"mat-error",12),m(),S(18,MLe,2,1,"div",13)),2&e){const r=mt(1);_("displayWith",i.getDisplayFn()),b(2),_("ngForOf",X(3,14,i.items)),b(2),_("ngIf",i.moreNbItems>0),b(5),xe(i.placeholder),b(1),_("formControl",i.internalCtrl)("matAutocomplete",r)("errorStateMatcher",i.matcher),b(1),_("ngIf",!i.loading&&i.showIcon),b(1),_("ngIf",i.loading),b(2),_("ngIf",i.internalCtrl.pristine&&i.internalCtrl.value&&i.internalCtrl.enabled&&!i.clearLabel),b(1),_("ngIf",i.internalCtrl.dirty&&i.internalCtrl.enabled&&i.optionRequired),b(1),_("ngIf",i.internalCtrl.pristine&&i.internalCtrl.value&&i.navigateTo),b(1),_("ngIf",i.hasRequiredError()),b(1),_("ngIf",i.showClearButton())}},dependencies:[pLe,cLe,da,yM,ke,Zt,Le,Vd,wf,Oo,_n,An,Tn,to,zv,kc,Ii,Ai,Ut,ui,jt,sn,an,li,Zn,fi,Sm,Dm,ct,tn,Nr,ps,fs,dr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:20px}[_nghost-%COMP%] > mat-autocomplete[_ngcontent-%COMP%]{margin-bottom:0!important}[_nghost-%COMP%] .suffix-buttons[_ngcontent-%COMP%], [_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:10px}[_nghost-%COMP%] .loading-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:48px;height:48px}"]}),n})();const TLe=wb` + query Mutations { + __type(name: "Mutation") { + fields { + name + args { + name + type { + ofType { + name + } + } + } + } + } + } +`;let l$=(()=>{class n{constructor(e){this.apollo=e}link(e,i,r=null,o={}){const a=km(o);return this.getMutation("link",e,i,r,a).pipe(xt(s=>this.execute(s)))}linkMany(e,i,r=null,o={}){return ko(i.map(a=>this.link(e,a,r,o)))}unlink(e,i,r=null){return this.getMutation("unlink",e,i,r).pipe(xt(o=>this.execute(o)))}getAllMutationNames(){if(this.allMutations)return ee(this.allMutations);const e=i=>({name:i.name,type:i.type?.ofType?.name?.replace(/ID$/,"")||"should-never-happen"});return this.apollo.query({query:TLe,fetchPolicy:"cache-first"}).pipe(ue(({data:i})=>(this.allMutations=i.__type&&i.__type.fields?i.__type.fields.filter(r=>r.name.match(/^(link|unlink)/)).map(r=>({name:r.name,arg1:e(r.args[0]),arg2:e(r.args[1])})):[],this.allMutations)))}getMutation(e,i,r,o,a={}){o=o&&Cc(o);const s=e+i.__typename+(o||r.__typename),l=e+r.__typename+(o||i.__typename);return this.getAllMutationNames().pipe(ue(c=>{const d=c.find(u=>u.name===s)||c.find(u=>u.name===l);if(d)return this.buildTemplate(d,i,r,a);throw TypeError("API does not allow to "+e+" "+i.__typename+" and "+r.__typename)}))}execute(e){return this.apollo.mutate({mutation:wb(e)}).pipe(ue(i=>(this.apollo.client.reFetchObservableQueries(),i)))}buildTemplate(e,i,r,o={}){let a,s;i.__typename===e.arg1.type?(a=e.arg1.name,s=e.arg2.name):(a=e.arg2.name,s=e.arg1.name),o[a]=i.id,o[s]=r.id;let l="";for(const c of Object.keys(o))l+=c+": "+JSON.stringify(o[c])+" ";return`mutation linkAndUnlink {\n ${e.name}(${l}) {\n id\n }\n }`}}return n.\u0275fac=function(e){return new(e||n)(I($s))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ALe(n,t){if(1&n&&C(0),2&n){const e=t.item;me(" ",x().getDisplayFn()(e)," ")}}function ILe(n,t){1&n&&T(0,"tr",15)}function OLe(n,t){1&n&&T(0,"tr",16)}function RLe(n,t){1&n&&(f(0,"th",17),Ce(1,18),m())}function NLe(n,t){}const FLe=function(n){return{item:n}};function PLe(n,t){if(1&n&&(f(0,"td",19),S(1,NLe,0,0,"ng-template",20),m()),2&n){const e=t.$implicit,i=x(2),r=mt(2);b(1),_("ngTemplateOutletContext",As(2,FLe,e))("ngTemplateOutlet",i.itemTemplate?i.itemTemplate:r)}}function LLe(n,t){1&n&&T(0,"th",17)}function BLe(n,t){if(1&n){const e=Y();f(0,"button",22),E("click",function(){B(e);const r=x().$implicit;return V(x(2).removeRelation(r))}),T(1,"mat-icon",23),m()}if(2&n){const e=x().$implicit;_("disabled",x(2).removing.has(e))}}function VLe(n,t){if(1&n&&(f(0,"td",19),S(1,BLe,2,1,"button",21),m()),2&n){const e=x(2);b(1),_("ngIf",!e.disabled)}}function zLe(n,t){if(1&n&&(f(0,"table",8),S(1,ILe,1,0,"tr",9),S(2,OLe,1,0,"tr",10),Dt(3,11),S(4,RLe,2,0,"th",12),S(5,PLe,2,4,"td",13),St(),Dt(6,14),S(7,LLe,1,0,"th",12),S(8,VLe,2,1,"td",13),St(),m()),2&n){const e=x();_("dataSource",e.dataSource),b(1),_("matHeaderRowDef",e.displayedColumns),b(1),_("matRowDefColumns",e.displayedColumns)}}function HLe(n,t){if(1&n){const e=Y();f(0,"mat-paginator",24),E("page",function(r){return B(e),V(x().pagination(r))}),m()}if(2&n){const e=x();_("length",(null==e.dataSource||null==e.dataSource.data?null:e.dataSource.data.length)||0)("pageIndex",(null==e.dataSource||null==e.dataSource.data?null:e.dataSource.data.pageIndex)||0)("pageSizeOptions",e.pageSizeOptions)("pageSize",(null==e.dataSource||null==e.dataSource.data?null:e.dataSource.data.pageSize)||0)}}function $Le(n,t){1&n&&(f(0,"div",25)(1,"span"),Ce(2,26),m()())}function jLe(n,t){1&n&&T(0,"mat-progress-spinner",27),2&n&&_("diameter",40)}function ULe(n,t){if(1&n){const e=Y();f(0,"natural-select",28),E("selectionChange",function(r){return B(e),V(x().addRelations([r]))}),m()}if(2&n){const e=x();_("displayWith",e.getDisplayFn())("filter",e.autocompleteSelectorFilter)("placeholder",e.placeholder)("service",e.service)("showIcon",!1)}}function GLe(n,t){if(1&n){const e=Y();f(0,"div")(1,"button",29),E("click",function(){return B(e),V(x().openNaturalHierarchicSelector())}),C(2),m()()}if(2&n){const e=x();b(2),xe(e.placeholder)}}let qLe=(()=>{class n extends ss{constructor(e,i){super(),this.linkMutationService=e,this.hierarchicSelectorDialog=i,this.placeholder="",this.disabled=!1,this.selectionChange=new j,this.loading=!1,this.displayedColumns=["name"],this.pageSizeOptions=[5,25,50,100],this.defaultPagination={pageIndex:0,pageSize:25},this.variablesManager=new ua,this.removing=new Set}set filter(e){this.variablesManager.set("relations-filter",{filter:e})}ngOnInit(){this.pagination(),this.main&&this.main.permissions&&(this.disabled=this.disabled||!this.main.permissions.update)}ngOnChanges(){this.service&&this.queryItems(),this.disabled&&this.displayedColumns.indexOf("unlink")>-1?this.displayedColumns.pop():!this.disabled&&-1===this.displayedColumns.indexOf("unlink")&&this.displayedColumns.push("unlink")}removeRelation(e){this.removing.add(e),this.linkMutationService.unlink(this.main,e,this.otherName).pipe(Co(()=>this.removing.delete(e))).subscribe(()=>this.dataSource?.remove(e))}addRelations(e){ko(e.filter(r=>!!r&&"object"==typeof r).map(r=>this.linkMutationService.link(this.main,r,this.otherName))).subscribe(()=>{this.selectionChange.emit(),this.select?.clear()})}pagination(e){let i=null;e&&(e.pageIndex!==this.defaultPagination.pageIndex||e.pageSize!==this.defaultPagination.pageSize)&&(i={pageIndex:e.pageIndex,pageSize:e.pageSize}),this.variablesManager.set("pagination",{pagination:i||this.defaultPagination})}getDisplayFn(){return this.displayWith?this.displayWith:e=>e?e.fullName||e.name:""}openNaturalHierarchicSelector(){const e=this.getSelectKey();e&&this.hierarchicSelectorConfig&&this.hierarchicSelectorDialog.open({hierarchicConfig:this.hierarchicSelectorConfig,hierarchicSelection:{},hierarchicFilters:this.hierarchicSelectorFilters,multiple:!0}).afterClosed().subscribe(o=>{if(o&&void 0!==o.hierarchicSelection){const a=o.hierarchicSelection[e];a.length&&this.addRelations(a)}})}queryItems(){if(!this.service)return;this.loading=!0;const e=this.service.watchAll(this.variablesManager).pipe(se(this.ngUnsubscribe),Ht({next:()=>this.loading=!1,complete:()=>this.loading=!1,error:()=>this.loading=!1}));this.dataSource=new C9(e)}getSelectKey(){if(this.hierarchicSelectorConfig)return this.hierarchicSelectorConfig.filter(e=>!!e.selectableAtKey)[0].selectableAtKey}}return n.\u0275fac=function(e){return new(e||n)(g(l$),g(nM))},n.\u0275cmp=$({type:n,selectors:[["natural-relations"]],contentQueries:function(e,i,r){if(1&e&&Ee(r,kt,5),2&e){let o;U(o=G())&&(i.itemTemplate=o.first)}},viewQuery:function(e,i){if(1&e&&ve(Xy,5),2&e){let r;U(r=G())&&(i.select=r.first)}},inputs:{service:"service",placeholder:"placeholder",autocompleteSelectorFilter:"autocompleteSelectorFilter",displayWith:"displayWith",disabled:"disabled",main:"main",hierarchicSelectorFilters:"hierarchicSelectorFilters",hierarchicSelectorConfig:"hierarchicSelectorConfig",otherName:"otherName",filter:"filter"},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[N,Je,Se],decls:9,vars:6,consts:function(){let t,e,i;return t=$localize`:␟622c8cdb03ed166e3e1b652021cf0992cb26bc18␟6518032478600962138:Titre`,e=$localize`:␟3aeaa4ce648ca57b4432ae80ca47541597ae574e␟5982725333971978109:Dissocier`,i=$localize`:␟dd6839133282aa13835f301df1cae5bc06cef85f␟8332478813279888013:Aucun résultat`,[[1,"body"],["defaultNameCell",""],["class","natural-row-click","mat-table","",3,"dataSource",4,"ngIf"],[3,"length","pageIndex","pageSizeOptions","pageSize","page",4,"ngIf"],["class","margin-v mat-body",4,"ngIf"],["class","loading","mode","indeterminate",3,"diameter",4,"ngIf"],[3,"displayWith","filter","placeholder","service","showIcon","selectionChange",4,"ngIf"],[4,"ngIf"],["mat-table","",1,"natural-row-click",3,"dataSource"],["mat-header-row","","style","display: none",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","unlink"],["mat-header-row","",2,"display","none"],["mat-row",""],["mat-header-cell",""],t,["mat-cell",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],["color","warn","mat-icon-button","","matTooltip",e,3,"disabled","click",4,"ngIf"],["color","warn","mat-icon-button","","matTooltip",e,3,"disabled","click"],["naturalIcon","link_off"],[3,"length","pageIndex","pageSizeOptions","pageSize","page"],[1,"margin-v","mat-body"],i,["mode","indeterminate",1,"loading",3,"diameter"],[3,"displayWith","filter","placeholder","service","showIcon","selectionChange"],["color","primary","mat-flat-button","",3,"click"]]},template:function(e,i){1&e&&(f(0,"div",0),S(1,ALe,1,1,"ng-template",null,1,_o),S(3,zLe,9,3,"table",2),S(4,HLe,1,4,"mat-paginator",3),S(5,$Le,3,0,"div",4),S(6,jLe,1,1,"mat-progress-spinner",5),m(),S(7,ULe,1,5,"natural-select",6),S(8,GLe,3,1,"div",7)),2&e&&(b(3),_("ngIf",i.dataSource),b(1),_("ngIf",(null==i.dataSource?null:i.dataSource.data)&&((null==i.dataSource||null==i.dataSource.data?null:i.dataSource.data.length)||0)>((null==i.dataSource||null==i.dataSource.data?null:i.dataSource.data.pageSize)||0)),b(1),_("ngIf",!i.loading&&0===(null==i.dataSource||null==i.dataSource.data?null:i.dataSource.data.length)),b(1),_("ngIf",i.loading),b(1),_("ngIf",!i.hierarchicSelectorConfig&&i.service&&!i.disabled),b(1),_("ngIf",i.hierarchicSelectorConfig&&!i.disabled))},dependencies:[ke,Le,Vd,Av,Hp,Lu,$p,Bu,Pu,jp,Vu,zu,Up,Gp,ct,tn,Nr,ps,fs,li,Zn,fi,fM,hM,Sm,Dm,Xy],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:20px}[_nghost-%COMP%] .body[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .loading[_ngcontent-%COMP%]{margin:20px auto}[_nghost-%COMP%] .mat-column-unlink[_ngcontent-%COMP%]{width:2.5em}"]}),n})(),WLe=(()=>{class n extends Ti{constructor(e,i){super(e,i)}watchAll(){return ee({items:[],length:0,pageIndex:0,pageSize:5}).pipe(hi(500))}getAll(){return ee({items:[],length:0,pageIndex:0,pageSize:5}).pipe(hi(500))}count(){return ee(0).pipe(hi(500))}}return n.\u0275fac=function(e){return new(e||n)(I($s),I(vv))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Jy(n){return oc(1e3).pipe(ue(()=>{throw new Error("ErrorService."+n+" error")}))}let mh=(()=>{class n extends LS{constructor(e,i){super(e,i,"user",null,null,null,null,null)}watchAll(){return Jy("watchAll")}getAll(){return Jy("getAll")}getOne(){return Jy("getOne")}count(){return Jy("count")}}return n.\u0275fac=function(e){return new(e||n)(I($s),I(vv))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function YLe(n,t){if(1&n){const e=Y();f(0,"div",3)(1,"div")(2,"div",4),C(3,"Hierarchic selector"),m(),f(4,"natural-relations",5),E("selectionChange",function(){return B(e),V(x().relationsAdded("Hierarchic selector"))}),m()(),f(5,"div")(6,"div",4),C(7,"Service"),m(),f(8,"natural-relations",6),E("selectionChange",function(){return B(e),V(x().relationsAdded("Service"))}),m()(),f(9,"div")(10,"div",4),C(11,"No result service"),m(),f(12,"natural-relations",6),E("selectionChange",function(){return B(e),V(x().relationsAdded("NoResultService"))}),m()(),f(13,"div")(14,"div",4),C(15,"ErrorService"),m(),f(16,"natural-relations",6),E("selectionChange",function(){return B(e),V(x().relationsAdded("ErrorService"))}),m()()()}if(2&n){const e=x();_("formGroup",e.form),b(4),_("hierarchicSelectorConfig",e.hierarchicConfig)("main",e.data.model)("service",e.service),b(4),_("main",e.data.model)("service",e.service),b(4),_("main",e.data.model)("service",e.noResultService),b(4),_("main",e.data.model)("service",e.errorService)}}let KLe=(()=>{class n extends o${constructor(e,i,r){super("any",e),this.noResultService=i,this.errorService=r,this.hierarchicConfig=[{service:Ti,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}relationsAdded(e){console.log("Relations added",e)}}return n.\u0275fac=function(e){return new(e||n)(g(Ti),g(WLe),g(mh))},n.\u0275cmp=$({type:n,selectors:[["app-relations"]],standalone:!0,features:[N,Se],decls:5,vars:1,consts:[[1,"mat-headline-4"],[1,"mat-body-2"],["fxLayout","row","fxLayoutGap","50px",3,"formGroup",4,"ngIf"],["fxLayout","row","fxLayoutGap","50px",3,"formGroup"],[1,"mat-headline-6"],["placeholder","Link",3,"hierarchicSelectorConfig","main","service","selectionChange"],["placeholder","Link",3,"main","service","selectionChange"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-relations"),m(),f(2,"div",1),C(3,"Use ItemService.watchAll() that always returns 5 elements. Seems to be buggy but it's normal."),m(),S(4,YLe,17,10,"div",2)),2&e&&(b(4),_("ngIf",i.isFetched()))},dependencies:[Ln,En,Pn,Ut,si,sn,gn,qLe,ke,Le],styles:["[_nghost-%COMP%] > div[_ngcontent-%COMP%] natural-relations[_ngcontent-%COMP%]{padding:20px;background:rgba(0,0,0,.1);border-radius:4px}"]}),n})();function QLe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),Sw("",e.render(e.fromCtrl.value)," > ",e.render(e.toCtrl.value),"")}}function XLe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("< ",e.configuration.min,"")}}function JLe(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me("> ",e.configuration.max,"")}}function ZLe(n,t){1&n&&(f(0,"mat-error"),C(1,"*"),m())}function e3e(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me(" < ",e.configuration.min,"")}}function t3e(n,t){if(1&n&&(f(0,"mat-error"),C(1),m()),2&n){const e=x();b(1),me(" > ",e.configuration.max,"")}}function n3e(n,t){1&n&&(f(0,"mat-error"),C(1,"*"),m())}class i3e{isErrorState(t,e){return e&&e.invalid&&(e.value.to||e.value.from)||t&&t.invalid}}function c$(n,t){const e=n.get(t);return e?e.value:null}function r3e(n){return t=>{const e=c$(t,"from"),i=c$(t,"to");return e&&i&&n.compareDate(e,i)>0?{toGreaterThanFrom:!0}:null}}let o3e=(()=>{class n{constructor(e,i,r){this.dateAdapter=i,this.dateFormats=r,this.renderedValue=new ft(""),this.matcher=new i3e,this.fromCtrl=new wt(null),this.toCtrl=new wt(null),this.form=new $n({from:this.fromCtrl,to:this.toCtrl}),this.defaults={min:null,max:null},this.configuration={...this.defaults,...e.configuration},dt(this.fromCtrl.valueChanges,this.toCtrl.valueChanges).subscribe(()=>{this.renderedValue.next(this.getRenderedValue())}),this.initValidators(),this.reloadCondition(e.condition)}getCondition(){const e=Iy(this.dateAdapter,this.fromCtrl.value),i=Iy(this.dateAdapter,this.toCtrl.value);return e&&i?{between:{from:e,to:i}}:{}}isValid(){return this.form.valid}isDirty(){return this.form.dirty}reloadCondition(e){if(!e)return;const i={from:null,to:null};e.between&&(i.from=this.dateAdapter.parse(e.between.from,null),i.to=this.dateAdapter.parse(e.between.to,null)),this.form.setValue(i)}initValidators(){const e=[$t.required];this.configuration.min&&e.push(v7(this.dateAdapter,this.configuration.min)),this.configuration.max&&e.push(y7(this.dateAdapter,this.configuration.max)),this.fromCtrl.setValidators(e),this.toCtrl.setValidators(e),this.form.setValidators([r3e(this.dateAdapter)])}render(e){return e?this.dateAdapter.format(e,this.dateFormats.display.dateInput):""}getRenderedValue(){const e=this.render(this.fromCtrl.value),i=this.render(this.toCtrl.value);return e&&i?e+" - "+i:""}}return n.\u0275fac=function(e){return new(e||n)(g(wa),g(Hn),g(es))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:18,vars:20,consts:[[3,"formGroup"],["matInput","","placeholder","De",3,"matDatepicker","formControl","errorStateMatcher","min","max"],["matIconSuffix","",3,"for"],["from",""],[4,"ngIf"],["matInput","","placeholder","\xe0",3,"matDatepicker","formControl","errorStateMatcher","min","max"],["to",""]],template:function(e,i){if(1&e&&(f(0,"form",0)(1,"mat-form-field"),T(2,"input",1)(3,"mat-datepicker-toggle",2)(4,"mat-datepicker",null,3),S(6,QLe,2,2,"mat-error",4),S(7,XLe,2,1,"mat-error",4),S(8,JLe,2,1,"mat-error",4),S(9,ZLe,2,0,"mat-error",4),m(),f(10,"mat-form-field"),T(11,"input",5)(12,"mat-datepicker-toggle",2)(13,"mat-datepicker",null,6),S(15,e3e,2,1,"mat-error",4),S(16,t3e,2,1,"mat-error",4),S(17,n3e,2,0,"mat-error",4),m()()),2&e){const r=mt(5),o=mt(14);_("formGroup",i.form),b(2),_("matDatepicker",r)("formControl",i.fromCtrl)("errorStateMatcher",i.matcher)("min",i.configuration.min)("max",i.configuration.max),b(1),_("for",r),b(3),_("ngIf",i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.fromCtrl.hasError("min")&&!i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.fromCtrl.hasError("max")&&!i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.fromCtrl.hasError("required")),b(2),_("matDatepicker",o)("formControl",i.toCtrl)("errorStateMatcher",i.matcher)("min",i.configuration.min)("max",i.configuration.max),b(1),_("for",o),b(3),_("ngIf",i.toCtrl.hasError("min")&&!i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.toCtrl.hasError("max")&&!i.form.hasError("toGreaterThanFrom")),b(1),_("ngIf",i.toCtrl.hasError("required"))}},dependencies:[Ut,vc,ui,jt,si,sn,an,gn,_n,An,to,kc,Ii,Ai,UE,O7,Fy,$E,ke,Le],encapsulation:2}),n})(),d$=(()=>{class n{constructor(e){this.renderedValue=new ft(""),this.requireValueCtrl=!1,this.operators=l7,this.operatorCtrl=new wt("is",{nonNullable:!0}),this.valueCtrl=new wt,this.form=new $n({operator:this.operatorCtrl,value:this.valueCtrl}),this.configuration=e.configuration,this.operatorCtrl.valueChanges.pipe(zt(null)).subscribe(()=>this.initValidators()),dt(this.operatorCtrl.valueChanges,this.valueCtrl.valueChanges).subscribe(()=>{const i=this.getRenderedValue();this.renderedValue.next(i)}),this.reloadCondition(e.condition)}isValid(){return this.form.valid}isDirty(){return this.form.dirty}initValidators(){this.requireValueCtrl=["is","isnot"].includes(this.operatorCtrl.value),this.valueCtrl.setValidators(this.requireValueCtrl?[$t.required]:[]),this.valueCtrl.updateValueAndValidity()}reloadCondition(e){if(!e)return;const i=this.conditionToOperatorKey(e);this.operatorCtrl.setValue(i),this.reloadValue(e).subscribe(r=>{this.valueCtrl.setValue(r),this.renderedValue.next(this.getRenderedValue())})}getRenderedValue(){const e=this.operators.find(r=>r.key===this.operatorCtrl.value);if(!e||!this.isValid())return"";const i=this.renderValueWithoutOperator();return[e.label,i].filter(r=>r).join(" ")}conditionToOperatorKey(e){return e.have&&!e.have.not?"is":e.have&&e.have.not?"isnot":e.empty&&e.empty.not?"any":e.empty&&!e.empty.not?"none":"is"}operatorKeyToCondition(e,i){switch(e){case"is":return{have:{values:i}};case"isnot":return{have:{values:i,not:!0}};case"any":return{empty:{not:!0}};case"none":return{empty:{not:!1}};default:throw new Error("Unsupported operator key: "+e)}}}return n.\u0275fac=function(e){return new(e||n)(g(wa))},n.\u0275dir=R({type:n}),n})();function a3e(n,t){if(1&n&&(f(0,"mat-option",6),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}const s3e=function(){return{}};function l3e(n,t){if(1&n){const e=Y();f(0,"natural-hierarchic-selector",7),E("selectionChange",function(r){return B(e),V(x().selectionChange(r))}),m()}if(2&n){const e=x();_("config",e.configuration.config)("filters",e.configuration.filters)("multiple",!0)("selected",e.valueCtrl.value||wn(4,s3e))}}let u$=(()=>{class n extends d${getCondition(){if(!this.isValid())return{};const e=this.valueCtrl.value?.[this.configuration.key].map(i=>i.id)??[];return this.operatorKeyToCondition(this.operatorCtrl.value,e)}reloadValue(e){if(!e.have)return vn;const i=e.have.values,r=new ua;return r.set("a",{filter:{groups:[{conditions:[{id:{in:{values:i}}}]}]}}),this.configuration.service.getAll(r).pipe(ue(o=>{const a={};return a[this.configuration.key]=o.items,this.noEmptySelection(a)}))}renderValueWithoutOperator(){const e=this.valueCtrl.value?.[this.configuration.key];return e?e.map(i=>i.fullName||i.name).join(", "):""}selectionChange(e){this.valueCtrl.setValue(this.noEmptySelection(e)),this.valueCtrl.markAsDirty()}noEmptySelection(e){return e[this.configuration.key].length?e:null}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[N,Se],decls:7,vars:5,consts:function(){let t;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,[[3,"formGroup"],[2,"max-width","7em","margin-right","1em"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],["style","margin-right: 20px",3,"config","filters","multiple","selected","selectionChange",4,"ngIf"],[3,"value"],[2,"margin-right","20px",3,"config","filters","multiple","selected","selectionChange"]]},template:function(e,i){1&e&&(f(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),Ce(3,2),m(),f(4,"mat-select",3),S(5,a3e,2,2,"mat-option",4),m()(),S(6,l3e,1,5,"natural-hierarchic-selector",5),m()),2&e&&(_("formGroup",i.form),b(4),_("formControl",i.operatorCtrl)("required",!0),b(1),_("ngForOf",i.operators),b(1),_("ngIf",i.requireValueCtrl))},dependencies:[Ut,vc,jt,si,eo,sn,an,gn,_n,An,Tn,jc,$c,da,ke,Zt,Le,Oo,tM],encapsulation:2}),n})();function c3e(n,t){if(1&n&&(f(0,"mat-option",7),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}function d3e(n,t){if(1&n&&(f(0,"mat-form-field",3)(1,"mat-label"),Ce(2,4),m(),f(3,"mat-select",5),S(4,c3e,2,2,"mat-option",6),m()()),2&n){const e=x();b(3),_("formControl",e.operatorCtrl)("required",!0),b(1),_("ngForOf",e.operators)}}function u3e(n,t){if(1&n&&(f(0,"mat-list-option",10),C(1),m()),2&n){const e=t.$implicit,i=x(2);_("value",i.getId(e)),b(1),me(" ",i.getDisplay(e)," ")}}function h3e(n,t){if(1&n&&(f(0,"mat-selection-list",8),S(1,u3e,2,2,"mat-list-option",9),m()),2&n){const e=x();_("formControl",e.valueCtrl),b(1),_("ngForOf",e.items)}}let Em=(()=>{class n extends ss{constructor(e){super(),this.renderedValue=new ft(""),this.requireValueCtrl=!1,this.operators=l7,this.operatorCtrl=new wt("is",{nonNullable:!0}),this.valueCtrl=new wt,this.form=new $n({operator:this.operatorCtrl,value:this.valueCtrl}),this.items=[],this.defaults={items:[],multiple:!0,operators:!0},this.configuration={...this.defaults,...e.configuration},this.operatorCtrl.valueChanges.pipe(zt(null)).subscribe(()=>this.initValidators()),dt(this.operatorCtrl.valueChanges,this.valueCtrl.valueChanges).subscribe(()=>{const i=this.getRenderedValue();this.renderedValue.next(i)}),this.reloadCondition(e.condition)}ngAfterViewInit(){!this.isMultiple()&&this.list&&(this.list.selectedOptions._multiple=!1)}getId(e){return"object"==typeof e&&e?e.id||e.value:e}getDisplay(e){return"object"==typeof e&&e&&e.name?e.name:e}getCondition(){return this.isValid()?this.operatorKeyToCondition(this.operatorCtrl.value,this.valueCtrl.value):{}}isValid(){return this.form.valid}isDirty(){return this.form.dirty}initValidators(){this.requireValueCtrl=["is","isnot"].includes(this.operatorCtrl.value),this.valueCtrl.setValidators(this.requireValueCtrl?[$t.required]:[]),this.valueCtrl.updateValueAndValidity()}isMultiple(){return this.configuration.multiple}getItemById(e){return this.items.find(i=>this.getId(i)===e)}reloadCondition(e){if(e){const i=this.conditionToOperatorKey(e);this.operatorCtrl.setValue(i)}this.reloadValue(e).subscribe(i=>{this.valueCtrl.setValue(i),this.renderedValue.next(this.getRenderedValue())})}reloadValue(e){const i=e?.in?.values??[];return(Array.isArray(this.configuration.items)?ee(this.configuration.items):this.configuration.items).pipe(se(this.ngUnsubscribe),ue(o=>{this.items=o;const a=this.items.map(l=>this.getId(l));return i.filter(l=>a.some(c=>c===l))}))}getRenderedValue(){const e=this.operators.find(r=>r.key===this.operatorCtrl.value);if(!e||!this.isValid())return"";const i=this.valueCtrl.value?.map(r=>{const o=this.getItemById(r);if(o)return this.getDisplay(o)}).join(", ")??null;return[e.label,i].filter(r=>r).join(" ")}conditionToOperatorKey(e){return!this.configuration.operators||e.in&&!e.in.not?"is":e.in&&e.in.not?"isnot":e.null&&e.null.not?"any":e.null&&!e.null.not?"none":"is"}operatorKeyToCondition(e,i){switch(e){case"is":return{in:{values:i}};case"isnot":return{in:{values:i,not:!0}};case"any":return{null:{not:!0}};case"none":return{null:{not:!1}};default:throw new Error("Unsupported operator key: "+e)}}}return n.\u0275fac=function(e){return new(e||n)(g(wa))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],viewQuery:function(e,i){if(1&e&&ve(ZE,5),2&e){let r;U(r=G())&&(i.list=r.first)}},standalone:!0,features:[N,Se],decls:3,vars:3,consts:function(){let t;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,[[3,"formGroup"],["style","max-width: 7em; margin-right: 1em",4,"ngIf"],[3,"formControl",4,"ngIf"],[2,"max-width","7em","margin-right","1em"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formControl"],["checkboxPosition","before",3,"value",4,"ngFor","ngForOf"],["checkboxPosition","before",3,"value"]]},template:function(e,i){1&e&&(f(0,"form",0),S(1,d3e,5,3,"mat-form-field",1),S(2,h3e,2,2,"mat-selection-list",2),m()),2&e&&(_("formGroup",i.form),b(1),_("ngIf",i.configuration.operators),b(1),_("ngIf",i.requireValueCtrl))},dependencies:[Ut,vc,jt,si,eo,sn,an,gn,ke,Zt,Le,_n,An,Tn,jc,$c,da,Oo,eM,ZE,r9],encapsulation:2}),n})();function f3e(n,t){if(1&n&&(f(0,"mat-option",6),C(1),m()),2&n){const e=t.$implicit;_("value",e.key),b(1),me(" ",e.label," ")}}function p3e(n,t){if(1&n&&T(0,"natural-select",7),2&n){const e=x();_("formControl",e.valueCtrl)("placeholder",e.configuration.placeholder)("service",e.configuration.service)("filter",e.configuration.filter)}}let h$=(()=>{class n extends d${getCondition(){if(!this.isValid())return{};const e=this.valueCtrl.value?.id;return this.operatorKeyToCondition(this.operatorCtrl.value,e?[e]:[])}reloadValue(e){return e.have?this.configuration.service.getOne(e.have.values[0]):vn}renderValueWithoutOperator(){const e=this.valueCtrl.value;return e?.fullName||e?.name||""}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[N,Se],decls:7,vars:5,consts:function(){let t;return t=$localize`:Mathematical operator < > =␟5303b7a3dba72e7b2b83d54ecffbe9da76edaca3␟725374975979979308:Opérateur`,[[3,"formGroup"],[2,"max-width","7em","margin-right","1em"],t,["panelWidth","",3,"formControl","required"],[3,"value",4,"ngFor","ngForOf"],["style","display: inline",3,"formControl","placeholder","service","filter",4,"ngIf"],[3,"value"],[2,"display","inline",3,"formControl","placeholder","service","filter"]]},template:function(e,i){1&e&&(f(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),Ce(3,2),m(),f(4,"mat-select",3),S(5,f3e,2,2,"mat-option",4),m()(),S(6,p3e,1,4,"natural-select",5),m()),2&e&&(_("formGroup",i.form),b(4),_("formControl",i.operatorCtrl)("required",!0),b(1),_("ngForOf",i.operators),b(1),_("ngIf",i.configuration&&i.requireValueCtrl))},dependencies:[Ut,vc,jt,si,eo,sn,an,gn,_n,An,Tn,jc,$c,da,ke,Zt,Le,Oo,Xy],encapsulation:2}),n})();function m3e(n,t){if(1&n&&(f(0,"mat-button-toggle",2),C(1),m()),2&n){const e=t.$implicit;_("value",e),b(1),xe(e.display)}}let f$=(()=>{class n{constructor(e,i){if(this.data=e,this.dropdownRef=i,this.renderedValue=new ft(""),this.formControl=new wt({},{nonNullable:!0}),this.defaults={options:[]},this.configuration={...this.defaults,...e.configuration},!this.configuration.options.length)throw new Error("TypeOptions need options, empty array or null given");if(this.formControl.setValidators([$t.required]),e.condition){const r=this.configuration.options.find(o=>pp(o.condition,e.condition));r&&(this.formControl.setValue(r),this.renderedValue.next(r.display))}this.formControl.valueChanges.subscribe(r=>{r&&(this.renderedValue.next(r.display),this.dropdownRef.close(r))})}getCondition(){return this.isValid()?this.formControl.value.condition:{}}isValid(){return this.formControl.valid&&!!this.formControl.value?.condition}isDirty(){return this.formControl.dirty}}return n.\u0275fac=function(e){return new(e||n)(g(wa),g(ms))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:2,vars:2,consts:[[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(f(0,"mat-button-toggle-group",0),S(1,m3e,2,2,"mat-button-toggle",1),m()),2&e&&(_("formControl",i.formControl),b(1),_("ngForOf",i.configuration.options))},dependencies:[Ut,jt,sn,an,ke,Zt,ME,ky,Ey],encapsulation:2}),n})();function g3e(n,t){if(1&n&&(f(0,"mat-button-toggle",2),C(1),m()),2&n){const e=t.$implicit;_("value",e),b(1),xe(e.display)}}let _3e=(()=>{class n extends f${constructor(e,i){const r={options:[{display:e.configuration.displayWhenActive,condition:{equal:{value:!0}}},{display:e.configuration.displayWhenInactive,condition:{equal:{value:!1}}}]};super({...e,configuration:r},i)}}return n.\u0275fac=function(e){return new(e||n)(g(wa),g(ms))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[N,Se],decls:2,vars:2,consts:[[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(f(0,"mat-button-toggle-group",0),S(1,g3e,2,2,"mat-button-toggle",1),m()),2&e&&(_("formControl",i.formControl),b(1),_("ngForOf",i.configuration.options))},dependencies:[Ut,jt,sn,an,ke,Zt,ME,ky,Ey],encapsulation:2}),n})(),b3e=(()=>{class n{constructor(e,i,r,o){this.router=e,this.route=i,this.itemService=r,this.errorService=o,this.facets1=[{display:"Active",field:"isActive",component:_3e,showValidateButton:!1,configuration:{displayWhenActive:"Actives",displayWhenInactive:"Inactives"}},{display:"Options / Facets",field:"isFlagged",component:f$,showValidateButton:!1,configuration:{options:[{display:"Is active",condition:{equal:{value:!0}}},{display:"Is inactive",condition:{equal:{value:!0}}},{display:"Is not defined",condition:{null:{}}},{display:"Is defined",condition:{null:{not:!0}}}]}},{display:"Date",field:"date",component:N7},{display:"Date range",field:"date",name:"dateRange",component:o3e},{display:"Artist",field:"artist.name",component:d7},{display:"Number",field:"number",component:My},{display:"Same field number",field:"sameField",name:"sameFieldNumber",component:My},{display:"Same field string",field:"sameField",name:"sameFieldString",component:d7},{display:"Hierarchic",field:"hierarchic",component:u$,configuration:{key:"any",service:this.itemService,config:[{service:Ti,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}},{display:"Hierarchic with error",field:"hierarchic-with-error",component:u$,configuration:{key:"any",service:this.errorService,config:[{service:mh,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}},{display:"Select single",field:"single",component:Em,configuration:{items:[{id:1,name:"Option A"},{id:2,name:"Option B"},{id:3,name:"Option C"}],multiple:!1}},{display:"Overflow menu",field:"overflow",component:Em,configuration:{items:[{id:1,name:"Option A"},{id:2,name:"Option B"},{id:3,name:"Option C"},{id:4,name:"Option D"},{id:5,name:"Option E"},{id:6,name:"Option F"},{id:7,name:"Option G"},{id:8,name:"Option H"},{id:9,name:"Option I"},{id:10,name:"Option J"},{id:11,name:"Option K"},{id:12,name:"Option L"},{id:13,name:"Option M"},{id:14,name:"Option N"},{id:15,name:"Option O"},{id:16,name:"Option P"},{id:17,name:"Option Q"},{id:18,name:"Option R"},{id:19,name:"Option S"},{id:20,name:"Option T"},{id:21,name:"Option U"},{id:22,name:"Option V"},{id:23,name:"Option W"},{id:24,name:"Option X"},{id:25,name:"Option Y"},{id:26,name:"Option Z"},{id:27,name:"One before last option"},{id:28,name:"Last option"}],multiple:!1}},{display:"Select multiple",field:"multiple",component:Em,configuration:{items:[{id:1,name:"Option A asd fasdfasd fasdfadfa as asd afd asd fas fasf ad fasf asfas"},{id:2,name:"Option B asd fasdfasd fasdfadfa as asd afd asd fas fasf ad fasf asfas"},{id:3,name:"Option C asd fasdfasd fasdfadfa as asd afd asd fas fasf ad fasf asfas"}],multiple:!0}},{display:"Select 2s delayed",field:"delayed",component:Em,configuration:{items:oc(2e3).pipe(ue(()=>[{id:1,name:"Option A"},{id:2,name:"Option B"},{id:3,name:"Option C"}])),multiple:!0}},{display:"Select without operators",field:"nooperator",component:Em,configuration:{items:[{id:1,name:"Option A"},{id:2,name:"Option B"},{id:3,name:"Option C"}],operators:!1}},{display:"Is published",field:"published",condition:{equal:{value:!0}}},{display:"Include archives",field:"archived",inversed:!0,condition:{equal:{value:!1}}},{display:"Natural select",field:"natural-select",component:h$,configuration:{service:this.itemService}},{display:"Natural select with error",field:"natural-select-with-error",component:h$,configuration:{service:this.errorService}}],this.facets=this.facets1,this.facets2=[{display:"Number less than 100",field:"number",component:My,configuration:{max:100}},{display:"With archives",field:"archived",condition:{equal:{value:!0}}}],this.graphqlSelections={},this.selections=[[{field:"delayed",condition:{in:{values:[1]}}},{field:"single",condition:{in:{values:[2]}}},{field:"overflow",condition:{in:{values:[2]}}},{field:"artist.name",condition:{like:{value:"picasso"}}},{field:"number",condition:{equal:{value:123}}},{field:"archived",condition:{equal:{value:"true"}}},{field:"unsued",condition:{equal:{value:"unused value"}}},{field:"search",condition:{like:{value:"searched"}}},{field:"sameField",name:"sameFieldNumber",condition:{equal:{value:123}}},{field:"multiple",condition:{in:{values:[1,2]}}}]]}ngOnInit(){const e=this.route.snapshot.params.search;e&&(this.selections=uM(e))}updateFilter(e){this.graphqlSelections=Py(this.facets,e);const i={search:Yy(e)};this.router.navigate(["."],{relativeTo:this.route,queryParams:i})}stringify(e){return JSON.stringify(e)}toUrl(e){return Yy(e)}}return n.\u0275fac=function(e){return new(e||n)(g(ii),g(Ar),g(Ti),g(mh))},n.\u0275cmp=$({type:n,selectors:[["app-search"]],standalone:!0,features:[Se],decls:33,vars:18,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","20px"],["dropdownTitle","Very long dropdown title asdf",3,"facets","multipleGroups","selections","selectionChange"],["color","primary","mat-raised-button",""],["fxLayout","row","fxLayoutGap","20px"],["color","primary","mat-raised-button","",3,"click"],["fxFlex","",1,"debug",2,"overflow","auto"],[1,"debug",2,"overflow","auto"]],template:function(e,i){if(1&e&&(f(0,"h1",0),C(1,"natural-search"),m(),f(2,"div",1)(3,"natural-search",2),E("selectionChange",function(o){return i.updateFilter(o),i.selectionsDone=o}),f(4,"button",3),C(5,"extern."),m()(),f(6,"div",4)(7,"button",5),E("click",function(){return i.facets=i.facets1}),C(8,"Config 1"),m(),f(9,"button",5),E("click",function(){return i.facets=i.facets2}),C(10,"Config 2"),m(),f(11,"button",5),E("click",function(){return i.facets=[]}),C(12,"No config"),m()(),f(13,"div",4)(14,"pre",6)(15,"strong"),C(16,"Selections input: "),m(),C(17),Q(18,"json"),m(),f(19,"pre",6)(20,"strong"),C(21,"Selections output: "),m(),C(22),Q(23,"json"),m(),f(24,"pre",6)(25,"strong"),C(26,"GraphQL selections: "),m(),C(27),Q(28,"json"),m()(),f(29,"pre",7)(30,"strong"),C(31,"JSON serialized length: "),m(),C(32),m()()),2&e){let r;b(3),_("facets",i.facets)("multipleGroups",!0)("selections",i.selections),b(14),xe(X(18,12,i.selections)),b(5),xe(X(23,14,i.selectionsDone)),b(5),xe(X(28,16,i.graphqlSelections)),b(5),kw("\n\n Selections:\n ",i.stringify(i.selections).length,"\n ",i.stringify(i.selections),"\n\n GraphQL selections:\n ",i.stringify(i.graphqlSelections).length,"\n ",i.stringify(i.graphqlSelections),"\n\n\n Compressed selections:\n ",null==(r=i.toUrl(i.selections))?null:r.length,"\n ",i.toUrl(i.selections),"\n ")}},dependencies:[Ln,En,Pn,Qd,zy,ct,tn,ke,Kr]}),n})();class wM{constructor(t,e){this.service=t,this.errorService=e,this.required=!0,this.formControl=new wt(null,this.getRequiredAtStart()),this.formControlReplace=new wt(null,this.getRequiredAtStart()),this.formGroup=new $n({amazingField:new wt(null,this.getRequiredAtStart())}),this.formGroupReplace=new $n({amazingField:new wt(null,this.getRequiredAtStart())}),this.myValue=null,this.disabled=!1,this.freeText=null,this.withoutModelOutput=null}toggleDisabledAllFormControls(){this.formControl.disabled?this.formControl.enable():this.formControl.disable(),this.formControlReplace.disabled?this.formControlReplace.enable():this.formControlReplace.disable(),this.formGroup.disabled?this.formGroup.enable():this.formGroup.disable(),this.formGroupReplace.disabled?this.formGroupReplace.enable():this.formGroupReplace.disable(),this.disabled=!this.disabled}getRequiredAtStart(){return $t.required}getRequiredOnChange(){return $t.required}validateAllFormControls(){il(this.formControl),il(this.formControlReplace),il(this.formGroup),il(this.formGroupReplace),console.log("form errors formControl",Hu(this.formControl)),console.log("form errors formControlReplace",Hu(this.formControlReplace)),console.log("form errors formGroup",Hu(this.formGroup)),console.log("form errors formGroupReplace",Hu(this.formGroupReplace))}getNextValue(){return this.service.getOne("foo")}setValue(){this.getNextValue().subscribe(t=>{this.myValue=t,this.formControl.setValue(this.myValue),this.formGroup.setValue({amazingField:this.myValue}),this.formControlReplace=new wt(this.myValue,this.getRequiredOnChange()),this.formGroupReplace=new $n({amazingField:new wt(this.myValue,this.getRequiredOnChange())})})}clearValue(){this.myValue=null,this.formControl.setValue(this.myValue),this.formGroup.setValue({amazingField:this.myValue}),this.formControlReplace=new wt(this.myValue,this.getRequiredOnChange()),this.formGroupReplace=new $n({amazingField:new wt(this.myValue,this.getRequiredOnChange())})}updateValidatorRequired(t){t.setValidators($t.required),t.updateValueAndValidity()}updateValidatorOptional(t){t.clearValidators(),t.updateValueAndValidity()}}function v3e(n,t){if(1&n&&(T(0,"mat-icon",25),f(1,"span"),C(2),m()),2&n){const e=t.item;b(2),me("Hello ",e.name," !")}}let y3e=(()=>{class n extends wM{constructor(e,i){super(e,i),this.errorService=i}}return n.\u0275fac=function(e){return new(e||n)(g(Ti),g(mh))},n.\u0275cmp=$({type:n,selectors:[["app-select"]],standalone:!0,features:[N,Se],decls:102,vars:88,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","30px"],["fxLayout","row wrap","fxLayoutGap","10px"],["mat-raised-button","",3,"click"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px",1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["placeholder","Without model (output only)",3,"service","selectionChange"],[1,"debug"],["placeholder","Input from previous output",3,"service","ngModel"],["placeholder","Without model, required",3,"service","required"],["placeholder","With model, required",3,"service","ngModel","required","disabled","ngModelChange"],[1,"mat-h2"],["id","test-select","placeholder","FormControl (update)",3,"service","formControl"],["placeholder","FormControl (replace)",3,"service","formControl"],[1,"form-group",3,"formGroup"],["formControlName","amazingField","placeholder","FormGroup (update)",3,"service"],["formControlName","amazingField","placeholder","FormGroup (replace)",3,"service"],["matInput",""],["navigateTo","/","placeholder","With navigateTo",3,"service"],["placeholder","Without icon",3,"service","showIcon"],["icon","pets","placeholder","With custom icon",3,"service"],["clearLabel","Clear selected item","placeholder","With clear label",3,"service"],["placeholder","With service throwing error",3,"service"],["placeholder","Custom item template",3,"service"],["placeholder","Free text allowed",3,"service","ngModel","optionRequired","ngModelChange"],["naturalIcon","pets"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-select"),m(),f(2,"div",1)(3,"div",2)(4,"button",3),E("click",function(){return i.validateAllFormControls()}),C(5,"Validate controls with formControl"),m(),f(6,"button",3),E("click",function(){return i.toggleDisabledAllFormControls()}),C(7,"Disable controls with formControl"),m(),f(8,"button",3),E("click",function(){return i.setValue()}),C(9,"Set value"),m(),f(10,"button",3),E("click",function(){return i.clearValue()}),C(11,"Clear value"),m()(),f(12,"h2",4)(13,"div"),C(14,"ngModel"),m(),f(15,"button",3),E("click",function(){return i.required=!0}),C(16,"required"),m(),f(17,"button",3),E("click",function(){return i.required=!1}),C(18,"optional"),m()(),f(19,"div",5)(20,"div")(21,"natural-select",6),E("selectionChange",function(o){return i.withoutModelOutput=o}),m(),f(22,"pre",7),C(23),Q(24,"json"),m()(),T(25,"natural-select",8)(26,"natural-select",9),f(27,"div")(28,"natural-select",10),E("ngModelChange",function(o){return i.myValue=o}),m(),f(29,"pre",7),C(30),Q(31,"json"),m()()(),f(32,"h2",11),C(33,"FormControl"),m(),f(34,"div",5)(35,"div"),T(36,"natural-select",12),f(37,"button",3),E("click",function(){return i.updateValidatorRequired(i.formControl)}),C(38,"required"),m(),f(39,"button",3),E("click",function(){return i.updateValidatorOptional(i.formControl)}),C(40,"optional"),m(),f(41,"pre",7),C(42),Q(43,"json"),Q(44,"json"),Q(45,"json"),Q(46,"json"),Q(47,"json"),m()(),f(48,"div"),T(49,"natural-select",13),f(50,"pre",7),C(51),Q(52,"json"),Q(53,"json"),Q(54,"json"),Q(55,"json"),Q(56,"json"),m()()(),f(57,"h2",11),C(58,"FormGroup"),m(),f(59,"div",5)(60,"div")(61,"div",14),T(62,"natural-select",15),m(),f(63,"button",3),E("click",function(){return i.updateValidatorRequired(i.formGroup.get("amazingField"))}),C(64,"required"),m(),f(65,"button",3),E("click",function(){return i.updateValidatorOptional(i.formGroup.get("amazingField"))}),C(66,"optional"),m(),f(67,"pre",7),C(68),Q(69,"json"),Q(70,"json"),Q(71,"json"),Q(72,"json"),m()(),f(73,"div")(74,"div",14),T(75,"natural-select",16),m(),f(76,"pre",7),C(77),Q(78,"json"),Q(79,"json"),Q(80,"json"),Q(81,"json"),m()()(),f(82,"h2",11),C(83,"Others"),m(),f(84,"div",2)(85,"mat-form-field")(86,"mat-label"),C(87,"Pr\xe9text"),m(),T(88,"input",17),f(89,"mat-hint"),C(90,"Basic input field to test alt+tab and focus on next field"),m()(),T(91,"natural-select",18)(92,"natural-select",19)(93,"natural-select",20)(94,"natural-select",21)(95,"natural-select",22),f(96,"natural-select",23),S(97,v3e,3,1,"ng-template"),m(),f(98,"div")(99,"natural-select",24),E("ngModelChange",function(o){return i.freeText=o}),m(),f(100,"pre",7),C(101),m()()()()),2&e&&(b(21),_("service",i.service),b(2),me("value: ",X(24,48,i.withoutModelOutput),""),b(2),_("service",i.service)("ngModel",i.withoutModelOutput),b(1),_("service",i.service)("required",i.required),b(2),_("service",i.service)("ngModel",i.myValue)("required",i.required)("disabled",i.disabled),b(2),me("value: ",X(31,50,i.myValue),""),b(6),_("service",i.service)("formControl",i.formControl),b(6),go("touched: ",X(43,52,i.formControl.touched),"\ndirty: ",X(44,54,i.formControl.dirty),"\nstatus: ",X(45,56,i.formControl.status),"\nerrors: ",X(46,58,i.formControl.errors),"\nvalue: ",X(47,60,i.formControl.value),"\n "),b(7),_("service",i.service)("formControl",i.formControlReplace),b(2),go("touched: ",X(52,62,i.formControlReplace.touched),"\ndirty: ",X(53,64,i.formControlReplace.dirty),"\nstatus: ",X(54,66,i.formControlReplace.status),"\nerrors: ",X(55,68,i.formControlReplace.errors),"\nvalue: ",X(56,70,i.formControlReplace.value),"\n "),b(10),_("formGroup",i.formGroup),b(1),_("service",i.service),b(6),Ts("touched: ",X(69,72,i.formGroup.touched),"\ndirty: ",X(70,74,i.formGroup.dirty),"\nstatus: ",X(71,76,i.formGroup.status),"\nvalue: ",X(72,78,i.formGroup.value),"\n "),b(6),_("formGroup",i.formGroupReplace),b(1),_("service",i.service),b(2),Ts("touched: ",X(78,80,i.formGroupReplace.touched),"\ndirty: ",X(79,82,i.formGroupReplace.dirty),"\nstatus: ",X(80,84,i.formGroupReplace.status),"\nvalue: ",X(81,86,i.formGroupReplace.value),"\n "),b(14),_("service",i.service),b(1),_("service",i.service)("showIcon",!1),b(1),_("service",i.service),b(1),_("service",i.service),b(1),_("service",i.errorService),b(1),_("service",i.service),b(3),_("service",i.service)("ngModel",i.freeText)("optionRequired",!1),b(2),me("freeText: ",i.freeText,""))},dependencies:[Ln,En,Pn,Wa,ct,tn,Xy,Ut,jt,si,eo,tl,sn,an,gn,ns,_n,An,Tn,Vv,Ii,Ai,li,Zn,fi,ke,Kr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:stretch}[_nghost-%COMP%] .debug[_ngcontent-%COMP%]{max-height:200px;overflow:auto}[_nghost-%COMP%] .form-group[_ngcontent-%COMP%], [_nghost-%COMP%] .form-group[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%]{width:230px;margin-left:0;margin-right:0}"]}),n})(),C3e=(()=>{class n{constructor(e){this.alertService=e}confirm(){this.alertService.confirm("Confirm example","Are you sure ?","Do it !").subscribe(e=>console.log("confirmation result:",e))}error(){this.alertService.error("Something bad happened")}info(){this.alertService.info("Useful information")}}return n.\u0275fac=function(e){return new(e||n)(g(Wy))},n.\u0275cmp=$({type:n,selectors:[["app-panels"]],standalone:!0,features:[Se],decls:9,vars:0,consts:[[1,"mat-headline-4"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"NaturalAlertService"),m(),f(2,"div",1)(3,"a",2),E("click",function(){return i.confirm()}),C(4,"alertService.confirm()"),m(),f(5,"a",2),E("click",function(){return i.error()}),C(6,"alertService.error()"),m(),f(7,"a",2),E("click",function(){return i.info()}),C(8,"alertService.info()"),m()())},dependencies:[Ln,En,Pn,ct,Sc],encapsulation:2}),n})(),w3e=(()=>{class n{constructor(){this.link=[],this.color="accent",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-fixed-button"]],inputs:{icon:"icon",link:"link",color:"color",disabled:"disabled"},standalone:!0,features:[Se],decls:2,vars:4,consts:[["mat-fab","",3,"color","disabled","routerLink"],[3,"naturalIcon"]],template:function(e,i){1&e&&(f(0,"button",0),T(1,"mat-icon",1),m()),2&e&&(_("color",i.color)("disabled",i.disabled)("routerLink",i.link),b(1),_("naturalIcon",i.icon))},dependencies:[ct,CCe,dr,li,Zn,fi],styles:["[_nghost-%COMP%]{position:fixed!important;z-index:999;bottom:32px;right:32px}"]}),n})();function x3e(n,t){if(1&n){const e=Y();f(0,"natural-fixed-button",2),E("click",function(){return B(e),V(x().clickCreate())}),m()}if(2&n){const e=x();_("disabled",e.form.disabled)("color",e.form.valid?"accent":"warn")}}function D3e(n,t){if(1&n){const e=Y();f(0,"natural-fixed-button",3),E("click",function(){return B(e),V(x().clickDelete())}),m()}2&n&&_("disabled",x().form.disabled)}let S3e=(()=>{class n{get model(){return this._model}set model(e){this._model=e,this.canChange&&(this.isCreation=!this._model.id,this.canChange=!1)}constructor(e){this.canChange=!0,this.isCreation=!1,this.create=new j,this.delete=new j,e.params.pipe(Wp()).subscribe(()=>this.canChange=!0)}clickCreate(){this.form.enabled&&this.create.emit()}clickDelete(){this.form.enabled&&this.delete.emit()}}return n.\u0275fac=function(e){return new(e||n)(g(Ar))},n.\u0275cmp=$({type:n,selectors:[["natural-fixed-button-detail"]],inputs:{model:"model",form:"form"},outputs:{create:"create",delete:"delete"},standalone:!0,features:[Se],decls:2,vars:2,consts:function(){let t;return t=$localize`:␟6d0f238f184fc8f62fc7812df8bfd1d80ff2134c␟4278759715584032282:Supprimer définitivement`,[["class","detail-speed-dial","icon","save",3,"disabled","color","click",4,"ngIf"],["class","detail-speed-dial","color","warn","icon","delete_forever","matTooltip",t,"matTooltipPosition","left",3,"disabled","click",4,"ngIf"],["icon","save",1,"detail-speed-dial",3,"disabled","color","click"],["color","warn","icon","delete_forever","matTooltip",t,"matTooltipPosition","left",1,"detail-speed-dial",3,"disabled","click"]]},template:function(e,i){1&e&&(S(0,x3e,1,2,"natural-fixed-button",0),S(1,D3e,1,1,"natural-fixed-button",1)),2&e&&(_("ngIf",i.isCreation),b(1),_("ngIf",!i.isCreation&&(!i.model.permissions||i.model.permissions.delete)))},dependencies:[ke,Le,w3e,ps,fs]}),n})();const p$=function(){return[]};function k3e(n,t){if(1&n&&(f(0,"a",7),C(1),m()),2&n){const e=x();_("routerLink",e.isPanel?wn(3,p$):e.getRootLink())("fragment",e.listFragment),b(1),xe(e.rootLabel||e.label)}}function E3e(n,t){if(1&n&&(Dt(0),C(1," / "),f(2,"a",8),C(3),m(),St()),2&n){const e=t.$implicit,i=x();b(2),_("routerLink",i.isPanel?wn(2,p$):i.getLink(e.id)),b(1),me(" ",(null==e?null:e.fullName)||(null==e?null:e.name),"")}}function M3e(n,t){if(1&n&&(f(0,"div",9),T(1,"mat-icon",10),m()),2&n){const e=x();b(1),_("naturalIcon",e.icon)}}function T3e(n,t){if(1&n&&(f(0,"div",11),C(1),m()),2&n){const e=x();b(1),xe(e.newLabel)}}function A3e(n,t){if(1&n&&(f(0,"div",12),C(1),m()),2&n){const e=x();b(1),xe(e.model.name||e.model.fullName||e.label)}}const I3e=["*"];let m$=(()=>{class n{constructor(){this.isPanel=!1,this.icon="",this.label="",this.rootLabel="",this.newLabel="",this.breadcrumbs=[],this.listRoute=[]}getRootLink(){return[this.currentBaseUrl||"/"].concat(this.listRoute)}getLink(e){return this.link?this.getRootLink().concat(this.link(e)):this.getRootLink().concat([e])}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["natural-detail-header"]],inputs:{currentBaseUrl:"currentBaseUrl",isPanel:"isPanel",icon:"icon",label:"label",rootLabel:"rootLabel",newLabel:"newLabel",model:"model",breadcrumbs:"breadcrumbs",listRoute:"listRoute",listFragment:"listFragment",link:"link"},standalone:!0,features:[Se],ngContentSelectors:I3e,decls:9,vars:5,consts:[[1,"breadcrumb"],["color","primary","mat-button","",3,"routerLink","fragment",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"body"],["style","width: 30px",4,"ngIf"],["class","mat-headline-5 no-margin newLabel",4,"ngIf"],["class","mat-headline-5 no-margin label",4,"ngIf"],["color","primary","mat-button","",3,"routerLink","fragment"],["color","primary","mat-button","",3,"routerLink"],[2,"width","30px"],[3,"naturalIcon"],[1,"mat-headline-5","no-margin","newLabel"],[1,"mat-headline-5","no-margin","label"]],template:function(e,i){1&e&&(qe(),f(0,"div",0),S(1,k3e,2,4,"a",1),S(2,E3e,4,3,"ng-container",2),m(),f(3,"div",3),S(4,M3e,2,1,"div",4),S(5,T3e,2,1,"div",5),S(6,A3e,2,1,"div",6),f(7,"div"),re(8),m()()),2&e&&(b(1),_("ngIf",i.rootLabel||i.label),b(1),_("ngForOf",i.breadcrumbs),b(2),_("ngIf",i.icon),b(1),_("ngIf",!i.model.id),b(1),_("ngIf",i.model.id))},dependencies:[ke,Zt,Le,ct,Sc,dr,li,Zn,fi],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .breadcrumb[_ngcontent-%COMP%], [_nghost-%COMP%] .body[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .breadcrumb[_ngcontent-%COMP%]{position:relative;top:5px}[_nghost-%COMP%] .body[_ngcontent-%COMP%]{min-height:40px}[_nghost-%COMP%] .body[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:5px}[_nghost-%COMP%] .body[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], [_nghost-%COMP%] .body[_ngcontent-%COMP%] .newLabel[_ngcontent-%COMP%]{flex:1}@media screen and (max-width: 600px){[_nghost-%COMP%] .body[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .body[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:10px!important}[_nghost-%COMP%] .body[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{display:none}}"]}),n})();function O3e(n,t){if(1&n){const e=Y();f(0,"natural-fixed-button-detail",27),E("create",function(){return B(e),V(x().create())})("delete",function(){return B(e),V(x().delete())}),m()}if(2&n){const e=x();_("form",e.form)("model",e.data.model)}}const R3e=function(){return{}},N3e=function(){return["admin","product"]},g$=function(){return["."]};let F3e=(()=>{class n extends o${constructor(e){super("detail",e),this.collectErrors=Hu,this.isFetched()?this.doSomethingWithFetchedModel(this.data.model):this.doSomethingWithDefaultValues(this.data.model)}doSomethingWithFetchedModel(e){return e.id}doSomethingWithDefaultValues(e){return"id"in e}}return n.\u0275fac=function(e){return new(e||n)(g(Ti))},n.\u0275cmp=$({type:n,selectors:[["app-detail"]],standalone:!0,features:[N,Se],decls:75,vars:23,consts:[["fxLayout","column","fxLayoutGap","80px"],[1,"mat-headline-4"],["newLabel","Very Very Very Very long title","label","title zone",3,"model","listRoute"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","","color","primary","routerLink","panel/123"],["mat-flat-button","","color","primary",3,"routerLink"],["mat-flat-button","","color","primary","fragment","asdasfd",3,"routerLink"],["mat-stretch-tabs","false","naturalLinkableTab",""],["label","Tab 1","id","tab-1"],[1,"detail-body","padding-top",3,"formGroup"],["fxLayout","row wrap","fxLayoutGap","20px","fxLayoutAlign","start start"],["matInput","","formControlName","name",3,"change"],["matInput","","formControlName","description",3,"change"],["color","primary","mat-raised-button","",3,"click"],[1,"debug"],[3,"form","model","create","delete",4,"ngIf"],["label","Tab 2","id","tab-2"],["label","Tab 3","id","tab-3"],[1,"mat-h1"],["label","Tab d-2","id","tab-d-2"],["label","Tab d-3","id","tab-d-3"],["mat-stretch-tabs","false"],["label","Tab b-2","id","tab-b-2"],["label","Tab b-3","id","tab-b-3"],["mat-stretch-tabs","false",3,"naturalLinkableTab"],["label","Tab c-2","id","tab-c-2"],["label","Tab c-3","id","tab-c-3"],[3,"form","model","create","delete"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"h1",1),C(2,"NaturalAbstractDetail"),m(),f(3,"natural-detail-header",2)(4,"div",3)(5,"button",4),C(6,"Open panel"),m(),f(7,"button",5),C(8,"Clear fragment"),m(),f(9,"button",6),C(10,"Invalid fragment"),m()()(),f(11,"mat-tab-group",7)(12,"mat-tab",8)(13,"div",9)(14,"div",10)(15,"mat-form-field")(16,"mat-label"),C(17,"Name"),m(),f(18,"input",11),E("change",function(){return i.update()}),m()(),f(19,"mat-form-field")(20,"mat-label"),C(21,"Description"),m(),f(22,"input",12),E("change",function(){return i.update()}),m()(),f(23,"button",13),E("click",function(){return i.data.model.id="123"}),C(24,"Set ID to test delete button "),m()(),f(25,"pre",14)(26,"strong"),C(27,"form.enabled:"),m(),C(28),Q(29,"json"),m(),f(30,"pre",14)(31,"strong"),C(32,"form.valid:"),m(),C(33),Q(34,"json"),m(),f(35,"pre",14)(36,"strong"),C(37,"form.value:"),m(),C(38),Q(39,"json"),m(),f(40,"pre",14)(41,"strong"),C(42,"form.errors:"),m(),C(43),Q(44,"json"),m(),S(45,O3e,1,2,"natural-fixed-button-detail",15),m()(),f(46,"mat-tab",16),C(47,"Tab 2 content"),m(),f(48,"mat-tab",17),C(49,"Tab 3 content"),m()(),f(50,"div")(51,"h1",18),C(52,"Second linkable tabs"),m(),f(53,"mat-tab-group",7)(54,"mat-tab",19),C(55,"Tab d-2 content"),m(),f(56,"mat-tab",20),C(57,"Tab d-3 content"),m()()(),f(58,"div")(59,"h1",18),C(60,"Unlinkable tabs (ignored)"),m(),f(61,"mat-tab-group",21)(62,"mat-tab",22),C(63,"Tab b-2 content"),m(),f(64,"mat-tab",23),C(65,"Tab b-3 content"),m()()(),f(66,"div")(67,"h1",18),C(68,"Unlinkable tabs (set to false)"),m(),f(69,"mat-tab-group",24)(70,"mat-tab",25),C(71,"Tab c-2 content"),m(),f(72,"mat-tab",26),C(73,"Tab c-3 content"),m()()(),T(74,"router-outlet"),m()),2&e&&(b(3),_("model",wn(19,R3e))("listRoute",wn(20,N3e)),b(4),_("routerLink",wn(21,g$)),b(2),_("routerLink",wn(22,g$)),b(4),_("formGroup",i.form),b(15),xe(X(29,11,i.form.enabled)),b(5),xe(X(34,13,i.form.valid)),b(5),xe(X(39,15,i.form.value)),b(5),xe(X(44,17,i.collectErrors(i.form))),b(2),_("ngIf",i.showFabButton),b(24),_("naturalLinkableTab",!1))},dependencies:[Ln,En,Pn,Wa,m$,ct,tn,dr,B9,bM,vM,z9,Ut,ui,jt,si,sn,gn,ns,_n,An,Tn,Ii,Ai,ke,Le,Kr,S3e,Xl],styles:["[_nghost-%COMP%]{flex:1;display:flex;flex-direction:column}"]}),n})();const P3e=wb` + query EnumType($name: String!) { + __type(name: $name) { + __typename + enumValues { + name + description + } + } + } +`;let xM=(()=>{class n{constructor(e){this.apollo=e}get(e){return this.apollo.query({query:P3e,variables:{name:e},fetchPolicy:"cache-first"}).pipe(ue(i=>{const r=[];if(i.data.__type&&i.data.__type.enumValues)for(const o of i.data.__type.enumValues)r.push({value:o.name,name:o.description||""});return r}))}getValueName(e,i){return this.get(i).pipe(ue(r=>{for(const o of r)if(o.value===e)return o.name;return""}))}}return n.\u0275fac=function(e){return new(e||n)(I($s))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),L3e=(()=>{class n extends xM{get(){return ee([{value:"val1",name:"name1"},{value:"val2",name:"name2"},{value:"val3",name:"name3"}])}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_$=(()=>{class n{transform(e){return e&&Cc(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=$i({name:"capitalize",type:n,pure:!0,standalone:!0}),n})();function B3e(n,t){if(1&n&&(f(0,"mat-option",4),C(1),m()),2&n){const e=x();_("value",null),b(1),xe(e.nullLabel)}}function V3e(n,t){if(1&n&&(f(0,"mat-option",5),C(1),Q(2,"capitalize"),m()),2&n){const e=t.$implicit,i=x();_("value",e.value)("disabled",!!i.optionDisabled&&i.optionDisabled(e)),b(1),me(" ",X(2,3,e.name)," ")}}function z3e(n,t){1&n&&(f(0,"mat-error"),Ce(1,6),m())}let H3e=(()=>{class n extends CM{constructor(e,i){super(i),this.enumService=e,this.multiple=!1}ngOnInit(){super.ngOnInit(),this.items=this.enumService.get(this.enumName)}getDisplayFn(){throw new Error("This should never be called")}}return n.\u0275fac=function(e){return new(e||n)(g(xM),g(Qi,10))},n.\u0275cmp=$({type:n,selectors:[["natural-select-enum"]],inputs:{enumName:"enumName",nullLabel:"nullLabel",optionDisabled:"optionDisabled",multiple:"multiple"},standalone:!0,features:[N,Se],decls:8,vars:9,consts:function(){let t;return t=$localize`:␟c0635fdb2285e10406f861a2135c2d72eab0e8c4␟8857159515510586089:Ce champ est requis`,[[3,"formControl","errorStateMatcher","multiple","selectionChange","blur"],[3,"value",4,"ngIf"],[3,"value","disabled",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[3,"value","disabled"],t]},template:function(e,i){1&e&&(f(0,"mat-form-field")(1,"mat-label"),C(2),m(),f(3,"mat-select",0),E("selectionChange",function(o){return i.propagateValue(o.value)})("blur",function(){return i.onBlur()}),S(4,B3e,2,2,"mat-option",1),S(5,V3e,3,5,"mat-option",2),Q(6,"async"),m(),S(7,z3e,2,0,"mat-error",3),m()),2&e&&(b(2),xe(i.placeholder),b(1),_("formControl",i.internalCtrl)("errorStateMatcher",i.matcher)("multiple",i.multiple),b(1),_("ngIf",i.nullLabel),b(1),_("ngForOf",X(6,7,i.items)),b(2),_("ngIf",i.hasRequiredError()))},dependencies:[_n,An,Tn,to,jc,$c,da,Ut,jt,sn,an,ke,Zt,Le,wf,Oo,_$],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}"]}),n})(),$3e=(()=>{class n extends wM{optionDisabled(e){return"val2"===e.value}constructor(e,i){super(e,i),this.formControlMultiple=new wt}getNextValue(){return ee("val"+Math.ceil(Math.random()*Math.floor(3)))}}return n.\u0275fac=function(e){return new(e||n)(g(Ti),g(mh))},n.\u0275cmp=$({type:n,selectors:[["app-select"]],standalone:!0,features:[ae([{provide:xM,useClass:L3e}]),N,Se],decls:85,vars:88,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","30px"],["fxLayout","row wrap","fxLayoutGap","10px"],["mat-raised-button","",3,"click"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px",1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["enumName","FooEnum","placeholder","Without model (output only)",3,"selectionChange"],[1,"debug"],["enumName","FooEnum","placeholder","Input from previous output",3,"ngModel"],["enumName","FooEnum","placeholder","Without model, required",3,"required"],["enumName","FooEnum","placeholder","With model, required",3,"ngModel","required","disabled","ngModelChange"],[1,"mat-h2"],["enumName","FooEnum","placeholder","FormControl (update)",3,"formControl"],["enumName","FooEnum","placeholder","FormControl (replace)",3,"formControl"],[1,"form-group",3,"formGroup"],["enumName","FooEnum","formControlName","amazingField","placeholder","FormGroup (update)"],["enumName","FooEnum","formControlName","amazingField","placeholder","FormGroup (replace)"],["enumName","myEnum","placeholder","Disabled option with formControl",3,"formControl","optionDisabled"],["enumName","myEnum","placeholder","Multiple options with formControlMultiple",3,"formControl","multiple"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-select-enum"),m(),f(2,"div",1)(3,"div",2)(4,"button",3),E("click",function(){return i.validateAllFormControls()}),C(5,"Validate all controls"),m(),f(6,"button",3),E("click",function(){return i.toggleDisabledAllFormControls()}),C(7,"Disable all controls"),m(),f(8,"button",3),E("click",function(){return i.setValue()}),C(9,"Set value"),m(),f(10,"button",3),E("click",function(){return i.clearValue()}),C(11,"Clear value"),m()(),f(12,"h2",4)(13,"div"),C(14,"ngModel"),m(),f(15,"button",3),E("click",function(){return i.required=!0}),C(16,"required"),m(),f(17,"button",3),E("click",function(){return i.required=!1}),C(18,"optional"),m()(),f(19,"div",5)(20,"div")(21,"natural-select-enum",6),E("selectionChange",function(o){return i.withoutModelOutput=o}),m(),f(22,"pre",7),C(23),Q(24,"json"),m()(),T(25,"natural-select-enum",8)(26,"natural-select-enum",9),f(27,"div")(28,"natural-select-enum",10),E("ngModelChange",function(o){return i.myValue=o}),m(),f(29,"pre",7),C(30),Q(31,"json"),m()()(),f(32,"h2",11),C(33,"FormControl"),m(),f(34,"div",5)(35,"div"),T(36,"natural-select-enum",12),f(37,"pre",7),C(38),Q(39,"json"),Q(40,"json"),Q(41,"json"),Q(42,"json"),Q(43,"json"),m()(),f(44,"div"),T(45,"natural-select-enum",13),f(46,"pre",7),C(47),Q(48,"json"),Q(49,"json"),Q(50,"json"),Q(51,"json"),Q(52,"json"),m()()(),f(53,"h2",11),C(54,"FormGroup"),m(),f(55,"div",5)(56,"div")(57,"div",14),T(58,"natural-select-enum",15),m(),f(59,"pre",7),C(60),Q(61,"json"),Q(62,"json"),Q(63,"json"),Q(64,"json"),m()(),f(65,"div")(66,"div",14),T(67,"natural-select-enum",16),m(),f(68,"pre",7),C(69),Q(70,"json"),Q(71,"json"),Q(72,"json"),Q(73,"json"),m()()(),f(74,"h2",11),C(75,"Others"),m(),T(76,"natural-select-enum",17)(77,"natural-select-enum",18),f(78,"pre",7),C(79),Q(80,"json"),Q(81,"json"),Q(82,"json"),Q(83,"json"),Q(84,"json"),m()()),2&e&&(b(23),me("value: ",X(24,38,i.withoutModelOutput),""),b(2),_("ngModel",i.withoutModelOutput),b(1),_("required",i.required),b(2),_("ngModel",i.myValue)("required",i.required)("disabled",i.disabled),b(2),me("value: ",X(31,40,i.myValue),""),b(6),_("formControl",i.formControl),b(2),go("touched: ",X(39,42,i.formControl.touched),"\ndirty: ",X(40,44,i.formControl.dirty),"\nstatus: ",X(41,46,i.formControl.status),"\nerrors: ",X(42,48,i.formControl.errors),"\nvalue: ",X(43,50,i.formControl.value),"\n "),b(7),_("formControl",i.formControlReplace),b(2),go("touched: ",X(48,52,i.formControlReplace.touched),"\ndirty: ",X(49,54,i.formControlReplace.dirty),"\nstatus: ",X(50,56,i.formControlReplace.status),"\nerrors: ",X(51,58,i.formControlReplace.errors),"\nvalue: ",X(52,60,i.formControlReplace.value),"\n "),b(10),_("formGroup",i.formGroup),b(3),Ts("touched: ",X(61,62,i.formGroup.touched),"\ndirty: ",X(62,64,i.formGroup.dirty),"\nstatus: ",X(63,66,i.formGroup.status),"\nvalue: ",X(64,68,i.formGroup.value),"\n "),b(6),_("formGroup",i.formGroupReplace),b(3),Ts("touched: ",X(70,70,i.formGroupReplace.touched),"\ndirty: ",X(71,72,i.formGroupReplace.dirty),"\nstatus: ",X(72,74,i.formGroupReplace.status),"\nvalue: ",X(73,76,i.formGroupReplace.value),"\n "),b(7),_("formControl",i.formControl)("optionDisabled",i.optionDisabled),b(1),_("formControl",i.formControlMultiple)("multiple",!0),b(2),go("touched: ",X(80,78,i.formControlMultiple.touched),"\ndirty: ",X(81,80,i.formControlMultiple.dirty),"\nstatus: ",X(82,82,i.formControlMultiple.status),"\nerrors: ",X(83,84,i.formControlMultiple.errors),"\nvalue: ",X(84,86,i.formControlMultiple.value),"\n"))},dependencies:[Ln,En,Pn,Wa,ct,tn,H3e,Ut,jt,si,eo,tl,sn,an,gn,ns,ke,Kr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:stretch}[_nghost-%COMP%] .debug[_ngcontent-%COMP%]{max-height:200px;overflow:auto}[_nghost-%COMP%] .form-group[_ngcontent-%COMP%], [_nghost-%COMP%] .form-group[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%]{width:230px;margin-left:0;margin-right:0}"]}),n})();function j3e(n,t){1&n&&T(0,"mat-icon",7),2&n&&_("naturalIcon",x().icon)}function U3e(n,t){if(1&n){const e=Y();f(0,"button",8),E("click",function(r){return B(e),x().clear(),V(r.stopPropagation())}),T(1,"mat-icon",9),m()}}function G3e(n,t){1&n&&(f(0,"button",10),E("click",function(i){return i.stopPropagation()}),T(1,"mat-icon",11),m()),2&n&&_("routerLink",x().navigateTo)}function q3e(n,t){1&n&&(f(0,"mat-error"),Ce(1,12),m())}function W3e(n,t){if(1&n){const e=Y();f(0,"button",16),E("click",function(){return B(e),V(x(2).openDialog())}),C(1),m()}if(2&n){const e=x(2);b(1),xe(e.selectLabel)}}function Y3e(n,t){if(1&n){const e=Y();f(0,"button",17),E("click",function(){return B(e),V(x(2).clear())}),C(1),m()}if(2&n){const e=x(2);b(1),xe(e.clearLabel)}}function K3e(n,t){if(1&n&&(f(0,"div",13),S(1,W3e,2,1,"button",14),S(2,Y3e,2,1,"button",15),m()),2&n){const e=x();b(1),_("ngIf",e.showSelectButton()),b(1),_("ngIf",e.showClearButton())}}function Q3e(n){return n?n.fullName||n.name||n.iban||n.id||n:""}let X3e=(()=>{class n extends CM{constructor(e,i){super(i),this.hierarchicSelectorDialogService=e,this.config=null,this.value=null,this.lockOpenDialog=!1}getDisplayFn(){return this.displayWith?this.displayWith:Q3e}writeValue(e){this.value=e,this.internalCtrl.setValue(this.getDisplayFn()(this.value))}openDialog(){if(this.internalCtrl.disabled||this.lockOpenDialog)return;const e=this.getSelectKey();if(!e||!this.config)return;this.lockOpenDialog=!0,this.onTouched&&this.onTouched();const i={};this.internalCtrl.value&&(i[e]=[this.value]),this.hierarchicSelectorDialogService.open({hierarchicConfig:this.config,hierarchicSelection:i,hierarchicFilters:this.filters,multiple:!1},{restoreFocus:!1}).afterClosed().subscribe(a=>{if(this.lockOpenDialog=!1,a&&a.hierarchicSelection){const s=a.hierarchicSelection,l=Object.keys(s).find(d=>s[d][0]),c=l?s[l][0]:null;this.writeValue(c),this.propagateValue(c)}})}showSelectButton(){return!!(this.internalCtrl?.enabled&&this.selectLabel&&this.getSelectKey())}getSelectKey(){return this.config?.filter(e=>!!e.selectableAtKey)[0]?.selectableAtKey}}return n.\u0275fac=function(e){return new(e||n)(g(nM),g(Qi,10))},n.\u0275cmp=$({type:n,selectors:[["natural-select-hierarchic"]],inputs:{selectLabel:"selectLabel",config:"config",filters:"filters"},standalone:!0,features:[N,Se],decls:10,vars:8,consts:function(){let t,e,i,r;return t=$localize`:␟24db55d2b71cb10137208e99c6c112b630194818␟3383260231057423151:Recherche et sélection`,e=$localize`:␟b73f9486556a620fa0bc34490ca8aef60d5ba50e␟7476559703529470786:Désélectionner`,i=$localize`:␟c556a47cd554d8b94066106f1832d6272fbca1e1␟6489170507220514306:Naviguer vers`,r=$localize`:␟c0635fdb2285e10406f861a2135c2d72eab0e8c4␟8857159515510586089:Ce champ est requis`,[["aria-label",t,"matInput","",3,"formControl","errorStateMatcher","blur","focus"],["matIconPrefix","",3,"naturalIcon",4,"ngIf"],["matIconSuffix","",1,"suffix-buttons"],["mat-icon-button","","matTooltip",e,3,"click",4,"ngIf"],["mat-icon-button","","matTooltip",i,3,"routerLink","click",4,"ngIf"],[4,"ngIf"],["class","external-buttons",4,"ngIf"],["matIconPrefix","",3,"naturalIcon"],["mat-icon-button","","matTooltip",e,3,"click"],["naturalIcon","close"],["mat-icon-button","","matTooltip",i,3,"routerLink","click"],["naturalIcon","open_in_browser"],r,[1,"external-buttons"],["color","primary","mat-flat-button","",3,"click",4,"ngIf"],["color","warn","mat-button","",3,"click",4,"ngIf"],["color","primary","mat-flat-button","",3,"click"],["color","warn","mat-button","",3,"click"]]},template:function(e,i){1&e&&(f(0,"mat-form-field")(1,"mat-label"),C(2),m(),f(3,"input",0),E("blur",function(){return i.blur.emit()})("focus",function(){return i.openDialog()}),m(),S(4,j3e,1,1,"mat-icon",1),f(5,"div",2),S(6,U3e,2,0,"button",3),S(7,G3e,2,1,"button",4),m(),S(8,q3e,2,0,"mat-error",5),m(),S(9,K3e,3,2,"div",6)),2&e&&(b(2),xe(i.placeholder),b(1),_("formControl",i.internalCtrl)("errorStateMatcher",i.matcher),b(1),_("ngIf",i.showIcon),b(2),_("ngIf",i.internalCtrl.value&&i.internalCtrl.enabled&&!i.clearLabel),b(1),_("ngIf",i.internalCtrl.value&&i.navigateTo),b(1),_("ngIf",i.hasRequiredError()),b(1),_("ngIf",i.showSelectButton()||i.showClearButton()))},dependencies:[_n,An,Tn,to,zv,kc,Ii,Ai,Ut,ui,jt,sn,an,ke,Le,li,Zn,fi,ct,tn,Nr,ps,fs,dr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:20px}[_nghost-%COMP%] .suffix-buttons[_ngcontent-%COMP%], [_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}[_nghost-%COMP%] .external-buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:10px}"]}),n})(),J3e=(()=>{class n extends wM{constructor(e,i){super(e,i),this.hierarchicConfig=[{service:Ti,parentsRelationNames:["parent"],childrenRelationNames:["parent"],selectableAtKey:"any"}]}}return n.\u0275fac=function(e){return new(e||n)(g(Ti),g(mh))},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[N,Se],decls:94,vars:80,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","30px"],["fxLayout","row wrap","fxLayoutGap","10px"],["mat-raised-button","",3,"click"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px",1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["placeholder","Without model (output only)",3,"config","selectionChange"],[1,"debug"],["placeholder","Input from previous output",3,"config","ngModel"],["placeholder","Without model, required",3,"config","required"],["placeholder","With model, required",3,"config","ngModel","required","disabled","ngModelChange"],[1,"mat-h2"],["placeholder","FormControl (update)",3,"config","formControl"],["placeholder","FormControl (replace)",3,"config","formControl"],[1,"form-group",3,"formGroup"],["formControlName","amazingField","placeholder","FormGroup (update)",3,"config"],["formControlName","amazingField","placeholder","FormGroup (replace)",3,"config"],["matInput",""],["navigateTo","/","placeholder","With navigateTo",3,"config"],["icon","pets","placeholder","With custom icon",3,"config"],["clearLabel","Unselect","selectLabel","Select something","placeholder","With select and clear label",3,"config"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-select-hierarchic"),m(),f(2,"div",1)(3,"div",2)(4,"button",3),E("click",function(){return i.validateAllFormControls()}),C(5,"Validate controls with formControl"),m(),f(6,"button",3),E("click",function(){return i.toggleDisabledAllFormControls()}),C(7,"Disable controls with formControl"),m(),f(8,"button",3),E("click",function(){return i.setValue()}),C(9,"Set value"),m(),f(10,"button",3),E("click",function(){return i.clearValue()}),C(11,"Clear value"),m()(),f(12,"h2",4)(13,"div"),C(14,"ngModel"),m(),f(15,"button",3),E("click",function(){return i.required=!0}),C(16,"required"),m(),f(17,"button",3),E("click",function(){return i.required=!1}),C(18,"optional"),m()(),f(19,"div",5)(20,"div")(21,"natural-select-hierarchic",6),E("selectionChange",function(o){return i.withoutModelOutput=o}),m(),f(22,"pre",7),C(23),Q(24,"json"),m()(),T(25,"natural-select-hierarchic",8)(26,"natural-select-hierarchic",9),f(27,"div")(28,"natural-select-hierarchic",10),E("ngModelChange",function(o){return i.myValue=o}),m(),f(29,"pre",7),C(30),Q(31,"json"),m()()(),f(32,"h2",11),C(33,"FormControl"),m(),f(34,"div",5)(35,"div"),T(36,"natural-select-hierarchic",12),f(37,"button",3),E("click",function(){return i.updateValidatorRequired(i.formControl)}),C(38,"required"),m(),f(39,"button",3),E("click",function(){return i.updateValidatorOptional(i.formControl)}),C(40,"optional"),m(),f(41,"pre",7),C(42),Q(43,"json"),Q(44,"json"),Q(45,"json"),Q(46,"json"),Q(47,"json"),m()(),f(48,"div"),T(49,"natural-select-hierarchic",13),f(50,"pre",7),C(51),Q(52,"json"),Q(53,"json"),Q(54,"json"),Q(55,"json"),Q(56,"json"),m()()(),f(57,"h2",11),C(58,"FormGroup"),m(),f(59,"div",5)(60,"div")(61,"div",14),T(62,"natural-select-hierarchic",15),m(),f(63,"button",3),E("click",function(){return i.updateValidatorRequired(i.formGroup.get("amazingField"))}),C(64,"required"),m(),f(65,"button",3),E("click",function(){return i.updateValidatorOptional(i.formGroup.get("amazingField"))}),C(66,"optional"),m(),f(67,"pre",7),C(68),Q(69,"json"),Q(70,"json"),Q(71,"json"),Q(72,"json"),m()(),f(73,"div")(74,"div",14),T(75,"natural-select-hierarchic",16),m(),f(76,"pre",7),C(77),Q(78,"json"),Q(79,"json"),Q(80,"json"),Q(81,"json"),m()()(),f(82,"h2",11),C(83,"Others"),m(),f(84,"div",5)(85,"mat-form-field")(86,"mat-label"),C(87,"Pr\xe9text"),m(),T(88,"input",17),f(89,"mat-hint"),C(90,"Basic input field to test alt+tab and focus on next field"),m()(),T(91,"natural-select-hierarchic",18)(92,"natural-select-hierarchic",19)(93,"natural-select-hierarchic",20),m()()),2&e&&(b(21),_("config",i.hierarchicConfig),b(2),me("value: ",X(24,40,i.withoutModelOutput),""),b(2),_("config",i.hierarchicConfig)("ngModel",i.withoutModelOutput),b(1),_("config",i.hierarchicConfig)("required",i.required),b(2),_("config",i.hierarchicConfig)("ngModel",i.myValue)("required",i.required)("disabled",i.disabled),b(2),me("value: ",X(31,42,i.myValue),""),b(6),_("config",i.hierarchicConfig)("formControl",i.formControl),b(6),go("touched: ",X(43,44,i.formControl.touched),"\ndirty: ",X(44,46,i.formControl.dirty),"\nstatus: ",X(45,48,i.formControl.status),"\nerrors: ",X(46,50,i.formControl.errors),"\nvalue: ",X(47,52,i.formControl.value),"\n "),b(7),_("config",i.hierarchicConfig)("formControl",i.formControlReplace),b(2),go("touched: ",X(52,54,i.formControlReplace.touched),"\ndirty: ",X(53,56,i.formControlReplace.dirty),"\nstatus: ",X(54,58,i.formControlReplace.status),"\nerrors: ",X(55,60,i.formControlReplace.errors),"\nvalue: ",X(56,62,i.formControlReplace.value),"\n "),b(10),_("formGroup",i.formGroup),b(1),_("config",i.hierarchicConfig),b(6),Ts("touched: ",X(69,64,i.formGroup.touched),"\ndirty: ",X(70,66,i.formGroup.dirty),"\nstatus: ",X(71,68,i.formGroup.status),"\nvalue: ",X(72,70,i.formGroup.value),"\n "),b(6),_("formGroup",i.formGroupReplace),b(1),_("config",i.hierarchicConfig),b(2),Ts("touched: ",X(78,72,i.formGroupReplace.touched),"\ndirty: ",X(79,74,i.formGroupReplace.dirty),"\nstatus: ",X(80,76,i.formGroupReplace.status),"\nvalue: ",X(81,78,i.formGroupReplace.value),"\n "),b(14),_("config",i.hierarchicConfig),b(1),_("config",i.hierarchicConfig),b(1),_("config",i.hierarchicConfig))},dependencies:[Ln,En,Pn,Wa,ct,tn,X3e,Ut,jt,si,eo,tl,sn,an,gn,ns,_n,An,Tn,Vv,Ii,Ai,ke,Kr],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:stretch}[_nghost-%COMP%] .debug[_ngcontent-%COMP%]{max-height:200px;overflow:auto}[_nghost-%COMP%] .form-group[_ngcontent-%COMP%], [_nghost-%COMP%] .form-group[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select-hierarchic[_ngcontent-%COMP%], [_nghost-%COMP%] natural-select-hierarchic[_ngcontent-%COMP%] + .debug[_ngcontent-%COMP%]{width:230px;margin-left:0;margin-right:0}"]}),n})();function Z3e(n,t){if(1&n&&(f(0,"div",5),T(1,"mat-icon",6),C(2),Q(3,"uppercase"),m()),2&n){const e=x();b(1),_("size",.33*e.height),b(1),me(" ",X(3,2,e.filePreview)," ")}}function e4e(n,t){1&n&&T(0,"mat-icon",7),2&n&&_("size",.66*x().height)}function t4e(n,t){1&n&&T(0,"mat-icon",8),2&n&&_("size",.66*x().height)}let n4e=(()=>{class n{constructor(e,i,r,o){this.naturalFileService=e,this.alertService=i,this.sanitizer=r,this.document=o,this.height=250,this.action=null,this.backgroundSize="contain",this.accept="image/bmp,image/gif,image/jpeg,image/pjpeg,image/png,image/svg+xml,image/svg,image/webp",this.model=null,this.formCtrl=null,this.modelChange=new j,this.imagePreview=null,this.filePreview=null}ngOnInit(){this.updateImage()}ngOnChanges(e){e.model&&e.model.previousValue!==e.model.currentValue&&this.updateImage()}upload(e){this.model={file:e},this.updateImage(),this.formCtrl&&this.formCtrl.setValue(this.model),(this.uploader?.(e).pipe(Ht(()=>this.alertService.info($localize`Mis à jour`)))??ee(this.model)).subscribe(r=>{this.model=r,this.formCtrl&&this.formCtrl.setValue(this.model),this.modelChange.emit(this.model)})}getDownloadLink(){return"download"!==this.action?null:this.naturalFileService.getDownloadLink(this.model)}updateImage(){if(this.imagePreview=null,this.filePreview=null,this.model)if(this.model.file?.type.includes("image/"))this.getBase64(this.model.file).subscribe(e=>{this.imagePreview=this.sanitizer.bypassSecurityTrustStyle("url(data:"+this.model?.file?.type+";base64,"+e+")")});else if(this.model.file)this.filePreview=this.model.file.type.split("/")[1];else if("Image"===this.model.__typename&&this.model.id){const e=this.document.defaultView;if(!e)throw new Error("Could not show image preview because `window` is undefined");const i=e.location;this.imagePreview=this.sanitizer.bypassSecurityTrustStyle("url("+i.protocol+"//"+i.hostname+"/api/image/"+this.model.id+(this.height?"/"+this.height:"")+")")}else this.model?.mime&&["File","AccountingDocument"].includes(this.model.__typename||"")?this.filePreview=this.model.mime.split("/")[1]:this.model.src&&(this.imagePreview=this.sanitizer.bypassSecurityTrustStyle("url("+this.model.src+")"))}getBase64(e){if(!e)return ee("");const i=new q,r=new FileReader;return r.addEventListener("load",o=>{i.next(btoa(o.target.result)),i.complete()}),r.readAsBinaryString(e),i.asObservable()}}return n.\u0275fac=function(e){return new(e||n)(g(CE),g(Wy),g(kf),g(ye))},n.\u0275cmp=$({type:n,selectors:[["natural-file"]],hostVars:2,hostBindings:function(e,i){2&e&&un("height",i.height,"px")},inputs:{height:"height",action:"action",backgroundSize:"backgroundSize",accept:"accept",uploader:"uploader",model:"model",formCtrl:"formCtrl"},outputs:{modelChange:"modelChange"},standalone:!0,features:[Je,Se],decls:7,vars:19,consts:[["naturalFileDrop","","matRipple","","target","_blank",3,"selectable","accept","fileSelectionDisabled","matRippleDisabled","fileChange"],["class","file-preview",4,"ngIf"],[1,"action-overlay"],["naturalIcon","cloud_upload",3,"size",4,"ngIf"],["naturalIcon","get_app",3,"size",4,"ngIf"],[1,"file-preview"],["naturalIcon","attachment",3,"size"],["naturalIcon","cloud_upload",3,"size"],["naturalIcon","get_app",3,"size"]],template:function(e,i){1&e&&(f(0,"a",0),E("fileChange",function(o){return i.upload(o)}),S(1,Z3e,4,4,"div",1),f(2,"div",2),S(3,e4e,1,1,"mat-icon",3),S(4,t4e,1,1,"mat-icon",4),C(5),Q(6,"capitalize"),m()()),2&e&&(un("background-image",i.imagePreview)("background-size",i.backgroundSize),de("has-action",!!i.action)("suggest-upload",!i.model&&"upload"===i.action),_("selectable",!0)("accept",i.accept)("fileSelectionDisabled","upload"!==i.action)("matRippleDisabled",!i.action),ie("href",i.getDownloadLink(),Wo),b(1),_("ngIf",i.filePreview),b(2),_("ngIf","upload"===i.action),b(1),_("ngIf","download"===i.action),b(1),me(" ",X(6,17,i.action)," "))},dependencies:[wE,Io,Ei,ke,Le,dF,li,Zn,fi,_$],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row;overflow:hidden;position:relative}[_nghost-%COMP%] > a[_ngcontent-%COMP%]{position:relative;flex:1;background-position:center;background-repeat:no-repeat}[_nghost-%COMP%] > a.has-action[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] > a.has-action.suggest-upload[_ngcontent-%COMP%] .action-overlay[_ngcontent-%COMP%]{opacity:.66}[_nghost-%COMP%] > a.has-action[_ngcontent-%COMP%]:hover .action-overlay[_ngcontent-%COMP%], [_nghost-%COMP%] > a.has-action.natural-file-over[_ngcontent-%COMP%] .action-overlay[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] .action-overlay[_ngcontent-%COMP%], [_nghost-%COMP%] .file-preview[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:absolute;inset:0;justify-content:center;align-items:center;font-size:36px;line-height:1.3em;text-align:center}[_nghost-%COMP%] .action-overlay[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .action-overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{opacity:0;position:absolute;inset:0;display:flex;justify-content:center;align-items:center}"]}),n})(),i4e=(()=>{class n extends jH{constructor(){super(...arguments),this.selectable=!0}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275dir=R({type:n,selectors:[["","naturalFileSelect","",3,"naturalFileDrop",""]],inputs:{selectable:"selectable"},standalone:!0,features:[N]}),n})(),r4e=(()=>{class n extends LS{constructor(e,i){super(e,i,"user",null,null,null,null,null),this.id=1}getFileModel(){return{id:""+this.id++}}watchAll(){return ee({items:[this.getFileModel(),this.getFileModel(),this.getFileModel(),this.getFileModel(),this.getFileModel()],length:20,pageIndex:0,pageSize:5}).pipe(hi(500))}getAll(){return ee({items:[this.getFileModel(),this.getFileModel(),this.getFileModel(),this.getFileModel(),this.getFileModel()],length:20,pageIndex:0,pageSize:5}).pipe(hi(500))}getOne(){return ee(this.getFileModel())}create(e){return ee({...e,id:this.id++}).pipe(hi(500))}delete(){return ee(!0).pipe(hi(500))}}return n.\u0275fac=function(e){return new(e||n)(I($s),I(vv))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Zy(n){return{name:n.name,type:n.type,size:n.size,lastModified:n.lastModified}}function b$(n){return{valid:n.valid.map(Zy),invalid:n.invalid.map(t=>({error:t.error,file:Zy(t.file)}))}}let o4e=(()=>{class n{constructor(e,i){this.uploadService=e,this.fileService=i,this.disabled=!1,this.fileOver=null,this.fileOverJpg=null,this.fileOverSelectable=null,this.fileOverSelectableJpg=null,this.fileOverMaxSize=null,this.fileOverService=null,this.subscription=null,this.model=null}fileChange(e){console.log("fileChange",Zy(e))}filesChange(e){console.log("filesChange",b$(e))}subscribe(){this.subscription||(this.subscription=this.uploadService.filesChanged.subscribe(e=>console.log("service filesChanged",b$(e))))}unsubscribe(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}modelChange(e){console.log({...e,file:e.file?Zy(e.file):null})}setImage(){this.model={__typename:"Image",id:"123",mime:"image/jpeg"}}setImageWithSrc(){this.model={id:"456",src:"./assets/logo.svg"}}setFile(){this.model={__typename:"File",id:"789",mime:"application/pdf"}}clear(){this.model=null}uploadAndLink(e){return this.fileService.create({file:e}).pipe(Ht(i=>console.log("pretend to do something more with the uploaded file",i)))}}return n.\u0275fac=function(e){return new(e||n)(g(CE),g(r4e))},n.\u0275cmp=$({type:n,selectors:[["app-file"]],standalone:!0,features:[Se],decls:106,vars:46,consts:[[1,"mat-headline-4"],[1,"mat-body"],["fxLayout","column","fxLayoutGap","30px"],["fxLayout","row wrap","fxLayoutGap","10px"],[3,"ngModel","ngModelChange"],[1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["mat-raised-button","","naturalFileSelect","",3,"disabled","fileChange","filesChange"],["mat-raised-button","","naturalFileSelect","",3,"disabled","multiple","fileChange","filesChange"],["mat-raised-button","","naturalFileSelect","","accept","image/jpeg",3,"disabled","fileChange","filesChange"],["mat-raised-button","","naturalFileSelect","","accept","image/jpeg",3,"disabled","multiple","fileChange","filesChange"],["mat-raised-button","","naturalFileDrop","",3,"selectable","disabled","fileChange","filesChange"],["mat-raised-button","","naturalFileDrop","",3,"selectable","disabled","multiple","fileChange","filesChange"],["mat-raised-button","","naturalFileDrop","","accept","image/jpeg",3,"selectable","disabled","fileChange","filesChange"],["mat-raised-button","","naturalFileDrop","","accept","image/jpeg",3,"selectable","disabled","multiple","fileChange","filesChange"],["naturalFileDrop","",3,"fileSelectionDisabled","fileChange","filesChange","fileOver"],["naturalFileDrop","","accept","image/jpeg",3,"fileSelectionDisabled","fileChange","filesChange","fileOver"],["naturalFileDrop","",3,"fileSelectionDisabled","selectable","fileChange","filesChange","fileOver"],["naturalFileDrop","","accept","image/jpeg",3,"fileSelectionDisabled","selectable","fileChange","filesChange","fileOver"],["naturalFileDrop","",3,"fileSelectionDisabled","maxSize","fileChange","filesChange","fileOver"],["mat-raised-button","",3,"click"],["naturalFileDrop","",3,"fileSelectionDisabled","fileOver"],["action","upload",3,"model","uploader","modelChange"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-file"),m(),f(2,"p",1),C(3,"Open the console to see events"),m(),f(4,"div",2)(5,"div",3)(6,"mat-checkbox",4),E("ngModelChange",function(o){return i.disabled=o}),C(7,"disabled"),m()(),f(8,"h2",5),C(9,"Button"),m(),f(10,"div",6)(11,"div")(12,"button",7),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(13," Select one file "),m()(),f(14,"div")(15,"button",8),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(16," Select multiples files "),m()(),f(17,"div")(18,"button",9),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(19," Select one JPG "),m()(),f(20,"div")(21,"button",10),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(22," Select multiples JPG "),m()()(),f(23,"h2",5),C(24,"Button that can also be drag'n'dropped on"),m(),f(25,"div",6)(26,"div")(27,"button",11),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(28," Select one file "),m()(),f(29,"div")(30,"button",12),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(31," Select multiples files "),m()(),f(32,"div")(33,"button",13),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(34," Select one JPG "),m()(),f(35,"div")(36,"button",14),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)}),C(37," Select multiples JPG "),m()()(),f(38,"h2",5),C(39,"Drag'n'drop on link"),m(),f(40,"div",6)(41,"a",15),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOver=o}),f(42,"div",1),C(43,"Drag here any files"),m(),f(44,"pre"),C(45),Q(46,"json"),m()()(),f(47,"div",6)(48,"a",16),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOverJpg=o}),f(49,"div",1),C(50,"Drag here only JPG"),m(),f(51,"pre"),C(52),Q(53,"json"),m()()(),f(54,"h2",5),C(55,"Drag'n'drop on link that can also be clicked"),m(),f(56,"div",6)(57,"a",17),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOverSelectable=o}),f(58,"div",1),C(59,"Drag here any files"),m(),f(60,"pre"),C(61),Q(62,"json"),m()()(),f(63,"div",6)(64,"a",18),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOverSelectableJpg=o}),f(65,"div",1),C(66,"Drag here only JPG"),m(),f(67,"pre"),C(68),Q(69,"json"),m()()(),f(70,"h2",5),C(71,"Size limit"),m(),f(72,"div",6)(73,"a",19),E("fileChange",function(o){return i.fileChange(o)})("filesChange",function(o){return i.filesChange(o)})("fileOver",function(o){return i.fileOverMaxSize=o}),f(74,"div",1),C(75,"Drag here any files"),m(),f(76,"pre"),C(77),Q(78,"json"),m()()(),f(79,"h2",5),C(80,"Drag'n'drop, relying on service"),m(),f(81,"div",6)(82,"button",20),E("click",function(){return i.subscribe()}),C(83,"Subscribe to service"),m(),f(84,"button",20),E("click",function(){return i.unsubscribe()}),C(85,"Unsubscribe to service"),m()(),f(86,"div",6)(87,"a",21),E("fileOver",function(o){return i.fileOverService=o}),f(88,"div",1),C(89,"Drag here any files. Hover is disabled if nobody subscribed to service"),m(),f(90,"pre"),C(91),Q(92,"json"),m()()(),f(93,"h2",5),C(94,"File component"),m(),f(95,"div",6)(96,"button",20),E("click",function(){return i.setImage()}),C(97,"Set image (won't work because we don't have API to serve image)"),m(),f(98,"button",20),E("click",function(){return i.setImageWithSrc()}),C(99,"Set image with src"),m(),f(100,"button",20),E("click",function(){return i.setFile()}),C(101,"Set file"),m(),f(102,"button",20),E("click",function(){return i.clear()}),C(103,"Clear"),m()(),f(104,"div")(105,"natural-file",22),E("modelChange",function(o){return i.modelChange(o)}),m()()()),2&e&&(b(6),_("ngModel",i.disabled),b(6),_("disabled",i.disabled),b(3),_("disabled",i.disabled)("multiple",!0),b(3),_("disabled",i.disabled),b(3),_("disabled",i.disabled)("multiple",!0),b(6),_("selectable",!0)("disabled",i.disabled),b(3),_("selectable",!0)("disabled",i.disabled)("multiple",!0),b(3),_("selectable",!0)("disabled",i.disabled),b(3),_("selectable",!0)("disabled",i.disabled)("multiple",!0),b(5),_("fileSelectionDisabled",i.disabled),b(4),me("fileOver: ",X(46,34,i.fileOver),""),b(3),_("fileSelectionDisabled",i.disabled),b(4),me("fileOver: ",X(53,36,i.fileOverJpg),""),b(5),_("fileSelectionDisabled",i.disabled)("selectable",!0),b(4),me("fileOver: ",X(62,38,i.fileOverSelectable),""),b(3),_("fileSelectionDisabled",i.disabled)("selectable",!0),b(4),me("fileOver: ",X(69,40,i.fileOverSelectableJpg),""),b(5),_("fileSelectionDisabled",i.disabled)("maxSize",123),b(4),me("fileOver: ",X(78,42,i.fileOverMaxSize),""),b(10),_("fileSelectionDisabled",i.disabled),b(4),me("fileOver: ",X(92,44,i.fileOverService),""),b(14),_("model",i.model)("uploader",i.uploadAndLink.bind(i)))},dependencies:[Ln,En,Pn,Hc,yl,Ut,jt,tl,ct,tn,i4e,wE,n4e,ke,Kr],styles:["a[naturalFileDrop][_ngcontent-%COMP%]{border:1px dashed #a541c1}.natural-file-over[_ngcontent-%COMP%]{border-color:pink;background-color:#00b0ff}"]}),n})();class DM{constructor(t){this.value=t,this.value=t}getValue(){return this.value}}function jn(n,t){const e=2147483648&n,i=2147483648&t,r=1073741824&n,o=1073741824&t,a=(1073741823&n)+(1073741823&t);return r&o?2147483648^a^e^i:r|o?1073741824&a?3221225472^a^e^i:1073741824^a^e^i:a^e^i}function e0(n,t){return n<>>32-t}function Fi(n,t,e,i,r,o,a){return n=jn(n,jn(jn(function s4e(n,t,e){return n&t|~n&e}(t,e,i),r),a)),jn(e0(n,o),t)}function Pi(n,t,e,i,r,o,a){return n=jn(n,jn(jn(function l4e(n,t,e){return n&e|t&~e}(t,e,i),r),a)),jn(e0(n,o),t)}function Li(n,t,e,i,r,o,a){return n=jn(n,jn(jn(function c4e(n,t,e){return n^t^e}(t,e,i),r),a)),jn(e0(n,o),t)}function Bi(n,t,e,i,r,o,a){return n=jn(n,jn(jn(function d4e(n,t,e){return t^(n|~e)}(t,e,i),r),a)),jn(e0(n,o),t)}function t0(n){let i,r,t="",e="";for(r=0;r<=3;r++)i=n>>>8*r&255,e="0"+i.toString(16),t+=e.substr(e.length-2,2);return t}class p4e extends DM{getAvatar(t){const e=this.getValue(),i=e.match("^[a-f0-9]{32}$")?e:function a4e(n){const t=function u4e(n){let t;const e=n.length,i=e+8,o=16*((i-i%64)/64+1),a=Array(o-1);let s=0,l=0;for(;l>>29,a}(function h4e(n){let e,t="";n=n.replace(/\r\n/g,"\n");for(let i=0;i127&&e<2048?(t+=String.fromCharCode(e>>6|192),t+=String.fromCharCode(63&e|128)):(t+=String.fromCharCode(e>>12|224),t+=String.fromCharCode(e>>6&63|128),t+=String.fromCharCode(63&e|128));return t}(n));let D=1732584193,M=4023233417,A=2562383102,O=271733878;for(let P=0;P1.25||!!n?.matchMedia("(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)").matches}()?2*t:t;return`https://secure.gravatar.com/avatar/${i}?s=${r}&d=404`}isTextual(){return!1}}class g4e extends DM{getAvatar(t){return function m4e(n,t){if(!(n=n.trim()))return"";let e=n.split(" ");return t&&ti.length>0).map(i=>i[0]).join("").toUpperCase()}(this.getValue(),t)}isTextual(){return!0}}class _4e extends DM{getAvatar(){return this.getValue()}isTextual(){return!1}}let b4e=(()=>{class n{constructor(){this.sourceCreators=new Map([["gravatar",p4e],["image",_4e],["initials",g4e]]),this.avatarColors=["#1abc9c","#3498db","#f1c40f","#8e44ad","#e74c3c","#d35400","#2c3e50","#7f8c8d"],this.failedSources=new Map}getRandomColor(e){if(!e)return"transparent";const i=this.calculateAsciiCode(e);return this.avatarColors[i%this.avatarColors.length]}getCreators(){return this.sourceCreators.entries()}getSourceKey(e){return e.constructor.name+"-"+e.getValue()}sourceHasFailedBefore(e){return this.failedSources.has(this.getSourceKey(e))}markSourceAsFailed(e){this.failedSources.set(this.getSourceKey(e),e)}calculateAsciiCode(e){return e.split("").map(i=>i.charCodeAt(0)).reduce((i,r)=>i+r)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function v4e(n,t){if(1&n){const e=Y();f(0,"img",3),E("error",function(){return B(e),V(x().tryNextSource())}),m()}if(2&n){const e=x();_("src",e.avatarSrc,Wo)("width",e.size)("height",e.size)("ngStyle",e.avatarStyle)}}function y4e(n,t){if(1&n&&(f(0,"div",4),C(1),m()),2&n){const e=x();_("ngStyle",e.avatarStyle),b(1),me(" ",e.avatarText," ")}}let C4e=(()=>{class n{constructor(e){this.avatarService=e,this.size=50,this.textSizeRatio=3,this.fgColor="#FFF",this.borderRadius="",this.textMaximumLength=0,this.avatarSrc=null,this.avatarText=null,this.avatarStyle={},this.hostStyle={},this.currentIndex=-1,this.sources=[]}ngOnChanges(e){this.sources.length=0;for(const[i,r]of this.avatarService.getCreators()){if(!e[i])continue;const o=e[i].currentValue;o&&"string"==typeof o&&this.sources.push(new r(o))}this.initializeAvatar()}tryNextSource(){const e=this.sources[this.currentIndex];e&&this.avatarService.markSourceAsFailed(e);const i=this.findNextSource();i?i.isTextual()?this.buildTextAvatar(i):this.buildImageAvatar(i):this.clearAvatar()}findNextSource(){for(;++this.currentIndex0&&(this.tryNextSource(),this.hostStyle={width:this.size+"px",height:this.size+"px"})}clearAvatar(){this.avatarSrc=null,this.avatarText=null,this.avatarStyle={}}buildTextAvatar(e){this.clearAvatar(),this.avatarText=e.getAvatar(+this.textMaximumLength),this.avatarStyle=this.getTextualStyle(e.getValue())}buildImageAvatar(e){this.clearAvatar(),this.avatarSrc=e.getAvatar(+this.size),this.avatarStyle=this.getImageStyle()}getTextualStyle(e){return{textAlign:"center",borderRadius:this.borderRadius||"100%",textTransform:"uppercase",color:this.fgColor,backgroundColor:this.bgColor?this.bgColor:this.avatarService.getRandomColor(e),font:Math.floor(+this.size/this.textSizeRatio)+"px Helvetica, Arial, sans-serif",lineHeight:this.size+"px"}}getImageStyle(){return{maxWidth:"100%",borderRadius:this.borderRadius||"100%",width:this.size+"px",height:this.size+"px"}}}return n.\u0275fac=function(e){return new(e||n)(g(b4e))},n.\u0275cmp=$({type:n,selectors:[["natural-avatar"]],inputs:{image:"image",initials:"initials",gravatar:"gravatar",size:"size",textSizeRatio:"textSizeRatio",bgColor:"bgColor",fgColor:"fgColor",borderRadius:"borderRadius",textMaximumLength:"textMaximumLength"},standalone:!0,features:[Je,Se],decls:3,vars:3,consts:[[1,"avatar-container",3,"ngStyle"],["class","avatar-content","loading","lazy",3,"src","width","height","ngStyle","error",4,"ngIf"],["class","avatar-content",3,"ngStyle",4,"ngIf"],["loading","lazy",1,"avatar-content",3,"src","width","height","ngStyle","error"],[1,"avatar-content",3,"ngStyle"]],template:function(e,i){1&e&&(f(0,"div",0),S(1,v4e,1,4,"img",1),S(2,y4e,2,2,"div",2),m()),2&e&&(_("ngStyle",i.hostStyle),b(1),_("ngIf",i.avatarSrc),b(1),_("ngIf",i.avatarText))},dependencies:[ke,Le,cF],styles:["[_nghost-%COMP%]{border-radius:50%}"]}),n})();function w4e(n,t){1&n&&(f(0,"span"),T(1,"natural-avatar",20),m())}let x4e=(()=>{class n{constructor(){this.failedSources=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["ng-component"]],standalone:!0,features:[Se],decls:34,vars:4,consts:[[1,"mat-headline-4"],["fxLayout","column","fxLayoutGap","30px"],[1,"mat-h2"],["fxLayout","row","fxLayoutGap","10px"],["gravatar","webmaster@ecodev.ch"],["gravatar","5fa7e880db8ff6741e0268ff52c22057"],["image","assets/logo.svg"],["initials","John Doe"],["gravatar","non-existing-email@example.com","image","assets/logo.svg"],["gravatar","non-existing-email@example.com","initials","John Doe"],["gravatar","non-existing-email@example.com","initials",""],["gravatar","5fa7e880db8ff6741e0268ff52c22057",3,"size"],["gravatar","5fa7e880db8ff6741e0268ff52c22057","borderRadius","15%"],["gravatar","5fa7e880db8ff6741e0268ff52c22057","borderRadius","0"],["initials","Aaa Bbb Ccc Ddd Eee"],["initials","Aaa Bbb Ccc Ddd Eee","bgColor","pink","fgColor","black"],["initials","Aaa Bbb Ccc Ddd Eee",3,"textMaximumLength"],["initials","Aaa Bbb Ccc Ddd Eee",3,"textSizeRatio"],["mat-raised-button","",3,"click"],[4,"ngFor","ngForOf"],["initials","failing","gravatar","invalid-are-not-retried@example.com"]],template:function(e,i){1&e&&(f(0,"h1",0),C(1,"natural-avatar"),m(),f(2,"div",1)(3,"h2",2),C(4,"Avatar from different sources"),m(),f(5,"div",3),T(6,"natural-avatar",4)(7,"natural-avatar",5)(8,"natural-avatar",6)(9,"natural-avatar",7),m(),f(10,"h2",2),C(11,"Avatar with fallback"),m(),f(12,"div",3),T(13,"natural-avatar",8)(14,"natural-avatar",9)(15,"natural-avatar",10),m(),f(16,"h2",2),C(17,"Misc"),m(),f(18,"div",3),T(19,"natural-avatar",5)(20,"natural-avatar",11)(21,"natural-avatar",12)(22,"natural-avatar",13)(23,"natural-avatar",14)(24,"natural-avatar",15)(25,"natural-avatar",16)(26,"natural-avatar",17),m(),f(27,"h2",2),C(28,"Failed sources are not retried"),m(),f(29,"div")(30,"button",18),E("click",function(){return i.failedSources.push(i.failedSources.length)}),C(31,"Add 1 failing source"),m()(),f(32,"div",3),S(33,w4e,2,0,"span",19),m()()),2&e&&(b(20),_("size",100),b(5),_("textMaximumLength",2),b(1),_("textSizeRatio",5),b(7),_("ngForOf",i.failedSources))},dependencies:[Ln,En,Pn,C4e,ct,tn,ke,Zt],styles:["natural-avatar[_ngcontent-%COMP%]{display:inline-block}"]}),n})();const D4e=function(){return["admin","product"]},S4e=[{path:"",component:ORe,children:[{path:"",component:RRe},{path:"search",component:b3e},{path:"select",component:y3e},{path:"select-hierarchic",component:J3e},{path:"select-enum",component:$3e},{path:"hierarchic",component:xOe},{path:"relation",component:KLe,resolve:{any:BS}},{path:"panels",component:ZFe,children:[{matcher:P4,component:f8,data:{panelsRoutes:H9}}]},{path:"list",component:T9,data:{title:"Listing of something"}},{path:"alert-service",component:C3e},{path:"nested/:listParamName",children:[{path:"list",component:T9,data:{title:"Listing of something else",selectedColumns:["name","description","hidden"]}}]},{path:"editable-list",component:xwe,data:{title:"Listing of editable items"}},{path:"navigable-list",component:rFe,data:{title:"Listing of navigable items"}},{path:"file",component:o4e,data:{title:"File upload"}},{path:"detail/:id",component:F3e,resolve:{any:BS},data:{title:"Detail page"},children:[{matcher:P4,component:f8,data:{panelsRoutes:H9}}]},{path:"detail-header",component:(()=>{class n{constructor(){this.model={}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=$({type:n,selectors:[["app-detail-header"]],standalone:!0,features:[Se],decls:35,vars:7,consts:[["fxLayout","column","fxLayoutGap","80px"],[1,"mat-headline-4"],["mat-raised-button","",3,"click"],[1,"mat-h2"],["newLabel","My new label","label","My label",3,"model"],["newLabel","My new label","label","My label","icon","pets",3,"model"],["newLabel","My new label","label","My label",3,"model","listRoute","rootLabel"],["fxLayout","row","fxLayoutGap","10px"],["mat-flat-button","","color","primary"],[3,"model"]],template:function(e,i){1&e&&(f(0,"div",0)(1,"div")(2,"h1",1),C(3,"NaturalDetailHeaderComponent"),m(),f(4,"button",2),E("click",function(){return i.model={}}),C(5,"With new model"),m(),f(6,"button",2),E("click",function(){return i.model={id:123}}),C(7,"With existing model without name"),m(),f(8,"button",2),E("click",function(){return i.model={id:123,name:"Some model name"}}),C(9,"With existing model with name "),m(),f(10,"button",2),E("click",function(){return i.model={id:123,fullName:"Some longer model full name with more information and codes"}}),C(11,"With existing model with full name "),m()(),f(12,"div")(13,"h2",3),C(14,"Simple"),m(),T(15,"natural-detail-header",4),m(),f(16,"div")(17,"h2",3),C(18,"With icon"),m(),T(19,"natural-detail-header",5),m(),f(20,"div")(21,"h2",3),C(22,"All"),m(),f(23,"natural-detail-header",6)(24,"div",7)(25,"button",8),C(26,"Extra"),m(),f(27,"button",8),C(28,"Buttons"),m(),f(29,"button",8),C(30,"Here"),m()()()(),f(31,"div")(32,"h2",3),C(33,"Minimal"),m(),T(34,"natural-detail-header",9),m()()),2&e&&(b(15),_("model",i.model),b(4),_("model",i.model),b(4),_("model",i.model)("listRoute",wn(6,D4e))("rootLabel","My root label"),b(11),_("model",i.model))},dependencies:[Ln,En,Pn,ct,tn,m$]}),n})(),resolve:{any:BS},data:{title:"Detail header"}},{path:"editor",component:XMe,data:{title:"Editor"}},{path:"other",component:cFe,data:{title:"Other tools"},children:[{path:"dialog",component:Uge,data:{trigger:{component:VNe,dialogConfig:{width:"600px",maxWidth:"95vw",maxHeight:"97vh",data:{cancelText:"asdfasfd",confirmText:"asdfasdf"}}}}}]},{path:"avatar",component:x4e,data:{title:"Avatar"}}]},{matcher:n=>h8.opened?null:{consumed:n},redirectTo:""}];function v$(n){return new z(3e3,!1)}function Dl(n){switch(n.length){case 0:return new Ap;case 1:return n[0];default:return new t8(n)}}function y$(n,t,e=new Map,i=new Map){const r=[],o=[];let a=-1,s=null;if(t.forEach(l=>{const c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((h,p)=>{let v=p,y=h;if("offset"!==p)switch(v=n.normalizePropertyName(v,r),y){case"!":y=e.get(p);break;case ts:y=i.get(p);break;default:y=n.normalizeStyleValue(p,v,y,r)}u.set(v,y)}),d||o.push(u),s=u,a=c}),r.length)throw function Y4e(n){return new z(3502,!1)}();return o}function SM(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&kM(e,"start",n)));break;case"done":n.onDone(()=>i(e&&kM(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&kM(e,"destroy",n)))}}function kM(n,t,e){const o=EM(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),a=n._data;return null!=a&&(o._data=a),o}function EM(n,t,e,i,r="",o=0,a){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Lr(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function C$(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}const aBe=(()=>typeof document>"u"?null:document.documentElement)();function MM(n){const t=n.parentNode||n.host||null;return t===aBe?null:t}let Uc=null,w$=!1;function x$(n,t){for(;t;){if(t===n)return!0;t=MM(t)}return!1}function D$(n,t,e){if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]}let S$=(()=>{class n{validateStyleProperty(e){return function lBe(n){Uc||(Uc=function cBe(){return typeof document<"u"?document.body:null}()||{},w$=!!Uc.style&&"WebkitAppearance"in Uc.style);let t=!0;return Uc.style&&!function sBe(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in Uc.style,!t&&w$&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Uc.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return x$(e,i)}getParentElement(e){return MM(e)}query(e,i,r){return D$(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new Ap(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})(),TM=(()=>{class n{}return n.NOOP=new S$,n})();const dBe=1e3,AM="ng-enter",n0="ng-leave",r0="ng-trigger",o0=".ng-trigger",E$="ng-animating",IM=".ng-animating";function _s(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:OM(parseFloat(t[1]),t[2])}function OM(n,t){return"s"===t?n*dBe:n}function a0(n,t,e){return n.hasOwnProperty("duration")?n:function hBe(n,t,e){let r,o=0,a="";if("string"==typeof n){const s=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push(v$()),{duration:0,delay:0,easing:""};r=OM(parseFloat(s[1]),s[2]);const l=s[3];null!=l&&(o=OM(parseFloat(l),s[4]));const c=s[5];c&&(a=c)}else r=n;if(!e){let s=!1,l=t.length;r<0&&(t.push(function k4e(){return new z(3100,!1)}()),s=!0),o<0&&(t.push(function E4e(){return new z(3101,!1)}()),s=!0),s&&t.splice(l,0,v$())}return{duration:r,delay:o,easing:a}}(n,t,e)}function Mm(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function M$(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Sl(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function Da(n,t,e){t.forEach((i,r)=>{const o=NM(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i})}function Gc(n,t){t.forEach((e,i)=>{const r=NM(i);n.style[r]=""})}function Tm(n){return Array.isArray(n)?1==n.length?n[0]:aS(n):n}const RM=new RegExp("{{\\s*(.+?)\\s*}}","g");function A$(n){let t=[];if("string"==typeof n){let e;for(;e=RM.exec(n);)t.push(e[1]);RM.lastIndex=0}return t}function Am(n,t,e){const i=n.toString(),r=i.replace(RM,(o,a)=>{let s=t[a];return null==s&&(e.push(function T4e(n){return new z(3003,!1)}()),s=""),s.toString()});return r==i?n:r}function s0(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const mBe=/-+([a-z0-9])/g;function NM(n){return n.replace(mBe,(...t)=>t[1].toUpperCase())}function Br(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function A4e(n){return new z(3004,!1)}()}}function I$(n,t){return window.getComputedStyle(n)[t]}const l0="*";function bBe(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function vBe(n,t,e){if(":"==n[0]){const l=function yBe(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function j4e(n){return new z(3015,!1)}()),t;const r=i[1],o=i[2],a=i[3];t.push(O$(r,a));"<"==o[0]&&!(r==l0&&a==l0)&&t.push(O$(a,r))}(i,e,t)):e.push(n),e}const c0=new Set(["true","1"]),d0=new Set(["false","0"]);function O$(n,t){const e=c0.has(n)||d0.has(n),i=c0.has(t)||d0.has(t);return(r,o)=>{let a=n==l0||n==r,s=t==l0||t==o;return!a&&e&&"boolean"==typeof r&&(a=r?c0.has(n):d0.has(n)),!s&&i&&"boolean"==typeof o&&(s=o?c0.has(t):d0.has(t)),a&&s}}const CBe=new RegExp("s*:selfs*,?","g");function FM(n,t,e,i){return new wBe(n).build(t,e,i)}class wBe{constructor(t){this._driver=t}build(t,e,i){const r=new SBe(e);return this._resetContextStyleTimingState(r),Br(this,Tm(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push(function O4e(){return new z(3006,!1)}()),t.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),0==s.type){const l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(1==s.type){const l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(function R4e(){return new z(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=r||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{A$(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size&&(s0(o.values()),e.errors.push(function N4e(n,t){return new z(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Br(this,Tm(t.animation),e);return{type:1,matchers:bBe(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:qc(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Br(this,i,e)),options:qc(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(a=>{e.currentTime=i;const s=Br(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:o,options:qc(t.options)}}visitAnimate(t,e){const i=function EBe(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return PM(a0(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=PM(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=a0(e,t);return PM(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:_e({});if(5==o.type)r=this.visitKeyframes(o,e);else{let a=t.styles,s=!1;if(!a){s=!0;const c={};i.easing&&(c.easing=i.easing),a=_e(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let s of r)"string"==typeof s?s===ts?i.push(s):e.errors.push(new z(3002,!1)):i.push(M$(s));let o=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o))for(let l of s.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(function P4e(n,t,e,i,r){return new z(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&function pBe(n,t,e){const i=t.params||{},r=A$(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function M4e(n){return new z(3001,!1)}())})}(s,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function L4e(){return new z(3011,!1)}()),i;let o=0;const a=[];let s=!1,l=!1,c=0;const d=t.steps.map(k=>{const D=this._makeStyleAst(k,e);let M=null!=D.offset?D.offset:function kBe(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(D.styles),A=0;return null!=M&&(o++,A=D.offset=M),l=l||A<0||A>1,s=s||A0&&o{const M=h>0?D==p?1:h*D:a[D],A=M*w;e.currentTime=v+y.delay+A,y.duration=A,this._validateStyleAst(k,e),k.offset=M,i.styles.push(k)}),i}visitReference(t,e){return{type:8,animation:Br(this,Tm(t.animation),e),options:qc(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:qc(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:qc(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,a]=function xBe(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(CBe,"")),n=n.replace(/@\*/g,o0).replace(/@\w+/g,e=>o0+"-"+e.slice(1)).replace(/:animating/g,IM),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Lr(e.collectedStyles,e.currentQuerySelector,new Map);const s=Br(this,Tm(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:qc(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function H4e(){return new z(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:a0(t.timings,e.errors,!0);return{type:12,animation:Br(this,Tm(t.animation),e),timings:i,options:null}}}class SBe{constructor(t){this.errors=t,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 qc(n){return n?(n=Mm(n)).params&&(n.params=function DBe(n){return n?Mm(n):null}(n.params)):n={},n}function PM(n,t,e){return{duration:n,delay:t,easing:e}}function LM(n,t,e,i,r,o,a=null,s=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}class u0{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ABe=new RegExp(":enter","g"),OBe=new RegExp(":leave","g");function BM(n,t,e,i,r,o=new Map,a=new Map,s,l,c=[]){return(new RBe).buildKeyframes(n,t,e,i,r,o,a,s,l,c)}class RBe{buildKeyframes(t,e,i,r,o,a,s,l,c,d=[]){c=c||new u0;const u=new VM(t,e,c,r,o,d,[]);u.options=l;const h=l.delay?_s(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([a],null,u.errors,l),Br(this,i,u);const p=u.timelines.filter(v=>v.containsAnimation());if(p.length&&s.size){let v;for(let y=p.length-1;y>=0;y--){const w=p[y];if(w.element===e){v=w;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([s],null,u.errors,l)}return p.length?p.map(v=>v.buildKeyframes()):[LM(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const a="number"==typeof o?o:_s(Am(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?_s(i.duration):null,s=null!=i.delay?_s(i.delay):null;return 0!==a&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Br(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=h0);const a=_s(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>Br(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?_s(t.options.delay):0;t.steps.forEach(a=>{const s=e.createSubContext(t.options);o&&s.delayNextStep(o),Br(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return a0(e.params?Am(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,t.styles.forEach(l=>{s.forwardTime((l.offset||0)*o),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?_s(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=h0);let a=i;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(t.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),Br(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1);let l=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime}const d=e.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Br(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const h0={};class VM{constructor(t,e,i,r,o,a,s,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=h0,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new f0(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=_s(i.duration)),null!=i.delay&&(r.delay=_s(i.delay));const o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=Am(o[s],a,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new VM(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=h0,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new NBe(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,a){let s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(ABe,"."+this._enterClassName)).replace(OBe,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!o&&0==s.length&&a.push(function $4e(n){return new z(3014,!1)}()),s}}class f0{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new f0(this._driver,t,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ts),this._currentKeyframe.set(e,ts);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function FBe(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,ts)}else Sl(r,e)}),e}(t,this._globalTimelineStyles);for(let[s,l]of a){const c=Am(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??ts),this._updateStyle(s,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,l)=>{const c=Sl(s,new Map,this._backFill);c.forEach((d,u)=>{"!"===d?t.add(u):d===ts&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?s0(t.values()):[],a=e.size?s0(e.values()):[];if(i){const s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return LM(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class NBe extends f0{constructor(t,e,i,r,o,a,s=!1){super(t,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,s=e/a,l=Sl(t[0]);l.set("offset",0),o.push(l);const c=Sl(t[0]);c.set("offset",F$(s)),o.push(c);const d=t.length-1;for(let u=1;u<=d;u++){let h=Sl(t[u]);const p=h.get("offset");h.set("offset",F$((e+p*i)/a)),o.push(h)}i=a,e=0,r="",t=o}return LM(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function F$(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class zM{}const PBe=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 LBe extends zM{normalizePropertyName(t,e){return NM(t)}normalizeStyleValue(t,e,i,r){let o="";const a=i.toString().trim();if(PBe.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push(function I4e(n,t){return new z(3005,!1)}())}return a+o}}function P$(n,t,e,i,r,o,a,s,l,c,d,u,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const HM={};class L${constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function BBe(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,a,s,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||HM,v=this.buildStyles(i,s&&s.params||HM,u),y=l&&l.params||HM,w=this.buildStyles(r,y,u),k=new Set,D=new Map,M=new Map,A="void"===r,O={params:VBe(y,h),delay:this.ast.options?.delay},he=d?[]:BM(t,e,this.ast.animation,o,a,v,w,O,c,u);let P=0;if(he.forEach(Ve=>{P=Math.max(Ve.duration+Ve.delay,P)}),u.length)return P$(e,this._triggerName,i,r,A,v,w,[],[],D,M,P,u);he.forEach(Ve=>{const Ne=Ve.element,Dn=Lr(D,Ne,new Set);Ve.preStyleProps.forEach(Bt=>Dn.add(Bt));const Vi=Lr(M,Ne,new Set);Ve.postStyleProps.forEach(Bt=>Vi.add(Bt)),Ne!==e&&k.add(Ne)});const le=s0(k.values());return P$(e,this._triggerName,i,r,A,v,w,he,le,D,M,P)}}function VBe(n,t){const e=Mm(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class zBe{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Mm(this.defaultParams);return Object.keys(t).forEach(o=>{const a=t[o];null!==a&&(r[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,s)=>{a&&(a=Am(a,r,e));const l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(s,a)})}),i}}class $Be{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new zBe(r.style,r.options&&r.options.params||{},i))}),B$(this.states,"true","1"),B$(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new L$(t,r,this.states))}),this.fallbackTransition=function jBe(n,t,e){return new L$(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(a=>a.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function B$(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const UBe=new u0;class GBe{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=FM(this._driver,e,i,[]);if(i.length)throw function K4e(n){return new z(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=y$(this._normalizer,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let a;const s=new Map;if(o?(a=BM(this._driver,e,o,AM,n0,new Map,new Map,i,UBe,r),a.forEach(d=>{const u=Lr(s,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function Q4e(){return new z(3300,!1)}()),a=[]),r.length)throw function X4e(n){return new z(3504,!1)}();s.forEach((d,u)=>{d.forEach((h,p)=>{d.set(p,this._driver.computeStyle(u,p,ts))})});const c=Dl(a.map(d=>{const u=s.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function J4e(n){return new z(3301,!1)}();return e}listen(t,e,i,r){const o=EM(e,"","","");return SM(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const V$="ng-animate-queued",$M="ng-animate-disabled",QBe=[],z$={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},XBe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},so="__ng_removed";class jM{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function t8e(n){return n??null}(i?t.value:t),i){const o=Mm(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Im="void",UM=new jM(Im);class JBe{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,lo(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function Z4e(n,t){return new z(3302,!1)}();if(null==i||0==i.length)throw function eBe(n){return new z(3303,!1)}();if(!function n8e(n){return"start"==n||"done"==n}(i))throw function tBe(n,t){return new z(3400,!1)}();const o=Lr(this._elementListeners,t,[]),a={name:e,phase:i,callback:r};o.push(a);const s=Lr(this._engine.statesByElement,t,new Map);return s.has(e)||(lo(t,r0),lo(t,r0+"-"+e),s.set(e,UM)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function nBe(n){return new z(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),a=new GM(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(lo(t,r0),lo(t,r0+"-"+e),this._engine.statesByElement.set(t,s=new Map));let l=s.get(e);const c=new jM(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=UM),c.value!==Im&&l.value===c.value){if(!function o8e(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{Gc(t,w),Da(t,k)})}return}const h=Lr(this._engine.playersByElement,t,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let p=o.matchTransition(l.value,c.value,t,c.params),v=!1;if(!p){if(!r)return;p=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:c,player:a,isFallbackTransition:v}),v||(lo(t,V$),a.onStart(()=>{gh(t,V$)})),a.onDone(()=>{let y=this.players.indexOf(a);y>=0&&this.players.splice(y,1);const w=this._engine.playersByElement.get(t);if(w){let k=w.indexOf(a);k>=0&&w.splice(k,1)}}),this.players.push(a),h.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,o0,!0);i.forEach(r=>{if(r[so])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),a=new Map;if(o){const s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){const d=this.trigger(t,c,Im,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),i&&Dl(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const l=this._triggers.get(a).fallbackTransition,c=i.get(a)||UM,d=new jM(Im),u=new GM(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let a=t;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[so];(!o||o===z$)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){lo(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==i.triggerName){const l=EM(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,SM(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class ZBe{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new JBe(t,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[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){const l=r.get(s);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(p0(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!p0(e))return;const o=e[so];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),lo(t,$M)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),gh(t,$M))}removeNode(t,e,i){if(p0(e)){const r=t?this._fetchNamespace(t):null;r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[so]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return p0(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,o0,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,IM,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Dl(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[so];if(e&&e.setForRemoval){if(t[so]=z$,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains($M)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Dl(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function iBe(n){return new z(3402,!1)}()}_flushAnimations(t,e){const i=new u0,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(we=>{d.add(we);const Me=this.driver.query(we,".ng-animate-queued",!0);for(let Ae=0;Ae{const Ae=AM+y++;v.set(Me,Ae),we.forEach(at=>lo(at,Ae))});const w=[],k=new Set,D=new Set;for(let we=0;wek.add(at)):D.add(Me))}const M=new Map,A=j$(h,Array.from(k));A.forEach((we,Me)=>{const Ae=n0+y++;M.set(Me,Ae),we.forEach(at=>lo(at,Ae))}),t.push(()=>{p.forEach((we,Me)=>{const Ae=v.get(Me);we.forEach(at=>gh(at,Ae))}),A.forEach((we,Me)=>{const Ae=M.get(Me);we.forEach(at=>gh(at,Ae))}),w.forEach(we=>{this.processLeaveNode(we)})});const O=[],he=[];for(let we=this._namespaceList.length-1;we>=0;we--)this._namespaceList[we].drainQueuedTransitions(e).forEach(Ae=>{const at=Ae.player,bn=Ae.element;if(O.push(at),this.collectedEnterElements.length){const Un=bn[so];if(Un&&Un.setForMove){if(Un.previousTriggersValues&&Un.previousTriggersValues.has(Ae.triggerName)){const Po=Un.previousTriggersValues.get(Ae.triggerName),Ie=this.statesByElement.get(Ae.element);if(Ie&&Ie.has(Ae.triggerName)){const _0=Ie.get(Ae.triggerName);_0.value=Po,Ie.set(Ae.triggerName,_0)}}return void at.destroy()}}const Hi=!u||!this.driver.containsElement(u,bn),Tt=M.get(bn),Cr=v.get(bn),bt=this._buildInstruction(Ae,i,Cr,Tt,Hi);if(bt.errors&&bt.errors.length)return void he.push(bt);if(Hi)return at.onStart(()=>Gc(bn,bt.fromStyles)),at.onDestroy(()=>Da(bn,bt.toStyles)),void r.push(at);if(Ae.isFallbackTransition)return at.onStart(()=>Gc(bn,bt.fromStyles)),at.onDestroy(()=>Da(bn,bt.toStyles)),void r.push(at);const Sa=[];bt.timelines.forEach(Un=>{Un.stretchStartingKeyframe=!0,this.disabledNodes.has(Un.element)||Sa.push(Un)}),bt.timelines=Sa,i.append(bn,bt.timelines),a.push({instruction:bt,player:at,element:bn}),bt.queriedElements.forEach(Un=>Lr(s,Un,[]).push(at)),bt.preStyleProps.forEach((Un,Po)=>{if(Un.size){let Ie=l.get(Po);Ie||l.set(Po,Ie=new Set),Un.forEach((_0,WM)=>Ie.add(WM))}}),bt.postStyleProps.forEach((Un,Po)=>{let Ie=c.get(Po);Ie||c.set(Po,Ie=new Set),Un.forEach((_0,WM)=>Ie.add(WM))})});if(he.length){const we=[];he.forEach(Me=>{we.push(function rBe(n,t){return new z(3505,!1)}())}),O.forEach(Me=>Me.destroy()),this.reportError(we)}const P=new Map,le=new Map;a.forEach(we=>{const Me=we.element;i.has(Me)&&(le.set(Me,Me),this._beforeAnimationBuild(we.player.namespaceId,we.instruction,P))}),r.forEach(we=>{const Me=we.element;this._getPreviousPlayers(Me,!1,we.namespaceId,we.triggerName,null).forEach(at=>{Lr(P,Me,[]).push(at),at.destroy()})});const Ve=w.filter(we=>G$(we,l,c)),Ne=new Map;$$(Ne,this.driver,D,c,ts).forEach(we=>{G$(we,l,c)&&Ve.push(we)});const Vi=new Map;p.forEach((we,Me)=>{$$(Vi,this.driver,new Set(we),l,"!")}),Ve.forEach(we=>{const Me=Ne.get(we),Ae=Vi.get(we);Ne.set(we,new Map([...Me?.entries()??[],...Ae?.entries()??[]]))});const Bt=[],zi=[],bs={};a.forEach(we=>{const{element:Me,player:Ae,instruction:at}=we;if(i.has(Me)){if(d.has(Me))return Ae.onDestroy(()=>Da(Me,at.toStyles)),Ae.disabled=!0,Ae.overrideTotalTime(at.totalTime),void r.push(Ae);let bn=bs;if(le.size>1){let Tt=Me;const Cr=[];for(;Tt=Tt.parentNode;){const bt=le.get(Tt);if(bt){bn=bt;break}Cr.push(Tt)}Cr.forEach(bt=>le.set(bt,bn))}const Hi=this._buildAnimation(Ae.namespaceId,at,P,o,Vi,Ne);if(Ae.setRealPlayer(Hi),bn===bs)Bt.push(Ae);else{const Tt=this.playersByElement.get(bn);Tt&&Tt.length&&(Ae.parentPlayer=Dl(Tt)),r.push(Ae)}}else Gc(Me,at.fromStyles),Ae.onDestroy(()=>Da(Me,at.toStyles)),zi.push(Ae),d.has(Me)&&r.push(Ae)}),zi.forEach(we=>{const Me=o.get(we.element);if(Me&&Me.length){const Ae=Dl(Me);we.setRealPlayer(Ae)}}),r.forEach(we=>{we.parentPlayer?we.syncPlayerEvents(we.parentPlayer):we.destroy()});for(let we=0;we!Hi.destroyed);bn.length?i8e(this,Me,bn):this.processLeaveNode(Me)}return w.length=0,Bt.forEach(we=>{this.players.push(we),we.onDone(()=>{we.destroy();const Me=this.players.indexOf(we);this.players.splice(Me,1)}),we.play()}),Bt}elementContainsData(t,e){let i=!1;const r=e[so];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let a=[];if(e){const s=this.playersByQueriedElement.get(t);s&&(a=s)}else{const s=this.playersByElement.get(t);if(s){const l=!o||o==Im;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(i||r)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(t,e,i){const o=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,d=c!==o,u=Lr(i,c,[]);this._getPreviousPlayers(c,d,a,s,e.toState).forEach(p=>{const v=p.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),p.destroy(),u.push(p)})}Gc(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,a){const s=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,h=e.timelines.map(v=>{const y=v.element;d.add(y);const w=y[so];if(w&&w.removedBeforeQueried)return new Ap(v.duration,v.delay);const k=y!==l,D=function r8e(n){const t=[];return U$(n,t),t}((i.get(y)||QBe).map(P=>P.getRealPlayer())).filter(P=>!!P.element&&P.element===y),M=o.get(y),A=a.get(y),O=y$(this._normalizer,v.keyframes,M,A),he=this._buildPlayer(v,O,D);if(v.subTimeline&&r&&u.add(y),k){const P=new GM(t,s,y);P.setRealPlayer(he),c.push(P)}return he});c.forEach(v=>{Lr(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>function e8e(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>lo(v,E$));const p=Dl(h);return p.onDestroy(()=>{d.forEach(v=>gh(v,E$)),Da(l,e.toStyles)}),u.forEach(v=>{Lr(r,v,[]).push(p)}),p}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Ap(t.duration,t.delay)}}class GM{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Ap,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(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>SM(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Lr(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function p0(n){return n&&1===n.nodeType}function H$(n,t){const e=n.style.display;return n.style.display=t??"none",e}function $$(n,t,e,i,r){const o=[];e.forEach(l=>o.push(H$(l)));const a=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=t.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[so]=XBe,a.push(c))}),n.set(c,d)});let s=0;return e.forEach(l=>H$(l,o[s++])),a}function j$(n,t){const e=new Map;if(n.forEach(s=>e.set(s,[])),0==t.length)return e;const r=new Set(t),o=new Map;function a(s){if(!s)return 1;let l=o.get(s);if(l)return l;const c=s.parentNode;return l=e.has(c)?c:r.has(c)?1:a(c),o.set(s,l),l}return t.forEach(s=>{const l=a(s);1!==l&&e.get(l).push(s)}),e}function lo(n,t){n.classList?.add(t)}function gh(n,t){n.classList?.remove(t)}function i8e(n,t,e){Dl(e).onDone(()=>n.processLeaveNode(t))}function U$(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class m0{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new ZBe(t,e,i),this._timelineEngine=new GBe(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const a=t+"-"+r;let s=this._triggerCache[a];if(!s){const l=[],d=FM(this._driver,o,l,[]);if(l.length)throw function W4e(n,t){return new z(3404,!1)}();s=function HBe(n,t,e){return new $Be(n,t,e)}(r,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,a]=C$(i);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[a,s]=C$(i);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let s8e=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Da(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Da(this._element,this._initialStyles),this._endStyles&&(Da(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Gc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Gc(this._element,this._endStyles),this._endStyles=null),Da(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function qM(n){let t=null;return n.forEach((e,i)=>{(function l8e(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class q${constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:I$(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class c8e{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return x$(t,e)}getParentElement(t){return MM(t)}query(t,e,i){return D$(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,a=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=a.filter(p=>p instanceof q$);(function gBe(n,t){return 0===n||0===t})(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((v,y)=>c.set(y,v))});let u=function fBe(n){return n.length?n[0]instanceof Map?n:n.map(t=>M$(t)):[]}(e).map(p=>Sl(p));u=function _Be(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;oa.set(s,I$(n,s)))}}return t}(t,u,c);const h=function a8e(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=qM(t[0]),t.length>1&&(i=qM(t[t.length-1]))):t instanceof Map&&(e=qM(t)),e||i?new s8e(n,e,i):null}(t,u);return new q$(t,u,l,h)}}let d8e=(()=>{class n extends e8{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:ir.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?aS(e):e;return W$(this._renderer,null,i,"register",[r]),new u8e(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(I(Wh),I(ye))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();class u8e extends Oge{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new h8e(this._id,t,e||{},this._renderer)}}class h8e{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return W$(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function W$(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const Y$="@.disabled";let f8e=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(o,a)=>{const s=a?.parentNode(o);s&&a.removeChild(s,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let d=this._rendererCache.get(o);return d||(d=new K$("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const a=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(a,s,e,d.name,d)};return i.data.animation.forEach(l),new p8e(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}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()}}return n.\u0275fac=function(e){return new(e||n)(I(Wh),I(m0),I(ce))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();class K${constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==Y$?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class p8e extends K${constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Y$?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function m8e(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function g8e(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,a,s=>{this.factory.scheduleListenerCallback(s._data||-1,i,s)})}return this.delegate.listen(t,e,i)}}let _8e=(()=>{class n extends m0{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(I(ye),I(TM),I(zM),I(Va))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const Q$=[{provide:e8,useClass:d8e},{provide:zM,useFactory:function b8e(){return new LBe}},{provide:m0,useClass:_8e},{provide:Wh,useFactory:function v8e(n,t,e){return new f8e(n,t,e)},deps:[Bx,m0,ce]}],y8e=[{provide:TM,useFactory:()=>new c8e},{provide:Ot,useValue:"BrowserAnimations"},...Q$];let x8e=(()=>{class n{link(e){return ee({data:e}).pipe(gM("Mock NaturalLinkMutationService.link()"),hi(500))}linkMany(e){return ee([{data:e}]).pipe(gM("Mock NaturalLinkMutationService.linkMany()"),hi(500))}unlink(e){return ee({data:e}).pipe(gM("Mock NaturalLinkMutationService.unlink()"),hi(500))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),D8e=(()=>{class n{constructor(e){this.snackBar=e}getExtras(){return this.snackBar.open("An error happened","Yes",{duration:3e3,panelClass:["snackbar-error"],verticalPosition:"top",horizontalPosition:"end"}),ee({extraAddedKey:"extraAddedValue"})}}return n.\u0275fac=function(e){return new(e||n)(I(y9))},n.\u0275prov=L({token:n,factory:n.\u0275fac}),n})();const S8e=[RC([Js,b9]),sRe,cRe],X$=new F("Absolute URL of the log server"),J$=new F("Class that may provide extra data to log");let E8e=(()=>{class n extends $r{constructor(e,i,r,o){super(),this.http=e,this.document=i,this.url=r,this.loggerExtra=o}handleError(e){console.error(e);const i={message:this.toMessage(e),href:this.document.defaultView?.window.location.href,host:this.document.defaultView?.window.location.hostname,path:this.document.defaultView?.window.location.pathname,agent:this.document.defaultView?.window.navigator.userAgent,level:"error"};e?.stack&&(i.stacktrace=e.stack),typeof e?.status<"u"&&(i.status=e.status),e?.referrer&&(i.referrer=e.referrer),e?.url&&(i.url=e.url),this.loggerExtra?this.loggerExtra.getExtras(e).pipe(Xr(r=>ee({getExtrasErrorMessage:this.toMessage(r)})),Qr()).subscribe(r=>{this.postLog(Object.assign(i,r))}):this.postLog(i)}toMessage(e){return e&&"object"==typeof e&&"message"in e?""+e.message:""+e}postLog(e){this.url&&this.http.post(this.url,e,{headers:(new Do).set("content-type","application/json")}).pipe(Xr(()=>vn)).subscribe()}}return n.\u0275fac=function(e){return new(e||n)(I(np),I(ye),I(X$,8),I(J$,8))},n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const A8e=[/^(?\d{1,2})\.(?\d{1,2})\.(?\d{4}|\d{2})$/,/^(?\d{1,2})-(?\d{1,2})-(?\d{4}|\d{2})$/,/^(?\d{1,2})\/(?\d{1,2})\/(?\d{4}|\d{2})$/,/^(?\d{1,2})\\(?\d{1,2})\\(?\d{4}|\d{2})$/,/^(?\d{4})-(?\d{2})-(?\d{2})$/];let I8e=(()=>{class n extends UB{parse(e){if("number"==typeof e)return new Date(e);if("string"==typeof e){const i=e.trim();for(const r of A8e){const o=i.match(r);if(o?.groups)return this.createDateIfValid(+o.groups.year,+o.groups.month,+o.groups.day)}}return null}createDateIfValid(e,i,r){return e<100&&(e+=2e3),(i-=1)>=0&&i<=11&&r>=1&&r<=31?this.createDate(e,i,r):null}getFirstDayOfWeek(){return 1}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=fe(n)))(i||n)}}(),n.\u0275prov=L({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();(function pte(n,t){return DJ({rootComponent:n,...TF(t)})})(woe,{providers:[RC(Dge),$s,S8e,function k8e(n){return[{provide:lV,useValue:n},{provide:rN,multi:!0,useFactory:()=>{const t=ne(ju);return()=>{const i=t.getDefaultFontSetClass().filter(r=>"material-icons"!==r).concat(["material-symbols-outlined"]);t.setDefaultFontSetClass(...i)}}}]}({natural:{svg:"assets/logo.svg"},github:{svg:"assets/github.svg"}}),function M8e(n,t){const e=[{provide:$r,useClass:E8e},{provide:X$,useValue:n}];return t&&e.push({provide:J$,useClass:t}),e}(null,D8e),function T8e(n){return[{provide:eB,useValue:n}]}({}),{provide:Hn,useClass:I8e},{provide:l$,useClass:x8e},{provide:D9,useValue:{formFieldAppearance:"fill"}},function w8e(){return[...y8e]}(),function gce(...n){const t=[np,W3,G3,{provide:xb,useExisting:G3},{provide:Db,useExisting:W3},{provide:ip,useValue:mce,multi:!0},{provide:uD,useValue:!0},{provide:Q3,useClass:pce}];for(const e of n)t.push(...e.\u0275providers);return Eg(t)}(),function Tie(n,...t){return Eg([{provide:$_,multi:!0,useValue:n},[],{provide:Ar,useFactory:MP,deps:[ii]},{provide:r_,multi:!0,useFactory:TP},t.map(e=>e.\u0275providers)])}(S4e,function Rie(n){return function $a(n,t){return{\u0275kind:n,\u0275providers:t}}(5,[{provide:r1,useValue:n}])}({paramsInheritanceStrategy:"always"}))]}).catch(n=>console.error(n))}},vt=>{vt(vt.s=590)}]); \ No newline at end of file diff --git a/polyfills.7ef5cb68fba64374.js b/polyfills.7ef5cb68fba64374.js new file mode 100644 index 00000000..e2f5bed0 --- /dev/null +++ b/polyfills.7ef5cb68fba64374.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[429],{253:(_e,Se,Oe)=>{const me=":";const ze=function(i,...s){if(ze.translate){const t=ze.translate(i,s);i=t[0],s=t[1]}let e=Te(i[0],i.raw[0]);for(let t=1;ttypeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=ze,Oe(332)},332:()=>{!function(e){const t=e.performance;function r($){t&&t.mark&&t.mark($)}function o($,m){t&&t.measure&&t.measure($,m)}r("Zone");const a=e.__Zone_symbol_prefix||"__zone_symbol__";function u($){return a+$}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let T=(()=>{class ${static assertZonePatched(){if(e.Promise!==he.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=$.current;for(;n.parent;)n=n.parent;return n}static get current(){return W.zone}static get currentTask(){return ue}static __load_patch(n,c,S=!1){if(he.hasOwnProperty(n)){if(!S&&f)throw Error("Already loaded patch: "+n)}else if(!e["__Zone_disable_"+n]){const I="Zone:"+n;r(I),he[n]=c(e,$,K),o(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(n,c){this._parent=n,this._name=c?c.name||"unnamed":"",this._properties=c&&c.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,c)}get(n){const c=this.getZoneWith(n);if(c)return c._properties[n]}getZoneWith(n){let c=this;for(;c;){if(c._properties.hasOwnProperty(n))return c;c=c._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,c){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const S=this._zoneDelegate.intercept(this,n,c),I=this;return function(){return I.runGuarded(S,this,arguments,c)}}run(n,c,S,I){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,n,c,S,I)}finally{W=W.parent}}runGuarded(n,c=null,S,I){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,n,c,S,I)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{W=W.parent}}runTask(n,c,S){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||ee).name+"; Execution: "+this.name+")");if(n.state===U&&(n.type===ne||n.type===O))return;const I=n.state!=y;I&&n._transitionTo(y,B),n.runCount++;const Q=ue;ue=n,W={parent:W,zone:this};try{n.type==O&&n.data&&!n.data.isPeriodic&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,c,S)}catch(h){if(this._zoneDelegate.handleError(this,h))throw h}}finally{n.state!==U&&n.state!==E&&(n.type==ne||n.data&&n.data.isPeriodic?I&&n._transitionTo(B,y):(n.runCount=0,this._updateTaskCount(n,-1),I&&n._transitionTo(U,y,U))),W=W.parent,ue=Q}}scheduleTask(n){if(n.zone&&n.zone!==this){let S=this;for(;S;){if(S===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);S=S.parent}}n._transitionTo(Y,U);const c=[];n._zoneDelegates=c,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(S){throw n._transitionTo(E,Y,U),this._zoneDelegate.handleError(this,S),S}return n._zoneDelegates===c&&this._updateTaskCount(n,1),n.state==Y&&n._transitionTo(B,Y),n}scheduleMicroTask(n,c,S,I){return this.scheduleTask(new g(j,n,c,S,I,void 0))}scheduleMacroTask(n,c,S,I,Q){return this.scheduleTask(new g(O,n,c,S,I,Q))}scheduleEventTask(n,c,S,I,Q){return this.scheduleTask(new g(ne,n,c,S,I,Q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||ee).name+"; Execution: "+this.name+")");if(n.state===B||n.state===y){n._transitionTo(V,B,y);try{this._zoneDelegate.cancelTask(this,n)}catch(c){throw n._transitionTo(E,V),this._zoneDelegate.handleError(this,c),c}return this._updateTaskCount(n,-1),n._transitionTo(U,V),n.runCount=0,n}}_updateTaskCount(n,c){const S=n._zoneDelegates;-1==c&&(n._zoneDelegates=null);for(let I=0;I$.hasTask(n,c),onScheduleTask:($,m,n,c)=>$.scheduleTask(n,c),onInvokeTask:($,m,n,c,S,I)=>$.invokeTask(n,c,S,I),onCancelTask:($,m,n,c)=>$.cancelTask(n,c)};class v{constructor(m,n,c){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=m,this._parentDelegate=n,this._forkZS=c&&(c&&c.onFork?c:n._forkZS),this._forkDlgt=c&&(c.onFork?n:n._forkDlgt),this._forkCurrZone=c&&(c.onFork?this.zone:n._forkCurrZone),this._interceptZS=c&&(c.onIntercept?c:n._interceptZS),this._interceptDlgt=c&&(c.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=c&&(c.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=c&&(c.onInvoke?c:n._invokeZS),this._invokeDlgt=c&&(c.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=c&&(c.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=c&&(c.onHandleError?c:n._handleErrorZS),this._handleErrorDlgt=c&&(c.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=c&&(c.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=c&&(c.onScheduleTask?c:n._scheduleTaskZS),this._scheduleTaskDlgt=c&&(c.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=c&&(c.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=c&&(c.onInvokeTask?c:n._invokeTaskZS),this._invokeTaskDlgt=c&&(c.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=c&&(c.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=c&&(c.onCancelTask?c:n._cancelTaskZS),this._cancelTaskDlgt=c&&(c.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=c&&(c.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const S=c&&c.onHasTask;(S||n&&n._hasTaskZS)&&(this._hasTaskZS=S?c:w,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=m,c.onScheduleTask||(this._scheduleTaskZS=w,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),c.onInvokeTask||(this._invokeTaskZS=w,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),c.onCancelTask||(this._cancelTaskZS=w,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}fork(m,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,m,n):new T(m,n)}intercept(m,n,c){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,m,n,c):n}invoke(m,n,c,S,I){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,m,n,c,S,I):n.apply(c,S)}handleError(m,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,m,n)}scheduleTask(m,n){let c=n;if(this._scheduleTaskZS)this._hasTaskZS&&c._zoneDelegates.push(this._hasTaskDlgtOwner),c=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,m,n),c||(c=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=j)throw new Error("Task is missing scheduleFn.");R(n)}return c}invokeTask(m,n,c,S){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,m,n,c,S):n.callback.apply(c,S)}cancelTask(m,n){let c;if(this._cancelTaskZS)c=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,m,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");c=n.cancelFn(n)}return c}hasTask(m,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,m,n)}catch(c){this.handleError(m,c)}}_updateTaskCount(m,n){const c=this._taskCounts,S=c[m],I=c[m]=S+n;if(I<0)throw new Error("More tasks executed then were scheduled.");0!=S&&0!=I||this.hasTask(this.zone,{microTask:c.microTask>0,macroTask:c.macroTask>0,eventTask:c.eventTask>0,change:m})}}class g{constructor(m,n,c,S,I,Q){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=m,this.source=n,this.data=S,this.scheduleFn=I,this.cancelFn=Q,!c)throw new Error("callback is not defined");this.callback=c;const h=this;this.invoke=m===ne&&S&&S.useG?g.invokeTask:function(){return g.invokeTask.call(e,h,this,arguments)}}static invokeTask(m,n,c){m||(m=this),se++;try{return m.runCount++,m.zone.runTask(m,n,c)}finally{1==se&&p(),se--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(U,Y)}_transitionTo(m,n,c){if(this._state!==n&&this._state!==c)throw new Error(`${this.type} '${this.source}': can not transition to '${m}', expecting state '${n}'${c?" or '"+c+"'":""}, was '${this._state}'.`);this._state=m,m==U&&(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 L=u("setTimeout"),P=u("Promise"),D=u("then");let J,N=[],x=!1;function F($){if(J||e[P]&&(J=e[P].resolve(0)),J){let m=J[D];m||(m=J.then),m.call(J,$)}else e[L]($,0)}function R($){0===se&&0===N.length&&F(p),$&&N.push($)}function p(){if(!x){for(x=!0;N.length;){const $=N;N=[];for(let m=0;m<$.length;m++){const n=$[m];try{n.zone.runTask(n,null,null)}catch(c){K.onUnhandledError(c)}}}K.microtaskDrainDone(),x=!1}}const ee={name:"NO ZONE"},U="notScheduled",Y="scheduling",B="scheduled",y="running",V="canceling",E="unknown",j="microTask",O="macroTask",ne="eventTask",he={},K={symbol:u,currentZoneFrame:()=>W,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:R,showUncaughtError:()=>!T[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:F};let W={parent:null,zone:new T(null,null)},ue=null,se=0;function q(){}o("Zone","Zone"),e.Zone=T}(typeof window<"u"&&window||typeof self<"u"&&self||global);const _e=Object.getOwnPropertyDescriptor,Se=Object.defineProperty,Oe=Object.getPrototypeOf,me=Object.create,rt=Array.prototype.slice,Re="addEventListener",Ae="removeEventListener",fe=Zone.__symbol__(Re),Ce=Zone.__symbol__(Ae),ie="true",re="false",Ne=Zone.__symbol__("");function Le(e,t){return Zone.current.wrap(e,t)}function We(e,t,r,o,a){return Zone.current.scheduleMacroTask(e,t,r,o,a)}const H=Zone.__symbol__,Ie=typeof window<"u",Ee=Ie?window:void 0,X=Ie&&Ee||"object"==typeof self&&self||global,ot="removeAttribute";function xe(e,t){for(let r=e.length-1;r>=0;r--)"function"==typeof e[r]&&(e[r]=Le(e[r],t+"_"+r));return e}function qe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,ve=!("nw"in X)&&typeof X.process<"u"&&"[object process]"==={}.toString.call(X.process),De=!ve&&!je&&!(!Ie||!Ee.HTMLElement),$e=typeof X.process<"u"&&"[object process]"==={}.toString.call(X.process)&&!je&&!(!Ie||!Ee.HTMLElement),we={},ce=function(e){if(!(e=e||X.event))return;let t=we[e.type];t||(t=we[e.type]=H("ON_PROPERTY"+e.type));const r=this||e.target||X,o=r[t];let a;return De&&r===Ee&&"error"===e.type?(a=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===a&&e.preventDefault()):(a=o&&o.apply(this,arguments),null!=a&&!a&&e.preventDefault()),a};function He(e,t,r){let o=_e(e,t);if(!o&&r&&_e(r,t)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const a=H("on"+t+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete o.writable,delete o.value;const u=o.get,f=o.set,T=t.slice(2);let w=we[T];w||(w=we[T]=H("ON_PROPERTY"+T)),o.set=function(v){let g=this;!g&&e===X&&(g=X),g&&("function"==typeof g[w]&&g.removeEventListener(T,ce),f&&f.call(g,null),g[w]=v,"function"==typeof v&&g.addEventListener(T,ce,!1))},o.get=function(){let v=this;if(!v&&e===X&&(v=X),!v)return null;const g=v[w];if(g)return g;if(u){let L=u.call(this);if(L)return o.set.call(this,L),"function"==typeof v[ot]&&v.removeAttribute(t),L}return null},Se(e,t,o),e[a]=!0}function Xe(e,t,r){if(t)for(let o=0;ofunction(f,T){const w=r(f,T);return w.cbIdx>=0&&"function"==typeof T[w.cbIdx]?We(w.name,T[w.cbIdx],w,a):u.apply(f,T)})}function le(e,t){e[H("OriginalDelegate")]=t}let Be=!1,Ue=!1;function it(){if(Be)return Ue;Be=!0;try{const e=Ee.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ue=!0)}catch{}return Ue}Zone.__load_patch("ZoneAwarePromise",(e,t,r)=>{const o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,f=r.symbol,T=[],w=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=f("Promise"),g=f("then"),L="__creationTrace__";r.onUnhandledError=h=>{if(r.showUncaughtError()){const d=h&&h.rejection;d?console.error("Unhandled Promise rejection:",d instanceof Error?d.message:d,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",d,d instanceof Error?d.stack:void 0):console.error(h)}},r.microtaskDrainDone=()=>{for(;T.length;){const h=T.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(d){D(d)}}};const P=f("unhandledPromiseRejectionHandler");function D(h){r.onUnhandledError(h);try{const d=t[P];"function"==typeof d&&d.call(this,h)}catch{}}function N(h){return h&&h.then}function x(h){return h}function J(h){return n.reject(h)}const F=f("state"),R=f("value"),p=f("finally"),ee=f("parentPromiseValue"),U=f("parentPromiseState"),Y="Promise.then",B=null,y=!0,V=!1,E=0;function j(h,d){return l=>{try{K(h,d,l)}catch(_){K(h,!1,_)}}}const O=function(){let h=!1;return function(l){return function(){h||(h=!0,l.apply(null,arguments))}}},ne="Promise resolved with itself",he=f("currentTaskTrace");function K(h,d,l){const _=O();if(h===l)throw new TypeError(ne);if(h[F]===B){let b=null;try{("object"==typeof l||"function"==typeof l)&&(b=l&&l.then)}catch(C){return _(()=>{K(h,!1,C)})(),h}if(d!==V&&l instanceof n&&l.hasOwnProperty(F)&&l.hasOwnProperty(R)&&l[F]!==B)ue(l),K(h,l[F],l[R]);else if(d!==V&&"function"==typeof b)try{b.call(l,_(j(h,d)),_(j(h,!1)))}catch(C){_(()=>{K(h,!1,C)})()}else{h[F]=d;const C=h[R];if(h[R]=l,h[p]===p&&d===y&&(h[F]=h[U],h[R]=h[ee]),d===V&&l instanceof Error){const k=t.currentTask&&t.currentTask.data&&t.currentTask.data[L];k&&a(l,he,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k{try{const Z=h[R],M=!!l&&p===l[p];M&&(l[ee]=Z,l[U]=C);const A=d.run(k,void 0,M&&k!==J&&k!==x?[]:[Z]);K(l,!0,A)}catch(Z){K(l,!1,Z)}},l)}const $=function(){},m=e.AggregateError;class n{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(d){return K(new this(null),y,d)}static reject(d){return K(new this(null),V,d)}static any(d){if(!d||"function"!=typeof d[Symbol.iterator])return Promise.reject(new m([],"All promises were rejected"));const l=[];let _=0;try{for(let k of d)_++,l.push(n.resolve(k))}catch{return Promise.reject(new m([],"All promises were rejected"))}if(0===_)return Promise.reject(new m([],"All promises were rejected"));let b=!1;const C=[];return new n((k,Z)=>{for(let M=0;M{b||(b=!0,k(A))},A=>{C.push(A),_--,0===_&&(b=!0,Z(new m(C,"All promises were rejected")))})})}static race(d){let l,_,b=new this((Z,M)=>{l=Z,_=M});function C(Z){l(Z)}function k(Z){_(Z)}for(let Z of d)N(Z)||(Z=this.resolve(Z)),Z.then(C,k);return b}static all(d){return n.allWithCallback(d)}static allSettled(d){return(this&&this.prototype instanceof n?this:n).allWithCallback(d,{thenCallback:_=>({status:"fulfilled",value:_}),errorCallback:_=>({status:"rejected",reason:_})})}static allWithCallback(d,l){let _,b,C=new this((A,G)=>{_=A,b=G}),k=2,Z=0;const M=[];for(let A of d){N(A)||(A=this.resolve(A));const G=Z;try{A.then(z=>{M[G]=l?l.thenCallback(z):z,k--,0===k&&_(M)},z=>{l?(M[G]=l.errorCallback(z),k--,0===k&&_(M)):b(z)})}catch(z){b(z)}k++,Z++}return k-=2,0===k&&_(M),C}constructor(d){const l=this;if(!(l instanceof n))throw new Error("Must be an instanceof Promise.");l[F]=B,l[R]=[];try{const _=O();d&&d(_(j(l,y)),_(j(l,V)))}catch(_){K(l,!1,_)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return n}then(d,l){let _=this.constructor?.[Symbol.species];(!_||"function"!=typeof _)&&(_=this.constructor||n);const b=new _($),C=t.current;return this[F]==B?this[R].push(C,b,d,l):se(this,C,b,d,l),b}catch(d){return this.then(null,d)}finally(d){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=n);const _=new l($);_[p]=p;const b=t.current;return this[F]==B?this[R].push(b,_,d,d):se(this,b,_,d,d),_}}n.resolve=n.resolve,n.reject=n.reject,n.race=n.race,n.all=n.all;const c=e[v]=e.Promise;e.Promise=n;const S=f("thenPatched");function I(h){const d=h.prototype,l=o(d,"then");if(l&&(!1===l.writable||!l.configurable))return;const _=d.then;d[g]=_,h.prototype.then=function(b,C){return new n((Z,M)=>{_.call(this,Z,M)}).then(b,C)},h[S]=!0}return r.patchThen=I,c&&(I(c),ae(e,"fetch",h=>function Q(h){return function(d,l){let _=h.apply(d,l);if(_ instanceof n)return _;let b=_.constructor;return b[S]||I(b),_}}(h))),Promise[t.__symbol__("uncaughtPromiseErrors")]=T,n}),Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,r=H("OriginalDelegate"),o=H("Promise"),a=H("Error"),u=function(){if("function"==typeof this){const v=this[r];if(v)return"function"==typeof v?t.call(v):Object.prototype.toString.call(v);if(this===Promise){const g=e[o];if(g)return t.call(g)}if(this===Error){const g=e[a];if(g)return t.call(g)}}return t.call(this)};u[r]=t,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});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 Ke={useG:!0},oe={},Ve={},Je=new RegExp("^"+Ne+"(\\w+)(true|false)$"),ct=H("propagationStopped");function Qe(e,t){const r=(t?t(e):e)+re,o=(t?t(e):e)+ie,a=Ne+r,u=Ne+o;oe[e]={},oe[e][re]=a,oe[e][ie]=u}function at(e,t,r,o){const a=o&&o.add||Re,u=o&&o.rm||Ae,f=o&&o.listeners||"eventListeners",T=o&&o.rmAll||"removeAllListeners",w=H(a),v="."+a+":",g="prependListener",L="."+g+":",P=function(R,p,ee){if(R.isRemoved)return;const U=R.callback;let Y;"object"==typeof U&&U.handleEvent&&(R.callback=y=>U.handleEvent(y),R.originalDelegate=U);try{R.invoke(R,p,[ee])}catch(y){Y=y}const B=R.options;return B&&"object"==typeof B&&B.once&&p[u].call(p,ee.type,R.originalDelegate?R.originalDelegate:R.callback,B),Y};function D(R,p,ee){if(!(p=p||e.event))return;const U=R||p.target||e,Y=U[oe[p.type][ee?ie:re]];if(Y){const B=[];if(1===Y.length){const y=P(Y[0],U,p);y&&B.push(y)}else{const y=Y.slice();for(let V=0;V{throw V})}}}const N=function(R){return D(this,R,!1)},x=function(R){return D(this,R,!0)};function J(R,p){if(!R)return!1;let ee=!0;p&&void 0!==p.useG&&(ee=p.useG);const U=p&&p.vh;let Y=!0;p&&void 0!==p.chkDup&&(Y=p.chkDup);let B=!1;p&&void 0!==p.rt&&(B=p.rt);let y=R;for(;y&&!y.hasOwnProperty(a);)y=Oe(y);if(!y&&R[a]&&(y=R),!y||y[w])return!1;const V=p&&p.eventNameToString,E={},j=y[w]=y[a],O=y[H(u)]=y[u],ne=y[H(f)]=y[f],he=y[H(T)]=y[T];let K;p&&p.prepend&&(K=y[H(p.prepend)]=y[p.prepend]);const n=ee?function(l){if(!E.isExisting)return j.call(E.target,E.eventName,E.capture?x:N,E.options)}:function(l){return j.call(E.target,E.eventName,l.invoke,E.options)},c=ee?function(l){if(!l.isRemoved){const _=oe[l.eventName];let b;_&&(b=_[l.capture?ie:re]);const C=b&&l.target[b];if(C)for(let k=0;kfunction(a,u){a[ct]=!0,o&&o.apply(a,u)})}function tt(e,t,r,o,a){const u=Zone.__symbol__(o);if(t[u])return;const f=t[u]=t[o];t[o]=function(T,w,v){return w&&w.prototype&&a.forEach(function(g){const L=`${r}.${o}::`+g,P=w.prototype;try{if(P.hasOwnProperty(g)){const D=e.ObjectGetOwnPropertyDescriptor(P,g);D&&D.value?(D.value=e.wrapWithCurrentZone(D.value,L),e._redefineProperty(w.prototype,g,D)):P[g]&&(P[g]=e.wrapWithCurrentZone(P[g],L))}else P[g]&&(P[g]=e.wrapWithCurrentZone(P[g],L))}catch{}}),f.call(t,T,w,v)},e.attachOriginToPatched(t[o],f)}function ut(e,t,r){if(!r||0===r.length)return t;const o=r.filter(u=>u.target===e);if(!o||0===o.length)return t;const a=o[0].ignoreProperties;return t.filter(u=>-1===a.indexOf(u))}function ft(e,t,r,o){e&&Xe(e,ut(e,t,r),o)}function Ge(e){return Object.getOwnPropertyNames(e).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}Zone.__load_patch("util",(e,t,r)=>{const o=Ge(e);r.patchOnProperties=Xe,r.patchMethod=ae,r.bindArguments=xe,r.patchMacroTask=Ye;const a=t.__symbol__("BLACK_LISTED_EVENTS"),u=t.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[a]=e[u]),e[a]&&(t[a]=t[u]=e[a]),r.patchEventPrototype=et,r.patchEventTarget=at,r.isIEOrEdge=it,r.ObjectDefineProperty=Se,r.ObjectGetOwnPropertyDescriptor=_e,r.ObjectCreate=me,r.ArraySlice=rt,r.patchClass=be,r.wrapWithCurrentZone=Le,r.filterProperties=ut,r.attachOriginToPatched=le,r._redefineProperty=Object.defineProperty,r.patchCallbacks=tt,r.getGlobalObjects=()=>({globalSources:Ve,zoneSymbolEventNames:oe,eventNames:o,isBrowser:De,isMix:$e,isNode:ve,TRUE_STR:ie,FALSE_STR:re,ZONE_SYMBOL_PREFIX:Ne,ADD_EVENT_LISTENER_STR:Re,REMOVE_EVENT_LISTENER_STR:Ae})});const Ze=H("zoneTask");function Te(e,t,r,o){let a=null,u=null;r+=o;const f={};function T(v){const g=v.data;return g.args[0]=function(){return v.invoke.apply(this,arguments)},g.handleId=a.apply(e,g.args),v}function w(v){return u.call(e,v.data.handleId)}a=ae(e,t+=o,v=>function(g,L){if("function"==typeof L[0]){const P={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},D=L[0];L[0]=function(){try{return D.apply(this,arguments)}finally{P.isPeriodic||("number"==typeof P.handleId?delete f[P.handleId]:P.handleId&&(P.handleId[Ze]=null))}};const N=We(t,L[0],P,T,w);if(!N)return N;const x=N.data.handleId;return"number"==typeof x?f[x]=N:x&&(x[Ze]=N),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(N.ref=x.ref.bind(x),N.unref=x.unref.bind(x)),"number"==typeof x||x?x:N}return v.apply(e,L)}),u=ae(e,r,v=>function(g,L){const P=L[0];let D;"number"==typeof P?D=f[P]:(D=P&&P[Ze],D||(D=P)),D&&"string"==typeof D.type?"notScheduled"!==D.state&&(D.cancelFn&&D.data.isPeriodic||0===D.runCount)&&("number"==typeof P?delete f[P]:P&&(P[Ze]=null),D.zone.cancelTask(D)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{const t="set",r="clear";Te(e,t,r,"Timeout"),Te(e,t,r,"Interval"),Te(e,t,r,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Te(e,"request","cancel","AnimationFrame"),Te(e,"mozRequest","mozCancel","AnimationFrame"),Te(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const r=["alert","prompt","confirm"];for(let o=0;ofunction(w,v){return t.current.run(u,e,v,T)})}),Zone.__load_patch("EventTarget",(e,t,r)=>{(function s(e,t){t.patchEventPrototype(e,t)})(e,r),function i(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:r,zoneSymbolEventNames:o,TRUE_STR:a,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=t.getGlobalObjects();for(let w=0;w{be("MutationObserver"),be("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,t,r)=>{be("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,t,r)=>{be("FileReader")}),Zone.__load_patch("on_property",(e,t,r)=>{!function ht(e,t){if(ve&&!$e||Zone[e.symbol("patchEvents")])return;const r=t.__Zone_ignore_on_properties;let o=[];if(De){const a=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function st(){try{const e=Ee.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:a,ignoreProperties:["error"]}]:[];ft(a,Ge(a),r&&r.concat(u),Oe(a))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{!function Tt(e,t){const{isBrowser:r,isMix:o}=t.getGlobalObjects();(r||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,r)}),Zone.__load_patch("XHR",(e,t)=>{!function w(v){const g=v.XMLHttpRequest;if(!g)return;const L=g.prototype;let D=L[fe],N=L[Ce];if(!D){const E=v.XMLHttpRequestEventTarget;if(E){const j=E.prototype;D=j[fe],N=j[Ce]}}const x="readystatechange",J="scheduled";function F(E){const j=E.data,O=j.target;O[u]=!1,O[T]=!1;const ne=O[a];D||(D=O[fe],N=O[Ce]),ne&&N.call(O,x,ne);const he=O[a]=()=>{if(O.readyState===O.DONE)if(!j.aborted&&O[u]&&E.state===J){const W=O[t.__symbol__("loadfalse")];if(0!==O.status&&W&&W.length>0){const ue=E.invoke;E.invoke=function(){const se=O[t.__symbol__("loadfalse")];for(let q=0;qfunction(E,j){return E[o]=0==j[2],E[f]=j[1],ee.apply(E,j)}),Y=H("fetchTaskAborting"),B=H("fetchTaskScheduling"),y=ae(L,"send",()=>function(E,j){if(!0===t.current[B]||E[o])return y.apply(E,j);{const O={target:E,url:E[f],isPeriodic:!1,args:j,aborted:!1},ne=We("XMLHttpRequest.send",R,O,F,p);E&&!0===E[T]&&!O.aborted&&ne.state===J&&ne.invoke()}}),V=ae(L,"abort",()=>function(E,j){const O=function P(E){return E[r]}(E);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===t.current[Y])return V.apply(E,j)})}(e);const r=H("xhrTask"),o=H("xhrSync"),a=H("xhrListener"),u=H("xhrScheduled"),f=H("xhrURL"),T=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function ke(e,t){const r=e.constructor.name;for(let o=0;o{const w=function(){return T.apply(this,xe(arguments,r+"."+a))};return le(w,T),w})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function r(o){return function(a){lt(e,o).forEach(f=>{const T=e.PromiseRejectionEvent;if(T){const w=new T(o,{promise:a.promise,reason:a.rejection});f.invoke(w)}})}}e.PromiseRejectionEvent&&(t[H("unhandledPromiseRejectionHandler")]=r("unhandledrejection"),t[H("rejectionHandledHandler")]=r("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,t,r)=>{!function ze(e,t){t.patchMethod(e,"queueMicrotask",r=>function(o,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}(e,r)})}},_e=>{_e(_e.s=253)}]); \ No newline at end of file diff --git a/runtime.d599c23de0356b38.js b/runtime.d599c23de0356b38.js new file mode 100644 index 00000000..e3942b83 --- /dev/null +++ b/runtime.d599c23de0356b38.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,i={},d={};function n(e){var l=d[e];if(void 0!==l)return l.exports;var r=d[e]={exports:{}};return i[e](r,r.exports,n),r.exports}n.m=i,e=[],n.O=(l,r,u,f)=>{if(!r){var c=1/0;for(a=0;a=f)&&Object.keys(n.O).every(p=>n.O[p](r[o]))?r.splice(o--,1):(t=!1,f0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,u,f]},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={666:0};n.O.j=u=>0===e[u];var l=(u,f)=>{var o,s,[a,c,t]=f,v=0;if(a.some(h=>0!==e[h])){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(t)var _=t(n)}for(u&&u(f);v*{padding:20px!important}.padding-child-h>*{padding-left:20px!important;padding-right:20px!important}.padding-child-v>*{padding-top:20px!important;padding-bottom:20px!important}.margin{margin:20px!important}.margin-top{margin-top:20px!important}.margin-bottom{margin-bottom:20px!important}.margin-right{margin-right:20px!important}.margin-left{margin-left:20px!important}.margin-h{margin-left:20px!important;margin-right:20px!important}.margin-v{margin-top:20px!important;margin-bottom:20px!important}.no-margin{margin:0!important}.no-margin-v{margin-bottom:0!important;margin-top:0!important}.no-margin-h{margin-left:0!important;margin-right:0!important}.no-margin-right{margin-right:0!important}.no-margin-top{margin-top:0!important}.no-margin-left{margin-left:0!important}.no-margin-bottom{margin-bottom:0!important}.margin-child>*{margin:20px!important}.margin-child-h>*{margin-right:20px!important}.margin-child-h>*:first-child{margin-left:20px!important}.margin-child-v>*{margin-bottom:20px!important}.margin-child-v>*:first-child{margin-top:20px!important}.padding-child-h-between>*{padding-left:20px!important;padding-right:20px!important}.padding-child-h-between>*:first-child{padding-left:0!important}.padding-child-h-between>*:last-child{padding-right:0!important}.padding-child-v-between>*{padding-top:20px!important;padding-bottom:20px!important}.padding-child-v-between>*:first-child{padding-top:0!important}.padding-child-v-between>*:last-child{padding-bottom:0!important}.margin-child-h-between>*{margin-right:20px!important}.margin-child-h-between>*:last-child{margin-right:0!important}.margin-child-v-between>*{margin-bottom:20px!important}.margin-child-v-between>*:last-child{margin-bottom:0!important}.cdk-overlay-container .panel{max-width:calc(100vw - 84px);margin:10px}@media (max-width: 960px){.cdk-overlay-container .panel{max-width:calc(100vw - 20px)}}.cdk-overlay-container .panel .mat-dialog-container{border-radius:0!important;display:flex;flex-direction:column;max-width:none;padding:0}.cdk-overlay-container .panel .mat-dialog-container>*{display:flex;flex-direction:column;flex:1}.cdk-overlay-container .panel .isPanel{padding:3px}.cdk-overlay-container .panel .isPanel>div>div>div.mat-headline-5.no-margin{padding-top:40px}.cdk-overlay-container .panel .isPanel.isFrontPanel>div>div>div.mat-headline-5.no-margin,.cdk-overlay-container .panel .isPanel.isFrontPanel natural-detail-header>div{padding-left:20px;padding-right:20px}.cdk-overlay-container .panel .isPanel .panelBody{padding:20px}.cdk-overlay-container .panel .isPanel:not(.isFrontPanel){cursor:pointer;position:relative}.cdk-overlay-container .panel .isPanel:not(.isFrontPanel) .panelBody{display:none!important}.cdk-overlay-container .panel .isPanel:not(.isFrontPanel):hover:before{content:"";display:block;position:absolute;inset:0;background:rgba(0,0,0,.2)}.mat-mdc-table .mdc-button__label{white-space:nowrap}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font-size:24px;font-weight:400;line-height:32px;font-family: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-size:20px;font-weight:500;line-height:32px;font-family: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-size:16px;font-weight:400;line-height:28px;font-family: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-size:16px;font-weight:400;line-height:24px;font-family:Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font-size:14px;font-weight:500;line-height:22px;font-family:Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0178571429em}.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-size:12px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font-size:96px;font-weight:300;line-height:96px;font-family:Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font-size:60px;font-weight:300;line-height:60px;font-family:Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font-size:48px;font-weight:400;line-height:50px;font-family:Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font-size:34px;font-weight:400;line-height:40px;font-family:Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}.mat-button-toggle,.mat-calendar{font-family:Roboto,sans-serif}.mdc-form-field,.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-letter-spacing: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}.mdc-button,.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.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)}.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:rgba(0,0,0,.32)}.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-ripple-element{background-color:#0000001a}.mat-mdc-option{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-option:hover:not(.mdc-list-item--disabled),.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item,.mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled){background:rgba(0,0,0,.04)}.mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-primary, #2a7ae2)}.mat-accent .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-secondary, #b72ae2)}.mat-warn .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-error, #f44336)}.mat-mdc-optgroup-label{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#2a7ae2}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#2a7ae2}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b72ae2}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b72ae2}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b72ae2}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b72ae2}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.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-mdc-option{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 16px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em)}.mat-mdc-card{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-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);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 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);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}.mat-mdc-card{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #2a7ae2;--mdc-linear-progress-track-color: rgba(42, 122, 226, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#2a7ae240;background-color:var(--mdc-linear-progress-track-color, rgba(42, 122, 226, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(42, 122, 226, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#2a7ae240;background-color:var(--mdc-linear-progress-track-color, rgba(42, 122, 226, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #b72ae2;--mdc-linear-progress-track-color: rgba(183, 42, 226, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#b72ae240;background-color:var(--mdc-linear-progress-track-color, rgba(183, 42, 226, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(183, 42, 226, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#b72ae240;background-color:var(--mdc-linear-progress-track-color, rgba(183, 42, 226, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip{--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}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:#000000de}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:#0009}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:#0009}}.mdc-text-field .mdc-text-field__input{caret-color:var(--mdc-theme-primary, #2a7ae2)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:#0000008a}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#0000008a}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:#0009}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:#0009}.mdc-text-field--filled .mdc-text-field__ripple:before,.mdc-text-field--filled .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, rgba(0, 0, 0, .87))}.mdc-text-field--filled:hover .mdc-text-field__ripple:before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple:before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:#f5f5f5}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:#0000006b}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:#000000de}.mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #2a7ae2)}.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:#00000061}.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:#000000de}.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-theme-primary, #2a7ae2)}.mdc-text-field--outlined .mdc-text-field__ripple:before,.mdc-text-field--outlined .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#2a7ae2de}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.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--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.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-theme-error, #f44336)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mdc-text-field--disabled .mdc-text-field__input{color:#00000061}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:#00000061}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:#00000061}}.mdc-text-field--disabled .mdc-floating-label{color:#00000061}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#00000061}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#00000061}.mdc-text-field--disabled .mdc-text-field__icon--leading,.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:#0000004d}.mdc-text-field--disabled .mdc-text-field__affix--prefix,.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:#00000061}.mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:#0000000f}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:#0000000f}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}.mdc-text-field--disabled .mdc-floating-label{color:GrayText}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}.mdc-text-field--disabled .mdc-text-field__icon--leading,.mdc-text-field--disabled .mdc-text-field__icon--trailing,.mdc-text-field--disabled .mdc-text-field__affix--prefix,.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}.mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:GrayText}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-focus-overlay{background-color:#000000de}.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.04}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.12}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#2a7ae2de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#b72ae2de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#00000061}.mat-mdc-form-field.mat-accent .mdc-text-field__input{caret-color:var(--mdc-theme-secondary, #b72ae2)}.mat-mdc-form-field.mat-accent:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-secondary, #b72ae2)}.mat-mdc-form-field.mat-accent .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b72ae2de}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .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-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-secondary, #b72ae2)}.mat-mdc-form-field.mat-warn .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#f44336de}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .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-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.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 transparent}[dir=rtl] .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 transparent}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.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( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mdc-text-field__input,.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none)}.mdc-text-field--textarea .mdc-text-field__input{line-height:1.5rem}.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none)}.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(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-caption-font-size, 12px);line-height:var(--mdc-typography-caption-line-height, 20px);font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:var(--mdc-typography-caption-text-transform, none)}.mat-mdc-form-field,.mat-mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 16px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(16px * var(--mat-mdc-form-field-floating-label-scale, .75))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:16px}.mat-mdc-select-value{color:#000000de}.mat-mdc-select-placeholder{color:#0009}.mat-mdc-select-disabled .mat-mdc-select-value{color:#00000061}.mat-mdc-select-arrow{color:#0000008a}.mat-mdc-form-field.mat-focused.mat-primary .mat-mdc-select-arrow{color:#2a7ae2de}.mat-mdc-form-field.mat-focused.mat-accent .mat-mdc-select-arrow{color:#b72ae2de}.mat-mdc-form-field.mat-focused.mat-warn .mat-mdc-select-arrow,.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:#f44336de}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:#00000061}.mat-mdc-select-panel{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.mat-mdc-select{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 16px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}html{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container{--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}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #2a7ae2;--mdc-chip-elevated-disabled-container-color: #2a7ae2;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-elevated-container-color: #b72ae2;--mdc-chip-elevated-disabled-container-color: #b72ae2;--mdc-chip-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip-focus-overlay{background:black}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle{--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-unselected-handle-color: #616161;--mdc-switch-selected-icon-color: #fff;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-unselected-icon-color: #fff}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-focus-state-layer-color: #2364b9;--mdc-switch-selected-handle-color: #2364b9;--mdc-switch-selected-hover-state-layer-color: #2364b9;--mdc-switch-selected-pressed-state-layer-color: #2364b9;--mdc-switch-selected-focus-handle-color: #0c223e;--mdc-switch-selected-hover-handle-color: #0c223e;--mdc-switch-selected-pressed-handle-color: #0c223e;--mdc-switch-selected-focus-track-color: #77aaec;--mdc-switch-selected-hover-track-color: #77aaec;--mdc-switch-selected-pressed-track-color: #77aaec;--mdc-switch-selected-track-color: #77aaec}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #9623b9;--mdc-switch-selected-handle-color: #9623b9;--mdc-switch-selected-hover-state-layer-color: #9623b9;--mdc-switch-selected-pressed-state-layer-color: #9623b9;--mdc-switch-selected-focus-handle-color: #320c3e;--mdc-switch-selected-hover-handle-color: #320c3e;--mdc-switch-selected-pressed-handle-color: #320c3e;--mdc-switch-selected-focus-track-color: #d177ec;--mdc-switch-selected-hover-track-color: #d177ec;--mdc-switch-selected-pressed-track-color: #d177ec;--mdc-switch-selected-track-color: #d177ec}.mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px}.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #2a7ae2;--mdc-radio-selected-hover-icon-color: #2a7ae2;--mdc-radio-selected-icon-color: #2a7ae2;--mdc-radio-selected-pressed-icon-color: #2a7ae2;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #2a7ae2;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #b72ae2;--mdc-radio-selected-hover-icon-color: #b72ae2;--mdc-radio-selected-icon-color: #b72ae2;--mdc-radio-selected-pressed-icon-color: #b72ae2;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #b72ae2;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button .mdc-radio{--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #2a7ae2;--mdc-slider-focus-handle-color: #2a7ae2;--mdc-slider-hover-handle-color: #2a7ae2;--mdc-slider-active-track-color: #2a7ae2;--mdc-slider-inactive-track-color: #2a7ae2;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #2a7ae2;--mat-mdc-slider-ripple-color: #2a7ae2;--mat-mdc-slider-hover-ripple-color: rgba(42, 122, 226, .05);--mat-mdc-slider-focus-ripple-color: rgba(42, 122, 226, .2)}.mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #b72ae2;--mdc-slider-focus-handle-color: #b72ae2;--mdc-slider-hover-handle-color: #b72ae2;--mdc-slider-active-track-color: #b72ae2;--mdc-slider-inactive-track-color: #b72ae2;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #b72ae2;--mat-mdc-slider-ripple-color: #b72ae2;--mat-mdc-slider-hover-ripple-color: rgba(183, 42, 226, .05);--mat-mdc-slider-focus-ripple-color: rgba(183, 42, 226, .2)}.mat-mdc-slider.mat-warn{--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-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider{--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}.mdc-menu-surface{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mdc-menu-surface{background-color:var(--mdc-theme-surface, #fff);color:var(--mdc-theme-on-surface, #000)}.mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .54))}.mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, .38))}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, .38))}.mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, .38))}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text,.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--selected .mdc-list-item__primary-text,.mdc-list-item--activated .mdc-list-item__primary-text,.mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #2a7ae2)}.mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mdc-list-divider:after{border-bottom-color:#fff}.mdc-list-divider{background-color:#0000001f}.mat-mdc-menu-item[disabled],.mat-mdc-menu-item[disabled] .mat-mdc-menu-submenu-icon,.mat-mdc-menu-item[disabled] .mat-icon-no-color{color:var(--mdc-theme-text-disabled-on-background, rgba(0, 0, 0, .38))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-submenu-icon{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-menu-item:hover:not([disabled]),.mat-mdc-menu-item.cdk-program-focused:not([disabled]),.mat-mdc-menu-item.cdk-keyboard-focused:not([disabled]),.mat-mdc-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-mdc-menu-content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mdc-list-item__primary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 16px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.mat-mdc-list-base{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #2a7ae2;--mdc-radio-selected-hover-icon-color: #2a7ae2;--mdc-radio-selected-icon-color: #2a7ae2;--mdc-radio-selected-pressed-icon-color: #2a7ae2}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #b72ae2;--mdc-radio-selected-hover-icon-color: #b72ae2;--mdc-radio-selected-icon-color: #b72ae2;--mdc-radio-selected-pressed-icon-color: #b72ae2}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #2a7ae2;--mdc-checkbox-selected-hover-icon-color: #2a7ae2;--mdc-checkbox-selected-icon-color: #2a7ae2;--mdc-checkbox-selected-pressed-icon-color: #2a7ae2;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #2a7ae2;--mdc-checkbox-selected-hover-state-layer-color: #2a7ae2;--mdc-checkbox-selected-pressed-state-layer-color: #2a7ae2;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #b72ae2;--mdc-checkbox-selected-hover-icon-color: #b72ae2;--mdc-checkbox-selected-icon-color: #b72ae2;--mdc-checkbox-selected-pressed-icon-color: #b72ae2;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #b72ae2;--mdc-checkbox-selected-hover-state-layer-color: #b72ae2;--mdc-checkbox-selected-pressed-state-layer-color: #b72ae2;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--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: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .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: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#2a7ae2}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mat-mdc-list-base{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mat-mdc-list-base{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em}.mat-mdc-paginator{background:white;color:#000000de}.mat-mdc-paginator-icon{fill:#0000008a}.mat-mdc-paginator-decrement,.mat-mdc-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-mdc-paginator-first,.mat-mdc-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-decrement,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-increment,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-first,.mat-mdc-icon-button[disabled] .mat-mdc-paginator-last{border-color:#0000001f}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:#0000001f}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .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( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}.mat-mdc-paginator-container{min-height:56px}.mat-mdc-paginator{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-caption-font-size, 12px);line-height:var(--mdc-typography-caption-line-height, 20px);font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:var(--mdc-typography-caption-text-transform, none)}.mat-mdc-paginator .mat-mdc-select-value{font-size:12px}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #2a7ae2;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #2a7ae2;--mat-tab-header-active-ripple-color: #2a7ae2;--mat-tab-header-inactive-ripple-color: #2a7ae2;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #2a7ae2;--mat-tab-header-active-hover-label-text-color: #2a7ae2;--mat-tab-header-active-focus-indicator-color: #2a7ae2;--mat-tab-header-active-hover-indicator-color: #2a7ae2}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #b72ae2;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #b72ae2;--mat-tab-header-active-ripple-color: #b72ae2;--mat-tab-header-inactive-ripple-color: #b72ae2;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #b72ae2;--mat-tab-header-active-hover-label-text-color: #b72ae2;--mat-tab-header-active-focus-indicator-color: #b72ae2;--mat-tab-header-active-hover-indicator-color: #b72ae2}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #2a7ae2;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #b72ae2;--mat-tab-header-with-background-foreground-color: rgba(0, 0, 0, .87)}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-letter-spacing: normal;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #b72ae2;--mdc-checkbox-selected-hover-icon-color: #b72ae2;--mdc-checkbox-selected-icon-color: #b72ae2;--mdc-checkbox-selected-pressed-icon-color: #b72ae2;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #b72ae2;--mdc-checkbox-selected-hover-state-layer-color: #b72ae2;--mdc-checkbox-selected-pressed-state-layer-color: #b72ae2;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #2a7ae2;--mdc-checkbox-selected-hover-icon-color: #2a7ae2;--mdc-checkbox-selected-icon-color: #2a7ae2;--mdc-checkbox-selected-pressed-icon-color: #2a7ae2;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #2a7ae2;--mdc-checkbox-selected-hover-state-layer-color: #2a7ae2;--mdc-checkbox-selected-pressed-state-layer-color: #2a7ae2;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--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: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .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: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size: 40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #2a7ae2}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #b72ae2}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #2a7ae2;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #b72ae2;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #2a7ae2;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #b72ae2;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #2a7ae2}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #b72ae2}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button,.mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button.mat-primary,.mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #2a7ae2;--mat-mdc-button-ripple-color: rgba(42, 122, 226, .1)}.mat-mdc-button.mat-accent,.mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #b72ae2;--mat-mdc-button-ripple-color: rgba(183, 42, 226, .1)}.mat-mdc-button.mat-warn,.mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button,.mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-warn,.mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base,.mat-mdc-raised-button.mat-mdc-button-base,.mat-mdc-unelevated-button.mat-mdc-button-base,.mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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{opacity:.12}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #2a7ae2;--mat-mdc-button-persistent-ripple-color: #2a7ae2;--mat-mdc-button-ripple-color: rgba(42, 122, 226, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #b72ae2;--mat-mdc-button-persistent-ripple-color: #b72ae2;--mat-mdc-button-ripple-color: rgba(183, 42, 226, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.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}.mat-mdc-fab,.mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.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-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary,.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent,.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab.mat-unthemed,.mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: #fff;--mdc-fab-icon-color: #000;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #2a7ae2;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #b72ae2;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.mat-mdc-fab[disabled][disabled],.mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #b72ae2}.mat-mdc-snack-bar-container{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}.mdc-data-table{background-color:var(--mdc-theme-surface, #fff);border-color:#0000001f}.mdc-data-table__row{background-color:inherit}.mdc-data-table__header-cell{background-color:var(--mdc-theme-surface, #fff)}.mdc-data-table__row--selected{background-color:#2a7ae20a}.mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#0000001f}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-color:#0000001f}.mdc-data-table__pagination{border-top-color:#0000001f}.mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:#0000000a}.mdc-data-table__header-cell,.mdc-data-table__pagination-total,.mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__cell{color:#000000de}.mat-mdc-table{background:white}.mat-mdc-table .mdc-data-table__row{height:52px}.mat-mdc-table .mdc-data-table__pagination{min-height:52px}.mat-mdc-table .mdc-data-table__header-row{height:56px}.mdc-data-table__content,.mdc-data-table__cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mdc-data-table__header-cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle2-font-size, 14px);line-height:var(--mdc-typography-subtitle2-line-height, 22px);font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle2-text-transform, none)}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #2a7ae2}.mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #b72ae2}.mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#2a7ae2}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#b72ae2;color:#000000de}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mat-bottom-sheet-container{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0178571429em}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:white}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-button-toggle{font-family:Roboto,sans-serif}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(42,122,226,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(42,122,226,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(42,122,226,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#2a7ae2;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#2a7ae266}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2a7ae24d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2a7ae24d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(183,42,226,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(183,42,226,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(183,42,226,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#b72ae2;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#b72ae266}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#b72ae24d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#b72ae24d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#2a7ae2}.mat-datepicker-toggle-active.mat-accent{color:#b72ae2}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}.mat-calendar{font-family:Roboto,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:white;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-expansion-panel-header{font-family:Roboto,sans-serif;font-size:14px;font-weight:500}.mat-expansion-panel-content{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0178571429em}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}.mat-icon.mat-primary{color:#2a7ae2}.mat-icon.mat-accent{color:#b72ae2}.mat-icon.mat-warn{color:#f44336}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#2a7ae2;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#000000de}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#b72ae2;color:#000000de}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:16px}.mat-step-label-selected{font-size:16px;font-weight:400}.mat-sort-header-arrow{color:#757575}.mat-toolbar{background:whitesmoke;color:#000000de}.mat-toolbar.mat-primary{background:#2a7ae2;color:#fff}.mat-toolbar.mat-accent{background:#b72ae2;color:#000000de}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:.0125em;margin:0}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.default{color:#000}.default .snackbar-error .mdc-snackbar__surface{background-color:#f44336!important;color:#fff!important}.default natural-sidenav-container .mat-drawer{background:transparent;border-right:none}.default natural-sidenav-container mat-sidenav[ng-reflect-mode=side] .mat-drawer-inner-container{display:flex;flex-direction:column}.default natural-sidenav-container mat-sidenav[ng-reflect-mode=side] natural-sidenav{flex:1;display:flex;min-height:0}.default natural-sidenav-container mat-sidenav-content{display:flex!important}.default natural-sidenav-container mat-sidenav-content>div{display:flex;flex:1}.default natural-sidenav-container mat-sidenav-content>div natural-sidenav-content{display:flex;flex:1}.default natural-input .mat-mdc-form-field-infix{margin-left:10px;margin-right:10px;width:auto}.default natural-input .mat-form-field-flex{padding-left:0;padding-right:0;align-items:flex-start}.default natural-input .mat-mdc-form-field{margin-bottom:-1.25em}.default .natural-dropdown-container{background:white}.default .natural-dropdown-container>*>*>*{outline:none!important}.default .responsive-table{overflow-x:auto;overflow-y:hidden}.default [mat-table]{width:100%;max-width:100%}.default [mat-table] [mat-cell]{justify-content:center}.default [mat-table] .mat-mdc-cell:first-child,.default [mat-table] .mat-mdc-header-cell:first-child,.default [mat-table] .mat-mdc-footer-cell:first-child{padding-right:5px}.default [mat-table] .mat-mdc-cell:last-child,.default [mat-table] .mat-mdc-header-cell:last-child,.default [mat-table] .mat-mdc-footer-cell:last-child{padding-left:5px}.default [mat-table] .mat-mdc-cell:not(:first-child):not(:last-child),.default [mat-table] .mat-mdc-header-cell:not(:first-child):not(:last-child),.default [mat-table] .mat-mdc-footer-cell:not(:first-child):not(:last-child){padding-left:5px;padding-right:5px}.default [mat-table] .mat-mdc-cell[natural-align-right],.default [mat-table] .mat-mdc-header-cell[natural-align-right],.default [mat-table] .mat-mdc-footer-cell[natural-align-right]{text-align:right}.default [mat-table] .mat-mdc-cell[natural-align-right] .mat-sort-header-container,.default [mat-table] .mat-mdc-header-cell[natural-align-right] .mat-sort-header-container,.default [mat-table] .mat-mdc-footer-cell[natural-align-right] .mat-sort-header-container{justify-content:flex-end}.default [mat-table] .mat-mdc-cell[natural-align-center],.default [mat-table] .mat-mdc-header-cell[natural-align-center],.default [mat-table] .mat-mdc-footer-cell[natural-align-center]{text-align:center}.default [mat-table] .mat-mdc-cell[natural-align-center] .mat-sort-header-container,.default [mat-table] .mat-mdc-header-cell[natural-align-center] .mat-sort-header-container,.default [mat-table] .mat-mdc-footer-cell[natural-align-center] .mat-sort-header-container{justify-content:center}.default [mat-table] [mat-row].selected{background:#e0e0e0}.default [mat-table] [mat-header-row]{background:whitesmoke}.default [mat-table] .mat-mdc-footer-cell{font-weight:700}.default [mat-table] [natural-1em-column]{width:1em}.default [mat-table] [natural-2em-column]{width:2em}.default [mat-table] [natural-3em-column]{width:3em}.default [mat-table] [natural-4em-column]{width:4em}.default [mat-table] [natural-5em-column]{width:5em}.default [mat-table] [natural-6em-column]{width:6em}.default [mat-table] [natural-7em-column]{width:7em}.default natural-file a{background-color:#fff}.default natural-file .action-overlay{background-color:#b72ae2d9;color:#000000de}.default natural-file .file-preview{background-color:#2a7ae2d9;color:#fff}.default .mat-mdc-tab-labels,.default .mat-mdc-tab-links,.default .mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:1px solid rgba(0,0,0,.12)}.default .mat-mdc-dialog-container .mdc-dialog__content{color:#000000de}.default natural-editor .mat-mdc-icon-button,.default natural-editor .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:4px}.default natural-editor button.mat-mdc-button.mat-mdc-button-base.mat-mdc-menu-trigger{height:50px}.default natural-editor .menu-container{background-color:#fafafa}.default natural-editor .menu,.default natural-editor .ProseMirror{background-color:#0000000a}.default natural-editor .menu{border-color:#0000006b}.default natural-editor placeholder{background:linear-gradient(90deg,#2a7ae2,#2a7ae2,#b72ae2,#2a7ae2,#2a7ae2)}.default app-home .mat-toolbar{background:#212121;color:#fff}.default app-home #menu{border-radius:4px;background:#2a7ae2;background:linear-gradient(to bottom,#2a7ae2 50%,#b72ae2 150%)}.defaultDark{color:#fff;background:#303030}.defaultDark .mat-ripple-element{background-color:#ffffff1a}.defaultDark .mat-mdc-option{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-option:hover:not(.mdc-list-item--disabled),.defaultDark .mat-mdc-option:focus.mdc-list-item,.defaultDark .mat-mdc-option.mat-mdc-option-active.mdc-list-item,.defaultDark .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple):not(.mdc-list-item--disabled){background:rgba(255,255,255,.08)}.defaultDark .mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mat-accent .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-secondary, #b72ae2)}.defaultDark .mat-warn .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-optgroup-label{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-pseudo-checkbox-full{color:#ffffffb3}.defaultDark .mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#686868}.defaultDark .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#2a7ae2}.defaultDark .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#2a7ae2}.defaultDark .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.defaultDark .mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#303030}.defaultDark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b72ae2}.defaultDark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b72ae2}.defaultDark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.defaultDark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#303030}.defaultDark .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b72ae2}.defaultDark .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b72ae2}.defaultDark .mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.defaultDark .mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#303030}.defaultDark .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.defaultDark .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.defaultDark .mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.defaultDark .mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#303030}.defaultDark .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.defaultDark .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#686868}.defaultDark .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.defaultDark .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#686868}.defaultDark .mat-app-background,.defaultDark.mat-app-background{background-color:#303030;color:#fff}.defaultDark .mat-elevation-z0,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.defaultDark .mat-elevation-z1,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.defaultDark .mat-elevation-z2,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.defaultDark .mat-elevation-z3,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.defaultDark .mat-elevation-z4,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.defaultDark .mat-elevation-z5,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.defaultDark .mat-elevation-z6,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.defaultDark .mat-elevation-z7,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.defaultDark .mat-elevation-z8,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.defaultDark .mat-elevation-z9,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.defaultDark .mat-elevation-z10,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.defaultDark .mat-elevation-z11,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.defaultDark .mat-elevation-z12,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.defaultDark .mat-elevation-z13,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.defaultDark .mat-elevation-z14,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.defaultDark .mat-elevation-z15,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.defaultDark .mat-elevation-z16,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.defaultDark .mat-elevation-z17,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.defaultDark .mat-elevation-z18,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.defaultDark .mat-elevation-z19,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.defaultDark .mat-elevation-z20,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.defaultDark .mat-elevation-z21,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.defaultDark .mat-elevation-z22,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.defaultDark .mat-elevation-z23,.defaultDark .mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.defaultDark .mat-elevation-z24,.defaultDark .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}.defaultDark .mat-mdc-card{--mdc-elevated-card-container-color: #424242;--mdc-elevated-card-container-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);--mdc-outlined-card-container-color: #424242;--mdc-outlined-card-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-card-container-elevation: 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);--mat-card-subtitle-text-color: rgba(255, 255, 255, .7)}.defaultDark .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #2a7ae2;--mdc-linear-progress-track-color: rgba(42, 122, 226, .25)}.defaultDark .mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#2a7ae240;background-color:var(--mdc-linear-progress-track-color, rgba(42, 122, 226, .25))}@media (forced-colors: active){.defaultDark .mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.defaultDark .mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(42, 122, 226, 0.25)'/%3E%3C/svg%3E")}}.defaultDark .mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#2a7ae240;background-color:var(--mdc-linear-progress-track-color, rgba(42, 122, 226, .25))}.defaultDark .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #b72ae2;--mdc-linear-progress-track-color: rgba(183, 42, 226, .25)}.defaultDark .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#b72ae240;background-color:var(--mdc-linear-progress-track-color, rgba(183, 42, 226, .25))}@media (forced-colors: active){.defaultDark .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.defaultDark .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(183, 42, 226, 0.25)'/%3E%3C/svg%3E")}}.defaultDark .mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#b72ae240;background-color:var(--mdc-linear-progress-track-color, rgba(183, 42, 226, .25))}.defaultDark .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.defaultDark .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.defaultDark .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.defaultDark .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.defaultDark .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.defaultDark .mat-mdc-tooltip{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:#fff9}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:#ffffffde}@media all{.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:#fff9}}@media all{.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:#fff9}}.defaultDark .mdc-text-field .mdc-text-field__input{caret-color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#0009}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.defaultDark .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#0009}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:#0000008a}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#0000008a}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:#0009}.defaultDark .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:#0009}.defaultDark .mdc-text-field--filled .mdc-text-field__ripple:before,.defaultDark .mdc-text-field--filled .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, rgba(255, 255, 255, .87))}.defaultDark .mdc-text-field--filled:hover .mdc-text-field__ripple:before,.defaultDark .mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-hover-opacity, .08)}.defaultDark .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple:before,.defaultDark .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple:before{opacity:var(--mdc-ripple-focus-opacity, .24)}.defaultDark .mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:#4a4a4a}.defaultDark .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:#ffffff6b}.defaultDark .mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:#ffffffde}.defaultDark .mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#ffffff61}.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#ffffffde}.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mdc-text-field--outlined .mdc-text-field__ripple:before,.defaultDark .mdc-text-field--outlined .mdc-text-field__ripple:after{background-color:var(--mdc-ripple-color, transparent)}.defaultDark .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#2a7ae2de}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.defaultDark .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-theme-error, #f44336)}.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mdc-text-field--disabled .mdc-text-field__input{color:#ffffff61}@media all{.defaultDark .mdc-text-field--disabled .mdc-text-field__input::placeholder{color:#ffffff61}}@media all{.defaultDark .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:#ffffff61}}.defaultDark .mdc-text-field--disabled .mdc-floating-label{color:#ffffff61}.defaultDark .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:#00000061}.defaultDark .mdc-text-field--disabled .mdc-text-field-character-counter,.defaultDark .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:#00000061}.defaultDark .mdc-text-field--disabled .mdc-text-field__icon--leading,.defaultDark .mdc-text-field--disabled .mdc-text-field__icon--trailing{color:#0000004d}.defaultDark .mdc-text-field--disabled .mdc-text-field__affix--prefix,.defaultDark .mdc-text-field--disabled .mdc-text-field__affix--suffix{color:#00000061}.defaultDark .mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:#ffffff0f}.defaultDark .mdc-text-field--disabled .mdc-notched-outline__leading,.defaultDark .mdc-text-field--disabled .mdc-notched-outline__notch,.defaultDark .mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:#ffffff0f}@media screen and (forced-colors: active),(-ms-high-contrast: active){.defaultDark .mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.defaultDark .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-floating-label{color:GrayText}.defaultDark .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-text-field-character-counter,.defaultDark .mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-text-field__icon--leading,.defaultDark .mdc-text-field--disabled .mdc-text-field__icon--trailing,.defaultDark .mdc-text-field--disabled .mdc-text-field__affix--prefix,.defaultDark .mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-line-ripple:before{border-bottom-color:GrayText}.defaultDark .mdc-text-field--disabled .mdc-notched-outline__leading,.defaultDark .mdc-text-field--disabled .mdc-notched-outline__notch,.defaultDark .mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}.defaultDark .mdc-text-field--disabled.mdc-text-field--filled{background-color:#464646}.defaultDark .mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field-focus-overlay{background-color:#ffffffde}.defaultDark .mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.08}.defaultDark .mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.24}.defaultDark select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:#000000de}.defaultDark select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:#00000061}.defaultDark .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#ffffff8a}.defaultDark .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#2a7ae2de}.defaultDark .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#b72ae2de}.defaultDark .mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.defaultDark .mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#ffffff61}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field__input{caret-color:var(--mdc-theme-secondary, #b72ae2)}.defaultDark .mat-mdc-form-field.mat-accent:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-secondary, #b72ae2)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b72ae2de}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-accent .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-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-accent .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-secondary, #b72ae2)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:#f44336de}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid .mdc-text-field__input{caret-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-warn .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-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.defaultDark .mat-mdc-form-field.mat-warn .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-theme-error, #f44336)}.defaultDark .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 transparent}.defaultDark [dir=rtl] .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 transparent}.defaultDark .mat-mdc-select-value{color:#ffffffde}.defaultDark .mat-mdc-select-placeholder{color:#fff9}.defaultDark .mat-mdc-select-disabled .mat-mdc-select-value{color:#ffffff61}.defaultDark .mat-mdc-select-arrow{color:#ffffff8a}.defaultDark .mat-mdc-form-field.mat-focused.mat-primary .mat-mdc-select-arrow{color:#2a7ae2de}.defaultDark .mat-mdc-form-field.mat-focused.mat-accent .mat-mdc-select-arrow{color:#b72ae2de}.defaultDark .mat-mdc-form-field.mat-focused.mat-warn .mat-mdc-select-arrow,.defaultDark .mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:#f44336de}.defaultDark .mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:#ffffff61}.defaultDark{--mat-autocomplete-background-color: #424242}.defaultDark .mat-mdc-dialog-container{--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6)}.defaultDark .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: #595959;--mdc-chip-elevated-disabled-container-color: #595959;--mdc-chip-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa}.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #2a7ae2;--mdc-chip-elevated-disabled-container-color: #2a7ae2;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-elevated-container-color: #b72ae2;--mdc-chip-elevated-disabled-container-color: #b72ae2;--mdc-chip-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.defaultDark .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.defaultDark .mat-mdc-chip-focus-overlay{background:white}.defaultDark .mat-mdc-slide-toggle{--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-selected-icon-color: #212121;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-unselected-icon-color: #212121}.defaultDark .mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#ffffff80}.defaultDark .mat-mdc-slide-toggle.mat-primary{--mdc-switch-selected-focus-state-layer-color: #77aaec;--mdc-switch-selected-handle-color: #77aaec;--mdc-switch-selected-hover-state-layer-color: #77aaec;--mdc-switch-selected-pressed-state-layer-color: #77aaec;--mdc-switch-selected-focus-handle-color: #9ec2f1;--mdc-switch-selected-hover-handle-color: #9ec2f1;--mdc-switch-selected-pressed-handle-color: #9ec2f1;--mdc-switch-selected-focus-track-color: #2364b9;--mdc-switch-selected-hover-track-color: #2364b9;--mdc-switch-selected-pressed-track-color: #2364b9;--mdc-switch-selected-track-color: #2364b9}.defaultDark .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d177ec;--mdc-switch-selected-handle-color: #d177ec;--mdc-switch-selected-hover-state-layer-color: #d177ec;--mdc-switch-selected-pressed-state-layer-color: #d177ec;--mdc-switch-selected-focus-handle-color: #de9ef1;--mdc-switch-selected-hover-handle-color: #de9ef1;--mdc-switch-selected-pressed-handle-color: #de9ef1;--mdc-switch-selected-focus-track-color: #9623b9;--mdc-switch-selected-hover-track-color: #9623b9;--mdc-switch-selected-pressed-track-color: #9623b9;--mdc-switch-selected-track-color: #9623b9}.defaultDark .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.defaultDark .mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #2a7ae2;--mdc-radio-selected-hover-icon-color: #2a7ae2;--mdc-radio-selected-icon-color: #2a7ae2;--mdc-radio-selected-pressed-icon-color: #2a7ae2;--mat-radio-ripple-color: #fff;--mat-radio-checked-ripple-color: #2a7ae2;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #b72ae2;--mdc-radio-selected-hover-icon-color: #b72ae2;--mdc-radio-selected-icon-color: #b72ae2;--mdc-radio-selected-pressed-icon-color: #b72ae2;--mat-radio-ripple-color: #fff;--mat-radio-checked-ripple-color: #b72ae2;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #fff;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-slider{--mdc-slider-label-container-color: white;--mdc-slider-label-label-text-color: black;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff;--mat-mdc-slider-value-indicator-opacity: .9}.defaultDark .mat-mdc-slider.mat-primary{--mdc-slider-handle-color: #2a7ae2;--mdc-slider-focus-handle-color: #2a7ae2;--mdc-slider-hover-handle-color: #2a7ae2;--mdc-slider-active-track-color: #2a7ae2;--mdc-slider-inactive-track-color: #2a7ae2;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #2a7ae2;--mat-mdc-slider-ripple-color: #2a7ae2;--mat-mdc-slider-hover-ripple-color: rgba(42, 122, 226, .05);--mat-mdc-slider-focus-ripple-color: rgba(42, 122, 226, .2)}.defaultDark .mat-mdc-slider.mat-accent{--mdc-slider-handle-color: #b72ae2;--mdc-slider-focus-handle-color: #b72ae2;--mdc-slider-hover-handle-color: #b72ae2;--mdc-slider-active-track-color: #b72ae2;--mdc-slider-inactive-track-color: #b72ae2;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #b72ae2;--mat-mdc-slider-ripple-color: #b72ae2;--mat-mdc-slider-hover-ripple-color: rgba(183, 42, 226, .05);--mat-mdc-slider-focus-ripple-color: rgba(183, 42, 226, .2)}.defaultDark .mat-mdc-slider.mat-warn{--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-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.defaultDark .mdc-menu-surface{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.defaultDark .mdc-menu-surface{background-color:var(--mdc-theme-surface, #424242);color:var(--mdc-theme-on-surface, #fff)}.defaultDark .mdc-list-item__primary-text{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mdc-list-item__secondary-text{color:var(--mdc-theme-text-secondary-on-background, rgba(255, 255, 255, .7))}.defaultDark .mdc-list-item__overline-text{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.defaultDark .mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.defaultDark .mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-theme-text-icon-on-background, rgba(255, 255, 255, .5))}.defaultDark .mdc-list-item__end{color:var(--mdc-theme-text-hint-on-background, rgba(255, 255, 255, .5))}.defaultDark .mdc-list-item--disabled .mdc-list-item__start,.defaultDark .mdc-list-item--disabled .mdc-list-item__content,.defaultDark .mdc-list-item--disabled .mdc-list-item__end{opacity:.38}.defaultDark .mdc-list-item--disabled .mdc-list-item__primary-text,.defaultDark .mdc-list-item--disabled .mdc-list-item__secondary-text,.defaultDark .mdc-list-item--disabled .mdc-list-item__overline-text,.defaultDark .mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end,.defaultDark .mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-theme-on-surface, #fff)}.defaultDark .mdc-list-item--selected .mdc-list-item__primary-text,.defaultDark .mdc-list-item--activated .mdc-list-item__primary-text,.defaultDark .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-theme-primary, #2a7ae2)}.defaultDark .mdc-deprecated-list-group__subheader{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mdc-list-divider:after{border-bottom-color:#fff}.defaultDark .mdc-list-divider{background-color:#fff3}.defaultDark .mat-mdc-menu-item[disabled],.defaultDark .mat-mdc-menu-item[disabled] .mat-mdc-menu-submenu-icon,.defaultDark .mat-mdc-menu-item[disabled] .mat-icon-no-color{color:var(--mdc-theme-text-disabled-on-background, rgba(255, 255, 255, .5))}.defaultDark .mat-mdc-menu-item .mat-icon-no-color,.defaultDark .mat-mdc-menu-submenu-icon{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-menu-item:hover:not([disabled]),.defaultDark .mat-mdc-menu-item.cdk-program-focused:not([disabled]),.defaultDark .mat-mdc-menu-item.cdk-keyboard-focused:not([disabled]),.defaultDark .mat-mdc-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.08)}.defaultDark .mat-mdc-list-base{--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mdc-list-list-item-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-disabled-label-text-color: white;--mdc-list-list-item-disabled-leading-icon-color: white;--mdc-list-list-item-disabled-trailing-icon-color: white;--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-focus-label-text-color: white;--mdc-list-list-item-hover-state-layer-color: white;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: white;--mdc-list-list-item-focus-state-layer-opacity: .24}.defaultDark .mdc-list-item__start,.defaultDark .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #2a7ae2;--mdc-radio-selected-hover-icon-color: #2a7ae2;--mdc-radio-selected-icon-color: #2a7ae2;--mdc-radio-selected-pressed-icon-color: #2a7ae2}.defaultDark .mat-accent .mdc-list-item__start,.defaultDark .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #b72ae2;--mdc-radio-selected-hover-icon-color: #b72ae2;--mdc-radio-selected-icon-color: #b72ae2;--mdc-radio-selected-pressed-icon-color: #b72ae2}.defaultDark .mat-warn .mdc-list-item__start,.defaultDark .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #fff;--mdc-radio-disabled-unselected-icon-color: #fff;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.defaultDark .mat-mdc-list-option{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #2a7ae2;--mdc-checkbox-selected-hover-icon-color: #2a7ae2;--mdc-checkbox-selected-icon-color: #2a7ae2;--mdc-checkbox-selected-pressed-icon-color: #2a7ae2;--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: #2a7ae2;--mdc-checkbox-selected-hover-state-layer-color: #2a7ae2;--mdc-checkbox-selected-pressed-state-layer-color: #2a7ae2;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.defaultDark .mat-mdc-list-option.mat-accent{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #b72ae2;--mdc-checkbox-selected-hover-icon-color: #b72ae2;--mdc-checkbox-selected-icon-color: #b72ae2;--mdc-checkbox-selected-pressed-icon-color: #b72ae2;--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: #b72ae2;--mdc-checkbox-selected-hover-state-layer-color: #b72ae2;--mdc-checkbox-selected-pressed-state-layer-color: #b72ae2;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.defaultDark .mat-mdc-list-option.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: #fff;--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}.defaultDark .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.defaultDark .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.defaultDark .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.defaultDark .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#2a7ae2}.defaultDark .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.defaultDark .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.defaultDark .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.defaultDark .mat-mdc-paginator{background:#424242;color:#ffffffde}.defaultDark .mat-mdc-paginator-icon{fill:#ffffff8a}.defaultDark .mat-mdc-paginator-decrement,.defaultDark .mat-mdc-paginator-increment{border-top:2px solid rgba(255,255,255,.54);border-right:2px solid rgba(255,255,255,.54)}.defaultDark .mat-mdc-paginator-first,.defaultDark .mat-mdc-paginator-last{border-top:2px solid rgba(255,255,255,.54)}.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-decrement,.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-increment,.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-first,.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-last{border-color:#ffffff1f}.defaultDark .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:#ffffff1f}.defaultDark .mat-mdc-tab-group,.defaultDark .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #2a7ae2;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: #fff;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #2a7ae2;--mat-tab-header-active-ripple-color: #2a7ae2;--mat-tab-header-inactive-ripple-color: #2a7ae2;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #2a7ae2;--mat-tab-header-active-hover-label-text-color: #2a7ae2;--mat-tab-header-active-focus-indicator-color: #2a7ae2;--mat-tab-header-active-hover-indicator-color: #2a7ae2}.defaultDark .mat-mdc-tab-group.mat-accent,.defaultDark .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #b72ae2;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: #fff;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #b72ae2;--mat-tab-header-active-ripple-color: #b72ae2;--mat-tab-header-inactive-ripple-color: #b72ae2;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #b72ae2;--mat-tab-header-active-hover-label-text-color: #b72ae2;--mat-tab-header-active-focus-indicator-color: #b72ae2;--mat-tab-header-active-hover-indicator-color: #b72ae2}.defaultDark .mat-mdc-tab-group.mat-warn,.defaultDark .mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: #fff;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.defaultDark .mat-mdc-tab-group.mat-background-primary,.defaultDark .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #2a7ae2;--mat-tab-header-with-background-foreground-color: white}.defaultDark .mat-mdc-tab-group.mat-background-accent,.defaultDark .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #b72ae2;--mat-tab-header-with-background-foreground-color: rgba(0, 0, 0, .87)}.defaultDark .mat-mdc-tab-group.mat-background-warn,.defaultDark .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.defaultDark{--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: #fff;--mdc-checkbox-selected-focus-icon-color: #b72ae2;--mdc-checkbox-selected-hover-icon-color: #b72ae2;--mdc-checkbox-selected-icon-color: #b72ae2;--mdc-checkbox-selected-pressed-icon-color: #b72ae2;--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: #b72ae2;--mdc-checkbox-selected-hover-state-layer-color: #b72ae2;--mdc-checkbox-selected-pressed-state-layer-color: #b72ae2;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.defaultDark .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: #fff;--mdc-checkbox-selected-focus-icon-color: #2a7ae2;--mdc-checkbox-selected-hover-icon-color: #2a7ae2;--mdc-checkbox-selected-icon-color: #2a7ae2;--mdc-checkbox-selected-pressed-icon-color: #2a7ae2;--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: #2a7ae2;--mdc-checkbox-selected-hover-state-layer-color: #2a7ae2;--mdc-checkbox-selected-pressed-state-layer-color: #2a7ae2;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.defaultDark .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: #fff;--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}.defaultDark .mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, white)}.defaultDark .mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#ffffff80}.defaultDark .mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #fff}.defaultDark .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #2a7ae2}.defaultDark .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #b72ae2}.defaultDark .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.defaultDark .mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-text-button-label-text-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: #fff}.defaultDark .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #2a7ae2;--mdc-filled-button-label-text-color: #fff}.defaultDark .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #b72ae2;--mdc-filled-button-label-text-color: #fff}.defaultDark .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.defaultDark .mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-filled-button-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-label-text-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: #fff}.defaultDark .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #2a7ae2;--mdc-protected-button-label-text-color: #fff}.defaultDark .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #b72ae2;--mdc-protected-button-label-text-color: #fff}.defaultDark .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.defaultDark .mat-mdc-raised-button[disabled][disabled]{--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-color: rgba(255, 255, 255, .12);--mdc-protected-button-label-text-color: rgba(255, 255, 255, .5);--mdc-protected-button-container-elevation: 0}.defaultDark .mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.defaultDark .mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #fff}.defaultDark .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #2a7ae2}.defaultDark .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #b72ae2}.defaultDark .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.defaultDark .mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12)}.defaultDark .mat-mdc-button,.defaultDark .mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.defaultDark .mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-button.mat-primary,.defaultDark .mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #2a7ae2;--mat-mdc-button-ripple-color: rgba(42, 122, 226, .1)}.defaultDark .mat-mdc-button.mat-accent,.defaultDark .mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #b72ae2;--mat-mdc-button-ripple-color: rgba(183, 42, 226, .1)}.defaultDark .mat-mdc-button.mat-warn,.defaultDark .mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.defaultDark .mat-mdc-raised-button,.defaultDark .mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.defaultDark .mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-raised-button.mat-primary,.defaultDark .mat-mdc-unelevated-button.mat-primary,.defaultDark .mat-mdc-raised-button.mat-accent,.defaultDark .mat-mdc-unelevated-button.mat-accent,.defaultDark .mat-mdc-raised-button.mat-warn,.defaultDark .mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-icon-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1);--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.defaultDark .mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.defaultDark .mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.defaultDark .mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.defaultDark .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #2a7ae2;--mat-mdc-button-persistent-ripple-color: #2a7ae2;--mat-mdc-button-ripple-color: rgba(42, 122, 226, .1)}.defaultDark .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #b72ae2;--mat-mdc-button-persistent-ripple-color: #b72ae2;--mat-mdc-button-ripple-color: rgba(183, 42, 226, .1)}.defaultDark .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.defaultDark .mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(255, 255, 255, .5);--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-fab,.defaultDark .mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.08}.defaultDark .mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.defaultDark .mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.24}.defaultDark .mat-mdc-fab.mat-primary,.defaultDark .mat-mdc-mini-fab.mat-primary,.defaultDark .mat-mdc-fab.mat-accent,.defaultDark .mat-mdc-mini-fab.mat-accent,.defaultDark .mat-mdc-fab.mat-warn,.defaultDark .mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.defaultDark .mat-mdc-fab.mat-unthemed,.defaultDark .mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color: #424242;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.defaultDark .mat-mdc-fab.mat-primary,.defaultDark .mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #2a7ae2;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.defaultDark .mat-mdc-fab.mat-accent,.defaultDark .mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #b72ae2;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.defaultDark .mat-mdc-fab.mat-warn,.defaultDark .mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: #fff;--mat-mdc-fab-color: #fff}.defaultDark .mat-mdc-fab[disabled][disabled],.defaultDark .mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color: rgba(255, 255, 255, .12);--mdc-fab-icon-color: rgba(255, 255, 255, .5);--mat-mdc-fab-color: rgba(255, 255, 255, .5)}.defaultDark .mat-mdc-snack-bar-container{--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)}.defaultDark .mdc-data-table{background-color:var(--mdc-theme-surface, #424242);border-color:#ffffff1f}.defaultDark .mdc-data-table__row{background-color:inherit}.defaultDark .mdc-data-table__header-cell{background-color:var(--mdc-theme-surface, #424242)}.defaultDark .mdc-data-table__row--selected{background-color:#2a7ae20a}.defaultDark .mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.defaultDark .mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.defaultDark .mdc-data-table__pagination-rows-per-page-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#ffffff1f}.defaultDark .mdc-data-table__cell,.defaultDark .mdc-data-table__header-cell{border-bottom-color:#ffffff1f}.defaultDark .mdc-data-table__pagination{border-top-color:#ffffff1f}.defaultDark .mdc-data-table__row:not(.mdc-data-table__row--selected):hover{background-color:#ffffff0a}.defaultDark .mdc-data-table__header-cell,.defaultDark .mdc-data-table__pagination-total,.defaultDark .mdc-data-table__pagination-rows-per-page-label,.defaultDark .mdc-data-table__cell{color:#ffffffde}.defaultDark .mat-mdc-table{background:#424242}.defaultDark .mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color: #2a7ae2}.defaultDark .mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color: #b72ae2}.defaultDark .mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.defaultDark .mat-badge-content{color:#fff;background:#2a7ae2}.cdk-high-contrast-active .defaultDark .mat-badge-content{outline:solid 1px;border-radius:0}.defaultDark .mat-badge-accent .mat-badge-content{background:#b72ae2;color:#000000de}.defaultDark .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.defaultDark .mat-badge-disabled .mat-badge-content{background:#6e6e6e;color:#ffffff80}.defaultDark .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#424242;color:#fff}.defaultDark .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.defaultDark .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.defaultDark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.defaultDark .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.defaultDark .mat-button-toggle{color:#ffffff80}.defaultDark .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff1f}.defaultDark .mat-button-toggle-appearance-standard{color:#fff;background:#424242}.defaultDark .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.defaultDark .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #595959}.defaultDark [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #595959}.defaultDark .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #595959}.defaultDark .mat-button-toggle-checked{background-color:#212121;color:#ffffffb3}.defaultDark .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.defaultDark .mat-button-toggle-disabled{color:#ffffff4d;background-color:#000}.defaultDark .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#424242}.defaultDark .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.defaultDark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.defaultDark .mat-button-toggle-group-appearance-standard{border:solid 1px #595959}.defaultDark .mat-calendar-arrow{fill:#fff}.defaultDark .mat-datepicker-toggle,.defaultDark .mat-datepicker-content .mat-calendar-next-button,.defaultDark .mat-datepicker-content .mat-calendar-previous-button{color:#fff}.defaultDark .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.defaultDark .mat-calendar-table-header,.defaultDark .mat-calendar-body-label{color:#ffffffb3}.defaultDark .mat-calendar-body-cell-content,.defaultDark .mat-date-range-input-separator{color:#fff;border-color:transparent}.defaultDark .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#ffffff80}.defaultDark .mat-form-field-disabled .mat-date-range-input-separator{color:#ffffff80}.defaultDark .mat-calendar-body-in-preview{color:#ffffff3d}.defaultDark .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff80}.defaultDark .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff4d}.defaultDark .mat-calendar-body-in-range:before{background:rgba(42,122,226,.2)}.defaultDark .mat-calendar-body-comparison-identical,.defaultDark .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.defaultDark .mat-calendar-body-comparison-bridge-start:before,.defaultDark [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(42,122,226,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-calendar-body-comparison-bridge-end:before,.defaultDark [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(42,122,226,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.defaultDark .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.defaultDark .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.defaultDark .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.defaultDark .mat-calendar-body-selected{background-color:#2a7ae2;color:#fff}.defaultDark .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#2a7ae266}.defaultDark .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.defaultDark .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.defaultDark .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2a7ae24d}@media (hover: hover){.defaultDark .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#2a7ae24d}}.defaultDark .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#424242;color:#fff}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(183,42,226,.2)}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.defaultDark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(183,42,226,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.defaultDark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(183,42,226,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#b72ae2;color:#000000de}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#b72ae266}.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.defaultDark .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.defaultDark .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#b72ae24d}@media (hover: hover){.defaultDark .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#b72ae24d}}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.defaultDark .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.defaultDark .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.defaultDark .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.defaultDark .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.defaultDark .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.defaultDark .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.defaultDark .mat-datepicker-toggle-active{color:#2a7ae2}.defaultDark .mat-datepicker-toggle-active.mat-accent{color:#b72ae2}.defaultDark .mat-datepicker-toggle-active.mat-warn{color:#f44336}.defaultDark .mat-date-range-input-inner[disabled]{color:#ffffff80}.defaultDark .mat-divider{border-top-color:#ffffff1f}.defaultDark .mat-divider-vertical{border-right-color:#ffffff1f}.defaultDark .mat-expansion-panel{background:#424242;color:#fff}.defaultDark .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.defaultDark .mat-action-row{border-top-color:#ffffff1f}.defaultDark .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.defaultDark .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.defaultDark .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.defaultDark .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.defaultDark .mat-expansion-panel-header-title{color:#fff}.defaultDark .mat-expansion-panel-header-description,.defaultDark .mat-expansion-indicator:after{color:#ffffffb3}.defaultDark .mat-expansion-panel-header[aria-disabled=true]{color:#ffffff4d}.defaultDark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.defaultDark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.defaultDark .mat-icon.mat-primary{color:#2a7ae2}.defaultDark .mat-icon.mat-accent{color:#b72ae2}.defaultDark .mat-icon.mat-warn{color:#f44336}.defaultDark .mat-drawer-container{background-color:#303030;color:#fff}.defaultDark .mat-drawer{background-color:#424242;color:#fff}.defaultDark .mat-drawer.mat-drawer-push{background-color:#424242}.defaultDark .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.defaultDark .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.defaultDark .mat-drawer-side.mat-drawer-end,.defaultDark [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.defaultDark [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.defaultDark .mat-drawer-backdrop.mat-drawer-shown{background-color:#bdbdbd99}.defaultDark .mat-step-header.cdk-keyboard-focused,.defaultDark .mat-step-header.cdk-program-focused,.defaultDark .mat-step-header:hover:not([aria-disabled]),.defaultDark .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.defaultDark .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.defaultDark .mat-step-header:hover{background:none}}.defaultDark .mat-step-header .mat-step-label,.defaultDark .mat-step-header .mat-step-optional{color:#ffffffb3}.defaultDark .mat-step-header .mat-step-icon{background-color:#ffffffb3;color:#fff}.defaultDark .mat-step-header .mat-step-icon-selected,.defaultDark .mat-step-header .mat-step-icon-state-done,.defaultDark .mat-step-header .mat-step-icon-state-edit{background-color:#2a7ae2;color:#fff}.defaultDark .mat-step-header.mat-accent .mat-step-icon{color:#000000de}.defaultDark .mat-step-header.mat-accent .mat-step-icon-selected,.defaultDark .mat-step-header.mat-accent .mat-step-icon-state-done,.defaultDark .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#b72ae2;color:#000000de}.defaultDark .mat-step-header.mat-warn .mat-step-icon{color:#fff}.defaultDark .mat-step-header.mat-warn .mat-step-icon-selected,.defaultDark .mat-step-header.mat-warn .mat-step-icon-state-done,.defaultDark .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.defaultDark .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.defaultDark .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.defaultDark .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.defaultDark .mat-stepper-horizontal,.defaultDark .mat-stepper-vertical{background-color:#424242}.defaultDark .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.defaultDark .mat-horizontal-stepper-header:before,.defaultDark .mat-horizontal-stepper-header:after,.defaultDark .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.defaultDark .mat-sort-header-arrow{color:#c6c6c6}.defaultDark .mat-toolbar{background:#212121;color:#fff}.defaultDark .mat-toolbar.mat-primary{background:#2a7ae2;color:#fff}.defaultDark .mat-toolbar.mat-accent{background:#b72ae2;color:#000000de}.defaultDark .mat-toolbar.mat-warn{background:#f44336;color:#fff}.defaultDark .mat-toolbar .mat-form-field-underline,.defaultDark .mat-toolbar .mat-form-field-ripple,.defaultDark .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.defaultDark .mat-toolbar .mat-form-field-label,.defaultDark .mat-toolbar .mat-focused .mat-form-field-label,.defaultDark .mat-toolbar .mat-select-value,.defaultDark .mat-toolbar .mat-select-arrow,.defaultDark .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.defaultDark .mat-toolbar .mat-input-element{caret-color:currentColor}.defaultDark .mat-tree{background:#424242}.defaultDark .mat-tree-node,.defaultDark .mat-nested-tree-node{color:#fff}.defaultDark .snackbar-error .mdc-snackbar__surface{background-color:#f44336!important;color:#fff!important}.defaultDark natural-sidenav-container .mat-drawer{background:transparent;border-right:none}.defaultDark natural-sidenav-container mat-sidenav[ng-reflect-mode=side] .mat-drawer-inner-container{display:flex;flex-direction:column}.defaultDark natural-sidenav-container mat-sidenav[ng-reflect-mode=side] natural-sidenav{flex:1;display:flex;min-height:0}.defaultDark natural-sidenav-container mat-sidenav-content{display:flex!important}.defaultDark natural-sidenav-container mat-sidenav-content>div{display:flex;flex:1}.defaultDark natural-sidenav-container mat-sidenav-content>div natural-sidenav-content{display:flex;flex:1}.defaultDark natural-input .mat-mdc-form-field-infix{margin-left:10px;margin-right:10px;width:auto}.defaultDark natural-input .mat-form-field-flex{padding-left:0;padding-right:0;align-items:flex-start}.defaultDark natural-input .mat-mdc-form-field{margin-bottom:-1.25em}.defaultDark .natural-dropdown-container{background:#424242}.defaultDark .natural-dropdown-container>*>*>*{outline:none!important}.defaultDark .responsive-table{overflow-x:auto;overflow-y:hidden}.defaultDark [mat-table]{width:100%;max-width:100%}.defaultDark [mat-table] [mat-cell]{justify-content:center}.defaultDark [mat-table] .mat-mdc-cell:first-child,.defaultDark [mat-table] .mat-mdc-header-cell:first-child,.defaultDark [mat-table] .mat-mdc-footer-cell:first-child{padding-right:5px}.defaultDark [mat-table] .mat-mdc-cell:last-child,.defaultDark [mat-table] .mat-mdc-header-cell:last-child,.defaultDark [mat-table] .mat-mdc-footer-cell:last-child{padding-left:5px}.defaultDark [mat-table] .mat-mdc-cell:not(:first-child):not(:last-child),.defaultDark [mat-table] .mat-mdc-header-cell:not(:first-child):not(:last-child),.defaultDark [mat-table] .mat-mdc-footer-cell:not(:first-child):not(:last-child){padding-left:5px;padding-right:5px}.defaultDark [mat-table] .mat-mdc-cell[natural-align-right],.defaultDark [mat-table] .mat-mdc-header-cell[natural-align-right],.defaultDark [mat-table] .mat-mdc-footer-cell[natural-align-right]{text-align:right}.defaultDark [mat-table] .mat-mdc-cell[natural-align-right] .mat-sort-header-container,.defaultDark [mat-table] .mat-mdc-header-cell[natural-align-right] .mat-sort-header-container,.defaultDark [mat-table] .mat-mdc-footer-cell[natural-align-right] .mat-sort-header-container{justify-content:flex-end}.defaultDark [mat-table] .mat-mdc-cell[natural-align-center],.defaultDark [mat-table] .mat-mdc-header-cell[natural-align-center],.defaultDark [mat-table] .mat-mdc-footer-cell[natural-align-center]{text-align:center}.defaultDark [mat-table] .mat-mdc-cell[natural-align-center] .mat-sort-header-container,.defaultDark [mat-table] .mat-mdc-header-cell[natural-align-center] .mat-sort-header-container,.defaultDark [mat-table] .mat-mdc-footer-cell[natural-align-center] .mat-sort-header-container{justify-content:center}.defaultDark [mat-table] [mat-row].selected,.defaultDark [mat-table] [mat-header-row]{background:#212121}.defaultDark [mat-table] .mat-mdc-footer-cell{font-weight:700}.defaultDark [mat-table] [natural-1em-column]{width:1em}.defaultDark [mat-table] [natural-2em-column]{width:2em}.defaultDark [mat-table] [natural-3em-column]{width:3em}.defaultDark [mat-table] [natural-4em-column]{width:4em}.defaultDark [mat-table] [natural-5em-column]{width:5em}.defaultDark [mat-table] [natural-6em-column]{width:6em}.defaultDark [mat-table] [natural-7em-column]{width:7em}.defaultDark natural-file a{background-color:#424242}.defaultDark natural-file .action-overlay{background-color:#b72ae2d9;color:#000000de}.defaultDark natural-file .file-preview{background-color:#2a7ae2d9;color:#fff}.defaultDark .mat-mdc-tab-labels,.defaultDark .mat-mdc-tab-links,.defaultDark .mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:1px solid rgba(255,255,255,.12)}.defaultDark .mat-mdc-dialog-container .mdc-dialog__content{color:#ffffffde}.defaultDark natural-editor .mat-mdc-icon-button,.defaultDark natural-editor .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:4px}.defaultDark natural-editor button.mat-mdc-button.mat-mdc-button-base.mat-mdc-menu-trigger{height:50px}.defaultDark natural-editor .menu-container{background-color:#303030}.defaultDark natural-editor .menu,.defaultDark natural-editor .ProseMirror{background-color:#ffffff1a}.defaultDark natural-editor .menu{border-color:#ffffff80}.defaultDark natural-editor placeholder{background:linear-gradient(90deg,#2a7ae2,#2a7ae2,#b72ae2,#2a7ae2,#2a7ae2)}.defaultDark app-home .mat-toolbar{background:#212121;color:#fff}.defaultDark app-home #menu{border-radius:4px;background:#2a7ae2;background:linear-gradient(to bottom,#2a7ae2 50%,#b72ae2 150%)}body{margin:0}html,body,app-root{height:100%;min-height:100%;font-size:14px}app-root{display:flex;flex-direction:row;align-items:center;justify-content:center}p.debug,pre.debug{padding:10px;margin:10px;font-size:16px;line-height:1.5em;border:1px solid rgba(0,0,0,.5);background:rgba(0,0,0,.2);font-family:Courrier,monospace}[debug]{border:2px solid red}[debug][children]>*{border:2px solid orange}[debug][children][grandchildren]>*>*{border:2px solid green}.app-component>router-outlet+*{flex:1;flex-direction:column}[overflow]{overflow:auto}#menu .mat-expansion-panel{background:transparent}#menu *{color:#fff!important}