diff --git a/app-v2/3rdpartylicenses.txt b/app-v2/3rdpartylicenses.txt new file mode 100644 index 0000000..74ee024 --- /dev/null +++ b/app-v2/3rdpartylicenses.txt @@ -0,0 +1,1509 @@ +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2024 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/forms +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2024 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/platform-browser +MIT + +@babel/runtime +MIT +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other 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. + + +available-typed-arrays +MIT +MIT License + +Copyright (c) 2020 Inspect JS + +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. + + +bpmn-js +SEE LICENSE IN LICENSE + +bpmn-moddle +MIT +The MIT License (MIT) + +Copyright (c) 2014 camunda Services GmbH + +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. + +call-bind +MIT +MIT License + +Copyright (c) 2020 Jordan Harband + +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. + + +css.escape +MIT +Copyright Mathias Bynens + +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. + + +define-data-property +MIT +MIT License + +Copyright (c) 2023 Jordan Harband + +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. + + +diagram-js +MIT +The MIT License (MIT) + +Copyright (c) 2014-present Camunda Services GmbH + +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. + +diagram-js-direct-editing +MIT +The MIT License (MIT) + +Copyright (c) 2014-2017 camunda Services GmbH + +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. + +didi +MIT +The MIT License + +Copyright (C) 2013 Vojta Jína. +Copyright (C) 2015-present Nico Rehwaldt. + +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. + + +dot +MIT + +Copyright (c) 2011 Laura Doktorova + +Software includes portions from jQote2 Copyright (c) 2010 aefxx, +http://aefxx.com/ licensed under the MIT 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. + + +es-define-property +MIT +MIT License + +Copyright (c) 2024 Jordan Harband + +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. + + +es-errors +MIT +MIT License + +Copyright (c) 2024 Jordan Harband + +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. + + +for-each +MIT +The MIT License (MIT) + +Copyright (c) 2012 Raynos. + +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. + + + +function-bind +MIT +Copyright (c) 2013 Raynos. + +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. + + + +get-intrinsic +MIT +MIT License + +Copyright (c) 2020 Jordan Harband + +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. + + +gopd +MIT +MIT License + +Copyright (c) 2022 Jordan Harband + +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. + + +hammerjs +MIT +The MIT License (MIT) + +Copyright (C) 2011-2014 by Jorik Tangelder (Eight Media) + +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. + + +has-property-descriptors +MIT +MIT License + +Copyright (c) 2022 Inspect JS + +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. + + +has-proto +MIT +MIT License + +Copyright (c) 2022 Inspect JS + +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. + + +has-symbols +MIT +MIT License + +Copyright (c) 2016 Jordan Harband + +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. + + +has-tostringtag +MIT +MIT License + +Copyright (c) 2021 Inspect JS + +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. + + +hasown +MIT +MIT License + +Copyright (c) Jordan Harband and 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. + + +ids +MIT +The MIT License (MIT) + +Copyright (c) 2014 camunda Services GmbH + +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. + +inherits +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + + + +is-arguments +MIT +The MIT License (MIT) + +Copyright (c) 2014 Jordan Harband + +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. + + +is-callable +MIT +The MIT License (MIT) + +Copyright (c) 2015 Jordan Harband + +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. + + + +is-generator-function +MIT +The MIT License (MIT) + +Copyright (c) 2014 Jordan Harband + +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. + + +is-typed-array +MIT +The MIT License (MIT) + +Copyright (c) 2015 Jordan Harband + +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. + + + +material-icons +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 [yyyy] [name of copyright owner] + + 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. + + +min-dash +MIT +The MIT License (MIT) + +Copyright (c) 2017-present camunda Services GmbH + +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. + +min-dom +MIT +The MIT License (MIT) + +Copyright (c) 2014 Nico Rehwaldt +Copyright (c) 2015-present camunda Services GmbH + +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. + +moddle +MIT +The MIT License (MIT) + +Copyright (c) 2014-present Camunda Services GmbH + +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. + +moddle-xml +MIT +The MIT License (MIT) + +Copyright (c) 2014-present Camunda Services GmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +ngx-color-picker +MIT + +object-refs +MIT +The MIT License (MIT) + +Copyright (c) 2014-present camunda Services GmbH + +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. + +path-intersection +MIT +The MIT License (MIT) + +Copyright (c) 2017 camunda Services GmbH + +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. + +process +MIT +(The MIT License) + +Copyright (c) 2013 Roman Shtylman + +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. + + + +saxen +MIT +The MIT License (MIT) +Copyright (c) 2012 Vopilovskii Konstantin +Copyright (c) 2017-present Nico Rehwaldt + +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. + + +set-function-length +MIT +MIT License + +Copyright (c) Jordan Harband and 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. + + +tiny-svg +MIT +The MIT License (MIT) + +Copyright (c) 2014 Nico Rehwaldt +Copyright (c) 2015-present camunda Services GmbH + +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. + +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +util +MIT +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +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. + + +which-typed-array +MIT +The MIT License (MIT) + +Copyright (c) 2015 Jordan Harband + +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/app-v2/Roboto-Regular.woff b/app-v2/Roboto-Regular.acbcb575c528bd7d.woff similarity index 100% rename from app-v2/Roboto-Regular.woff rename to app-v2/Roboto-Regular.acbcb575c528bd7d.woff diff --git a/app-v2/bpmn.eot b/app-v2/bpmn.5d33bee45f1fb468.eot similarity index 100% rename from app-v2/bpmn.eot rename to app-v2/bpmn.5d33bee45f1fb468.eot diff --git a/app-v2/bpmn.woff2 b/app-v2/bpmn.67058807b4bcf238.woff2 similarity index 100% rename from app-v2/bpmn.woff2 rename to app-v2/bpmn.67058807b4bcf238.woff2 diff --git a/app-v2/bpmn.svg b/app-v2/bpmn.74eea12b52b25cb2.svg similarity index 100% rename from app-v2/bpmn.svg rename to app-v2/bpmn.74eea12b52b25cb2.svg diff --git a/app-v2/bpmn.ttf b/app-v2/bpmn.b5c9250d7d4947c4.ttf similarity index 100% rename from app-v2/bpmn.ttf rename to app-v2/bpmn.b5c9250d7d4947c4.ttf diff --git a/app-v2/bpmn.woff b/app-v2/bpmn.e9e7d07618d46ca6.woff similarity index 100% rename from app-v2/bpmn.woff rename to app-v2/bpmn.e9e7d07618d46ca6.woff diff --git a/app-v2/index.html b/app-v2/index.html index 02e6a62..71ef9a1 100644 --- a/app-v2/index.html +++ b/app-v2/index.html @@ -10,7 +10,7 @@ - + - + diff --git a/app-v2/vendor.js b/app-v2/main.b814f779ccdf2636.js similarity index 76% rename from app-v2/vendor.js rename to app-v2/main.b814f779ccdf2636.js index b21c927..d520624 100644 --- a/app-v2/vendor.js +++ b/app-v2/main.b814f779ccdf2636.js @@ -1,6 +1,6 @@ -(self["webpackChunkegon"] = self["webpackChunkegon"] || []).push([["vendor"],{ +(self["webpackChunkegon"] = self["webpackChunkegon"] || []).push([[792],{ -/***/ 67534: +/***/ 869: /*!*************************************************!*\ !*** ./node_modules/bpmn-js/lib/BaseModeler.js ***! \*************************************************/ @@ -11,10 +11,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BaseModeler) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var ids__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ids */ 70678); -/* harmony import */ var _BaseViewer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BaseViewer */ 8772); +/* harmony import */ var ids__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ids */ 28287); +/* harmony import */ var _BaseViewer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BaseViewer */ 14473); @@ -83,7 +83,7 @@ BaseModeler.prototype._collectIds = function (definitions, elementsById) { /***/ }), -/***/ 8772: +/***/ 14473: /*!************************************************!*\ !*** ./node_modules/bpmn-js/lib/BaseViewer.js ***! \************************************************/ @@ -94,16 +94,16 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BaseViewer) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var diagram_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js */ 93274); -/* harmony import */ var bpmn_moddle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! bpmn-moddle */ 18357); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var diagram_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js */ 86831); +/* harmony import */ var bpmn_moddle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! bpmn-moddle */ 48516); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _import_Importer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./import/Importer */ 90415); -/* harmony import */ var _util_CompatibilityUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/CompatibilityUtil */ 84720); -/* harmony import */ var _util_PoweredByUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./util/PoweredByUtil */ 49397); +/* harmony import */ var _import_Importer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./import/Importer */ 16688); +/* harmony import */ var _util_CompatibilityUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/CompatibilityUtil */ 70405); +/* harmony import */ var _util_PoweredByUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./util/PoweredByUtil */ 6160); /** * The code in the area * must not be changed. @@ -760,7 +760,7 @@ function addProjectLogo(container) { /***/ }), -/***/ 47377: +/***/ 3922: /*!*********************************************!*\ !*** ./node_modules/bpmn-js/lib/Modeler.js ***! \*********************************************/ @@ -771,40 +771,40 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Modeler) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _BaseModeler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BaseModeler */ 67534); -/* harmony import */ var _Viewer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Viewer */ 32589); -/* harmony import */ var _NavigatedViewer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./NavigatedViewer */ 8948); -/* harmony import */ var diagram_js_lib_navigation_keyboard_move__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/navigation/keyboard-move */ 9612); -/* harmony import */ var diagram_js_lib_navigation_movecanvas__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/navigation/movecanvas */ 26962); -/* harmony import */ var diagram_js_lib_navigation_touch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! diagram-js/lib/navigation/touch */ 16342); -/* harmony import */ var diagram_js_lib_navigation_zoomscroll__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! diagram-js/lib/navigation/zoomscroll */ 8901); -/* harmony import */ var diagram_js_lib_features_align_elements__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/features/align-elements */ 81765); -/* harmony import */ var _features_auto_place__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./features/auto-place */ 36873); -/* harmony import */ var _features_auto_resize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./features/auto-resize */ 65110); -/* harmony import */ var diagram_js_lib_features_auto_scroll__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! diagram-js/lib/features/auto-scroll */ 69231); -/* harmony import */ var diagram_js_lib_features_bendpoints__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! diagram-js/lib/features/bendpoints */ 31068); -/* harmony import */ var diagram_js_lib_features_connect__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! diagram-js/lib/features/connect */ 60262); -/* harmony import */ var diagram_js_lib_features_connection_preview__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! diagram-js/lib/features/connection-preview */ 54205); -/* harmony import */ var _features_context_pad__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./features/context-pad */ 41687); -/* harmony import */ var _features_copy_paste__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./features/copy-paste */ 82375); -/* harmony import */ var diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! diagram-js/lib/features/create */ 48256); -/* harmony import */ var _features_distribute_elements__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./features/distribute-elements */ 86815); -/* harmony import */ var _features_editor_actions__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./features/editor-actions */ 9323); -/* harmony import */ var _features_grid_snapping__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./features/grid-snapping */ 22791); -/* harmony import */ var _features_interaction_events__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./features/interaction-events */ 69382); -/* harmony import */ var _features_keyboard__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./features/keyboard */ 6581); -/* harmony import */ var diagram_js_lib_features_keyboard_move_selection__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! diagram-js/lib/features/keyboard-move-selection */ 22030); -/* harmony import */ var _features_label_editing__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./features/label-editing */ 62511); -/* harmony import */ var _features_modeling__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./features/modeling */ 35959); -/* harmony import */ var diagram_js_lib_features_move__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! diagram-js/lib/features/move */ 74569); -/* harmony import */ var _features_palette__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./features/palette */ 57763); -/* harmony import */ var _features_replace_preview__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./features/replace-preview */ 47353); -/* harmony import */ var diagram_js_lib_features_resize__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! diagram-js/lib/features/resize */ 40844); -/* harmony import */ var _features_snapping__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./features/snapping */ 49652); -/* harmony import */ var _features_search__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./features/search */ 51652); -/* harmony import */ var _util_CompatibilityUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/CompatibilityUtil */ 84720); +/* harmony import */ var _BaseModeler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BaseModeler */ 869); +/* harmony import */ var _Viewer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Viewer */ 18528); +/* harmony import */ var _NavigatedViewer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./NavigatedViewer */ 42583); +/* harmony import */ var diagram_js_lib_navigation_keyboard_move__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/navigation/keyboard-move */ 63675); +/* harmony import */ var diagram_js_lib_navigation_movecanvas__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/navigation/movecanvas */ 89195); +/* harmony import */ var diagram_js_lib_navigation_touch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! diagram-js/lib/navigation/touch */ 22857); +/* harmony import */ var diagram_js_lib_navigation_zoomscroll__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! diagram-js/lib/navigation/zoomscroll */ 23732); +/* harmony import */ var diagram_js_lib_features_align_elements__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/features/align-elements */ 34868); +/* harmony import */ var _features_auto_place__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./features/auto-place */ 2522); +/* harmony import */ var _features_auto_resize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./features/auto-resize */ 47275); +/* harmony import */ var diagram_js_lib_features_auto_scroll__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! diagram-js/lib/features/auto-scroll */ 20044); +/* harmony import */ var diagram_js_lib_features_bendpoints__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! diagram-js/lib/features/bendpoints */ 17313); +/* harmony import */ var diagram_js_lib_features_connect__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! diagram-js/lib/features/connect */ 52133); +/* harmony import */ var diagram_js_lib_features_connection_preview__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! diagram-js/lib/features/connection-preview */ 64276); +/* harmony import */ var _features_context_pad__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./features/context-pad */ 40318); +/* harmony import */ var _features_copy_paste__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./features/copy-paste */ 43944); +/* harmony import */ var diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! diagram-js/lib/features/create */ 31073); +/* harmony import */ var _features_distribute_elements__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./features/distribute-elements */ 63386); +/* harmony import */ var _features_editor_actions__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./features/editor-actions */ 75216); +/* harmony import */ var _features_grid_snapping__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./features/grid-snapping */ 98126); +/* harmony import */ var _features_interaction_events__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./features/interaction-events */ 10957); +/* harmony import */ var _features_keyboard__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./features/keyboard */ 91590); +/* harmony import */ var diagram_js_lib_features_keyboard_move_selection__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! diagram-js/lib/features/keyboard-move-selection */ 74145); +/* harmony import */ var _features_label_editing__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./features/label-editing */ 98342); +/* harmony import */ var _features_modeling__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./features/modeling */ 4464); +/* harmony import */ var diagram_js_lib_features_move__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! diagram-js/lib/features/move */ 99896); +/* harmony import */ var _features_palette__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./features/palette */ 65934); +/* harmony import */ var _features_replace_preview__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./features/replace-preview */ 91828); +/* harmony import */ var diagram_js_lib_features_resize__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! diagram-js/lib/features/resize */ 33485); +/* harmony import */ var _features_snapping__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./features/snapping */ 11819); +/* harmony import */ var _features_search__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./features/search */ 68119); +/* harmony import */ var _util_CompatibilityUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/CompatibilityUtil */ 70405); @@ -960,7 +960,7 @@ Modeler.prototype._modules = [].concat(_Viewer__WEBPACK_IMPORTED_MODULE_2__["def /***/ }), -/***/ 8948: +/***/ 42583: /*!*****************************************************!*\ !*** ./node_modules/bpmn-js/lib/NavigatedViewer.js ***! \*****************************************************/ @@ -971,12 +971,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ NavigatedViewer) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _Viewer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Viewer */ 32589); -/* harmony import */ var diagram_js_lib_navigation_keyboard_move__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/navigation/keyboard-move */ 9612); -/* harmony import */ var diagram_js_lib_navigation_movecanvas__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/navigation/movecanvas */ 26962); -/* harmony import */ var diagram_js_lib_navigation_zoomscroll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/navigation/zoomscroll */ 8901); +/* harmony import */ var _Viewer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Viewer */ 18528); +/* harmony import */ var diagram_js_lib_navigation_keyboard_move__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/navigation/keyboard-move */ 63675); +/* harmony import */ var diagram_js_lib_navigation_movecanvas__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/navigation/movecanvas */ 89195); +/* harmony import */ var diagram_js_lib_navigation_zoomscroll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/navigation/zoomscroll */ 23732); @@ -997,7 +997,7 @@ NavigatedViewer.prototype._modules = [].concat(_Viewer__WEBPACK_IMPORTED_MODULE_ /***/ }), -/***/ 32589: +/***/ 18528: /*!********************************************!*\ !*** ./node_modules/bpmn-js/lib/Viewer.js ***! \********************************************/ @@ -1008,13 +1008,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Viewer) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./core */ 85971); -/* harmony import */ var diagram_js_lib_i18n_translate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/i18n/translate */ 3933); -/* harmony import */ var diagram_js_lib_features_selection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/features/selection */ 26334); -/* harmony import */ var diagram_js_lib_features_overlays__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/features/overlays */ 4541); -/* harmony import */ var _BaseViewer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BaseViewer */ 8772); +/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./core */ 90246); +/* harmony import */ var diagram_js_lib_i18n_translate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/i18n/translate */ 7742); +/* harmony import */ var diagram_js_lib_features_selection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/features/selection */ 41481); +/* harmony import */ var diagram_js_lib_features_overlays__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/features/overlays */ 58076); +/* harmony import */ var _BaseViewer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BaseViewer */ 14473); @@ -1082,7 +1082,7 @@ Viewer.prototype._moddleExtensions = {}; /***/ }), -/***/ 85971: +/***/ 90246: /*!************************************************!*\ !*** ./node_modules/bpmn-js/lib/core/index.js ***! \************************************************/ @@ -1093,8 +1093,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _draw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../draw */ 14334); -/* harmony import */ var _import__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../import */ 57733); +/* harmony import */ var _draw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../draw */ 25571); +/* harmony import */ var _import__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../import */ 9608); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -1103,7 +1103,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 31637: +/***/ 38214: /*!*********************************************************!*\ !*** ./node_modules/bpmn-js/lib/draw/BpmnRenderUtil.js ***! \*********************************************************/ @@ -1125,8 +1125,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isThrowEvent: () => (/* binding */ isThrowEvent), /* harmony export */ isTypedEvent: () => (/* binding */ isTypedEvent) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/RenderUtil */ 96546); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/RenderUtil */ 97915); @@ -1218,7 +1218,7 @@ function getRectPath(shape) { /***/ }), -/***/ 44250: +/***/ 80325: /*!*******************************************************!*\ !*** ./node_modules/bpmn-js/lib/draw/BpmnRenderer.js ***! \*******************************************************/ @@ -1229,19 +1229,19 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnRenderer) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_draw_BaseRenderer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/draw/BaseRenderer */ 14694); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/DiUtil */ 55441); -/* harmony import */ var _features_label_editing_LabelUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../features/label-editing/LabelUtil */ 89497); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/util/RenderUtil */ 96546); -/* harmony import */ var _BpmnRenderUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./BpmnRenderUtil */ 31637); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var diagram_js_lib_util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/util/SvgTransformUtil */ 81384); -/* harmony import */ var ids__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ids */ 70678); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_draw_BaseRenderer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/draw/BaseRenderer */ 74919); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/DiUtil */ 30850); +/* harmony import */ var _features_label_editing_LabelUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../features/label-editing/LabelUtil */ 48816); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/util/RenderUtil */ 97915); +/* harmony import */ var _BpmnRenderUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./BpmnRenderUtil */ 38214); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var diagram_js_lib_util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/util/SvgTransformUtil */ 53813); +/* harmony import */ var ids__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ids */ 28287); @@ -2882,7 +2882,7 @@ BpmnRenderer.prototype.getShapePath = function (element) { /***/ }), -/***/ 56089: +/***/ 66652: /*!**************************************************!*\ !*** ./node_modules/bpmn-js/lib/draw/PathMap.js ***! \**************************************************/ @@ -3285,7 +3285,7 @@ function format(str, obj) { /***/ }), -/***/ 69524: +/***/ 20871: /*!*******************************************************!*\ !*** ./node_modules/bpmn-js/lib/draw/TextRenderer.js ***! \*******************************************************/ @@ -3296,8 +3296,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ TextRenderer) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_util_Text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/Text */ 46209); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_util_Text__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/Text */ 97036); var DEFAULT_FONT_SIZE = 12; @@ -3400,7 +3400,7 @@ TextRenderer.$inject = ['config.textRenderer']; /***/ }), -/***/ 14334: +/***/ 25571: /*!************************************************!*\ !*** ./node_modules/bpmn-js/lib/draw/index.js ***! \************************************************/ @@ -3411,9 +3411,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _BpmnRenderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnRenderer */ 44250); -/* harmony import */ var _TextRenderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TextRenderer */ 69524); -/* harmony import */ var _PathMap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./PathMap */ 56089); +/* harmony import */ var _BpmnRenderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnRenderer */ 80325); +/* harmony import */ var _TextRenderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TextRenderer */ 20871); +/* harmony import */ var _PathMap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./PathMap */ 66652); @@ -3426,7 +3426,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 74832: +/***/ 86175: /*!***********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/auto-place/BpmnAutoPlace.js ***! \***********************************************************************/ @@ -3437,7 +3437,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AutoPlace) /* harmony export */ }); -/* harmony import */ var _BpmnAutoPlaceUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnAutoPlaceUtil */ 74340); +/* harmony import */ var _BpmnAutoPlaceUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnAutoPlaceUtil */ 37227); /** @@ -3456,7 +3456,7 @@ AutoPlace.$inject = ['eventBus']; /***/ }), -/***/ 74340: +/***/ 37227: /*!***************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/auto-place/BpmnAutoPlaceUtil.js ***! \***************************************************************************/ @@ -3470,9 +3470,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getNewShapePosition: () => (/* binding */ getNewShapePosition), /* harmony export */ getTextAnnotationPosition: () => (/* binding */ getTextAnnotationPosition) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var diagram_js_lib_features_auto_place_AutoPlaceUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/auto-place/AutoPlaceUtil */ 7851); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var diagram_js_lib_features_auto_place_AutoPlaceUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/auto-place/AutoPlaceUtil */ 15698); @@ -3580,7 +3580,7 @@ function getDataElementPosition(source, element) { /***/ }), -/***/ 36873: +/***/ 2522: /*!***************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/auto-place/index.js ***! \***************************************************************/ @@ -3591,8 +3591,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_auto_place__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/auto-place */ 28261); -/* harmony import */ var _BpmnAutoPlace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnAutoPlace */ 74832); +/* harmony import */ var diagram_js_lib_features_auto_place__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/auto-place */ 42012); +/* harmony import */ var _BpmnAutoPlace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnAutoPlace */ 86175); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -3603,7 +3603,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 14810: +/***/ 5985: /*!*************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/auto-resize/BpmnAutoResize.js ***! \*************************************************************************/ @@ -3614,10 +3614,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnAutoResize) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_auto_resize_AutoResize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/auto-resize/AutoResize */ 70111); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var diagram_js_lib_features_auto_resize_AutoResize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/auto-resize/AutoResize */ 10410); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); @@ -3649,7 +3649,7 @@ BpmnAutoResize.prototype.resize = function (target, newBounds, hints) { /***/ }), -/***/ 37751: +/***/ 45240: /*!*********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/auto-resize/BpmnAutoResizeProvider.js ***! \*********************************************************************************/ @@ -3660,11 +3660,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnAutoResizeProvider) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_features_auto_resize_AutoResizeProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/auto-resize/AutoResizeProvider */ 862); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_features_auto_resize_AutoResizeProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/auto-resize/AutoResizeProvider */ 58695); @@ -3703,7 +3703,7 @@ BpmnAutoResizeProvider.prototype.canResize = function (elements, target) { /***/ }), -/***/ 65110: +/***/ 47275: /*!****************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/auto-resize/index.js ***! \****************************************************************/ @@ -3714,8 +3714,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _BpmnAutoResize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnAutoResize */ 14810); -/* harmony import */ var _BpmnAutoResizeProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnAutoResizeProvider */ 37751); +/* harmony import */ var _BpmnAutoResize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnAutoResize */ 5985); +/* harmony import */ var _BpmnAutoResizeProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnAutoResizeProvider */ 45240); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -3726,7 +3726,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 30862: +/***/ 78809: /*!*****************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/context-pad/ContextPadProvider.js ***! \*****************************************************************************/ @@ -3737,11 +3737,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ContextPadProvider) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); -/* harmony import */ var _modeling_util_LaneUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../modeling/util/LaneUtil */ 23568); -/* harmony import */ var diagram_js_lib_util_Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/util/Mouse */ 53171); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); +/* harmony import */ var _modeling_util_LaneUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../modeling/util/LaneUtil */ 86803); +/* harmony import */ var diagram_js_lib_util_Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/util/Mouse */ 26600); @@ -4059,7 +4059,7 @@ function isEventType(eventBo, type, definition) { /***/ }), -/***/ 41687: +/***/ 40318: /*!****************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/context-pad/index.js ***! \****************************************************************/ @@ -4070,13 +4070,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_direct_editing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js-direct-editing */ 32110); -/* harmony import */ var diagram_js_lib_features_context_pad__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/context-pad */ 93331); -/* harmony import */ var diagram_js_lib_features_selection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/selection */ 26334); -/* harmony import */ var diagram_js_lib_features_connect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/features/connect */ 60262); -/* harmony import */ var diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/features/create */ 48256); -/* harmony import */ var _popup_menu__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../popup-menu */ 30918); -/* harmony import */ var _ContextPadProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ContextPadProvider */ 30862); +/* harmony import */ var diagram_js_direct_editing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js-direct-editing */ 95153); +/* harmony import */ var diagram_js_lib_features_context_pad__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/context-pad */ 64712); +/* harmony import */ var diagram_js_lib_features_selection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/selection */ 41481); +/* harmony import */ var diagram_js_lib_features_connect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/features/connect */ 52133); +/* harmony import */ var diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/features/create */ 31073); +/* harmony import */ var _popup_menu__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../popup-menu */ 77029); +/* harmony import */ var _ContextPadProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ContextPadProvider */ 78809); @@ -4092,7 +4092,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 17380: +/***/ 49471: /*!***********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/copy-paste/BpmnCopyPaste.js ***! \***********************************************************************/ @@ -4103,8 +4103,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnCopyPaste) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); function copyProperties(source, target, properties) { @@ -4222,7 +4222,7 @@ function isLabel(element) { /***/ }), -/***/ 66545: +/***/ 90612: /*!********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/copy-paste/ModdleCopy.js ***! \********************************************************************/ @@ -4234,7 +4234,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "default": () => (/* binding */ ModdleCopy), /* harmony export */ getPropertyNames: () => (/* binding */ getPropertyNames) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); var DISALLOWED_PROPERTIES = ['artifacts', 'dataInputAssociations', 'dataOutputAssociations', 'default', 'flowElements', 'lanes', 'incoming', 'outgoing']; @@ -4472,7 +4472,7 @@ function is(element, type) { /***/ }), -/***/ 82375: +/***/ 43944: /*!***************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/copy-paste/index.js ***! \***************************************************************/ @@ -4483,9 +4483,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_copy_paste__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/copy-paste */ 54307); -/* harmony import */ var _BpmnCopyPaste__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnCopyPaste */ 17380); -/* harmony import */ var _ModdleCopy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ModdleCopy */ 66545); +/* harmony import */ var diagram_js_lib_features_copy_paste__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/copy-paste */ 81070); +/* harmony import */ var _BpmnCopyPaste__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnCopyPaste */ 49471); +/* harmony import */ var _ModdleCopy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ModdleCopy */ 90612); @@ -4498,7 +4498,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 77134: +/***/ 60109: /*!*************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/di-ordering/BpmnDiOrdering.js ***! \*************************************************************************/ @@ -4509,10 +4509,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnDiOrdering) /* harmony export */ }); -/* harmony import */ var _draw_BpmnRenderUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../draw/BpmnRenderUtil */ 31637); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 35723); +/* harmony import */ var _draw_BpmnRenderUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../draw/BpmnRenderUtil */ 38214); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 39922); @@ -4539,7 +4539,7 @@ BpmnDiOrdering.$inject = ['eventBus', 'canvas']; /***/ }), -/***/ 9454: +/***/ 56663: /*!****************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/di-ordering/index.js ***! \****************************************************************/ @@ -4550,7 +4550,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _di_ordering_BpmnDiOrdering__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../di-ordering/BpmnDiOrdering */ 77134); +/* harmony import */ var _di_ordering_BpmnDiOrdering__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../di-ordering/BpmnDiOrdering */ 60109); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['bpmnDiOrdering'], @@ -4559,7 +4559,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 29924: +/***/ 28203: /*!*****************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/distribute-elements/BpmnDistributeElements.js ***! \*****************************************************************************************/ @@ -4570,8 +4570,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnDistributeElements) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); @@ -4591,7 +4591,7 @@ BpmnDistributeElements.$inject = ['distributeElements']; /***/ }), -/***/ 86815: +/***/ 63386: /*!************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/distribute-elements/index.js ***! \************************************************************************/ @@ -4602,8 +4602,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_distribute_elements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/distribute-elements */ 10635); -/* harmony import */ var _BpmnDistributeElements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnDistributeElements */ 29924); +/* harmony import */ var diagram_js_lib_features_distribute_elements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/distribute-elements */ 21684); +/* harmony import */ var _BpmnDistributeElements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnDistributeElements */ 28203); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -4614,7 +4614,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 58364: +/***/ 6351: /*!*******************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/editor-actions/BpmnEditorActions.js ***! \*******************************************************************************/ @@ -4625,12 +4625,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnEditorActions) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_features_editor_actions_EditorActions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/editor-actions/EditorActions */ 56891); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 35723); +/* harmony import */ var diagram_js_lib_features_editor_actions_EditorActions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/editor-actions/EditorActions */ 92110); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 39922); @@ -4775,7 +4775,7 @@ BpmnEditorActions.prototype._registerDefaultActions = function (injector) { /***/ }), -/***/ 9323: +/***/ 75216: /*!*******************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/editor-actions/index.js ***! \*******************************************************************/ @@ -4786,8 +4786,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_editor_actions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/editor-actions */ 56919); -/* harmony import */ var _BpmnEditorActions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnEditorActions */ 58364); +/* harmony import */ var diagram_js_lib_features_editor_actions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/editor-actions */ 1202); +/* harmony import */ var _BpmnEditorActions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnEditorActions */ 6351); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -4797,7 +4797,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 84494: +/***/ 75969: /*!*****************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/grid-snapping/BpmnGridSnapping.js ***! \*****************************************************************************/ @@ -4808,7 +4808,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnGridSnapping) /* harmony export */ }); -/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); +/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); function BpmnGridSnapping(eventBus) { eventBus.on(['create.init', 'shape.move.init'], function (event) { @@ -4826,7 +4826,7 @@ BpmnGridSnapping.$inject = ['eventBus']; /***/ }), -/***/ 2942: +/***/ 92505: /*!***************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/grid-snapping/behavior/AutoPlaceBehavior.js ***! \***************************************************************************************/ @@ -4837,9 +4837,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AutoPlaceBehavior) /* harmony export */ }); -/* harmony import */ var _auto_place_BpmnAutoPlaceUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../auto-place/BpmnAutoPlaceUtil */ 74340); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var _auto_place_BpmnAutoPlaceUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../auto-place/BpmnAutoPlaceUtil */ 37227); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -4886,7 +4886,7 @@ function isHorizontal(axis) { /***/ }), -/***/ 74425: +/***/ 14702: /*!***********************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/grid-snapping/behavior/CreateParticipantBehavior.js ***! \***********************************************************************************************/ @@ -4897,7 +4897,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CreateParticipantBehavior) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); var HIGHER_PRIORITY = 1750; function CreateParticipantBehavior(canvas, eventBus, gridSnapping) { @@ -4924,7 +4924,7 @@ CreateParticipantBehavior.$inject = ['canvas', 'eventBus', 'gridSnapping']; /***/ }), -/***/ 58172: +/***/ 90793: /*!**********************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/grid-snapping/behavior/LayoutConnectionBehavior.js ***! \**********************************************************************************************/ @@ -4935,11 +4935,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ LayoutConnectionBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var diagram_js_lib_util_Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/util/Geometry */ 3242); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var diagram_js_lib_util_Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/util/Geometry */ 33935); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); @@ -5051,7 +5051,7 @@ function snapSegment(gridSnapping, segmentStart, segmentEnd) { /***/ }), -/***/ 73965: +/***/ 63553: /*!***************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/grid-snapping/behavior/index.js ***! \***************************************************************************/ @@ -5062,9 +5062,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _AutoPlaceBehavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AutoPlaceBehavior */ 2942); -/* harmony import */ var _CreateParticipantBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CreateParticipantBehavior */ 74425); -/* harmony import */ var _LayoutConnectionBehavior__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LayoutConnectionBehavior */ 58172); +/* harmony import */ var _AutoPlaceBehavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AutoPlaceBehavior */ 92505); +/* harmony import */ var _CreateParticipantBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CreateParticipantBehavior */ 14702); +/* harmony import */ var _LayoutConnectionBehavior__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LayoutConnectionBehavior */ 90793); @@ -5077,7 +5077,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 22791: +/***/ 98126: /*!******************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/grid-snapping/index.js ***! \******************************************************************/ @@ -5088,9 +5088,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _BpmnGridSnapping__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BpmnGridSnapping */ 84494); -/* harmony import */ var diagram_js_lib_features_grid_snapping__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/grid-snapping */ 82795); -/* harmony import */ var _behavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./behavior */ 73965); +/* harmony import */ var _BpmnGridSnapping__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BpmnGridSnapping */ 75969); +/* harmony import */ var diagram_js_lib_features_grid_snapping__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/grid-snapping */ 98836); +/* harmony import */ var _behavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./behavior */ 63553); @@ -5102,7 +5102,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 67892: +/***/ 2099: /*!***************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/interaction-events/BpmnInteractionEvents.js ***! \***************************************************************************************/ @@ -5113,8 +5113,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnInteractionEvents) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); var LABEL_WIDTH = 30, @@ -5198,7 +5198,7 @@ BpmnInteractionEvents.prototype.createSubProcessHit = function (element, gfx) { /***/ }), -/***/ 69382: +/***/ 10957: /*!***********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/interaction-events/index.js ***! \***********************************************************************/ @@ -5209,7 +5209,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _BpmnInteractionEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnInteractionEvents */ 67892); +/* harmony import */ var _BpmnInteractionEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnInteractionEvents */ 2099); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['bpmnInteractionEvents'], @@ -5218,7 +5218,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 67551: +/***/ 17666: /*!****************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/keyboard/BpmnKeyboardBindings.js ***! \****************************************************************************/ @@ -5229,9 +5229,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnKeyboardBindings) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_features_keyboard_KeyboardBindings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/keyboard/KeyboardBindings */ 17946); +/* harmony import */ var diagram_js_lib_features_keyboard_KeyboardBindings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/keyboard/KeyboardBindings */ 74573); @@ -5357,7 +5357,7 @@ BpmnKeyboardBindings.prototype.registerBindings = function (keyboard, editorActi /***/ }), -/***/ 6581: +/***/ 91590: /*!*************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/keyboard/index.js ***! \*************************************************************/ @@ -5368,8 +5368,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_keyboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/keyboard */ 6329); -/* harmony import */ var _BpmnKeyboardBindings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnKeyboardBindings */ 67551); +/* harmony import */ var diagram_js_lib_features_keyboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/keyboard */ 27464); +/* harmony import */ var _BpmnKeyboardBindings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnKeyboardBindings */ 17666); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -5380,7 +5380,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 24513: +/***/ 89748: /*!********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/label-editing/LabelEditingPreview.js ***! \********************************************************************************/ @@ -5391,9 +5391,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ LabelEditingPreview) /* harmony export */ }); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/util/SvgTransformUtil */ 81384); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/util/SvgTransformUtil */ 53813); @@ -5483,7 +5483,7 @@ function getStrokeColor(element, defaultColor) { /***/ }), -/***/ 27356: +/***/ 86651: /*!*********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/label-editing/LabelEditingProvider.js ***! \*********************************************************************************/ @@ -5494,12 +5494,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ LabelEditingProvider) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _LabelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LabelUtil */ 89497); -/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); -/* harmony import */ var _modeling_behavior_util_CategoryUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../modeling/behavior/util/CategoryUtil */ 14891); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/LabelUtil */ 81454); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _LabelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LabelUtil */ 48816); +/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); +/* harmony import */ var _modeling_behavior_util_CategoryUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../modeling/behavior/util/CategoryUtil */ 20882); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/LabelUtil */ 50815); @@ -5822,7 +5822,7 @@ function isEmptyText(label) { /***/ }), -/***/ 89497: +/***/ 48816: /*!**********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/label-editing/LabelUtil.js ***! \**********************************************************************/ @@ -5834,7 +5834,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getLabel: () => (/* binding */ getLabel), /* harmony export */ setLabel: () => (/* binding */ setLabel) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); function getLabelAttr(semantic) { if ((0,_util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.is)(semantic, 'bpmn:FlowElement') || (0,_util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.is)(semantic, 'bpmn:Participant') || (0,_util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.is)(semantic, 'bpmn:Lane') || (0,_util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.is)(semantic, 'bpmn:SequenceFlow') || (0,_util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.is)(semantic, 'bpmn:MessageFlow') || (0,_util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.is)(semantic, 'bpmn:DataInput') || (0,_util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.is)(semantic, 'bpmn:DataOutput')) { @@ -5879,7 +5879,7 @@ function setLabel(element, text, isExternal) { /***/ }), -/***/ 20649: +/***/ 73402: /*!***********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/label-editing/cmd/UpdateLabelHandler.js ***! \***********************************************************************************/ @@ -5890,9 +5890,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ UpdateLabelHandler) /* harmony export */ }); -/* harmony import */ var _LabelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../LabelUtil */ 89497); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/LabelUtil */ 81454); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var _LabelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../LabelUtil */ 48816); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/LabelUtil */ 50815); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -5995,7 +5995,7 @@ function isEmptyText(label) { /***/ }), -/***/ 62511: +/***/ 98342: /*!******************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/label-editing/index.js ***! \******************************************************************/ @@ -6006,11 +6006,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_change_support__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/change-support */ 46242); -/* harmony import */ var diagram_js_lib_features_resize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/resize */ 40844); -/* harmony import */ var diagram_js_direct_editing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js-direct-editing */ 32110); -/* harmony import */ var _LabelEditingProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./LabelEditingProvider */ 27356); -/* harmony import */ var _LabelEditingPreview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LabelEditingPreview */ 24513); +/* harmony import */ var diagram_js_lib_features_change_support__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/change-support */ 99567); +/* harmony import */ var diagram_js_lib_features_resize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/resize */ 33485); +/* harmony import */ var diagram_js_direct_editing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js-direct-editing */ 95153); +/* harmony import */ var _LabelEditingProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./LabelEditingProvider */ 86651); +/* harmony import */ var _LabelEditingPreview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LabelEditingPreview */ 89748); @@ -6025,7 +6025,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 25198: +/***/ 39633: /*!*******************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/BpmnFactory.js ***! \*******************************************************************/ @@ -6036,8 +6036,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnFactory) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _util_ModelingUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _util_ModelingUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); @@ -6115,7 +6115,7 @@ BpmnFactory.prototype.createDiPlane = function (semantic) { /***/ }), -/***/ 55395: +/***/ 83050: /*!********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/BpmnLayouter.js ***! \********************************************************************/ @@ -6126,14 +6126,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnLayouter) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_layout_BaseLayouter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/BaseLayouter */ 17640); -/* harmony import */ var diagram_js_lib_layout_ManhattanLayout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/layout/ManhattanLayout */ 98624); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_layout_BaseLayouter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/BaseLayouter */ 51105); +/* harmony import */ var diagram_js_lib_layout_ManhattanLayout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/layout/ManhattanLayout */ 77987); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); @@ -6425,7 +6425,7 @@ function getBoundaryEventTargetLayout(attachOrientation, targetOrientation, atta /***/ }), -/***/ 22301: +/***/ 53154: /*!*******************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/BpmnUpdater.js ***! \*******************************************************************/ @@ -6436,13 +6436,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnUpdater) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 39233); -/* harmony import */ var diagram_js_lib_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/model */ 83377); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/ModelingUtil */ 4525); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); +/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 90238); +/* harmony import */ var diagram_js_lib_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/model */ 94552); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/ModelingUtil */ 87908); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); @@ -6930,7 +6930,7 @@ function ifBpmn(fn) { /***/ }), -/***/ 5557: +/***/ 63784: /*!**********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/ElementFactory.js ***! \**********************************************************************/ @@ -6941,13 +6941,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ElementFactory) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); -/* harmony import */ var diagram_js_lib_core_ElementFactory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/core/ElementFactory */ 22037); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/LabelUtil */ 81454); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); +/* harmony import */ var diagram_js_lib_core_ElementFactory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/core/ElementFactory */ 26520); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/LabelUtil */ 50815); @@ -7177,7 +7177,7 @@ function applyAttribute(element, attrs, attributeName) { /***/ }), -/***/ 53548: +/***/ 89113: /*!****************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/Modeling.js ***! \****************************************************************/ @@ -7188,19 +7188,19 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Modeling) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/modeling/Modeling */ 98680); -/* harmony import */ var _cmd_UpdateModdlePropertiesHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cmd/UpdateModdlePropertiesHandler */ 87101); -/* harmony import */ var _cmd_UpdatePropertiesHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cmd/UpdatePropertiesHandler */ 52451); -/* harmony import */ var _cmd_UpdateCanvasRootHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./cmd/UpdateCanvasRootHandler */ 12575); -/* harmony import */ var _cmd_AddLaneHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cmd/AddLaneHandler */ 37005); -/* harmony import */ var _cmd_SplitLaneHandler__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cmd/SplitLaneHandler */ 29624); -/* harmony import */ var _cmd_ResizeLaneHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cmd/ResizeLaneHandler */ 57338); -/* harmony import */ var _cmd_UpdateFlowNodeRefsHandler__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cmd/UpdateFlowNodeRefsHandler */ 97617); -/* harmony import */ var _cmd_IdClaimHandler__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./cmd/IdClaimHandler */ 11155); -/* harmony import */ var _cmd_SetColorHandler__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./cmd/SetColorHandler */ 76433); -/* harmony import */ var _label_editing_cmd_UpdateLabelHandler__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../label-editing/cmd/UpdateLabelHandler */ 20649); +/* harmony import */ var diagram_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/modeling/Modeling */ 69235); +/* harmony import */ var _cmd_UpdateModdlePropertiesHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cmd/UpdateModdlePropertiesHandler */ 24226); +/* harmony import */ var _cmd_UpdatePropertiesHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cmd/UpdatePropertiesHandler */ 31239); +/* harmony import */ var _cmd_UpdateCanvasRootHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./cmd/UpdateCanvasRootHandler */ 30540); +/* harmony import */ var _cmd_AddLaneHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cmd/AddLaneHandler */ 24624); +/* harmony import */ var _cmd_SplitLaneHandler__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cmd/SplitLaneHandler */ 80729); +/* harmony import */ var _cmd_ResizeLaneHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cmd/ResizeLaneHandler */ 21105); +/* harmony import */ var _cmd_UpdateFlowNodeRefsHandler__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cmd/UpdateFlowNodeRefsHandler */ 39910); +/* harmony import */ var _cmd_IdClaimHandler__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./cmd/IdClaimHandler */ 48566); +/* harmony import */ var _cmd_SetColorHandler__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./cmd/SetColorHandler */ 30134); +/* harmony import */ var _label_editing_cmd_UpdateLabelHandler__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../label-editing/cmd/UpdateLabelHandler */ 73402); @@ -7356,7 +7356,7 @@ Modeling.prototype.setColor = function (elements, colors) { /***/ }), -/***/ 15351: +/***/ 46936: /*!*************************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.js ***! \*************************************************************************************************/ @@ -7367,12 +7367,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AdaptiveLabelPositioningBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var diagram_js_lib_util_Math__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Math */ 28929); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/LabelUtil */ 81454); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var diagram_js_lib_util_Math__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Math */ 67436); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/LabelUtil */ 50815); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); @@ -7562,7 +7562,7 @@ function isAligned(orientation) { /***/ }), -/***/ 77022: +/***/ 86645: /*!*******************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/AppendBehavior.js ***! \*******************************************************************************/ @@ -7573,10 +7573,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AppendBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); @@ -7608,7 +7608,7 @@ AppendBehavior.$inject = ['eventBus', 'elementFactory', 'bpmnRules']; /***/ }), -/***/ 97799: +/***/ 14853: /*!************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/AssociationBehavior.js ***! \************************************************************************************/ @@ -7619,11 +7619,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AssociationBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); @@ -7649,7 +7649,7 @@ AssociationBehavior.$inject = ['injector', 'modeling']; /***/ }), -/***/ 65459: +/***/ 66314: /*!************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/AttachEventBehavior.js ***! \************************************************************************************/ @@ -7660,11 +7660,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AttachEventBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ModelingUtil */ 4525); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/LabelUtil */ 81454); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ModelingUtil */ 87908); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/LabelUtil */ 50815); @@ -7736,7 +7736,7 @@ function shouldReplace(shape, host) { /***/ }), -/***/ 42450: +/***/ 38067: /*!**************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/BoundaryEventBehavior.js ***! \**************************************************************************************/ @@ -7747,11 +7747,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BoundaryEventBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); @@ -7810,7 +7810,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(BoundaryEventBehavior, diagram_j /***/ }), -/***/ 40158: +/***/ 78833: /*!*******************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/CreateBehavior.js ***! \*******************************************************************************/ @@ -7821,11 +7821,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CreateBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/ModelingUtil */ 98405); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/ModelingUtil */ 56846); @@ -7846,7 +7846,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(CreateBehavior, diagram_js_lib_c /***/ }), -/***/ 72893: +/***/ 3414: /*!*****************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/CreateDataObjectBehavior.js ***! \*****************************************************************************************/ @@ -7857,10 +7857,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CreateDataObjectBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -7887,7 +7887,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(CreateDataObjectBehavior, diagra /***/ }), -/***/ 28937: +/***/ 74960: /*!******************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/CreateParticipantBehavior.js ***! \******************************************************************************************/ @@ -7899,14 +7899,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ PARTICIPANT_BORDER_WIDTH: () => (/* binding */ PARTICIPANT_BORDER_WIDTH), /* harmony export */ "default": () => (/* binding */ CreateParticipantBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/LabelUtil */ 81454); -/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 35723); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/LabelUtil */ 50815); +/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 39922); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); @@ -8096,7 +8096,7 @@ function findParticipant(elements) { /***/ }), -/***/ 3581: +/***/ 33766: /*!*********************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/DataInputAssociationBehavior.js ***! \*********************************************************************************************/ @@ -8107,12 +8107,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DataInputAssociationBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 39233); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 90238); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -8219,7 +8219,7 @@ function ifDataInputAssociation(fn) { /***/ }), -/***/ 56385: +/***/ 29152: /*!**********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/DataStoreBehavior.js ***! \**********************************************************************************/ @@ -8230,11 +8230,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DataStoreBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/ModelingUtil */ 4525); -/* harmony import */ var _cmd_UpdateSemanticParentHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../cmd/UpdateSemanticParentHandler */ 36527); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/ModelingUtil */ 87908); +/* harmony import */ var _cmd_UpdateSemanticParentHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../cmd/UpdateSemanticParentHandler */ 94164); @@ -8383,7 +8383,7 @@ function getAncestor(element, type) { /***/ }), -/***/ 94883: +/***/ 56312: /*!***********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/DeleteLaneBehavior.js ***! \***********************************************************************************/ @@ -8394,12 +8394,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DeleteLaneBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/LaneUtil */ 23568); -/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 35723); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/LaneUtil */ 86803); +/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 39922); @@ -8476,7 +8476,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(DeleteLaneBehavior, diagram_js_l /***/ }), -/***/ 91097: +/***/ 14276: /*!************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/DetachEventBehavior.js ***! \************************************************************************************/ @@ -8487,11 +8487,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DetachEventBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/LabelUtil */ 81454); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/LabelUtil */ 50815); @@ -8563,7 +8563,7 @@ function includes(array, item) { /***/ }), -/***/ 60914: +/***/ 453: /*!***********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/DropOnFlowBehavior.js ***! \***********************************************************************************/ @@ -8574,12 +8574,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DropOnFlowBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var diagram_js_lib_util_LineIntersection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/LineIntersection */ 91373); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var diagram_js_lib_util_LineIntersection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/LineIntersection */ 47860); @@ -8731,7 +8731,7 @@ function copy(obj) { /***/ }), -/***/ 42095: +/***/ 57254: /*!******************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/EventBasedGatewayBehavior.js ***! \******************************************************************************************/ @@ -8742,10 +8742,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ EventBasedGatewayBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -8808,7 +8808,7 @@ function isSequenceFlow(connection) { /***/ }), -/***/ 29613: +/***/ 96998: /*!*********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/FixHoverBehavior.js ***! \*********************************************************************************/ @@ -8819,8 +8819,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ FixHoverBehavior) /* harmony export */ }); -/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/LaneUtil */ 23568); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/ModelingUtil */ 4525); +/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/LaneUtil */ 86803); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/ModelingUtil */ 87908); @@ -8900,7 +8900,7 @@ FixHoverBehavior.$inject = ['elementRegistry', 'eventBus', 'canvas']; /***/ }), -/***/ 69955: +/***/ 13870: /*!******************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/GroupBehavior.js ***! \******************************************************************************/ @@ -8911,12 +8911,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ GroupBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 39233); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_CategoryUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/CategoryUtil */ 14891); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 90238); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_CategoryUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/CategoryUtil */ 20882); @@ -9072,7 +9072,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(GroupBehavior, diagram_js_lib_co /***/ }), -/***/ 60465: +/***/ 85082: /*!*********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/ImportDockingFix.js ***! \*********************************************************************************/ @@ -9083,8 +9083,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ImportDockingFix) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var _util_LineIntersect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/LineIntersect */ 296); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var _util_LineIntersect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/LineIntersect */ 4247); @@ -9141,7 +9141,7 @@ function getDistance(p1, p2) { /***/ }), -/***/ 82661: +/***/ 54224: /*!********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/IsHorizontalFix.js ***! \********************************************************************************/ @@ -9152,10 +9152,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ IsHorizontalFix) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ModelingUtil */ 4525); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ModelingUtil */ 87908); @@ -9183,7 +9183,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(IsHorizontalFix, diagram_js_lib_ /***/ }), -/***/ 19278: +/***/ 91839: /*!******************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/LabelBehavior.js ***! \******************************************************************************/ @@ -9197,18 +9197,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getReferencePoint: () => (/* binding */ getReferencePoint), /* harmony export */ getReferencePointDelta: () => (/* binding */ getReferencePointDelta) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/LabelUtil */ 81454); -/* harmony import */ var _label_editing_LabelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../label-editing/LabelUtil */ 89497); -/* harmony import */ var _util_LabelLayoutUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./util/LabelLayoutUtil */ 98635); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var diagram_js_lib_util_AttachUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! diagram-js/lib/util/AttachUtil */ 93999); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var diagram_js_lib_util_PositionUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/util/PositionUtil */ 28929); -/* harmony import */ var _util_GeometricUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./util/GeometricUtil */ 60526); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/LabelUtil */ 50815); +/* harmony import */ var _label_editing_LabelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../label-editing/LabelUtil */ 48816); +/* harmony import */ var _util_LabelLayoutUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./util/LabelLayoutUtil */ 78908); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var diagram_js_lib_util_AttachUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! diagram-js/lib/util/AttachUtil */ 34858); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var diagram_js_lib_util_PositionUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/util/PositionUtil */ 67436); +/* harmony import */ var _util_GeometricUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./util/GeometricUtil */ 2617); @@ -9499,7 +9499,7 @@ function getNearestLine(point, lines) { /***/ }), -/***/ 23815: +/***/ 18022: /*!************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/MessageFlowBehavior.js ***! \************************************************************************************/ @@ -9510,13 +9510,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MessageFlowBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/DiUtil */ 55441); -/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 35723); -/* harmony import */ var diagram_js_lib_features_modeling_cmd_helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/modeling/cmd/helper/AnchorsHelper */ 25395); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/DiUtil */ 30850); +/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 39922); +/* harmony import */ var diagram_js_lib_features_modeling_cmd_helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/modeling/cmd/helper/AnchorsHelper */ 72192); @@ -9581,7 +9581,7 @@ function getMessageFlows(parent) { /***/ }), -/***/ 7852: +/***/ 55039: /*!*********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/ModelingFeedback.js ***! \*********************************************************************************/ @@ -9592,7 +9592,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ModelingFeedback) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); var COLLAB_ERR_MSG = 'flow elements must be children of pools/participants'; function ModelingFeedback(eventBus, tooltips, translate) { @@ -9620,7 +9620,7 @@ ModelingFeedback.$inject = ['eventBus', 'tooltips', 'translate']; /***/ }), -/***/ 5288: +/***/ 60429: /*!**************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/RemoveElementBehavior.js ***! \**************************************************************************************/ @@ -9631,11 +9631,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ RemoveElementBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_LineIntersect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/LineIntersect */ 296); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_LineIntersect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/LineIntersect */ 4247); @@ -9688,7 +9688,7 @@ function getNewWaypoints(inWaypoints, outWaypoints) { /***/ }), -/***/ 37077: +/***/ 62756: /*!******************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/RemoveParticipantBehavior.js ***! \******************************************************************************************/ @@ -9699,10 +9699,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ RemoveParticipantBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -9741,7 +9741,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(RemoveParticipantBehavior, diagr /***/ }), -/***/ 5576: +/***/ 85917: /*!******************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/ReplaceConnectionBehavior.js ***! \******************************************************************************************/ @@ -9752,11 +9752,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ReplaceConnectionBehavior) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -9906,7 +9906,7 @@ ReplaceConnectionBehavior.$inject = ['eventBus', 'modeling', 'bpmnRules', 'injec /***/ }), -/***/ 57501: +/***/ 9336: /*!****************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/ReplaceElementBehaviour.js ***! \****************************************************************************************/ @@ -9917,11 +9917,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ReplaceElementBehaviour) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/DiUtil */ 55441); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/DiUtil */ 30850); @@ -10018,7 +10018,7 @@ ReplaceElementBehaviour.$inject = ['bpmnReplace', 'bpmnRules', 'elementRegistry' /***/ }), -/***/ 79854: +/***/ 40909: /*!*******************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/ResizeBehavior.js ***! \*******************************************************************************/ @@ -10034,10 +10034,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "default": () => (/* binding */ ResizeBehavior), /* harmony export */ getParticipantResizeConstraints: () => (/* binding */ getParticipantResizeConstraints) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/DiUtil */ 55441); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/LaneUtil */ 23568); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/DiUtil */ 30850); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/LaneUtil */ 86803); @@ -10183,7 +10183,7 @@ function getParticipantResizeConstraints(laneShape, resizeDirection, balanced) { /***/ }), -/***/ 38208: +/***/ 74067: /*!***********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/ResizeLaneBehavior.js ***! \***********************************************************************************/ @@ -10194,9 +10194,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ResizeLaneBehavior) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var diagram_js_lib_util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/Mouse */ 53171); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var diagram_js_lib_util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/Mouse */ 26600); @@ -10245,7 +10245,7 @@ ResizeLaneBehavior.$inject = ['eventBus', 'modeling']; /***/ }), -/***/ 53191: +/***/ 69508: /*!*********************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/RootElementReferenceBehavior.js ***! \*********************************************************************************************/ @@ -10256,13 +10256,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ RootElementReferenceBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 39233); -/* harmony import */ var _util_ModelingUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ModelingUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/DiUtil */ 55441); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 90238); +/* harmony import */ var _util_ModelingUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/ModelingUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../util/DiUtil */ 30850); @@ -10387,7 +10387,7 @@ function hasAnyEventDefinition(element, types) { /***/ }), -/***/ 54616: +/***/ 11541: /*!**********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/SpaceToolBehavior.js ***! \**********************************************************************************/ @@ -10398,11 +10398,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SpaceToolBehavior) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/DiUtil */ 55441); -/* harmony import */ var _ResizeBehavior__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ResizeBehavior */ 79854); -/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/LaneUtil */ 23568); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/DiUtil */ 30850); +/* harmony import */ var _ResizeBehavior__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ResizeBehavior */ 40909); +/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/LaneUtil */ 86803); @@ -10503,7 +10503,7 @@ function findResizedLane(lanes, resizeStart) { /***/ }), -/***/ 89277: +/***/ 66474: /*!*********************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/SubProcessStartEventBehavior.js ***! \*********************************************************************************************/ @@ -10514,11 +10514,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SubProcessStartEventBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/DiUtil.js */ 55441); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/DiUtil.js */ 30850); @@ -10558,7 +10558,7 @@ function getStartEventPosition(shape) { /***/ }), -/***/ 66690: +/***/ 54209: /*!***********************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.js ***! \***********************************************************************************************/ @@ -10569,11 +10569,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ToggleElementCollapseBehaviour) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_features_resize_ResizeUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/resize/ResizeUtil */ 35434); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_features_resize_ResizeUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/resize/ResizeUtil */ 67329); @@ -10675,7 +10675,7 @@ function filterVisible(elements) { /***/ }), -/***/ 50484: +/***/ 77757: /*!**********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/UnclaimIdBehavior.js ***! \**********************************************************************************/ @@ -10686,12 +10686,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ UnclaimIdBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/DiUtil */ 55441); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/LabelUtil */ 81454); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/DiUtil */ 30850); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/LabelUtil */ 50815); @@ -10739,7 +10739,7 @@ UnclaimIdBehavior.$inject = ['canvas', 'injector', 'moddle', 'modeling']; /***/ }), -/***/ 75376: +/***/ 52287: /*!*****************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.js ***! \*****************************************************************************************/ @@ -10750,10 +10750,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DeleteSequenceFlowBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -10795,7 +10795,7 @@ function isDefaultFlow(connection, source) { /***/ }), -/***/ 11837: +/***/ 25410: /*!*******************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.js ***! \*******************************************************************************************/ @@ -10806,10 +10806,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ UpdateFlowNodeRefsBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -10912,7 +10912,7 @@ function UpdateContext() { /***/ }), -/***/ 80490: +/***/ 35987: /*!**********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/index.js ***! \**********************************************************************/ @@ -10923,40 +10923,40 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _AdaptiveLabelPositioningBehavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AdaptiveLabelPositioningBehavior */ 15351); -/* harmony import */ var _AppendBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AppendBehavior */ 77022); -/* harmony import */ var _AssociationBehavior__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AssociationBehavior */ 97799); -/* harmony import */ var _AttachEventBehavior__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AttachEventBehavior */ 65459); -/* harmony import */ var _BoundaryEventBehavior__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BoundaryEventBehavior */ 42450); -/* harmony import */ var _RootElementReferenceBehavior__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RootElementReferenceBehavior */ 53191); -/* harmony import */ var _CreateBehavior__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CreateBehavior */ 40158); -/* harmony import */ var _FixHoverBehavior__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./FixHoverBehavior */ 29613); -/* harmony import */ var _CreateDataObjectBehavior__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./CreateDataObjectBehavior */ 72893); -/* harmony import */ var _CreateParticipantBehavior__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./CreateParticipantBehavior */ 28937); -/* harmony import */ var _DataInputAssociationBehavior__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./DataInputAssociationBehavior */ 3581); -/* harmony import */ var _DataStoreBehavior__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DataStoreBehavior */ 56385); -/* harmony import */ var _DeleteLaneBehavior__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DeleteLaneBehavior */ 94883); -/* harmony import */ var _DetachEventBehavior__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./DetachEventBehavior */ 91097); -/* harmony import */ var _DropOnFlowBehavior__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./DropOnFlowBehavior */ 60914); -/* harmony import */ var _EventBasedGatewayBehavior__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./EventBasedGatewayBehavior */ 42095); -/* harmony import */ var _GroupBehavior__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./GroupBehavior */ 69955); -/* harmony import */ var _ImportDockingFix__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ImportDockingFix */ 60465); -/* harmony import */ var _IsHorizontalFix__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./IsHorizontalFix */ 82661); -/* harmony import */ var _LabelBehavior__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./LabelBehavior */ 19278); -/* harmony import */ var _MessageFlowBehavior__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./MessageFlowBehavior */ 23815); -/* harmony import */ var _ModelingFeedback__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./ModelingFeedback */ 7852); -/* harmony import */ var _ReplaceConnectionBehavior__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./ReplaceConnectionBehavior */ 5576); -/* harmony import */ var _RemoveParticipantBehavior__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./RemoveParticipantBehavior */ 37077); -/* harmony import */ var _ReplaceElementBehaviour__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ReplaceElementBehaviour */ 57501); -/* harmony import */ var _ResizeBehavior__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./ResizeBehavior */ 79854); -/* harmony import */ var _ResizeLaneBehavior__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./ResizeLaneBehavior */ 38208); -/* harmony import */ var _RemoveElementBehavior__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./RemoveElementBehavior */ 5288); -/* harmony import */ var _SpaceToolBehavior__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./SpaceToolBehavior */ 54616); -/* harmony import */ var _SubProcessStartEventBehavior__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./SubProcessStartEventBehavior */ 89277); -/* harmony import */ var _ToggleElementCollapseBehaviour__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./ToggleElementCollapseBehaviour */ 66690); -/* harmony import */ var _UnclaimIdBehavior__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./UnclaimIdBehavior */ 50484); -/* harmony import */ var _UpdateFlowNodeRefsBehavior__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./UpdateFlowNodeRefsBehavior */ 11837); -/* harmony import */ var _UnsetDefaultFlowBehavior__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./UnsetDefaultFlowBehavior */ 75376); +/* harmony import */ var _AdaptiveLabelPositioningBehavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AdaptiveLabelPositioningBehavior */ 46936); +/* harmony import */ var _AppendBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AppendBehavior */ 86645); +/* harmony import */ var _AssociationBehavior__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AssociationBehavior */ 14853); +/* harmony import */ var _AttachEventBehavior__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AttachEventBehavior */ 66314); +/* harmony import */ var _BoundaryEventBehavior__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BoundaryEventBehavior */ 38067); +/* harmony import */ var _RootElementReferenceBehavior__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RootElementReferenceBehavior */ 69508); +/* harmony import */ var _CreateBehavior__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CreateBehavior */ 78833); +/* harmony import */ var _FixHoverBehavior__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./FixHoverBehavior */ 96998); +/* harmony import */ var _CreateDataObjectBehavior__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./CreateDataObjectBehavior */ 3414); +/* harmony import */ var _CreateParticipantBehavior__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./CreateParticipantBehavior */ 74960); +/* harmony import */ var _DataInputAssociationBehavior__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./DataInputAssociationBehavior */ 33766); +/* harmony import */ var _DataStoreBehavior__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DataStoreBehavior */ 29152); +/* harmony import */ var _DeleteLaneBehavior__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DeleteLaneBehavior */ 56312); +/* harmony import */ var _DetachEventBehavior__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./DetachEventBehavior */ 14276); +/* harmony import */ var _DropOnFlowBehavior__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./DropOnFlowBehavior */ 453); +/* harmony import */ var _EventBasedGatewayBehavior__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./EventBasedGatewayBehavior */ 57254); +/* harmony import */ var _GroupBehavior__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./GroupBehavior */ 13870); +/* harmony import */ var _ImportDockingFix__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ImportDockingFix */ 85082); +/* harmony import */ var _IsHorizontalFix__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./IsHorizontalFix */ 54224); +/* harmony import */ var _LabelBehavior__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./LabelBehavior */ 91839); +/* harmony import */ var _MessageFlowBehavior__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./MessageFlowBehavior */ 18022); +/* harmony import */ var _ModelingFeedback__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./ModelingFeedback */ 55039); +/* harmony import */ var _ReplaceConnectionBehavior__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./ReplaceConnectionBehavior */ 85917); +/* harmony import */ var _RemoveParticipantBehavior__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./RemoveParticipantBehavior */ 62756); +/* harmony import */ var _ReplaceElementBehaviour__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ReplaceElementBehaviour */ 9336); +/* harmony import */ var _ResizeBehavior__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./ResizeBehavior */ 40909); +/* harmony import */ var _ResizeLaneBehavior__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./ResizeLaneBehavior */ 74067); +/* harmony import */ var _RemoveElementBehavior__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./RemoveElementBehavior */ 60429); +/* harmony import */ var _SpaceToolBehavior__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./SpaceToolBehavior */ 11541); +/* harmony import */ var _SubProcessStartEventBehavior__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./SubProcessStartEventBehavior */ 66474); +/* harmony import */ var _ToggleElementCollapseBehaviour__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./ToggleElementCollapseBehaviour */ 54209); +/* harmony import */ var _UnclaimIdBehavior__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./UnclaimIdBehavior */ 77757); +/* harmony import */ var _UpdateFlowNodeRefsBehavior__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./UpdateFlowNodeRefsBehavior */ 25410); +/* harmony import */ var _UnsetDefaultFlowBehavior__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./UnsetDefaultFlowBehavior */ 52287); @@ -11031,7 +11031,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 14891: +/***/ 20882: /*!**********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/util/CategoryUtil.js ***! \**********************************************************************************/ @@ -11042,8 +11042,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ createCategoryValue: () => (/* binding */ createCategoryValue) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 39233); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../util/ModelUtil */ 4525); +/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 90238); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../util/ModelUtil */ 87908); @@ -11070,7 +11070,7 @@ function createCategoryValue(definitions, bpmnFactory) { /***/ }), -/***/ 60526: +/***/ 2617: /*!***********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/util/GeometricUtil.js ***! \***********************************************************************************/ @@ -11206,7 +11206,7 @@ function getDistancePointPoint(point1, point2) { /***/ }), -/***/ 98635: +/***/ 78908: /*!*************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/util/LabelLayoutUtil.js ***! \*************************************************************************************/ @@ -11218,9 +11218,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ findNewLabelLineStartIndex: () => (/* binding */ findNewLabelLineStartIndex), /* harmony export */ getLabelAdjustment: () => (/* binding */ getLabelAdjustment) /* harmony export */ }); -/* harmony import */ var _GeometricUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GeometricUtil */ 60526); -/* harmony import */ var _LineAttachmentUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LineAttachmentUtil */ 22864); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); +/* harmony import */ var _GeometricUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GeometricUtil */ 2617); +/* harmony import */ var _LineAttachmentUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LineAttachmentUtil */ 61285); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); @@ -11412,7 +11412,7 @@ function getRelativeFootPosition(line, foot) { /***/ }), -/***/ 22864: +/***/ 61285: /*!****************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/util/LineAttachmentUtil.js ***! \****************************************************************************************/ @@ -11619,7 +11619,7 @@ function pointsEqual(p1, p2) { /***/ }), -/***/ 296: +/***/ 4247: /*!***********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/behavior/util/LineIntersect.js ***! \***********************************************************************************/ @@ -11664,7 +11664,7 @@ function lineIntersect(l1s, l1e, l2s, l2e) { /***/ }), -/***/ 37005: +/***/ 24624: /*!**************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/AddLaneHandler.js ***! \**************************************************************************/ @@ -11675,9 +11675,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AddLaneHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 35723); -/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/LaneUtil */ 23568); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 39922); +/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/LaneUtil */ 86803); @@ -11755,7 +11755,7 @@ AddLaneHandler.prototype.preExecute = function (context) { /***/ }), -/***/ 11155: +/***/ 48566: /*!**************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/IdClaimHandler.js ***! \**************************************************************************/ @@ -11799,7 +11799,7 @@ IdClaimHandler.prototype.revert = function (context) { /***/ }), -/***/ 57338: +/***/ 21105: /*!*****************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/ResizeLaneHandler.js ***! \*****************************************************************************/ @@ -11810,11 +11810,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ResizeLaneHandler) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/LaneUtil */ 23568); -/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 35723); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var diagram_js_lib_features_resize_ResizeUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/resize/ResizeUtil */ 35434); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/LaneUtil */ 86803); +/* harmony import */ var diagram_js_lib_util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Elements */ 39922); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var diagram_js_lib_features_resize_ResizeUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/resize/ResizeUtil */ 67329); @@ -11909,7 +11909,7 @@ ResizeLaneHandler.prototype.resizeSpace = function (shape, newBounds) { /***/ }), -/***/ 76433: +/***/ 30134: /*!***************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/SetColorHandler.js ***! \***************************************************************************/ @@ -11920,7 +11920,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SetColorHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); var DEFAULT_COLORS = { fill: undefined, @@ -12033,7 +12033,7 @@ function ensureLegacySupport(di) { /***/ }), -/***/ 29624: +/***/ 80729: /*!****************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/SplitLaneHandler.js ***! \****************************************************************************/ @@ -12044,7 +12044,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SplitLaneHandler) /* harmony export */ }); -/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/LaneUtil */ 23568); +/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/LaneUtil */ 86803); /** @@ -12109,7 +12109,7 @@ SplitLaneHandler.prototype.preExecute = function (context) { /***/ }), -/***/ 12575: +/***/ 30540: /*!***********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/UpdateCanvasRootHandler.js ***! \***********************************************************************************/ @@ -12120,7 +12120,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ UpdateCanvasRootHandler) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 39233); +/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 90238); function UpdateCanvasRootHandler(canvas, modeling) { this._canvas = canvas; @@ -12184,7 +12184,7 @@ UpdateCanvasRootHandler.prototype.revert = function (context) { /***/ }), -/***/ 97617: +/***/ 39910: /*!*************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.js ***! \*************************************************************************************/ @@ -12195,10 +12195,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ UpdateFlowNodeRefsHandler) /* harmony export */ }); -/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/LaneUtil */ 23568); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 39233); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); +/* harmony import */ var _util_LaneUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/LaneUtil */ 86803); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 90238); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); @@ -12340,7 +12340,7 @@ UpdateFlowNodeRefsHandler.prototype.revert = function (context) { /***/ }), -/***/ 87101: +/***/ 24226: /*!*****************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/UpdateModdlePropertiesHandler.js ***! \*****************************************************************************************/ @@ -12351,8 +12351,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ UpdateModdlePropertiesHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); function UpdateModdlePropertiesHandler(elementRegistry) { @@ -12417,7 +12417,7 @@ function getAllDataObjectReferences(dataObject, elementRegistry) { /***/ }), -/***/ 52451: +/***/ 31239: /*!***********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/UpdatePropertiesHandler.js ***! \***********************************************************************************/ @@ -12428,8 +12428,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ UpdatePropertiesHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); var DEFAULT_FLOW = 'default', @@ -12607,7 +12607,7 @@ function unwrapBusinessObjects(properties) { /***/ }), -/***/ 36527: +/***/ 94164: /*!***************************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/cmd/UpdateSemanticParentHandler.js ***! \***************************************************************************************/ @@ -12649,7 +12649,7 @@ UpdateSemanticParentHandler.prototype.revert = function (context) { /***/ }), -/***/ 35959: +/***/ 4464: /*!*************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/index.js ***! \*************************************************************/ @@ -12660,24 +12660,24 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _behavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./behavior */ 80490); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 56859); -/* harmony import */ var _di_ordering__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../di-ordering */ 9454); -/* harmony import */ var _ordering__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ordering */ 17872); -/* harmony import */ var _replace__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../replace */ 95872); -/* harmony import */ var diagram_js_lib_command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/command */ 25541); -/* harmony import */ var diagram_js_lib_features_tooltips__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/features/tooltips */ 37692); -/* harmony import */ var diagram_js_lib_features_label_support__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! diagram-js/lib/features/label-support */ 54392); -/* harmony import */ var diagram_js_lib_features_attach_support__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! diagram-js/lib/features/attach-support */ 15263); -/* harmony import */ var diagram_js_lib_features_selection__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/features/selection */ 26334); -/* harmony import */ var diagram_js_lib_features_change_support__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! diagram-js/lib/features/change-support */ 46242); -/* harmony import */ var diagram_js_lib_features_space_tool__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! diagram-js/lib/features/space-tool */ 88363); -/* harmony import */ var _BpmnFactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./BpmnFactory */ 25198); -/* harmony import */ var _BpmnUpdater__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./BpmnUpdater */ 22301); -/* harmony import */ var _ElementFactory__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ElementFactory */ 5557); -/* harmony import */ var _Modeling__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Modeling */ 53548); -/* harmony import */ var _BpmnLayouter__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./BpmnLayouter */ 55395); -/* harmony import */ var diagram_js_lib_layout_CroppingConnectionDocking__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! diagram-js/lib/layout/CroppingConnectionDocking */ 91569); +/* harmony import */ var _behavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./behavior */ 35987); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 35022); +/* harmony import */ var _di_ordering__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../di-ordering */ 56663); +/* harmony import */ var _ordering__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ordering */ 94135); +/* harmony import */ var _replace__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../replace */ 3333); +/* harmony import */ var diagram_js_lib_command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/command */ 66296); +/* harmony import */ var diagram_js_lib_features_tooltips__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/features/tooltips */ 8005); +/* harmony import */ var diagram_js_lib_features_label_support__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! diagram-js/lib/features/label-support */ 91039); +/* harmony import */ var diagram_js_lib_features_attach_support__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! diagram-js/lib/features/attach-support */ 71006); +/* harmony import */ var diagram_js_lib_features_selection__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/features/selection */ 41481); +/* harmony import */ var diagram_js_lib_features_change_support__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! diagram-js/lib/features/change-support */ 99567); +/* harmony import */ var diagram_js_lib_features_space_tool__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! diagram-js/lib/features/space-tool */ 48994); +/* harmony import */ var _BpmnFactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./BpmnFactory */ 39633); +/* harmony import */ var _BpmnUpdater__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./BpmnUpdater */ 53154); +/* harmony import */ var _ElementFactory__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ElementFactory */ 63784); +/* harmony import */ var _Modeling__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Modeling */ 89113); +/* harmony import */ var _BpmnLayouter__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./BpmnLayouter */ 83050); +/* harmony import */ var diagram_js_lib_layout_CroppingConnectionDocking__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! diagram-js/lib/layout/CroppingConnectionDocking */ 63630); @@ -12709,7 +12709,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 23568: +/***/ 86803: /*!*********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/util/LaneUtil.js ***! \*********************************************************************/ @@ -12724,10 +12724,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getChildLanes: () => (/* binding */ getChildLanes), /* harmony export */ getLanesRoot: () => (/* binding */ getLanesRoot) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ModelingUtil */ 98405); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var diagram_js_lib_features_resize_ResizeUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/resize/ResizeUtil */ 35434); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ModelingUtil */ 56846); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var diagram_js_lib_features_resize_ResizeUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/resize/ResizeUtil */ 67329); @@ -12842,7 +12842,7 @@ function computeLanesResize(shape, newBounds) { /***/ }), -/***/ 98405: +/***/ 56846: /*!*************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/modeling/util/ModelingUtil.js ***! \*************************************************************************/ @@ -12855,7 +12855,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ is: () => (/* reexport safe */ _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.is), /* harmony export */ isAny: () => (/* reexport safe */ _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__.isAny) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); @@ -12881,7 +12881,7 @@ function getParent(element, anyType) { /***/ }), -/***/ 39662: +/***/ 6783: /*!****************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/ordering/BpmnOrderingProvider.js ***! \****************************************************************************/ @@ -12892,11 +12892,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnOrderingProvider) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_features_ordering_OrderingProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/ordering/OrderingProvider */ 10347); -/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var diagram_js_lib_features_ordering_OrderingProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/ordering/OrderingProvider */ 87348); +/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); @@ -13047,7 +13047,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(BpmnOrderingProvider, diagram_js /***/ }), -/***/ 17872: +/***/ 94135: /*!*************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/ordering/index.js ***! \*************************************************************/ @@ -13058,8 +13058,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_i18n_translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/i18n/translate */ 3933); -/* harmony import */ var _BpmnOrderingProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnOrderingProvider */ 39662); +/* harmony import */ var diagram_js_lib_i18n_translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/i18n/translate */ 7742); +/* harmony import */ var _BpmnOrderingProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnOrderingProvider */ 6783); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -13070,7 +13070,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 82425: +/***/ 29856: /*!**********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/palette/PaletteProvider.js ***! \**********************************************************************/ @@ -13081,7 +13081,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ PaletteProvider) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); /** @@ -13230,7 +13230,7 @@ PaletteProvider.prototype.getPaletteEntries = function (element) { /***/ }), -/***/ 57763: +/***/ 65934: /*!************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/palette/index.js ***! \************************************************************/ @@ -13241,14 +13241,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_palette__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/palette */ 42383); -/* harmony import */ var diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/create */ 48256); -/* harmony import */ var diagram_js_lib_features_space_tool__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/space-tool */ 88363); -/* harmony import */ var diagram_js_lib_features_lasso_tool__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/features/lasso-tool */ 10707); -/* harmony import */ var diagram_js_lib_features_hand_tool__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/features/hand-tool */ 14590); -/* harmony import */ var diagram_js_lib_features_global_connect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/features/global-connect */ 27432); -/* harmony import */ var diagram_js_lib_i18n_translate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/i18n/translate */ 3933); -/* harmony import */ var _PaletteProvider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PaletteProvider */ 82425); +/* harmony import */ var diagram_js_lib_features_palette__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/palette */ 23452); +/* harmony import */ var diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/create */ 31073); +/* harmony import */ var diagram_js_lib_features_space_tool__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/space-tool */ 48994); +/* harmony import */ var diagram_js_lib_features_lasso_tool__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/features/lasso-tool */ 6110); +/* harmony import */ var diagram_js_lib_features_hand_tool__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/features/hand-tool */ 10557); +/* harmony import */ var diagram_js_lib_features_global_connect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/features/global-connect */ 18209); +/* harmony import */ var diagram_js_lib_i18n_translate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/i18n/translate */ 7742); +/* harmony import */ var _PaletteProvider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PaletteProvider */ 29856); @@ -13265,7 +13265,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 12224: +/***/ 45579: /*!*****************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/popup-menu/ReplaceMenuProvider.js ***! \*****************************************************************************/ @@ -13276,11 +13276,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ReplaceMenuProvider) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); -/* harmony import */ var _util_TypeUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/TypeUtil */ 94871); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _replace_ReplaceOptions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../replace/ReplaceOptions */ 5180); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); +/* harmony import */ var _util_TypeUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/TypeUtil */ 31880); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _replace_ReplaceOptions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../replace/ReplaceOptions */ 13587); @@ -13754,7 +13754,7 @@ ReplaceMenuProvider.prototype._getAdHocEntry = function (element) { /***/ }), -/***/ 30918: +/***/ 77029: /*!***************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/popup-menu/index.js ***! \***************************************************************/ @@ -13765,9 +13765,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_popup_menu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/popup-menu */ 63162); -/* harmony import */ var _replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../replace */ 95872); -/* harmony import */ var _ReplaceMenuProvider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ReplaceMenuProvider */ 12224); +/* harmony import */ var diagram_js_lib_features_popup_menu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/popup-menu */ 5231); +/* harmony import */ var _replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../replace */ 3333); +/* harmony import */ var _ReplaceMenuProvider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ReplaceMenuProvider */ 45579); @@ -13779,7 +13779,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 94871: +/***/ 31880: /*!***********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/popup-menu/util/TypeUtil.js ***! \***********************************************************************/ @@ -13790,8 +13790,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ isDifferentType: () => (/* binding */ isDifferentType) /* harmony export */ }); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/DiUtil */ 55441); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/ModelUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/DiUtil */ 30850); @@ -13819,7 +13819,7 @@ function isDifferentType(element) { /***/ }), -/***/ 19588: +/***/ 52463: /*!*********************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/replace-preview/BpmnReplacePreview.js ***! \*********************************************************************************/ @@ -13830,14 +13830,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnReplacePreview) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 35353); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var css_escape__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! css.escape */ 96169); +/* harmony import */ var css_escape__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! css.escape */ 22185); /* harmony import */ var css_escape__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(css_escape__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! tiny-svg */ 87004); @@ -13928,7 +13928,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(BpmnReplacePreview, diagram_js_l /***/ }), -/***/ 47353: +/***/ 91828: /*!********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/replace-preview/index.js ***! \********************************************************************/ @@ -13939,8 +13939,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_preview_support__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/preview-support */ 86726); -/* harmony import */ var _BpmnReplacePreview__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnReplacePreview */ 19588); +/* harmony import */ var diagram_js_lib_features_preview_support__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/preview-support */ 8641); +/* harmony import */ var _BpmnReplacePreview__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnReplacePreview */ 52463); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -13951,7 +13951,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 30783: +/***/ 39242: /*!******************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/replace/BpmnReplace.js ***! \******************************************************************/ @@ -13962,10 +13962,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnReplace) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); -/* harmony import */ var _copy_paste_ModdleCopy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../copy-paste/ModdleCopy */ 66545); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); +/* harmony import */ var _copy_paste_ModdleCopy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../copy-paste/ModdleCopy */ 90612); @@ -14167,7 +14167,7 @@ function intersection(a1, a2) { /***/ }), -/***/ 5180: +/***/ 13587: /*!*********************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/replace/ReplaceOptions.js ***! \*********************************************************************/ @@ -14927,7 +14927,7 @@ var PARTICIPANT = [{ /***/ }), -/***/ 95872: +/***/ 3333: /*!************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/replace/index.js ***! \************************************************************/ @@ -14938,10 +14938,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _copy_paste__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../copy-paste */ 82375); -/* harmony import */ var diagram_js_lib_features_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/replace */ 77740); -/* harmony import */ var diagram_js_lib_features_selection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/selection */ 26334); -/* harmony import */ var _BpmnReplace__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BpmnReplace */ 30783); +/* harmony import */ var _copy_paste__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../copy-paste */ 43944); +/* harmony import */ var diagram_js_lib_features_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/replace */ 97939); +/* harmony import */ var diagram_js_lib_features_selection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/selection */ 41481); +/* harmony import */ var _BpmnReplace__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BpmnReplace */ 39242); @@ -14953,7 +14953,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 14499: +/***/ 17390: /*!**************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/rules/BpmnRules.js ***! \**************************************************************/ @@ -14964,15 +14964,15 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnRules) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); -/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 98405); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/LabelUtil */ 81454); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); -/* harmony import */ var diagram_js_lib_features_rules_RuleProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/rules/RuleProvider */ 19812); -/* harmony import */ var _snapping_BpmnSnappingUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../snapping/BpmnSnappingUtil */ 2859); +/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); +/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 56846); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/LabelUtil */ 50815); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); +/* harmony import */ var diagram_js_lib_features_rules_RuleProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/rules/RuleProvider */ 63169); +/* harmony import */ var _snapping_BpmnSnappingUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../snapping/BpmnSnappingUtil */ 75122); @@ -15619,7 +15619,7 @@ function getRootElement(element) { /***/ }), -/***/ 56859: +/***/ 35022: /*!**********************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/rules/index.js ***! \**********************************************************/ @@ -15630,8 +15630,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_rules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/rules */ 8807); -/* harmony import */ var _BpmnRules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnRules */ 14499); +/* harmony import */ var diagram_js_lib_features_rules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/rules */ 85628); +/* harmony import */ var _BpmnRules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnRules */ 17390); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -15642,7 +15642,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 33086: +/***/ 57879: /*!************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/search/BpmnSearchProvider.js ***! \************************************************************************/ @@ -15653,8 +15653,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnSearchProvider) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _label_editing_LabelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../label-editing/LabelUtil */ 89497); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _label_editing_LabelUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../label-editing/LabelUtil */ 48816); @@ -15755,7 +15755,7 @@ function matchAndSplit(text, pattern) { /***/ }), -/***/ 51652: +/***/ 68119: /*!***********************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/search/index.js ***! \***********************************************************/ @@ -15766,8 +15766,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_search_pad__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/search-pad */ 72784); -/* harmony import */ var _BpmnSearchProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnSearchProvider */ 33086); +/* harmony import */ var diagram_js_lib_features_search_pad__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/search-pad */ 5693); +/* harmony import */ var _BpmnSearchProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnSearchProvider */ 57879); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -15778,7 +15778,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 1097: +/***/ 21650: /*!***************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/snapping/BpmnConnectSnapping.js ***! \***************************************************************************/ @@ -15789,11 +15789,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnConnectSnapping) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_snapping_SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/snapping/SnapUtil */ 99298); -/* harmony import */ var diagram_js_lib_features_keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/keyboard/KeyboardUtil */ 13488); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 4525); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var diagram_js_lib_features_snapping_SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/snapping/SnapUtil */ 24321); +/* harmony import */ var diagram_js_lib_features_keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/keyboard/KeyboardUtil */ 18095); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var _modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../modeling/util/ModelingUtil */ 87908); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dash */ 54429); @@ -15955,7 +15955,7 @@ function isReverse(context) { /***/ }), -/***/ 8530: +/***/ 51779: /*!******************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/snapping/BpmnCreateMoveSnapping.js ***! \******************************************************************************/ @@ -15966,15 +15966,15 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnCreateMoveSnapping) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var diagram_js_lib_features_snapping_CreateMoveSnapping__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/snapping/CreateMoveSnapping */ 23111); -/* harmony import */ var diagram_js_lib_features_snapping_SnapUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/snapping/SnapUtil */ 99298); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/DiUtil */ 55441); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/ModelUtil */ 4525); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var _BpmnSnappingUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BpmnSnappingUtil */ 2859); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var diagram_js_lib_features_snapping_CreateMoveSnapping__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/snapping/CreateMoveSnapping */ 33136); +/* harmony import */ var diagram_js_lib_features_snapping_SnapUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! diagram-js/lib/features/snapping/SnapUtil */ 24321); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/DiUtil */ 30850); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/ModelUtil */ 87908); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var _BpmnSnappingUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BpmnSnappingUtil */ 75122); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 54429); @@ -16150,7 +16150,7 @@ function getDockingSnapOrigin(docking, isMove, event) { /***/ }), -/***/ 2859: +/***/ 75122: /*!************************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/snapping/BpmnSnappingUtil.js ***! \************************************************************************/ @@ -16161,7 +16161,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ getBoundaryAttachment: () => (/* binding */ getBoundaryAttachment) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); function getBoundaryAttachment(position, targetBounds) { var orientation = (0,diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__.getOrientation)(position, targetBounds, -15); @@ -16174,7 +16174,7 @@ function getBoundaryAttachment(position, targetBounds) { /***/ }), -/***/ 49652: +/***/ 11819: /*!*************************************************************!*\ !*** ./node_modules/bpmn-js/lib/features/snapping/index.js ***! \*************************************************************/ @@ -16185,9 +16185,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _BpmnConnectSnapping__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnConnectSnapping */ 1097); -/* harmony import */ var _BpmnCreateMoveSnapping__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BpmnCreateMoveSnapping */ 8530); -/* harmony import */ var diagram_js_lib_features_snapping__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/snapping */ 22760); +/* harmony import */ var _BpmnConnectSnapping__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnConnectSnapping */ 21650); +/* harmony import */ var _BpmnCreateMoveSnapping__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BpmnCreateMoveSnapping */ 51779); +/* harmony import */ var diagram_js_lib_features_snapping__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/features/snapping */ 41213); @@ -16200,7 +16200,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 56538: +/***/ 81337: /*!*********************************************************!*\ !*** ./node_modules/bpmn-js/lib/import/BpmnImporter.js ***! \*********************************************************/ @@ -16211,13 +16211,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnImporter) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/ModelUtil */ 4525); -/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/LabelUtil */ 81454); -/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 8610); -/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/DiUtil */ 55441); -/* harmony import */ var _features_label_editing_LabelUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../features/label-editing/LabelUtil */ 89497); -/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Util */ 92885); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _util_ModelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/ModelUtil */ 87908); +/* harmony import */ var _util_LabelUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/LabelUtil */ 50815); +/* harmony import */ var diagram_js_lib_layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/layout/LayoutUtil */ 30023); +/* harmony import */ var _util_DiUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/DiUtil */ 30850); +/* harmony import */ var _features_label_editing_LabelUtil__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../features/label-editing/LabelUtil */ 48816); +/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Util */ 178); @@ -16476,7 +16476,7 @@ function isFrameElement(semantic) { /***/ }), -/***/ 26010: +/***/ 89893: /*!***********************************************************!*\ !*** ./node_modules/bpmn-js/lib/import/BpmnTreeWalker.js ***! \***********************************************************/ @@ -16487,10 +16487,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BpmnTreeWalker) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var object_refs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! object-refs */ 16712); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var object_refs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! object-refs */ 82867); /* harmony import */ var object_refs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(object_refs__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Util */ 92885); +/* harmony import */ var _Util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Util */ 178); @@ -16871,7 +16871,7 @@ function BpmnTreeWalker(handler, translate) { /***/ }), -/***/ 90415: +/***/ 16688: /*!*****************************************************!*\ !*** ./node_modules/bpmn-js/lib/import/Importer.js ***! \*****************************************************/ @@ -16882,7 +16882,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ importBpmnDiagram: () => (/* binding */ importBpmnDiagram) /* harmony export */ }); -/* harmony import */ var _BpmnTreeWalker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnTreeWalker */ 26010); +/* harmony import */ var _BpmnTreeWalker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BpmnTreeWalker */ 89893); /** @@ -16971,7 +16971,7 @@ function importBpmnDiagram(diagram, definitions, bpmnDiagram) { /***/ }), -/***/ 92885: +/***/ 178: /*!*************************************************!*\ !*** ./node_modules/bpmn-js/lib/import/Util.js ***! \*************************************************/ @@ -16991,7 +16991,7 @@ function elementToString(e) { /***/ }), -/***/ 57733: +/***/ 9608: /*!**************************************************!*\ !*** ./node_modules/bpmn-js/lib/import/index.js ***! \**************************************************/ @@ -17002,8 +17002,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_i18n_translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/i18n/translate */ 3933); -/* harmony import */ var _BpmnImporter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnImporter */ 56538); +/* harmony import */ var diagram_js_lib_i18n_translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js/lib/i18n/translate */ 7742); +/* harmony import */ var _BpmnImporter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BpmnImporter */ 81337); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -17013,7 +17013,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 84720: +/***/ 70405: /*!************************************************************!*\ !*** ./node_modules/bpmn-js/lib/util/CompatibilityUtil.js ***! \************************************************************/ @@ -17024,7 +17024,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ wrapForCompatibility: () => (/* binding */ wrapForCompatibility) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); // TODO(nikku): remove with future bpmn-js version @@ -17068,7 +17068,7 @@ function wrapForCompatibility(api) { /***/ }), -/***/ 55441: +/***/ 30850: /*!*************************************************!*\ !*** ./node_modules/bpmn-js/lib/util/DiUtil.js ***! \*************************************************/ @@ -17085,8 +17085,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isExpanded: () => (/* binding */ isExpanded), /* harmony export */ isInterrupting: () => (/* binding */ isInterrupting) /* harmony export */ }); -/* harmony import */ var _ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModelUtil */ 4525); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var _ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModelUtil */ 87908); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54429); function isExpanded(element) { @@ -17131,7 +17131,7 @@ function hasCompensateEventDefinition(element) { /***/ }), -/***/ 81454: +/***/ 50815: /*!****************************************************!*\ !*** ./node_modules/bpmn-js/lib/util/LabelUtil.js ***! \****************************************************/ @@ -17150,8 +17150,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isLabel: () => (/* binding */ isLabel), /* harmony export */ isLabelExternal: () => (/* binding */ isLabelExternal) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54796); -/* harmony import */ var _ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModelUtil */ 4525); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54429); +/* harmony import */ var _ModelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModelUtil */ 87908); var DEFAULT_LABEL_SIZE = { @@ -17279,7 +17279,7 @@ function isLabel(element) { /***/ }), -/***/ 4525: +/***/ 87908: /*!****************************************************!*\ !*** ./node_modules/bpmn-js/lib/util/ModelUtil.js ***! \****************************************************/ @@ -17293,7 +17293,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ is: () => (/* binding */ is), /* harmony export */ isAny: () => (/* binding */ isAny) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54796); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 54429); /** @@ -17348,7 +17348,7 @@ function getDi(element) { /***/ }), -/***/ 49397: +/***/ 6160: /*!********************************************************!*\ !*** ./node_modules/bpmn-js/lib/util/PoweredByUtil.js ***! \********************************************************/ @@ -17361,7 +17361,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ LINK_STYLES: () => (/* binding */ LINK_STYLES), /* harmony export */ open: () => (/* binding */ open) /* harmony export */ }); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 73599); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 63030); /** * This file must not be changed or exchanged. * @@ -17394,7 +17394,7 @@ function open() { /***/ }), -/***/ 54796: +/***/ 54429: /*!**********************************************************************!*\ !*** ./node_modules/bpmn-js/node_modules/min-dash/dist/index.esm.js ***! \**********************************************************************/ @@ -18087,7 +18087,7 @@ function merge(target) { /***/ }), -/***/ 18357: +/***/ 48516: /*!****************************************************!*\ !*** ./node_modules/bpmn-moddle/dist/index.esm.js ***! \****************************************************/ @@ -18098,9 +18098,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ simple) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 64432); -/* harmony import */ var moddle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! moddle */ 22377); -/* harmony import */ var moddle_xml__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moddle-xml */ 54045); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 74849); +/* harmony import */ var moddle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! moddle */ 52886); +/* harmony import */ var moddle_xml__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moddle-xml */ 91634); @@ -20774,7 +20774,7 @@ function simple(additionalPackages, options) { /***/ }), -/***/ 64432: +/***/ 74849: /*!****************!*\ !*** min-dash ***! \****************/ @@ -21467,7 +21467,7 @@ function merge(target) { /***/ }), -/***/ 26112: +/***/ 54831: /*!*********************************************!*\ !*** ./node_modules/call-bind/callBound.js ***! \*********************************************/ @@ -21476,8 +21476,8 @@ function merge(target) { "use strict"; -var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 25118); -var callBind = __webpack_require__(/*! ./ */ 37996); +var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 39249); +var callBind = __webpack_require__(/*! ./ */ 49475); var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); module.exports = function callBoundIntrinsic(name, allowMissing) { var intrinsic = GetIntrinsic(name, !!allowMissing); @@ -21489,7 +21489,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) { /***/ }), -/***/ 37996: +/***/ 49475: /*!*****************************************!*\ !*** ./node_modules/call-bind/index.js ***! \*****************************************/ @@ -21498,14 +21498,14 @@ module.exports = function callBoundIntrinsic(name, allowMissing) { "use strict"; -var bind = __webpack_require__(/*! function-bind */ 28244); -var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 25118); -var setFunctionLength = __webpack_require__(/*! set-function-length */ 35386); -var $TypeError = __webpack_require__(/*! es-errors/type */ 70970); +var bind = __webpack_require__(/*! function-bind */ 42307); +var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 39249); +var setFunctionLength = __webpack_require__(/*! set-function-length */ 18797); +var $TypeError = __webpack_require__(/*! es-errors/type */ 39327); var $apply = GetIntrinsic('%Function.prototype.apply%'); var $call = GetIntrinsic('%Function.prototype.call%'); var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); -var $defineProperty = __webpack_require__(/*! es-define-property */ 98030); +var $defineProperty = __webpack_require__(/*! es-define-property */ 82307); var $max = GetIntrinsic('%Math.max%'); module.exports = function callBind(originalFunction) { if (typeof originalFunction !== 'function') { @@ -21527,7 +21527,7 @@ if ($defineProperty) { /***/ }), -/***/ 96169: +/***/ 22185: /*!***********************************************!*\ !*** ./node_modules/css.escape/css.escape.js ***! \***********************************************/ @@ -21616,7 +21616,7 @@ if ($defineProperty) { /***/ }), -/***/ 80364: +/***/ 63333: /*!****************************************************!*\ !*** ./node_modules/define-data-property/index.js ***! \****************************************************/ @@ -21625,10 +21625,10 @@ if ($defineProperty) { "use strict"; -var $defineProperty = __webpack_require__(/*! es-define-property */ 98030); -var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ 28769); -var $TypeError = __webpack_require__(/*! es-errors/type */ 70970); -var gopd = __webpack_require__(/*! gopd */ 56730); +var $defineProperty = __webpack_require__(/*! es-define-property */ 82307); +var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ 1144); +var $TypeError = __webpack_require__(/*! es-errors/type */ 39327); +var gopd = __webpack_require__(/*! gopd */ 91031); /** @type {import('.')} */ module.exports = function defineDataProperty(obj, property, value) { @@ -21674,7 +21674,7 @@ module.exports = function defineDataProperty(obj, property, value) { /***/ }), -/***/ 32110: +/***/ 95153: /*!*********************************************************!*\ !*** ./node_modules/diagram-js-direct-editing/index.js ***! \*********************************************************/ @@ -21685,8 +21685,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var diagram_js_lib_features_interaction_events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/interaction-events */ 57250); -/* harmony import */ var _lib_DirectEditing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/DirectEditing */ 61357); +/* harmony import */ var diagram_js_lib_features_interaction_events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! diagram-js/lib/features/interaction-events */ 6415); +/* harmony import */ var _lib_DirectEditing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/DirectEditing */ 5634); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -21697,7 +21697,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 61357: +/***/ 5634: /*!*********************************************************************!*\ !*** ./node_modules/diagram-js-direct-editing/lib/DirectEditing.js ***! \*********************************************************************/ @@ -21708,8 +21708,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DirectEditing) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 94539); -/* harmony import */ var _TextBox__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TextBox */ 92102); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54522); +/* harmony import */ var _TextBox__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TextBox */ 59201); @@ -21856,7 +21856,7 @@ DirectEditing.prototype.activate = function (element) { /***/ }), -/***/ 92102: +/***/ 59201: /*!***************************************************************!*\ !*** ./node_modules/diagram-js-direct-editing/lib/TextBox.js ***! \***************************************************************/ @@ -21867,8 +21867,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ TextBox) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 94539); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 73599); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 54522); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 63030); var min = Math.min, @@ -22195,7 +22195,7 @@ function normalizeEndOfLineSequences(string) { /***/ }), -/***/ 94539: +/***/ 54522: /*!****************!*\ !*** min-dash ***! \****************/ @@ -22888,7 +22888,7 @@ function merge(target) { /***/ }), -/***/ 93274: +/***/ 86831: /*!************************************************!*\ !*** ./node_modules/diagram-js/lib/Diagram.js ***! \************************************************/ @@ -22899,8 +22899,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Diagram) /* harmony export */ }); -/* harmony import */ var didi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! didi */ 12668); -/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core */ 93015); +/* harmony import */ var didi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! didi */ 36811); +/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core */ 19232); @@ -23082,7 +23082,7 @@ Diagram.prototype.clear = function () { /***/ }), -/***/ 35353: +/***/ 87502: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/command/CommandInterceptor.js ***! \*******************************************************************/ @@ -23093,7 +23093,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CommandInterceptor) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var DEFAULT_PRIORITY = 1000; @@ -23209,7 +23209,7 @@ var hooks = ['canExecute', 'preExecute', 'preExecuted', 'execute', 'executed', ' /***/ }), -/***/ 77738: +/***/ 22205: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/command/CommandStack.js ***! \*************************************************************/ @@ -23220,7 +23220,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CommandStack) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -23646,7 +23646,7 @@ CommandStack.prototype._setHandler = function (command, handler) { /***/ }), -/***/ 25541: +/***/ 66296: /*!******************************************************!*\ !*** ./node_modules/diagram-js/lib/command/index.js ***! \******************************************************/ @@ -23657,7 +23657,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _CommandStack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CommandStack */ 77738); +/* harmony import */ var _CommandStack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CommandStack */ 22205); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ commandStack: ['type', _CommandStack__WEBPACK_IMPORTED_MODULE_0__["default"]] @@ -23665,7 +23665,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 29975: +/***/ 72666: /*!****************************************************!*\ !*** ./node_modules/diagram-js/lib/core/Canvas.js ***! \****************************************************/ @@ -23676,11 +23676,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Canvas) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/Collections */ 39233); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/Elements */ 35723); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../layout/LayoutUtil */ 8610); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/Collections */ 90238); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/Elements */ 39922); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../layout/LayoutUtil */ 30023); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 87004); @@ -24813,7 +24813,7 @@ Canvas.prototype.resized = function () { /***/ }), -/***/ 22037: +/***/ 26520: /*!************************************************************!*\ !*** ./node_modules/diagram-js/lib/core/ElementFactory.js ***! \************************************************************/ @@ -24824,8 +24824,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ElementFactory) /* harmony export */ }); -/* harmony import */ var _model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../model */ 83377); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../model */ 94552); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); @@ -24866,7 +24866,7 @@ ElementFactory.prototype.create = function (type, attrs) { /***/ }), -/***/ 69440: +/***/ 11191: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/core/ElementRegistry.js ***! \*************************************************************/ @@ -24877,7 +24877,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ElementRegistry) /* harmony export */ }); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); var ELEMENT_ID = 'data-element-id'; @@ -25103,7 +25103,7 @@ ElementRegistry.prototype._validateId = function (id) { /***/ }), -/***/ 78069: +/***/ 23996: /*!******************************************************!*\ !*** ./node_modules/diagram-js/lib/core/EventBus.js ***! \******************************************************/ @@ -25114,7 +25114,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ EventBus) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var FN_REF = '__fn'; var DEFAULT_PRIORITY = 1000; @@ -25551,7 +25551,7 @@ function invokeFunction(fn, args) { /***/ }), -/***/ 55994: +/***/ 72825: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/core/GraphicsFactory.js ***! \*************************************************************/ @@ -25562,12 +25562,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ GraphicsFactory) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_GraphicsUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/GraphicsUtil */ 35451); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/SvgTransformUtil */ 81384); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/Elements */ 35723); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_GraphicsUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/GraphicsUtil */ 2618); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/SvgTransformUtil */ 53813); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/Elements */ 39922); @@ -25762,7 +25762,7 @@ function prependTo(newNode, parentNode, siblingNode) { /***/ }), -/***/ 93015: +/***/ 19232: /*!***************************************************!*\ !*** ./node_modules/diagram-js/lib/core/index.js ***! \***************************************************/ @@ -25773,12 +25773,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _draw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../draw */ 33122); -/* harmony import */ var _Canvas__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Canvas */ 29975); -/* harmony import */ var _ElementRegistry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ElementRegistry */ 69440); -/* harmony import */ var _ElementFactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ElementFactory */ 22037); -/* harmony import */ var _EventBus__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./EventBus */ 78069); -/* harmony import */ var _GraphicsFactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GraphicsFactory */ 55994); +/* harmony import */ var _draw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../draw */ 16377); +/* harmony import */ var _Canvas__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Canvas */ 72666); +/* harmony import */ var _ElementRegistry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ElementRegistry */ 11191); +/* harmony import */ var _ElementFactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ElementFactory */ 26520); +/* harmony import */ var _EventBus__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./EventBus */ 23996); +/* harmony import */ var _GraphicsFactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GraphicsFactory */ 72825); @@ -25797,7 +25797,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 14694: +/***/ 74919: /*!**********************************************************!*\ !*** ./node_modules/diagram-js/lib/draw/BaseRenderer.js ***! \**********************************************************/ @@ -25893,7 +25893,7 @@ BaseRenderer.prototype.getConnectionPath = function () {}; /***/ }), -/***/ 43416: +/***/ 43687: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/draw/DefaultRenderer.js ***! \*************************************************************/ @@ -25904,13 +25904,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DefaultRenderer) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _BaseRenderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BaseRenderer */ 14694); -/* harmony import */ var _util_RenderUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/RenderUtil */ 96546); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/Elements */ 35723); +/* harmony import */ var _BaseRenderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BaseRenderer */ 74919); +/* harmony import */ var _util_RenderUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/RenderUtil */ 97915); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/Elements */ 39922); @@ -25996,7 +25996,7 @@ DefaultRenderer.$inject = ['eventBus', 'styles']; /***/ }), -/***/ 66270: +/***/ 61123: /*!****************************************************!*\ !*** ./node_modules/diagram-js/lib/draw/Styles.js ***! \****************************************************/ @@ -26007,7 +26007,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Styles) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -26072,7 +26072,7 @@ function Styles() { /***/ }), -/***/ 33122: +/***/ 16377: /*!***************************************************!*\ !*** ./node_modules/diagram-js/lib/draw/index.js ***! \***************************************************/ @@ -26083,8 +26083,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _DefaultRenderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DefaultRenderer */ 43416); -/* harmony import */ var _Styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Styles */ 66270); +/* harmony import */ var _DefaultRenderer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DefaultRenderer */ 43687); +/* harmony import */ var _Styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Styles */ 61123); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -26095,7 +26095,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 20377: +/***/ 48352: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/align-elements/AlignElements.js ***! \******************************************************************************/ @@ -26106,7 +26106,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AlignElements) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); function last(arr) { return arr && arr[arr.length - 1]; @@ -26248,7 +26248,7 @@ AlignElements.prototype.trigger = function (elements, type) { /***/ }), -/***/ 81765: +/***/ 34868: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/align-elements/index.js ***! \**********************************************************************/ @@ -26259,7 +26259,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _AlignElements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AlignElements */ 20377); +/* harmony import */ var _AlignElements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AlignElements */ 48352); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['alignElements'], @@ -26268,7 +26268,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 37411: +/***/ 51818: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/attach-support/AttachSupport.js ***! \******************************************************************************/ @@ -26279,12 +26279,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AttachSupport) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Removal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Removal */ 80324); -/* harmony import */ var _util_AttachUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/AttachUtil */ 93999); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Removal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Removal */ 63335); +/* harmony import */ var _util_AttachUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/AttachUtil */ 34858); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 35353); +/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 87502); @@ -26547,7 +26547,7 @@ function includes(array, item) { /***/ }), -/***/ 15263: +/***/ 71006: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/attach-support/index.js ***! \**********************************************************************/ @@ -26558,8 +26558,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _AttachSupport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AttachSupport */ 37411); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _AttachSupport__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AttachSupport */ 51818); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -26570,7 +26570,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 21759: +/***/ 2990: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/auto-place/AutoPlace.js ***! \**********************************************************************/ @@ -26581,8 +26581,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AutoPlace) /* harmony export */ }); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); -/* harmony import */ var _AutoPlaceUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AutoPlaceUtil */ 7851); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); +/* harmony import */ var _AutoPlaceUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AutoPlaceUtil */ 15698); var LOW_PRIORITY = 100; @@ -26663,7 +26663,7 @@ function getNewShapePosition(source, element, hints) { /***/ }), -/***/ 48775: +/***/ 69756: /*!***************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/auto-place/AutoPlaceSelectionBehavior.js ***! \***************************************************************************************/ @@ -26689,7 +26689,7 @@ AutoPlaceSelectionBehavior.$inject = ['eventBus', 'selection']; /***/ }), -/***/ 7851: +/***/ 15698: /*!**************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/auto-place/AutoPlaceUtil.js ***! \**************************************************************************/ @@ -26704,8 +26704,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getConnectedAtPosition: () => (/* binding */ getConnectedAtPosition), /* harmony export */ getConnectedDistance: () => (/* binding */ getConnectedDistance) /* harmony export */ }); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); @@ -26940,7 +26940,7 @@ function noneFilter() { /***/ }), -/***/ 28261: +/***/ 42012: /*!******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/auto-place/index.js ***! \******************************************************************/ @@ -26951,8 +26951,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _AutoPlace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AutoPlace */ 21759); -/* harmony import */ var _AutoPlaceSelectionBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AutoPlaceSelectionBehavior */ 48775); +/* harmony import */ var _AutoPlace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AutoPlace */ 2990); +/* harmony import */ var _AutoPlaceSelectionBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AutoPlaceSelectionBehavior */ 69756); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -26963,7 +26963,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 70111: +/***/ 10410: /*!************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/auto-resize/AutoResize.js ***! \************************************************************************/ @@ -26974,12 +26974,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AutoResize) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/Elements */ 35723); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 35353); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/Elements */ 39922); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 87502); @@ -27207,7 +27207,7 @@ function getResizeDirections(oldBounds, newBounds) { /***/ }), -/***/ 862: +/***/ 58695: /*!********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/auto-resize/AutoResizeProvider.js ***! \********************************************************************************/ @@ -27218,8 +27218,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AutoResizeProvider) /* harmony export */ }); -/* harmony import */ var _rules_RuleProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules/RuleProvider */ 19812); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var _rules_RuleProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules/RuleProvider */ 63169); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); @@ -27251,7 +27251,7 @@ AutoResizeProvider.prototype.canResize = function (elements, target) { /***/ }), -/***/ 14477: +/***/ 74544: /*!************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/auto-scroll/AutoScroll.js ***! \************************************************************************/ @@ -27262,8 +27262,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AutoScroll) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Event */ 74716); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Event */ 73975); @@ -27378,7 +27378,7 @@ AutoScroll.prototype._toBorderPoint = function (event) { /***/ }), -/***/ 69231: +/***/ 20044: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/auto-scroll/index.js ***! \*******************************************************************/ @@ -27389,8 +27389,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _AutoScroll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AutoScroll */ 14477); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _AutoScroll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AutoScroll */ 74544); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -27401,7 +27401,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 71102: +/***/ 61399: /*!**************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/bendpoints/BendpointMove.js ***! \**************************************************************************/ @@ -27413,7 +27413,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "default": () => (/* binding */ BendpointMove), /* harmony export */ isReverse: () => (/* binding */ isReverse) /* harmony export */ }); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); var round = Math.round; var RECONNECT_START = 'reconnectStart', @@ -27603,7 +27603,7 @@ function isReverse(context) { /***/ }), -/***/ 99348: +/***/ 70043: /*!*********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/bendpoints/BendpointMovePreview.js ***! \*********************************************************************************/ @@ -27614,10 +27614,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BendpointMovePreview) /* harmony export */ }); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _BendpointUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BendpointUtil */ 2379); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 81384); -/* harmony import */ var _BendpointMove__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BendpointMove */ 71102); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _BendpointUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BendpointUtil */ 32478); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 53813); +/* harmony import */ var _BendpointMove__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BendpointMove */ 61399); @@ -27774,7 +27774,7 @@ BendpointMovePreview.$inject = ['bendpointMove', 'injector', 'eventBus', 'canvas /***/ }), -/***/ 27099: +/***/ 34678: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/bendpoints/BendpointSnapping.js ***! \******************************************************************************/ @@ -27785,8 +27785,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BendpointSnapping) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _snapping_SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../snapping/SnapUtil */ 99298); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _snapping_SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../snapping/SnapUtil */ 24321); var abs = Math.abs, @@ -27963,7 +27963,7 @@ BendpointSnapping.$inject = ['eventBus']; /***/ }), -/***/ 2379: +/***/ 32478: /*!**************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/bendpoints/BendpointUtil.js ***! \**************************************************************************/ @@ -27980,11 +27980,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getConnectionIntersection: () => (/* binding */ getConnectionIntersection), /* harmony export */ toCanvasCoordinates: () => (/* binding */ toCanvasCoordinates) /* harmony export */ }); -/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Event */ 74716); -/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/Geometry */ 3242); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 81384); -/* harmony import */ var _util_LineIntersection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/LineIntersection */ 91373); +/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Event */ 73975); +/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/Geometry */ 33935); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 53813); +/* harmony import */ var _util_LineIntersection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/LineIntersection */ 47860); @@ -28103,7 +28103,7 @@ function calculateHitWidth(segmentStart, segmentEnd, alignment) { /***/ }), -/***/ 54810: +/***/ 44257: /*!***********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/bendpoints/Bendpoints.js ***! \***********************************************************************/ @@ -28114,15 +28114,15 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Bendpoints) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _BendpointUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BendpointUtil */ 2379); -/* harmony import */ var _util_EscapeUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/EscapeUtil */ 96169); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _BendpointUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BendpointUtil */ 32478); +/* harmony import */ var _util_EscapeUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/EscapeUtil */ 22185); /* harmony import */ var _util_EscapeUtil__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_util_EscapeUtil__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Geometry */ 3242); -/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/Mouse */ 53171); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 81384); +/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Geometry */ 33935); +/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../util/Mouse */ 26600); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 53813); @@ -28420,7 +28420,7 @@ function getDraggerVisual(draggerGfx) { /***/ }), -/***/ 15576: +/***/ 59489: /*!**********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/bendpoints/ConnectionSegmentMove.js ***! \**********************************************************************************/ @@ -28431,11 +28431,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ConnectionSegmentMove) /* harmony export */ }); -/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Geometry */ 3242); -/* harmony import */ var _BendpointUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BendpointUtil */ 2379); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 81384); +/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Geometry */ 33935); +/* harmony import */ var _BendpointUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BendpointUtil */ 32478); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 53813); @@ -28773,7 +28773,7 @@ ConnectionSegmentMove.$inject = ['injector', 'eventBus', 'canvas', 'dragging', ' /***/ }), -/***/ 31068: +/***/ 17313: /*!******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/bendpoints/index.js ***! \******************************************************************/ @@ -28784,13 +28784,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _Bendpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Bendpoints */ 54810); -/* harmony import */ var _BendpointMove__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BendpointMove */ 71102); -/* harmony import */ var _BendpointMovePreview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BendpointMovePreview */ 99348); -/* harmony import */ var _ConnectionSegmentMove__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ConnectionSegmentMove */ 15576); -/* harmony import */ var _BendpointSnapping__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BendpointSnapping */ 27099); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _Bendpoints__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Bendpoints */ 44257); +/* harmony import */ var _BendpointMove__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BendpointMove */ 61399); +/* harmony import */ var _BendpointMovePreview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BendpointMovePreview */ 70043); +/* harmony import */ var _ConnectionSegmentMove__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ConnectionSegmentMove */ 59489); +/* harmony import */ var _BendpointSnapping__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BendpointSnapping */ 34678); @@ -28810,7 +28810,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 84845: +/***/ 37352: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/change-support/ChangeSupport.js ***! \******************************************************************************/ @@ -28821,7 +28821,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ChangeSupport) /* harmony export */ }); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Elements */ 35723); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Elements */ 39922); /** @@ -28874,7 +28874,7 @@ ChangeSupport.$inject = ['eventBus', 'canvas', 'elementRegistry', 'graphicsFacto /***/ }), -/***/ 46242: +/***/ 99567: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/change-support/index.js ***! \**********************************************************************/ @@ -28885,7 +28885,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _ChangeSupport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChangeSupport */ 84845); +/* harmony import */ var _ChangeSupport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChangeSupport */ 37352); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['changeSupport'], @@ -28894,7 +28894,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 62172: +/***/ 22591: /*!*********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/clipboard/Clipboard.js ***! \*********************************************************************/ @@ -28926,7 +28926,7 @@ Clipboard.prototype.isEmpty = function () { /***/ }), -/***/ 56142: +/***/ 37501: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/clipboard/index.js ***! \*****************************************************************/ @@ -28937,7 +28937,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Clipboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Clipboard */ 62172); +/* harmony import */ var _Clipboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Clipboard */ 22591); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ clipboard: ['type', _Clipboard__WEBPACK_IMPORTED_MODULE_0__["default"]] @@ -28945,7 +28945,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 90056: +/***/ 30835: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/connect/Connect.js ***! \*****************************************************************/ @@ -28957,8 +28957,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "default": () => (/* binding */ Connect), /* harmony export */ isReverse: () => (/* binding */ isReverse) /* harmony export */ }); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); function Connect(eventBus, dragging, modeling, rules) { @@ -29077,7 +29077,7 @@ function isReverse(context) { /***/ }), -/***/ 53166: +/***/ 28783: /*!************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/connect/ConnectPreview.js ***! \************************************************************************/ @@ -29088,7 +29088,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ConnectPreview) /* harmony export */ }); -/* harmony import */ var _Connect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Connect */ 90056); +/* harmony import */ var _Connect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Connect */ 30835); var HIGH_PRIORITY = 1100, LOW_PRIORITY = 900; @@ -29156,7 +29156,7 @@ ConnectPreview.$inject = ['injector', 'eventBus', 'canvas']; /***/ }), -/***/ 60262: +/***/ 52133: /*!***************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/connect/index.js ***! \***************************************************************/ @@ -29167,11 +29167,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../selection */ 26334); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _Connect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Connect */ 90056); -/* harmony import */ var _ConnectPreview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ConnectPreview */ 53166); +/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../selection */ 41481); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _Connect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Connect */ 30835); +/* harmony import */ var _ConnectPreview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ConnectPreview */ 28783); @@ -29186,7 +29186,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 44121: +/***/ 32220: /*!**************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/connection-preview/ConnectionPreview.js ***! \**************************************************************************************/ @@ -29197,9 +29197,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ConnectionPreview) /* harmony export */ }); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); @@ -29445,7 +29445,7 @@ function ensureConnectionAttrs(canConnect) { /***/ }), -/***/ 54205: +/***/ 64276: /*!**************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/connection-preview/index.js ***! \**************************************************************************/ @@ -29456,7 +29456,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _ConnectionPreview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConnectionPreview */ 44121); +/* harmony import */ var _ConnectionPreview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConnectionPreview */ 32220); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['connectionPreview'], @@ -29465,7 +29465,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 73355: +/***/ 55042: /*!************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/context-pad/ContextPad.js ***! \************************************************************************/ @@ -29476,8 +29476,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ContextPad) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 73599); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 63030); var entrySelector = '.entry'; @@ -29765,7 +29765,7 @@ function addClasses(element, classNames) { /***/ }), -/***/ 93331: +/***/ 64712: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/context-pad/index.js ***! \*******************************************************************/ @@ -29776,9 +29776,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _interaction_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interaction-events */ 57250); -/* harmony import */ var _overlays__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../overlays */ 4541); -/* harmony import */ var _ContextPad__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ContextPad */ 73355); +/* harmony import */ var _interaction_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interaction-events */ 6415); +/* harmony import */ var _overlays__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../overlays */ 58076); +/* harmony import */ var _ContextPad__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ContextPad */ 55042); @@ -29789,7 +29789,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 97423: +/***/ 19274: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/copy-paste/CopyPaste.js ***! \**********************************************************************/ @@ -29800,8 +29800,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CopyPaste) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Elements */ 35723); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Elements */ 39922); @@ -30276,7 +30276,7 @@ function removeElement(element, elements) { /***/ }), -/***/ 54307: +/***/ 81070: /*!******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/copy-paste/index.js ***! \******************************************************************/ @@ -30287,11 +30287,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _clipboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../clipboard */ 56142); -/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../create */ 48256); -/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../mouse */ 26947); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _CopyPaste__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CopyPaste */ 97423); +/* harmony import */ var _clipboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../clipboard */ 37501); +/* harmony import */ var _create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../create */ 31073); +/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../mouse */ 31544); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _CopyPaste__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CopyPaste */ 19274); @@ -30305,7 +30305,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 90070: +/***/ 49561: /*!***************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/create/Create.js ***! \***************************************************************/ @@ -30316,8 +30316,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Create) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Elements */ 35723); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Elements */ 39922); var MARKER_OK = 'drop-ok', MARKER_NOT_OK = 'drop-not-ok', MARKER_ATTACH = 'attach-ok', @@ -30612,7 +30612,7 @@ function isLabel(element) { /***/ }), -/***/ 23820: +/***/ 23965: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/create/CreatePreview.js ***! \**********************************************************************/ @@ -30623,9 +30623,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CreatePreview) /* harmony export */ }); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 81384); -/* harmony import */ var _util_GraphicsUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/GraphicsUtil */ 35451); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 53813); +/* harmony import */ var _util_GraphicsUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/GraphicsUtil */ 2618); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); @@ -30688,7 +30688,7 @@ CreatePreview.$inject = ['canvas', 'eventBus', 'graphicsFactory', 'previewSuppor /***/ }), -/***/ 48256: +/***/ 31073: /*!**************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/create/index.js ***! \**************************************************************/ @@ -30699,12 +30699,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _preview_support__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../preview-support */ 86726); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../selection */ 26334); -/* harmony import */ var _Create__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Create */ 90070); -/* harmony import */ var _CreatePreview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./CreatePreview */ 23820); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _preview_support__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../preview-support */ 8641); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../selection */ 41481); +/* harmony import */ var _Create__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Create */ 49561); +/* harmony import */ var _CreatePreview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./CreatePreview */ 23965); @@ -30720,7 +30720,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 52557: +/***/ 68864: /*!****************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/distribute-elements/DistributeElements.js ***! \****************************************************************************************/ @@ -30731,7 +30731,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DistributeElements) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var AXIS_DIMENSIONS = { horizontal: ['x', 'width'], @@ -30914,7 +30914,7 @@ DistributeElements.prototype._findRange = function (element) { /***/ }), -/***/ 10635: +/***/ 21684: /*!***************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/distribute-elements/index.js ***! \***************************************************************************/ @@ -30925,7 +30925,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _DistributeElements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DistributeElements */ 52557); +/* harmony import */ var _DistributeElements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DistributeElements */ 68864); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['distributeElements'], @@ -30934,7 +30934,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 45896: +/***/ 6699: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/dragging/Dragging.js ***! \*******************************************************************/ @@ -30945,12 +30945,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Dragging) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Event */ 74716); -/* harmony import */ var _util_Cursor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Cursor */ 89388); -/* harmony import */ var _util_ClickTrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/ClickTrap */ 58767); -/* harmony import */ var _util_PositionUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/PositionUtil */ 28929); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Event */ 73975); +/* harmony import */ var _util_Cursor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Cursor */ 89765); +/* harmony import */ var _util_ClickTrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/ClickTrap */ 34200); +/* harmony import */ var _util_PositionUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/PositionUtil */ 67436); var round = Math.round; @@ -31408,7 +31408,7 @@ Dragging.$inject = ['eventBus', 'canvas', 'selection', 'elementRegistry']; /***/ }), -/***/ 11917: +/***/ 41840: /*!****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/dragging/index.js ***! \****************************************************************/ @@ -31419,9 +31419,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _hover_fix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hover-fix */ 9060); -/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selection */ 26334); -/* harmony import */ var _Dragging__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Dragging */ 45896); +/* harmony import */ var _hover_fix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hover-fix */ 86091); +/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selection */ 41481); +/* harmony import */ var _Dragging__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Dragging */ 6699); @@ -31432,7 +31432,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 56891: +/***/ 92110: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/editor-actions/EditorActions.js ***! \******************************************************************************/ @@ -31443,7 +31443,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ EditorActions) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var NOT_REGISTERED_ERROR = 'is not a registered action', IS_REGISTERED_ERROR = 'is already registered'; @@ -31666,7 +31666,7 @@ function error(action, message) { /***/ }), -/***/ 56919: +/***/ 1202: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/editor-actions/index.js ***! \**********************************************************************/ @@ -31677,7 +31677,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _EditorActions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditorActions */ 56891); +/* harmony import */ var _EditorActions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditorActions */ 92110); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['editorActions'], @@ -31686,7 +31686,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 39483: +/***/ 74906: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/global-connect/GlobalConnect.js ***! \******************************************************************************/ @@ -31800,7 +31800,7 @@ GlobalConnect.prototype.canStartConnect = function (startTarget) { /***/ }), -/***/ 27432: +/***/ 18209: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/global-connect/index.js ***! \**********************************************************************/ @@ -31811,12 +31811,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _connect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../connect */ 60262); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _tool_manager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../tool-manager */ 22136); -/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../mouse */ 26947); -/* harmony import */ var _GlobalConnect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GlobalConnect */ 39483); +/* harmony import */ var _connect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../connect */ 52133); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _tool_manager__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../tool-manager */ 32209); +/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../mouse */ 31544); +/* harmony import */ var _GlobalConnect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GlobalConnect */ 74906); @@ -31830,7 +31830,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 53683: +/***/ 32186: /*!****************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/grid-snapping/GridSnapping.js ***! \****************************************************************************/ @@ -31841,10 +31841,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ GridSnapping) /* harmony export */ }); -/* harmony import */ var _snapping_SnapUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../snapping/SnapUtil */ 99298); -/* harmony import */ var _keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../keyboard/KeyboardUtil */ 13488); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _GridUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./GridUtil */ 67059); +/* harmony import */ var _snapping_SnapUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../snapping/SnapUtil */ 24321); +/* harmony import */ var _keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../keyboard/KeyboardUtil */ 18095); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _GridUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./GridUtil */ 88402); @@ -32110,7 +32110,7 @@ function isWest(direction) { /***/ }), -/***/ 67059: +/***/ 88402: /*!************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/grid-snapping/GridUtil.js ***! \************************************************************************/ @@ -32132,7 +32132,7 @@ function quantize(value, quantum, fn) { /***/ }), -/***/ 83490: +/***/ 94065: /*!***************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/grid-snapping/behavior/ResizeBehavior.js ***! \***************************************************************************************/ @@ -32143,10 +32143,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ResizeBehavior) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../command/CommandInterceptor */ 35353); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../command/CommandInterceptor */ 87502); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); @@ -32294,7 +32294,7 @@ ResizeBehavior.prototype.snapVertically = function (newBounds, directions) { /***/ }), -/***/ 86732: +/***/ 82057: /*!******************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/grid-snapping/behavior/SpaceToolBehavior.js ***! \******************************************************************************************/ @@ -32335,7 +32335,7 @@ SpaceToolBehavior.$inject = ['eventBus', 'gridSnapping']; /***/ }), -/***/ 7126: +/***/ 63103: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/grid-snapping/behavior/index.js ***! \******************************************************************************/ @@ -32346,8 +32346,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _ResizeBehavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResizeBehavior */ 83490); -/* harmony import */ var _SpaceToolBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SpaceToolBehavior */ 86732); +/* harmony import */ var _ResizeBehavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResizeBehavior */ 94065); +/* harmony import */ var _SpaceToolBehavior__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SpaceToolBehavior */ 82057); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -32358,7 +32358,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 82795: +/***/ 98836: /*!*********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/grid-snapping/index.js ***! \*********************************************************************/ @@ -32369,8 +32369,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _GridSnapping__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GridSnapping */ 53683); -/* harmony import */ var _behavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./behavior */ 7126); +/* harmony import */ var _GridSnapping__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GridSnapping */ 32186); +/* harmony import */ var _behavior__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./behavior */ 63103); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -32381,7 +32381,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 69607: +/***/ 30054: /*!********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/hand-tool/HandTool.js ***! \********************************************************************/ @@ -32392,8 +32392,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ HandTool) /* harmony export */ }); -/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Mouse */ 53171); -/* harmony import */ var _features_keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../features/keyboard/KeyboardUtil */ 13488); +/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Mouse */ 26600); +/* harmony import */ var _features_keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../features/keyboard/KeyboardUtil */ 18095); var HIGH_PRIORITY = 1500; @@ -32510,7 +32510,7 @@ function isSpace(keyEvent) { /***/ }), -/***/ 14590: +/***/ 10557: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/hand-tool/index.js ***! \*****************************************************************/ @@ -32521,9 +32521,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _tool_manager__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../tool-manager */ 22136); -/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../mouse */ 26947); -/* harmony import */ var _HandTool__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HandTool */ 69607); +/* harmony import */ var _tool_manager__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../tool-manager */ 32209); +/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../mouse */ 31544); +/* harmony import */ var _HandTool__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HandTool */ 30054); @@ -32535,7 +32535,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 94339: +/***/ 69422: /*!********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/hover-fix/HoverFix.js ***! \********************************************************************/ @@ -32546,8 +32546,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ HoverFix) /* harmony export */ }); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Event */ 74716); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Event */ 73975); var HIGH_PRIORITY = 1500; @@ -32670,7 +32670,7 @@ function getGfx(target) { /***/ }), -/***/ 9060: +/***/ 86091: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/hover-fix/index.js ***! \*****************************************************************/ @@ -32681,7 +32681,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _HoverFix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./HoverFix */ 94339); +/* harmony import */ var _HoverFix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./HoverFix */ 69422); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['hoverFix'], @@ -32690,7 +32690,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 53519: +/***/ 52734: /*!**************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/interaction-events/InteractionEvents.js ***! \**************************************************************************************/ @@ -32701,11 +32701,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ InteractionEvents) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Mouse */ 53171); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _util_RenderUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/RenderUtil */ 96546); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Mouse */ 26600); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _util_RenderUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/RenderUtil */ 97915); @@ -33112,7 +33112,7 @@ InteractionEvents.$inject = ['eventBus', 'elementRegistry', 'styles']; /***/ }), -/***/ 57250: +/***/ 6415: /*!**************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/interaction-events/index.js ***! \**************************************************************************/ @@ -33123,7 +33123,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _InteractionEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InteractionEvents */ 53519); +/* harmony import */ var _InteractionEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InteractionEvents */ 52734); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['interactionEvents'], @@ -33132,7 +33132,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 46564: +/***/ 94663: /*!***********************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/keyboard-move-selection/KeyboardMoveSelection.js ***! \***********************************************************************************************/ @@ -33143,7 +33143,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ KeyboardMoveSelection) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var DEFAULT_CONFIG = { moveSpeed: 1, @@ -33246,7 +33246,7 @@ KeyboardMoveSelection.$inject = ['config.keyboardMoveSelection', 'keyboard', 'mo /***/ }), -/***/ 22030: +/***/ 74145: /*!*******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/keyboard-move-selection/index.js ***! \*******************************************************************************/ @@ -33257,9 +33257,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _keyboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../keyboard */ 6329); -/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selection */ 26334); -/* harmony import */ var _KeyboardMoveSelection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KeyboardMoveSelection */ 46564); +/* harmony import */ var _keyboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../keyboard */ 27464); +/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selection */ 41481); +/* harmony import */ var _KeyboardMoveSelection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KeyboardMoveSelection */ 94663); @@ -33271,7 +33271,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 23844: +/***/ 64347: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/keyboard/Keyboard.js ***! \*******************************************************************/ @@ -33282,9 +33282,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Keyboard) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KeyboardUtil */ 13488); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KeyboardUtil */ 18095); @@ -33441,7 +33441,7 @@ function isInput(target) { /***/ }), -/***/ 17946: +/***/ 74573: /*!***************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/keyboard/KeyboardBindings.js ***! \***************************************************************************/ @@ -33460,7 +33460,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ KEYS_UNDO: () => (/* binding */ KEYS_UNDO), /* harmony export */ "default": () => (/* binding */ KeyboardBindings) /* harmony export */ }); -/* harmony import */ var _KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KeyboardUtil */ 13488); +/* harmony import */ var _KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KeyboardUtil */ 18095); var LOW_PRIORITY = 500; var KEYCODE_C = 67; @@ -33603,7 +33603,7 @@ KeyboardBindings.prototype.registerBindings = function (keyboard, editorActions) /***/ }), -/***/ 13488: +/***/ 18095: /*!***********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/keyboard/KeyboardUtil.js ***! \***********************************************************************/ @@ -33621,7 +33621,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isShift: () => (/* binding */ isShift), /* harmony export */ isUndo: () => (/* binding */ isUndo) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var KEYCODE_C = 67; var KEYCODE_V = 86; @@ -33684,7 +33684,7 @@ function isRedo(event) { /***/ }), -/***/ 6329: +/***/ 27464: /*!****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/keyboard/index.js ***! \****************************************************************/ @@ -33695,8 +33695,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Keyboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Keyboard */ 23844); -/* harmony import */ var _KeyboardBindings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KeyboardBindings */ 17946); +/* harmony import */ var _Keyboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Keyboard */ 64347); +/* harmony import */ var _KeyboardBindings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KeyboardBindings */ 74573); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -33707,7 +33707,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 64279: +/***/ 91338: /*!****************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/label-support/LabelSupport.js ***! \****************************************************************************/ @@ -33718,12 +33718,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ LabelSupport) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/Collections */ 39233); -/* harmony import */ var _util_Removal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Removal */ 80324); -/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 35353); +/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/Collections */ 90238); +/* harmony import */ var _util_Removal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Removal */ 63335); +/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 87502); var LOW_PRIORITY = 250, @@ -33848,7 +33848,7 @@ function removeLabels(elements) { /***/ }), -/***/ 54392: +/***/ 91039: /*!*********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/label-support/index.js ***! \*********************************************************************/ @@ -33859,7 +33859,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _LabelSupport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LabelSupport */ 64279); +/* harmony import */ var _LabelSupport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LabelSupport */ 91338); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['labelSupport'], @@ -33868,7 +33868,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 86943: +/***/ 63846: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/lasso-tool/LassoTool.js ***! \**********************************************************************/ @@ -33879,10 +33879,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ LassoTool) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Elements */ 35723); -/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Mouse */ 53171); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Elements */ 39922); +/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Mouse */ 26600); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); @@ -34068,7 +34068,7 @@ function toBBox(event) { /***/ }), -/***/ 10707: +/***/ 6110: /*!******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/lasso-tool/index.js ***! \******************************************************************/ @@ -34079,9 +34079,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _tool_manager__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../tool-manager */ 22136); -/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../mouse */ 26947); -/* harmony import */ var _LassoTool__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LassoTool */ 86943); +/* harmony import */ var _tool_manager__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../tool-manager */ 32209); +/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../mouse */ 31544); +/* harmony import */ var _LassoTool__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LassoTool */ 63846); @@ -34093,7 +34093,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 98680: +/***/ 69235: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/Modeling.js ***! \*******************************************************************/ @@ -34104,29 +34104,29 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Modeling) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _model__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../model */ 83377); -/* harmony import */ var _cmd_AlignElementsHandler__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./cmd/AlignElementsHandler */ 80914); -/* harmony import */ var _cmd_AppendShapeHandler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cmd/AppendShapeHandler */ 237); -/* harmony import */ var _cmd_CreateConnectionHandler__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./cmd/CreateConnectionHandler */ 58492); -/* harmony import */ var _cmd_CreateElementsHandler__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./cmd/CreateElementsHandler */ 35631); -/* harmony import */ var _cmd_CreateLabelHandler__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cmd/CreateLabelHandler */ 17320); -/* harmony import */ var _cmd_CreateShapeHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cmd/CreateShapeHandler */ 76569); -/* harmony import */ var _cmd_DeleteConnectionHandler__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./cmd/DeleteConnectionHandler */ 47561); -/* harmony import */ var _cmd_DeleteElementsHandler__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./cmd/DeleteElementsHandler */ 50150); -/* harmony import */ var _cmd_DeleteShapeHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cmd/DeleteShapeHandler */ 17714); -/* harmony import */ var _cmd_DistributeElementsHandler__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./cmd/DistributeElementsHandler */ 67546); -/* harmony import */ var _cmd_LayoutConnectionHandler__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./cmd/LayoutConnectionHandler */ 13706); -/* harmony import */ var _cmd_MoveConnectionHandler__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./cmd/MoveConnectionHandler */ 36775); -/* harmony import */ var _cmd_MoveElementsHandler__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./cmd/MoveElementsHandler */ 73168); -/* harmony import */ var _cmd_MoveShapeHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cmd/MoveShapeHandler */ 14820); -/* harmony import */ var _cmd_ReconnectConnectionHandler__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./cmd/ReconnectConnectionHandler */ 73189); -/* harmony import */ var _cmd_ReplaceShapeHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cmd/ReplaceShapeHandler */ 14999); -/* harmony import */ var _cmd_ResizeShapeHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./cmd/ResizeShapeHandler */ 96709); -/* harmony import */ var _cmd_SpaceToolHandler__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cmd/SpaceToolHandler */ 58914); -/* harmony import */ var _cmd_ToggleShapeCollapseHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cmd/ToggleShapeCollapseHandler */ 84932); -/* harmony import */ var _cmd_UpdateAttachmentHandler__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./cmd/UpdateAttachmentHandler */ 88012); -/* harmony import */ var _cmd_UpdateWaypointsHandler__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./cmd/UpdateWaypointsHandler */ 60747); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _model__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../model */ 94552); +/* harmony import */ var _cmd_AlignElementsHandler__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./cmd/AlignElementsHandler */ 62905); +/* harmony import */ var _cmd_AppendShapeHandler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cmd/AppendShapeHandler */ 97570); +/* harmony import */ var _cmd_CreateConnectionHandler__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./cmd/CreateConnectionHandler */ 36137); +/* harmony import */ var _cmd_CreateElementsHandler__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./cmd/CreateElementsHandler */ 74662); +/* harmony import */ var _cmd_CreateLabelHandler__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cmd/CreateLabelHandler */ 2459); +/* harmony import */ var _cmd_CreateShapeHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cmd/CreateShapeHandler */ 65970); +/* harmony import */ var _cmd_DeleteConnectionHandler__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./cmd/DeleteConnectionHandler */ 52416); +/* harmony import */ var _cmd_DeleteElementsHandler__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./cmd/DeleteElementsHandler */ 60499); +/* harmony import */ var _cmd_DeleteShapeHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cmd/DeleteShapeHandler */ 49733); +/* harmony import */ var _cmd_DistributeElementsHandler__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./cmd/DistributeElementsHandler */ 75927); +/* harmony import */ var _cmd_LayoutConnectionHandler__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./cmd/LayoutConnectionHandler */ 18923); +/* harmony import */ var _cmd_MoveConnectionHandler__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./cmd/MoveConnectionHandler */ 74889); +/* harmony import */ var _cmd_MoveElementsHandler__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./cmd/MoveElementsHandler */ 94653); +/* harmony import */ var _cmd_MoveShapeHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cmd/MoveShapeHandler */ 1079); +/* harmony import */ var _cmd_ReconnectConnectionHandler__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./cmd/ReconnectConnectionHandler */ 3490); +/* harmony import */ var _cmd_ReplaceShapeHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cmd/ReplaceShapeHandler */ 91546); +/* harmony import */ var _cmd_ResizeShapeHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./cmd/ResizeShapeHandler */ 77122); +/* harmony import */ var _cmd_SpaceToolHandler__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cmd/SpaceToolHandler */ 50301); +/* harmony import */ var _cmd_ToggleShapeCollapseHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cmd/ToggleShapeCollapseHandler */ 20539); +/* harmony import */ var _cmd_UpdateAttachmentHandler__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./cmd/UpdateAttachmentHandler */ 44125); +/* harmony import */ var _cmd_UpdateWaypointsHandler__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./cmd/UpdateWaypointsHandler */ 59012); @@ -34538,7 +34538,7 @@ Modeling.prototype.toggleCollapse = function (shape, hints) { /***/ }), -/***/ 80914: +/***/ 62905: /*!***********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/AlignElementsHandler.js ***! \***********************************************************************************/ @@ -34549,7 +34549,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AlignElements) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -34590,7 +34590,7 @@ AlignElements.prototype.postExecute = function (context) {}; /***/ }), -/***/ 237: +/***/ 97570: /*!*********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/AppendShapeHandler.js ***! \*********************************************************************************/ @@ -34601,7 +34601,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ AppendShapeHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -34660,7 +34660,7 @@ function existsConnection(source, target) { /***/ }), -/***/ 58492: +/***/ 36137: /*!**************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/CreateConnectionHandler.js ***! \**************************************************************************************/ @@ -34720,7 +34720,7 @@ CreateConnectionHandler.prototype.revert = function (context) { /***/ }), -/***/ 35631: +/***/ 74662: /*!************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/CreateElementsHandler.js ***! \************************************************************************************/ @@ -34731,8 +34731,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CreateElementsHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/Elements */ 35723); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/Elements */ 39922); var round = Math.round; @@ -34798,7 +34798,7 @@ function isConnection(element) { /***/ }), -/***/ 17320: +/***/ 2459: /*!*********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/CreateLabelHandler.js ***! \*********************************************************************************/ @@ -34809,9 +34809,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CreateLabelHandler) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _CreateShapeHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CreateShapeHandler */ 76569); +/* harmony import */ var _CreateShapeHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CreateShapeHandler */ 65970); @@ -34869,7 +34869,7 @@ function ensureValidDimensions(label) { /***/ }), -/***/ 76569: +/***/ 65970: /*!*********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/CreateShapeHandler.js ***! \*********************************************************************************/ @@ -34880,7 +34880,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CreateShapeHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var round = Math.round; @@ -34943,7 +34943,7 @@ CreateShapeHandler.prototype.revert = function (context) { /***/ }), -/***/ 47561: +/***/ 52416: /*!**************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/DeleteConnectionHandler.js ***! \**************************************************************************************/ @@ -34954,7 +34954,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DeleteConnectionHandler) /* harmony export */ }); -/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/Collections */ 39233); +/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/Collections */ 90238); /** @@ -34998,7 +34998,7 @@ DeleteConnectionHandler.prototype.revert = function (context) { /***/ }), -/***/ 50150: +/***/ 60499: /*!************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/DeleteElementsHandler.js ***! \************************************************************************************/ @@ -35009,7 +35009,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DeleteElementsHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); function DeleteElementsHandler(modeling, elementRegistry) { this._modeling = modeling; @@ -35036,7 +35036,7 @@ DeleteElementsHandler.prototype.postExecute = function (context) { /***/ }), -/***/ 17714: +/***/ 49733: /*!*********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/DeleteShapeHandler.js ***! \*********************************************************************************/ @@ -35047,8 +35047,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DeleteShapeHandler) /* harmony export */ }); -/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/Collections */ 39233); -/* harmony import */ var _util_Removal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/Removal */ 80324); +/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../util/Collections */ 90238); +/* harmony import */ var _util_Removal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/Removal */ 63335); @@ -35135,7 +35135,7 @@ function isConnection(element) { /***/ }), -/***/ 67546: +/***/ 75927: /*!****************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/DistributeElementsHandler.js ***! \****************************************************************************************/ @@ -35146,7 +35146,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DistributeElements) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -35260,7 +35260,7 @@ DistributeElements.prototype.postExecute = function (context) {}; /***/ }), -/***/ 13706: +/***/ 18923: /*!**************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/LayoutConnectionHandler.js ***! \**************************************************************************************/ @@ -35271,7 +35271,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ LayoutConnectionHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -35299,7 +35299,7 @@ LayoutConnectionHandler.prototype.revert = function (context) { /***/ }), -/***/ 36775: +/***/ 74889: /*!************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/MoveConnectionHandler.js ***! \************************************************************************************/ @@ -35310,8 +35310,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MoveConnectionHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/Collections */ 39233); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/Collections */ 90238); @@ -35380,7 +35380,7 @@ MoveConnectionHandler.prototype.revert = function (context) { /***/ }), -/***/ 73168: +/***/ 94653: /*!**********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/MoveElementsHandler.js ***! \**********************************************************************************/ @@ -35391,7 +35391,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MoveElementsHandler) /* harmony export */ }); -/* harmony import */ var _helper_MoveHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helper/MoveHelper */ 47732); +/* harmony import */ var _helper_MoveHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helper/MoveHelper */ 23597); /** @@ -35416,7 +35416,7 @@ MoveElementsHandler.prototype.postExecute = function (context) { /***/ }), -/***/ 14820: +/***/ 1079: /*!*******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/MoveShapeHandler.js ***! \*******************************************************************************/ @@ -35427,10 +35427,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MoveShapeHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _helper_MoveHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helper/MoveHelper */ 47732); -/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/Collections */ 39233); -/* harmony import */ var _helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./helper/AnchorsHelper */ 25395); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _helper_MoveHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helper/MoveHelper */ 23597); +/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../util/Collections */ 90238); +/* harmony import */ var _helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./helper/AnchorsHelper */ 72192); @@ -35516,7 +35516,7 @@ MoveShapeHandler.prototype.getNewParent = function (context) { /***/ }), -/***/ 73189: +/***/ 3490: /*!*****************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/ReconnectConnectionHandler.js ***! \*****************************************************************************************/ @@ -35527,7 +35527,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ReconnectConnectionHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -35611,7 +35611,7 @@ function getDocking(point) { /***/ }), -/***/ 14999: +/***/ 91546: /*!**********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/ReplaceShapeHandler.js ***! \**********************************************************************************/ @@ -35622,8 +35622,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ReplaceShapeHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helper/AnchorsHelper */ 25395); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helper/AnchorsHelper */ 72192); @@ -35738,7 +35738,7 @@ ReplaceShapeHandler.prototype.reconnectEnd = function (connection, newTarget, do /***/ }), -/***/ 96709: +/***/ 77122: /*!*********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/ResizeShapeHandler.js ***! \*********************************************************************************/ @@ -35749,8 +35749,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ResizeShapeHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helper/AnchorsHelper */ 25395); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helper/AnchorsHelper */ 72192); @@ -35841,7 +35841,7 @@ ResizeShapeHandler.prototype.revert = function (context) { /***/ }), -/***/ 58914: +/***/ 50301: /*!*******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/SpaceToolHandler.js ***! \*******************************************************************************/ @@ -35852,9 +35852,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SpaceToolHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _space_tool_SpaceUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../space-tool/SpaceUtil */ 97093); -/* harmony import */ var _helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helper/AnchorsHelper */ 25395); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _space_tool_SpaceUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../space-tool/SpaceUtil */ 75496); +/* harmony import */ var _helper_AnchorsHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helper/AnchorsHelper */ 72192); @@ -36008,7 +36008,7 @@ function getBounds(shape) { /***/ }), -/***/ 84932: +/***/ 20539: /*!*****************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/ToggleShapeCollapseHandler.js ***! \*****************************************************************************************/ @@ -36019,7 +36019,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ToggleShapeCollapseHandler) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -36103,7 +36103,7 @@ function restoreVisibilityRecursive(elements, lastState) { /***/ }), -/***/ 88012: +/***/ 44125: /*!**************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/UpdateAttachmentHandler.js ***! \**************************************************************************************/ @@ -36114,7 +36114,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ UpdateAttachmentHandler) /* harmony export */ }); -/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/Collections */ 39233); +/* harmony import */ var _util_Collections__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../util/Collections */ 90238); /** @@ -36173,7 +36173,7 @@ function addAttacher(host, attacher, idx) { /***/ }), -/***/ 60747: +/***/ 59012: /*!*************************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/UpdateWaypointsHandler.js ***! \*************************************************************************************/ @@ -36201,7 +36201,7 @@ UpdateWaypointsHandler.prototype.revert = function (context) { /***/ }), -/***/ 25395: +/***/ 72192: /*!***********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/helper/AnchorsHelper.js ***! \***********************************************************************************/ @@ -36215,9 +36215,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getResizedSourceAnchor: () => (/* binding */ getResizedSourceAnchor), /* harmony export */ getResizedTargetAnchor: () => (/* binding */ getResizedTargetAnchor) /* harmony export */ }); -/* harmony import */ var _util_AttachUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../util/AttachUtil */ 93999); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../layout/LayoutUtil */ 8610); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _util_AttachUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../util/AttachUtil */ 34858); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../layout/LayoutUtil */ 30023); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); @@ -36303,7 +36303,7 @@ function getOriginal(point) { /***/ }), -/***/ 88355: +/***/ 49476: /*!*********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/helper/MoveClosure.js ***! \*********************************************************************************/ @@ -36314,8 +36314,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MoveClosure) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../util/Elements */ 35723); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../util/Elements */ 39922); function MoveClosure() { @@ -36336,7 +36336,7 @@ MoveClosure.prototype.addAll = function (elements, isTopLevel) { /***/ }), -/***/ 47732: +/***/ 23597: /*!********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/modeling/cmd/helper/MoveHelper.js ***! \********************************************************************************/ @@ -36347,9 +36347,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MoveHelper) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _AnchorsHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AnchorsHelper */ 25395); -/* harmony import */ var _MoveClosure__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MoveClosure */ 88355); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _AnchorsHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AnchorsHelper */ 72192); +/* harmony import */ var _MoveClosure__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MoveClosure */ 49476); @@ -36439,7 +36439,7 @@ MoveHelper.prototype.getClosure = function (elements) { /***/ }), -/***/ 74472: +/***/ 34651: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/mouse/Mouse.js ***! \*************************************************************/ @@ -36487,7 +36487,7 @@ function createMoveEvent(x, y) { /***/ }), -/***/ 26947: +/***/ 31544: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/mouse/index.js ***! \*************************************************************/ @@ -36498,7 +36498,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Mouse */ 74472); +/* harmony import */ var _Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Mouse */ 34651); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['mouse'], @@ -36507,7 +36507,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 62788: +/***/ 32691: /*!***********************************************************!*\ !*** ./node_modules/diagram-js/lib/features/move/Move.js ***! \***********************************************************/ @@ -36518,9 +36518,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MoveEvents) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Event */ 74716); -/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Mouse */ 53171); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Event */ 73975); +/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Mouse */ 26600); var LOW_PRIORITY = 500, MEDIUM_PRIORITY = 1250, @@ -36736,7 +36736,7 @@ function removeNested(elements) { /***/ }), -/***/ 97282: +/***/ 91727: /*!******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/move/MovePreview.js ***! \******************************************************************/ @@ -36747,10 +36747,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MovePreview) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Elements */ 35723); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 81384); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Elements */ 39922); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 53813); @@ -36944,7 +36944,7 @@ function isConnection(element) { /***/ }), -/***/ 74569: +/***/ 99896: /*!************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/move/index.js ***! \************************************************************/ @@ -36955,14 +36955,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _interaction_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interaction-events */ 57250); -/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selection */ 26334); -/* harmony import */ var _outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../outline */ 98918); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _preview_support__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../preview-support */ 86726); -/* harmony import */ var _Move__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Move */ 62788); -/* harmony import */ var _MovePreview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./MovePreview */ 97282); +/* harmony import */ var _interaction_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interaction-events */ 6415); +/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selection */ 41481); +/* harmony import */ var _outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../outline */ 43569); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _preview_support__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../preview-support */ 8641); +/* harmony import */ var _Move__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Move */ 32691); +/* harmony import */ var _MovePreview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./MovePreview */ 91727); @@ -36980,7 +36980,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 10347: +/***/ 87348: /*!***************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/ordering/OrderingProvider.js ***! \***************************************************************************/ @@ -36991,9 +36991,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ OrderingProvider) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 35353); +/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 87502); @@ -37074,7 +37074,7 @@ inherits__WEBPACK_IMPORTED_MODULE_0___default()(OrderingProvider, _command_Comma /***/ }), -/***/ 97592: +/***/ 5611: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/outline/Outline.js ***! \*****************************************************************/ @@ -37085,10 +37085,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Outline) /* harmony export */ }); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Elements */ 35723); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Elements */ 39922); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); var LOW_PRIORITY = 500; @@ -37179,7 +37179,7 @@ Outline.$inject = ['eventBus', 'styles', 'elementRegistry']; /***/ }), -/***/ 98918: +/***/ 43569: /*!***************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/outline/index.js ***! \***************************************************************/ @@ -37190,7 +37190,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Outline__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Outline */ 97592); +/* harmony import */ var _Outline__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Outline */ 5611); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['outline'], @@ -37199,7 +37199,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 88660: +/***/ 49723: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/overlays/Overlays.js ***! \*******************************************************************/ @@ -37210,10 +37210,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Overlays) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Elements */ 35723); -/* harmony import */ var _util_IdGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/IdGenerator */ 39902); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Elements */ 39922); +/* harmony import */ var _util_IdGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/IdGenerator */ 15149); @@ -37720,7 +37720,7 @@ function setTransform(el, transform) { /***/ }), -/***/ 4541: +/***/ 58076: /*!****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/overlays/index.js ***! \****************************************************************/ @@ -37731,7 +37731,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Overlays__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Overlays */ 88660); +/* harmony import */ var _Overlays__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Overlays */ 49723); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['overlays'], @@ -37740,7 +37740,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 43688: +/***/ 23755: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/palette/Palette.js ***! \*****************************************************************/ @@ -37751,8 +37751,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Palette) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 73599); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 63030); var TOGGLE_SELECTOR = '.djs-palette-toggle', @@ -38107,7 +38107,7 @@ function addPaletteEntries(entries, provider) { /***/ }), -/***/ 42383: +/***/ 23452: /*!***************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/palette/index.js ***! \***************************************************************/ @@ -38118,7 +38118,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Palette__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Palette */ 43688); +/* harmony import */ var _Palette__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Palette */ 23755); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['palette'], @@ -38127,7 +38127,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 66947: +/***/ 80226: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/popup-menu/PopupMenu.js ***! \**********************************************************************/ @@ -38138,8 +38138,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ PopupMenu) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 73599); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 63030); var DATA_REF = 'data-id'; @@ -38595,7 +38595,7 @@ function setTransform(element, transform) { /***/ }), -/***/ 63162: +/***/ 5231: /*!******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/popup-menu/index.js ***! \******************************************************************/ @@ -38606,7 +38606,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _PopupMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PopupMenu */ 66947); +/* harmony import */ var _PopupMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PopupMenu */ 80226); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['popupMenu'], @@ -38615,7 +38615,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 33467: +/***/ 49126: /*!********************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/preview-support/PreviewSupport.js ***! \********************************************************************************/ @@ -38626,10 +38626,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ PreviewSupport) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_GraphicsUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/GraphicsUtil */ 35451); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_GraphicsUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/GraphicsUtil */ 2618); @@ -38812,7 +38812,7 @@ function canHaveMarker(node) { /***/ }), -/***/ 86726: +/***/ 8641: /*!***********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/preview-support/index.js ***! \***********************************************************************/ @@ -38823,7 +38823,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _PreviewSupport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PreviewSupport */ 33467); +/* harmony import */ var _PreviewSupport__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PreviewSupport */ 49126); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['previewSupport'], @@ -38832,7 +38832,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 79204: +/***/ 25159: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/replace/Replace.js ***! \*****************************************************************/ @@ -38843,7 +38843,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Replace) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var round = Math.round; @@ -38890,7 +38890,7 @@ Replace.prototype.replaceElement = function (oldElement, newElementData, options /***/ }), -/***/ 77740: +/***/ 97939: /*!***************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/replace/index.js ***! \***************************************************************/ @@ -38901,7 +38901,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Replace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Replace */ 79204); +/* harmony import */ var _Replace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Replace */ 25159); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['replace'], @@ -38910,7 +38910,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 22022: +/***/ 62333: /*!***************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/resize/Resize.js ***! \***************************************************************/ @@ -38922,9 +38922,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "default": () => (/* binding */ Resize), /* harmony export */ getReferencePoint: () => (/* binding */ getReferencePoint) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _ResizeUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResizeUtil */ 35434); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _ResizeUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResizeUtil */ 67329); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); @@ -39148,7 +39148,7 @@ function getCursor(direction) { /***/ }), -/***/ 30439: +/***/ 68430: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/resize/ResizeHandles.js ***! \**********************************************************************/ @@ -39159,12 +39159,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ResizeHandles) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Mouse */ 53171); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 81384); -/* harmony import */ var _Resize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Resize */ 22022); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Mouse */ 26600); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 53813); +/* harmony import */ var _Resize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Resize */ 62333); @@ -39308,7 +39308,7 @@ function getHandleOffset(direction) { /***/ }), -/***/ 51932: +/***/ 64233: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/resize/ResizePreview.js ***! \**********************************************************************/ @@ -39319,7 +39319,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ResizePreview) /* harmony export */ }); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); var MARKER_RESIZING = 'djs-resizing', MARKER_RESIZE_NOT_OK = 'resize-not-ok'; var LOW_PRIORITY = 500; @@ -39393,7 +39393,7 @@ ResizePreview.$inject = ['eventBus', 'canvas', 'previewSupport']; /***/ }), -/***/ 35434: +/***/ 67329: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/resize/ResizeUtil.js ***! \*******************************************************************/ @@ -39411,9 +39411,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ resizeTRBL: () => (/* binding */ resizeTRBL), /* harmony export */ substractTRBL: () => (/* binding */ substractTRBL) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Elements */ 35723); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Elements */ 39922); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); var max = Math.max, min = Math.min; @@ -39611,7 +39611,7 @@ function computeChildrenBBox(shapeOrChildren, padding) { /***/ }), -/***/ 40844: +/***/ 33485: /*!**************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/resize/index.js ***! \**************************************************************/ @@ -39622,12 +39622,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _preview_support__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../preview-support */ 86726); -/* harmony import */ var _Resize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Resize */ 22022); -/* harmony import */ var _ResizePreview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ResizePreview */ 51932); -/* harmony import */ var _ResizeHandles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ResizeHandles */ 30439); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _preview_support__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../preview-support */ 8641); +/* harmony import */ var _Resize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Resize */ 62333); +/* harmony import */ var _ResizePreview__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ResizePreview */ 64233); +/* harmony import */ var _ResizeHandles__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ResizeHandles */ 68430); @@ -39644,7 +39644,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 19812: +/***/ 63169: /*!********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/rules/RuleProvider.js ***! \********************************************************************/ @@ -39655,9 +39655,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ RuleProvider) /* harmony export */ }); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 35353); +/* harmony import */ var _command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../command/CommandInterceptor */ 87502); @@ -39739,7 +39739,7 @@ RuleProvider.prototype.init = function () {}; /***/ }), -/***/ 74488: +/***/ 77675: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/rules/Rules.js ***! \*************************************************************/ @@ -39795,7 +39795,7 @@ Rules.prototype.allowed = function (action, context) { /***/ }), -/***/ 8807: +/***/ 85628: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/rules/index.js ***! \*************************************************************/ @@ -39806,7 +39806,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Rules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Rules */ 74488); +/* harmony import */ var _Rules__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Rules */ 77675); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['rules'], @@ -39815,7 +39815,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 59601: +/***/ 78924: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/search-pad/SearchPad.js ***! \**********************************************************************/ @@ -39826,9 +39826,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SearchPad) /* harmony export */ }); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Elements */ 35723); -/* harmony import */ var _util_EscapeUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/EscapeUtil */ 43357); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Elements */ 39922); +/* harmony import */ var _util_EscapeUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/EscapeUtil */ 19900); @@ -40263,7 +40263,7 @@ SearchPad.RESULT_SECONDARY_HTML = '

'; /***/ }), -/***/ 72784: +/***/ 5693: /*!******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/search-pad/index.js ***! \******************************************************************/ @@ -40274,9 +40274,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _overlays__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../overlays */ 4541); -/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selection */ 26334); -/* harmony import */ var _SearchPad__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SearchPad */ 59601); +/* harmony import */ var _overlays__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../overlays */ 58076); +/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../selection */ 41481); +/* harmony import */ var _SearchPad__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SearchPad */ 78924); @@ -40287,7 +40287,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 43504: +/***/ 31915: /*!*********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/selection/Selection.js ***! \*********************************************************************/ @@ -40298,7 +40298,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Selection) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -40387,7 +40387,7 @@ Selection.prototype.select = function (elements, add) { /***/ }), -/***/ 46454: +/***/ 98537: /*!*****************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/selection/SelectionBehavior.js ***! \*****************************************************************************/ @@ -40398,8 +40398,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SelectionBehavior) /* harmony export */ }); -/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Mouse */ 53171); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/Mouse */ 26600); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); function SelectionBehavior(eventBus, selection, canvas, elementRegistry) { @@ -40486,7 +40486,7 @@ function isShown(element) { /***/ }), -/***/ 45891: +/***/ 93370: /*!****************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/selection/SelectionVisuals.js ***! \****************************************************************************/ @@ -40497,7 +40497,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SelectionVisuals) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var MARKER_HOVER = 'hover', MARKER_SELECTED = 'selected'; @@ -40553,7 +40553,7 @@ SelectionVisuals.$inject = ['eventBus', 'canvas', 'selection', 'styles']; /***/ }), -/***/ 26334: +/***/ 41481: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/selection/index.js ***! \*****************************************************************/ @@ -40564,11 +40564,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _interaction_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interaction-events */ 57250); -/* harmony import */ var _outline__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../outline */ 98918); -/* harmony import */ var _Selection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Selection */ 43504); -/* harmony import */ var _SelectionVisuals__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SelectionVisuals */ 45891); -/* harmony import */ var _SelectionBehavior__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SelectionBehavior */ 46454); +/* harmony import */ var _interaction_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interaction-events */ 6415); +/* harmony import */ var _outline__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../outline */ 43569); +/* harmony import */ var _Selection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Selection */ 31915); +/* harmony import */ var _SelectionVisuals__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SelectionVisuals */ 93370); +/* harmony import */ var _SelectionBehavior__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SelectionBehavior */ 98537); @@ -40584,7 +40584,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 23111: +/***/ 33136: /*!*****************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/snapping/CreateMoveSnapping.js ***! \*****************************************************************************/ @@ -40595,10 +40595,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CreateMoveSnapping) /* harmony export */ }); -/* harmony import */ var _SnapContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SnapContext */ 67963); -/* harmony import */ var _SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SnapUtil */ 99298); -/* harmony import */ var _keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../keyboard/KeyboardUtil */ 13488); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _SnapContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SnapContext */ 60182); +/* harmony import */ var _SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SnapUtil */ 24321); +/* harmony import */ var _keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../keyboard/KeyboardUtil */ 18095); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 11451); @@ -40746,7 +40746,7 @@ function isLabel(element) { /***/ }), -/***/ 68614: +/***/ 37769: /*!*************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/snapping/ResizeSnapping.js ***! \*************************************************************************/ @@ -40757,11 +40757,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ResizeSnapping) /* harmony export */ }); -/* harmony import */ var _SnapContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SnapContext */ 67963); -/* harmony import */ var _SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SnapUtil */ 99298); -/* harmony import */ var _keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../keyboard/KeyboardUtil */ 13488); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var _SnapContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SnapContext */ 60182); +/* harmony import */ var _SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SnapUtil */ 24321); +/* harmony import */ var _keyboard_KeyboardUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../keyboard/KeyboardUtil */ 18095); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 11451); @@ -40882,7 +40882,7 @@ function isVertical(direction) { /***/ }), -/***/ 67963: +/***/ 60182: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/snapping/SnapContext.js ***! \**********************************************************************/ @@ -40894,8 +40894,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ SnapPoints: () => (/* binding */ SnapPoints), /* harmony export */ "default": () => (/* binding */ SnapContext) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _SnapUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SnapUtil */ 99298); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _SnapUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SnapUtil */ 24321); @@ -41039,7 +41039,7 @@ SnapPoints.prototype.initDefaults = function (defaultSnaps) { /***/ }), -/***/ 99298: +/***/ 24321: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/snapping/SnapUtil.js ***! \*******************************************************************/ @@ -41180,7 +41180,7 @@ function getChildren(parent) { /***/ }), -/***/ 47866: +/***/ 88597: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/snapping/Snapping.js ***! \*******************************************************************/ @@ -41192,9 +41192,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ SNAP_LINE_HIDE_DELAY: () => (/* binding */ SNAP_LINE_HIDE_DELAY), /* harmony export */ "default": () => (/* binding */ Snapping) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SnapUtil */ 99298); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _SnapUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SnapUtil */ 24321); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 87004); @@ -41325,7 +41325,7 @@ Snapping.prototype.hide = function () { /***/ }), -/***/ 22760: +/***/ 41213: /*!****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/snapping/index.js ***! \****************************************************************/ @@ -41336,9 +41336,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _CreateMoveSnapping__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateMoveSnapping */ 23111); -/* harmony import */ var _ResizeSnapping__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ResizeSnapping */ 68614); -/* harmony import */ var _Snapping__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Snapping */ 47866); +/* harmony import */ var _CreateMoveSnapping__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CreateMoveSnapping */ 33136); +/* harmony import */ var _ResizeSnapping__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ResizeSnapping */ 37769); +/* harmony import */ var _Snapping__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Snapping */ 88597); @@ -41351,7 +41351,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 48247: +/***/ 87874: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/space-tool/SpaceTool.js ***! \**********************************************************************/ @@ -41362,12 +41362,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SpaceTool) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 8610); -/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Elements */ 35723); -/* harmony import */ var _SpaceUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SpaceUtil */ 97093); -/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Mouse */ 53171); -/* harmony import */ var _util_Cursor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/Cursor */ 89388); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../layout/LayoutUtil */ 30023); +/* harmony import */ var _util_Elements__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/Elements */ 39922); +/* harmony import */ var _SpaceUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SpaceUtil */ 75496); +/* harmony import */ var _util_Mouse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Mouse */ 26600); +/* harmony import */ var _util_Cursor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/Cursor */ 89765); @@ -41723,7 +41723,7 @@ function isLabel(element) { /***/ }), -/***/ 73467: +/***/ 816: /*!*****************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/space-tool/SpaceToolPreview.js ***! \*****************************************************************************/ @@ -41734,9 +41734,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ SpaceToolPreview) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 57491); -/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 81384); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var _util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/SvgTransformUtil */ 53813); var MARKER_DRAGGING = 'djs-dragging', MARKER_RESIZING = 'djs-resizing'; @@ -41977,7 +41977,7 @@ function isConnection(element) { /***/ }), -/***/ 97093: +/***/ 75496: /*!**********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/space-tool/SpaceUtil.js ***! \**********************************************************************/ @@ -41990,7 +41990,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getWaypointsUpdatingConnections: () => (/* binding */ getWaypointsUpdatingConnections), /* harmony export */ resizeBounds: () => (/* binding */ resizeBounds) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -42109,7 +42109,7 @@ function resizeBounds(bounds, direction, delta) { /***/ }), -/***/ 88363: +/***/ 48994: /*!******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/space-tool/index.js ***! \******************************************************************/ @@ -42120,13 +42120,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 8807); -/* harmony import */ var _tool_manager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../tool-manager */ 22136); -/* harmony import */ var _preview_support__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../preview-support */ 86726); -/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../mouse */ 26947); -/* harmony import */ var _SpaceTool__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SpaceTool */ 48247); -/* harmony import */ var _SpaceToolPreview__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SpaceToolPreview */ 73467); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _rules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../rules */ 85628); +/* harmony import */ var _tool_manager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../tool-manager */ 32209); +/* harmony import */ var _preview_support__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../preview-support */ 8641); +/* harmony import */ var _mouse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../mouse */ 31544); +/* harmony import */ var _SpaceTool__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SpaceTool */ 87874); +/* harmony import */ var _SpaceToolPreview__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SpaceToolPreview */ 816); @@ -42143,7 +42143,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 88089: +/***/ 2064: /*!**************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/tool-manager/ToolManager.js ***! \**************************************************************************/ @@ -42154,8 +42154,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ToolManager) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 73599); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 63030); var LOW_PRIORITY = 250; @@ -42248,7 +42248,7 @@ function isPaletteClick(event) { /***/ }), -/***/ 22136: +/***/ 32209: /*!********************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/tool-manager/index.js ***! \********************************************************************/ @@ -42259,8 +42259,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 11917); -/* harmony import */ var _ToolManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ToolManager */ 88089); +/* harmony import */ var _dragging__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dragging */ 41840); +/* harmony import */ var _ToolManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ToolManager */ 2064); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -42271,7 +42271,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 24750: +/***/ 99245: /*!*******************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/tooltips/Tooltips.js ***! \*******************************************************************/ @@ -42282,9 +42282,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Tooltips) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_IdGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/IdGenerator */ 39902); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_IdGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/IdGenerator */ 15149); @@ -42559,7 +42559,7 @@ Tooltips.prototype._init = function () { /***/ }), -/***/ 37692: +/***/ 8005: /*!****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/tooltips/index.js ***! \****************************************************************/ @@ -42570,7 +42570,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _Tooltips__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Tooltips */ 24750); +/* harmony import */ var _Tooltips__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Tooltips */ 99245); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['tooltips'], @@ -42579,7 +42579,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 32473: +/***/ 79548: /*!****************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/touch/TouchFix.js ***! \****************************************************************/ @@ -42590,7 +42590,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ TouchFix) /* harmony export */ }); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); function TouchFix(canvas, eventBus) { var self = this; @@ -42634,7 +42634,7 @@ TouchFix.prototype.addBBoxMarker = function (svg) { /***/ }), -/***/ 72575: +/***/ 33630: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/touch/TouchInteractionEvents.js ***! \******************************************************************************/ @@ -42645,11 +42645,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ TouchInteractionEvents) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hammerjs */ 57019); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hammerjs */ 66716); /* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(hammerjs__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Event */ 74716); +/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Event */ 73975); @@ -42916,7 +42916,7 @@ TouchInteractionEvents.$inject = ['injector', 'canvas', 'eventBus', 'elementRegi /***/ }), -/***/ 85591: +/***/ 55332: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/features/touch/index.js ***! \*************************************************************/ @@ -42927,9 +42927,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _interaction_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interaction-events */ 57250); -/* harmony import */ var _TouchInteractionEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TouchInteractionEvents */ 72575); -/* harmony import */ var _TouchFix__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TouchFix */ 32473); +/* harmony import */ var _interaction_events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../interaction-events */ 6415); +/* harmony import */ var _TouchInteractionEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TouchInteractionEvents */ 33630); +/* harmony import */ var _TouchFix__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TouchFix */ 79548); @@ -42942,7 +42942,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 3933: +/***/ 7742: /*!*************************************************************!*\ !*** ./node_modules/diagram-js/lib/i18n/translate/index.js ***! \*************************************************************/ @@ -42953,7 +42953,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./translate */ 23755); +/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./translate */ 52036); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ translate: ['value', _translate__WEBPACK_IMPORTED_MODULE_0__["default"]] @@ -42961,7 +42961,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 23755: +/***/ 52036: /*!*****************************************************************!*\ !*** ./node_modules/diagram-js/lib/i18n/translate/translate.js ***! \*****************************************************************/ @@ -42999,7 +42999,7 @@ function translate(template, replacements) { /***/ }), -/***/ 17640: +/***/ 51105: /*!************************************************************!*\ !*** ./node_modules/diagram-js/lib/layout/BaseLayouter.js ***! \************************************************************/ @@ -43010,7 +43010,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BaseLayouter) /* harmony export */ }); -/* harmony import */ var _LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LayoutUtil */ 8610); +/* harmony import */ var _LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LayoutUtil */ 30023); /** @@ -43042,7 +43042,7 @@ BaseLayouter.prototype.layoutConnection = function (connection, hints) { /***/ }), -/***/ 91569: +/***/ 63630: /*!*************************************************************************!*\ !*** ./node_modules/diagram-js/lib/layout/CroppingConnectionDocking.js ***! \*************************************************************************/ @@ -43053,8 +43053,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ CroppingConnectionDocking) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LayoutUtil */ 8610); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LayoutUtil */ 30023); function dockingToPoint(docking) { @@ -43130,7 +43130,7 @@ CroppingConnectionDocking.prototype._getGfx = function (element) { /***/ }), -/***/ 8610: +/***/ 30023: /*!**********************************************************!*\ !*** ./node_modules/diagram-js/lib/layout/LayoutUtil.js ***! \**********************************************************/ @@ -43149,9 +43149,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ roundBounds: () => (/* binding */ roundBounds), /* harmony export */ roundPoint: () => (/* binding */ roundPoint) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/Geometry */ 3242); -/* harmony import */ var path_intersection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! path-intersection */ 67166); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/Geometry */ 33935); +/* harmony import */ var path_intersection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! path-intersection */ 38305); /* harmony import */ var path_intersection__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path_intersection__WEBPACK_IMPORTED_MODULE_0__); @@ -43325,7 +43325,7 @@ function filterRedundantWaypoints(waypoints) { /***/ }), -/***/ 98624: +/***/ 77987: /*!***************************************************************!*\ !*** ./node_modules/diagram-js/lib/layout/ManhattanLayout.js ***! \***************************************************************/ @@ -43340,9 +43340,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ tryLayoutStraight: () => (/* binding */ tryLayoutStraight), /* harmony export */ withoutRedundantPoints: () => (/* binding */ withoutRedundantPoints) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var _LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LayoutUtil */ 8610); -/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/Geometry */ 3242); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var _LayoutUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./LayoutUtil */ 30023); +/* harmony import */ var _util_Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/Geometry */ 33935); @@ -43992,7 +43992,7 @@ function withoutRedundantPoints(waypoints) { /***/ }), -/***/ 83377: +/***/ 94552: /*!****************************************************!*\ !*** ./node_modules/diagram-js/lib/model/index.js ***! \****************************************************/ @@ -44008,10 +44008,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ Shape: () => (/* binding */ Shape), /* harmony export */ create: () => (/* binding */ create) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 98069); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); /* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var object_refs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! object-refs */ 16712); +/* harmony import */ var object_refs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! object-refs */ 82867); /* harmony import */ var object_refs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(object_refs__WEBPACK_IMPORTED_MODULE_1__); @@ -44265,7 +44265,7 @@ function create(type, attrs) { /***/ }), -/***/ 32006: +/***/ 83923: /*!******************************************************************************!*\ !*** ./node_modules/diagram-js/lib/navigation/keyboard-move/KeyboardMove.js ***! \******************************************************************************/ @@ -44276,7 +44276,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ KeyboardMove) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); var DEFAULT_CONFIG = { moveSpeed: 50, @@ -44363,7 +44363,7 @@ KeyboardMove.$inject = ['config.keyboardMove', 'keyboard', 'canvas']; /***/ }), -/***/ 9612: +/***/ 63675: /*!***********************************************************************!*\ !*** ./node_modules/diagram-js/lib/navigation/keyboard-move/index.js ***! \***********************************************************************/ @@ -44374,8 +44374,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _features_keyboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../features/keyboard */ 6329); -/* harmony import */ var _KeyboardMove__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KeyboardMove */ 32006); +/* harmony import */ var _features_keyboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../features/keyboard */ 27464); +/* harmony import */ var _KeyboardMove__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KeyboardMove */ 83923); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ @@ -44386,7 +44386,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 8089: +/***/ 83642: /*!*************************************************************************!*\ !*** ./node_modules/diagram-js/lib/navigation/movecanvas/MoveCanvas.js ***! \*************************************************************************/ @@ -44397,11 +44397,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MoveCanvas) /* harmony export */ }); -/* harmony import */ var _util_Cursor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Cursor */ 89388); -/* harmony import */ var _util_ClickTrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/ClickTrap */ 58767); -/* harmony import */ var _util_PositionUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/PositionUtil */ 28929); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Event */ 74716); +/* harmony import */ var _util_Cursor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Cursor */ 89765); +/* harmony import */ var _util_ClickTrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/ClickTrap */ 34200); +/* harmony import */ var _util_PositionUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/PositionUtil */ 67436); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _util_Event__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Event */ 73975); @@ -44490,7 +44490,7 @@ function length(point) { /***/ }), -/***/ 26962: +/***/ 89195: /*!********************************************************************!*\ !*** ./node_modules/diagram-js/lib/navigation/movecanvas/index.js ***! \********************************************************************/ @@ -44501,7 +44501,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _MoveCanvas__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MoveCanvas */ 8089); +/* harmony import */ var _MoveCanvas__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MoveCanvas */ 83642); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['moveCanvas'], @@ -44510,7 +44510,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 16342: +/***/ 22857: /*!***************************************************************!*\ !*** ./node_modules/diagram-js/lib/navigation/touch/index.js ***! \***************************************************************/ @@ -44521,7 +44521,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _features_touch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../features/touch */ 85591); +/* harmony import */ var _features_touch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../features/touch */ 55332); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __depends__: [_features_touch__WEBPACK_IMPORTED_MODULE_0__["default"]] @@ -44529,7 +44529,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 42827: +/***/ 64260: /*!*************************************************************************!*\ !*** ./node_modules/diagram-js/lib/navigation/zoomscroll/ZoomScroll.js ***! \*************************************************************************/ @@ -44540,10 +44540,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ ZoomScroll) /* harmony export */ }); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 73599); -/* harmony import */ var _ZoomUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ZoomUtil */ 34538); -/* harmony import */ var _util_Math__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Math */ 35964); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var _ZoomUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ZoomUtil */ 59125); +/* harmony import */ var _util_Math__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/Math */ 67449); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); @@ -44721,7 +44721,7 @@ ZoomScroll.prototype._init = function (newEnabled) { /***/ }), -/***/ 34538: +/***/ 59125: /*!***********************************************************************!*\ !*** ./node_modules/diagram-js/lib/navigation/zoomscroll/ZoomUtil.js ***! \***********************************************************************/ @@ -44733,7 +44733,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ cap: () => (/* binding */ cap), /* harmony export */ getStepSize: () => (/* binding */ getStepSize) /* harmony export */ }); -/* harmony import */ var _util_Math__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Math */ 35964); +/* harmony import */ var _util_Math__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../util/Math */ 67449); /** @@ -44755,7 +44755,7 @@ function cap(range, scale) { /***/ }), -/***/ 8901: +/***/ 23732: /*!********************************************************************!*\ !*** ./node_modules/diagram-js/lib/navigation/zoomscroll/index.js ***! \********************************************************************/ @@ -44766,7 +44766,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -/* harmony import */ var _ZoomScroll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ZoomScroll */ 42827); +/* harmony import */ var _ZoomScroll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ZoomScroll */ 64260); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __init__: ['zoomScroll'], @@ -44775,7 +44775,7 @@ __webpack_require__.r(__webpack_exports__); /***/ }), -/***/ 93999: +/***/ 34858: /*!********************************************************!*\ !*** ./node_modules/diagram-js/lib/util/AttachUtil.js ***! \********************************************************/ @@ -44787,8 +44787,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getNewAttachPoint: () => (/* binding */ getNewAttachPoint), /* harmony export */ getNewAttachShapeDelta: () => (/* binding */ getNewAttachShapeDelta) /* harmony export */ }); -/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../layout/LayoutUtil */ 8610); -/* harmony import */ var _PositionUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PositionUtil */ 28929); +/* harmony import */ var _layout_LayoutUtil__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../layout/LayoutUtil */ 30023); +/* harmony import */ var _PositionUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PositionUtil */ 67436); @@ -44905,7 +44905,7 @@ function isVerticallyMoved(oldTRBL, newTRBL) { /***/ }), -/***/ 58767: +/***/ 34200: /*!*******************************************************!*\ !*** ./node_modules/diagram-js/lib/util/ClickTrap.js ***! \*******************************************************/ @@ -44936,7 +44936,7 @@ function install(eventBus, eventName) { /***/ }), -/***/ 39233: +/***/ 90238: /*!*********************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Collections.js ***! \*********************************************************/ @@ -45025,7 +45025,7 @@ function indexOf(collection, element) { /***/ }), -/***/ 89388: +/***/ 89765: /*!****************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Cursor.js ***! \****************************************************/ @@ -45038,7 +45038,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ set: () => (/* binding */ set), /* harmony export */ unset: () => (/* binding */ unset) /* harmony export */ }); -/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 73599); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dom */ 63030); var CURSOR_CLS_PATTERN = /^djs-cursor-.*$/; function set(mode) { @@ -45058,7 +45058,7 @@ function has(mode) { /***/ }), -/***/ 35723: +/***/ 39922: /*!******************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Elements.js ***! \******************************************************/ @@ -45079,7 +45079,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ selfAndChildren: () => (/* binding */ selfAndChildren), /* harmony export */ selfAndDirectChildren: () => (/* binding */ selfAndDirectChildren) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -45366,7 +45366,7 @@ function copyObject(src1, src2) { /***/ }), -/***/ 43357: +/***/ 19900: /*!********************************************************!*\ !*** ./node_modules/diagram-js/lib/util/EscapeUtil.js ***! \********************************************************/ @@ -45378,7 +45378,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ escapeCSS: () => (/* reexport default from dynamic */ css_escape__WEBPACK_IMPORTED_MODULE_0___default.a), /* harmony export */ escapeHTML: () => (/* binding */ escapeHTML) /* harmony export */ }); -/* harmony import */ var css_escape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! css.escape */ 96169); +/* harmony import */ var css_escape__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! css.escape */ 22185); /* harmony import */ var css_escape__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(css_escape__WEBPACK_IMPORTED_MODULE_0__); var HTML_ESCAPE_MAP = { @@ -45397,7 +45397,7 @@ function escapeHTML(str) { /***/ }), -/***/ 74716: +/***/ 73975: /*!***************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Event.js ***! \***************************************************/ @@ -45438,7 +45438,7 @@ function toPoint(event) { /***/ }), -/***/ 3242: +/***/ 33935: /*!******************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Geometry.js ***! \******************************************************/ @@ -45455,7 +45455,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ pointsAlignedVertically: () => (/* binding */ pointsAlignedVertically), /* harmony export */ pointsOnLine: () => (/* binding */ pointsOnLine) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); /** @@ -45577,7 +45577,7 @@ function getMidPoint(p, q) { /***/ }), -/***/ 35451: +/***/ 2618: /*!**********************************************************!*\ !*** ./node_modules/diagram-js/lib/util/GraphicsUtil.js ***! \**********************************************************/ @@ -45619,7 +45619,7 @@ function getChildren(gfx) { /***/ }), -/***/ 39902: +/***/ 15149: /*!*********************************************************!*\ !*** ./node_modules/diagram-js/lib/util/IdGenerator.js ***! \*********************************************************/ @@ -45659,7 +45659,7 @@ IdGenerator.prototype.next = function () { /***/ }), -/***/ 91373: +/***/ 47860: /*!**************************************************************!*\ !*** ./node_modules/diagram-js/lib/util/LineIntersection.js ***! \**************************************************************/ @@ -45670,8 +45670,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ getApproxIntersection: () => (/* binding */ getApproxIntersection) /* harmony export */ }); -/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Geometry */ 3242); -/* harmony import */ var path_intersection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! path-intersection */ 67166); +/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Geometry */ 33935); +/* harmony import */ var path_intersection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! path-intersection */ 38305); /* harmony import */ var path_intersection__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path_intersection__WEBPACK_IMPORTED_MODULE_0__); @@ -45755,7 +45755,7 @@ function getApproxIntersection(waypoints, reference) { /***/ }), -/***/ 35964: +/***/ 67449: /*!**************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Math.js ***! \**************************************************/ @@ -45767,7 +45767,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ log10: () => (/* binding */ log10), /* harmony export */ substract: () => (/* reexport safe */ _PositionUtil__WEBPACK_IMPORTED_MODULE_0__.delta) /* harmony export */ }); -/* harmony import */ var _PositionUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PositionUtil */ 28929); +/* harmony import */ var _PositionUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PositionUtil */ 67436); /** * Get the logarithm of x with base 10 * @param {Integer} value @@ -45779,7 +45779,7 @@ function log10(x) { /***/ }), -/***/ 53171: +/***/ 26600: /*!***************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Mouse.js ***! \***************************************************/ @@ -45796,8 +45796,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isPrimaryButton: () => (/* binding */ isPrimaryButton), /* harmony export */ isSecondaryButton: () => (/* binding */ isSecondaryButton) /* harmony export */ }); -/* harmony import */ var _Event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Event */ 74716); -/* harmony import */ var _Platform__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Platform */ 90717); +/* harmony import */ var _Event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Event */ 73975); +/* harmony import */ var _Platform__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Platform */ 30456); @@ -45836,7 +45836,7 @@ function hasSecondaryModifier(event) { /***/ }), -/***/ 90717: +/***/ 30456: /*!******************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Platform.js ***! \******************************************************/ @@ -45853,7 +45853,7 @@ function isMac() { /***/ }), -/***/ 28929: +/***/ 67436: /*!**********************************************************!*\ !*** ./node_modules/diagram-js/lib/util/PositionUtil.js ***! \**********************************************************/ @@ -45880,7 +45880,7 @@ function delta(a, b) { /***/ }), -/***/ 80324: +/***/ 63335: /*!*****************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Removal.js ***! \*****************************************************/ @@ -45923,7 +45923,7 @@ function saveClear(collection, removeFn) { /***/ }), -/***/ 96546: +/***/ 97915: /*!********************************************************!*\ !*** ./node_modules/diagram-js/lib/util/RenderUtil.js ***! \********************************************************/ @@ -45937,7 +45937,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ toSVGPoints: () => (/* binding */ toSVGPoints), /* harmony export */ updateLine: () => (/* binding */ updateLine) /* harmony export */ }); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); function componentsToPath(elements) { return elements.join(',').replace(/,?([A-z]),?/g, '$1'); @@ -45968,7 +45968,7 @@ function updateLine(gfx, points) { /***/ }), -/***/ 81384: +/***/ 53813: /*!**************************************************************!*\ !*** ./node_modules/diagram-js/lib/util/SvgTransformUtil.js ***! \**************************************************************/ @@ -45982,7 +45982,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ transform: () => (/* binding */ transform), /* harmony export */ translate: () => (/* binding */ translate) /* harmony export */ }); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tiny-svg */ 87004); /** @@ -46035,7 +46035,7 @@ function scale(gfx, amount) { /***/ }), -/***/ 46209: +/***/ 97036: /*!**************************************************!*\ !*** ./node_modules/diagram-js/lib/util/Text.js ***! \**************************************************/ @@ -46046,8 +46046,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Text) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 47504); -/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 57491); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 11451); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tiny-svg */ 87004); var DEFAULT_BOX_PADDING = 0; @@ -46356,7 +46356,7 @@ function getLineHeight(style) { /***/ }), -/***/ 47504: +/***/ 11451: /*!****************!*\ !*** min-dash ***! \****************/ @@ -47049,7 +47049,7 @@ function merge(target) { /***/ }), -/***/ 12668: +/***/ 36811: /*!*********************************************!*\ !*** ./node_modules/didi/dist/index.esm.js ***! \*********************************************/ @@ -47341,7 +47341,7 @@ function Injector(modules, parent) { /***/ }), -/***/ 13280: +/***/ 45659: /*!*********************************!*\ !*** ./node_modules/dot/doT.js ***! \*********************************/ @@ -47501,7 +47501,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;// doT.js /***/ }), -/***/ 98030: +/***/ 82307: /*!**************************************************!*\ !*** ./node_modules/es-define-property/index.js ***! \**************************************************/ @@ -47510,7 +47510,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;// doT.js "use strict"; -var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 25118); +var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 39249); /** @type {import('.')} */ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false; @@ -47528,7 +47528,7 @@ module.exports = $defineProperty; /***/ }), -/***/ 87832: +/***/ 7153: /*!****************************************!*\ !*** ./node_modules/es-errors/eval.js ***! \****************************************/ @@ -47542,7 +47542,7 @@ module.exports = EvalError; /***/ }), -/***/ 80204: +/***/ 50939: /*!*****************************************!*\ !*** ./node_modules/es-errors/index.js ***! \*****************************************/ @@ -47556,7 +47556,7 @@ module.exports = Error; /***/ }), -/***/ 51649: +/***/ 61486: /*!*****************************************!*\ !*** ./node_modules/es-errors/range.js ***! \*****************************************/ @@ -47570,7 +47570,7 @@ module.exports = RangeError; /***/ }), -/***/ 12433: +/***/ 74654: /*!***************************************!*\ !*** ./node_modules/es-errors/ref.js ***! \***************************************/ @@ -47584,7 +47584,7 @@ module.exports = ReferenceError; /***/ }), -/***/ 28769: +/***/ 1144: /*!******************************************!*\ !*** ./node_modules/es-errors/syntax.js ***! \******************************************/ @@ -47598,7 +47598,7 @@ module.exports = SyntaxError; /***/ }), -/***/ 70970: +/***/ 39327: /*!****************************************!*\ !*** ./node_modules/es-errors/type.js ***! \****************************************/ @@ -47612,7 +47612,7 @@ module.exports = TypeError; /***/ }), -/***/ 82378: +/***/ 6005: /*!***************************************!*\ !*** ./node_modules/es-errors/uri.js ***! \***************************************/ @@ -47626,7 +47626,7 @@ module.exports = URIError; /***/ }), -/***/ 30235: +/***/ 77990: /*!****************************************!*\ !*** ./node_modules/for-each/index.js ***! \****************************************/ @@ -47635,7 +47635,7 @@ module.exports = URIError; "use strict"; -var isCallable = __webpack_require__(/*! is-callable */ 84107); +var isCallable = __webpack_require__(/*! is-callable */ 76460); var toStr = Object.prototype.toString; var hasOwnProperty = Object.prototype.hasOwnProperty; var forEachArray = function forEachArray(array, iterator, receiver) { @@ -47690,7 +47690,7 @@ module.exports = forEach; /***/ }), -/***/ 26040: +/***/ 10421: /*!******************************************************!*\ !*** ./node_modules/function-bind/implementation.js ***! \******************************************************/ @@ -47765,7 +47765,7 @@ module.exports = function bind(that) { /***/ }), -/***/ 28244: +/***/ 42307: /*!*********************************************!*\ !*** ./node_modules/function-bind/index.js ***! \*********************************************/ @@ -47774,12 +47774,12 @@ module.exports = function bind(that) { "use strict"; -var implementation = __webpack_require__(/*! ./implementation */ 26040); +var implementation = __webpack_require__(/*! ./implementation */ 10421); module.exports = Function.prototype.bind || implementation; /***/ }), -/***/ 25118: +/***/ 39249: /*!*********************************************!*\ !*** ./node_modules/get-intrinsic/index.js ***! \*********************************************/ @@ -47789,13 +47789,13 @@ module.exports = Function.prototype.bind || implementation; var undefined; -var $Error = __webpack_require__(/*! es-errors */ 80204); -var $EvalError = __webpack_require__(/*! es-errors/eval */ 87832); -var $RangeError = __webpack_require__(/*! es-errors/range */ 51649); -var $ReferenceError = __webpack_require__(/*! es-errors/ref */ 12433); -var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ 28769); -var $TypeError = __webpack_require__(/*! es-errors/type */ 70970); -var $URIError = __webpack_require__(/*! es-errors/uri */ 82378); +var $Error = __webpack_require__(/*! es-errors */ 50939); +var $EvalError = __webpack_require__(/*! es-errors/eval */ 7153); +var $RangeError = __webpack_require__(/*! es-errors/range */ 61486); +var $ReferenceError = __webpack_require__(/*! es-errors/ref */ 74654); +var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ 1144); +var $TypeError = __webpack_require__(/*! es-errors/type */ 39327); +var $URIError = __webpack_require__(/*! es-errors/uri */ 6005); var $Function = Function; // eslint-disable-next-line consistent-return @@ -47830,8 +47830,8 @@ var ThrowTypeError = $gOPD ? function () { } } }() : throwTypeError; -var hasSymbols = __webpack_require__(/*! has-symbols */ 17936)(); -var hasProto = __webpack_require__(/*! has-proto */ 50811)(); +var hasSymbols = __webpack_require__(/*! has-symbols */ 27067)(); +var hasProto = __webpack_require__(/*! has-proto */ 70908)(); var getProto = Object.getPrototypeOf || (hasProto ? function (x) { return x.__proto__; } // eslint-disable-line no-proto @@ -47993,8 +47993,8 @@ var LEGACY_ALIASES = { '%WeakMapPrototype%': ['WeakMap', 'prototype'], '%WeakSetPrototype%': ['WeakSet', 'prototype'] }; -var bind = __webpack_require__(/*! function-bind */ 28244); -var hasOwn = __webpack_require__(/*! hasown */ 48196); +var bind = __webpack_require__(/*! function-bind */ 42307); +var hasOwn = __webpack_require__(/*! hasown */ 45961); var $concat = bind.call(Function.call, Array.prototype.concat); var $spliceApply = bind.call(Function.apply, Array.prototype.splice); var $replace = bind.call(Function.call, String.prototype.replace); @@ -48115,7 +48115,7 @@ module.exports = function GetIntrinsic(name, allowMissing) { /***/ }), -/***/ 56730: +/***/ 91031: /*!************************************!*\ !*** ./node_modules/gopd/index.js ***! \************************************/ @@ -48124,7 +48124,7 @@ module.exports = function GetIntrinsic(name, allowMissing) { "use strict"; -var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 25118); +var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 39249); var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); if ($gOPD) { try { @@ -48138,7 +48138,7 @@ module.exports = $gOPD; /***/ }), -/***/ 57019: +/***/ 66716: /*!*****************************************!*\ !*** ./node_modules/hammerjs/hammer.js ***! \*****************************************/ @@ -50565,7 +50565,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! Hammer.JS - v2.0.7 - 2016-04-22 /***/ }), -/***/ 85593: +/***/ 4052: /*!********************************************************!*\ !*** ./node_modules/has-property-descriptors/index.js ***! \********************************************************/ @@ -50574,7 +50574,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! Hammer.JS - v2.0.7 - 2016-04-22 "use strict"; -var $defineProperty = __webpack_require__(/*! es-define-property */ 98030); +var $defineProperty = __webpack_require__(/*! es-define-property */ 82307); var hasPropertyDescriptors = function hasPropertyDescriptors() { return !!$defineProperty; }; @@ -50596,7 +50596,7 @@ module.exports = hasPropertyDescriptors; /***/ }), -/***/ 50811: +/***/ 70908: /*!*****************************************!*\ !*** ./node_modules/has-proto/index.js ***! \*****************************************/ @@ -50619,7 +50619,7 @@ module.exports = function hasProto() { /***/ }), -/***/ 17936: +/***/ 27067: /*!*******************************************!*\ !*** ./node_modules/has-symbols/index.js ***! \*******************************************/ @@ -50629,7 +50629,7 @@ module.exports = function hasProto() { var origSymbol = typeof Symbol !== 'undefined' && Symbol; -var hasSymbolSham = __webpack_require__(/*! ./shams */ 7186); +var hasSymbolSham = __webpack_require__(/*! ./shams */ 95401); module.exports = function hasNativeSymbols() { if (typeof origSymbol !== 'function') { return false; @@ -50648,7 +50648,7 @@ module.exports = function hasNativeSymbols() { /***/ }), -/***/ 7186: +/***/ 95401: /*!*******************************************!*\ !*** ./node_modules/has-symbols/shams.js ***! \*******************************************/ @@ -50715,7 +50715,7 @@ module.exports = function hasSymbols() { /***/ }), -/***/ 91279: +/***/ 98984: /*!***********************************************!*\ !*** ./node_modules/has-tostringtag/shams.js ***! \***********************************************/ @@ -50724,14 +50724,14 @@ module.exports = function hasSymbols() { "use strict"; -var hasSymbols = __webpack_require__(/*! has-symbols/shams */ 7186); +var hasSymbols = __webpack_require__(/*! has-symbols/shams */ 95401); module.exports = function hasToStringTagShams() { return hasSymbols() && !!Symbol.toStringTag; }; /***/ }), -/***/ 48196: +/***/ 45961: /*!**************************************!*\ !*** ./node_modules/hasown/index.js ***! \**************************************/ @@ -50742,14 +50742,14 @@ module.exports = function hasToStringTagShams() { var call = Function.prototype.call; var $hasOwn = Object.prototype.hasOwnProperty; -var bind = __webpack_require__(/*! function-bind */ 28244); +var bind = __webpack_require__(/*! function-bind */ 42307); /** @type {(o: {}, p: PropertyKey) => p is keyof o} */ module.exports = bind.call(call, $hasOwn); /***/ }), -/***/ 70678: +/***/ 28287: /*!********************************************!*\ !*** ./node_modules/ids/dist/index.esm.js ***! \********************************************/ @@ -50902,10 +50902,11 @@ Ids.prototype.clear = function () { } }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Ids); +//# sourceMappingURL=index.esm.js.map /***/ }), -/***/ 98069: +/***/ 51270: /*!***************************************************!*\ !*** ./node_modules/inherits/inherits_browser.js ***! \***************************************************/ @@ -50941,7 +50942,7 @@ if (typeof Object.create === 'function') { /***/ }), -/***/ 64257: +/***/ 77984: /*!********************************************!*\ !*** ./node_modules/is-arguments/index.js ***! \********************************************/ @@ -50950,8 +50951,8 @@ if (typeof Object.create === 'function') { "use strict"; -var hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ 91279)(); -var callBound = __webpack_require__(/*! call-bind/callBound */ 26112); +var hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ 98984)(); +var callBound = __webpack_require__(/*! call-bind/callBound */ 54831); var $toString = callBound('Object.prototype.toString'); var isStandardArguments = function isArguments(value) { if (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) { @@ -50974,7 +50975,7 @@ module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArgum /***/ }), -/***/ 84107: +/***/ 76460: /*!*******************************************!*\ !*** ./node_modules/is-callable/index.js ***! \*******************************************/ @@ -51104,7 +51105,7 @@ module.exports = reflectApply ? function isCallable(value) { /***/ }), -/***/ 12963: +/***/ 97276: /*!*****************************************************!*\ !*** ./node_modules/is-generator-function/index.js ***! \*****************************************************/ @@ -51116,7 +51117,7 @@ module.exports = reflectApply ? function isCallable(value) { var toStr = Object.prototype.toString; var fnToStr = Function.prototype.toString; var isFnRegex = /^\s*(?:function)?\*/; -var hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ 91279)(); +var hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ 98984)(); var getProto = Object.getPrototypeOf; var getGeneratorFunc = function () { // eslint-disable-line consistent-return @@ -51151,7 +51152,7 @@ module.exports = function isGeneratorFunction(fn) { /***/ }), -/***/ 85357: +/***/ 26468: /*!**********************************************!*\ !*** ./node_modules/is-typed-array/index.js ***! \**********************************************/ @@ -51160,14 +51161,14 @@ module.exports = function isGeneratorFunction(fn) { "use strict"; -var whichTypedArray = __webpack_require__(/*! which-typed-array */ 93960); +var whichTypedArray = __webpack_require__(/*! which-typed-array */ 97323); module.exports = function isTypedArray(value) { return !!whichTypedArray(value); }; /***/ }), -/***/ 73599: +/***/ 63030: /*!************************************************!*\ !*** ./node_modules/min-dom/dist/index.esm.js ***! \************************************************/ @@ -51741,7 +51742,7 @@ function remove(el) { /***/ }), -/***/ 54045: +/***/ 91634: /*!***************************************************!*\ !*** ./node_modules/moddle-xml/dist/index.esm.js ***! \***************************************************/ @@ -51753,9 +51754,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ Reader: () => (/* binding */ Reader), /* harmony export */ Writer: () => (/* binding */ Writer) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 19080); -/* harmony import */ var saxen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! saxen */ 73881); -/* harmony import */ var moddle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moddle */ 22377); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 27275); +/* harmony import */ var saxen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! saxen */ 50920); +/* harmony import */ var moddle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moddle */ 52886); @@ -53172,7 +53173,7 @@ function Writer(options) { /***/ }), -/***/ 19080: +/***/ 27275: /*!****************!*\ !*** min-dash ***! \****************/ @@ -53865,7 +53866,7 @@ function merge(target) { /***/ }), -/***/ 22377: +/***/ 52886: /*!***********************************************!*\ !*** ./node_modules/moddle/dist/index.esm.js ***! \***********************************************/ @@ -53880,7 +53881,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isSimpleType: () => (/* binding */ isSimple), /* harmony export */ parseNameNS: () => (/* binding */ parseName) /* harmony export */ }); -/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 57708); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 79991); /** @@ -54674,7 +54675,7 @@ Moddle.prototype.getTypeDescriptor = function (type) { /***/ }), -/***/ 57708: +/***/ 79991: /*!****************!*\ !*** min-dash ***! \****************/ @@ -55367,18 +55368,18 @@ function merge(target) { /***/ }), -/***/ 16712: +/***/ 82867: /*!*******************************************!*\ !*** ./node_modules/object-refs/index.js ***! \*******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = __webpack_require__(/*! ./lib/refs */ 18172); -module.exports.Collection = __webpack_require__(/*! ./lib/collection */ 79118); +module.exports = __webpack_require__(/*! ./lib/refs */ 49389); +module.exports.Collection = __webpack_require__(/*! ./lib/collection */ 12251); /***/ }), -/***/ 79118: +/***/ 12251: /*!****************************************************!*\ !*** ./node_modules/object-refs/lib/collection.js ***! \****************************************************/ @@ -55496,7 +55497,7 @@ module.exports.isExtended = isExtended; /***/ }), -/***/ 18172: +/***/ 49389: /*!**********************************************!*\ !*** ./node_modules/object-refs/lib/refs.js ***! \**********************************************/ @@ -55505,7 +55506,7 @@ module.exports.isExtended = isExtended; "use strict"; -var Collection = __webpack_require__(/*! ./collection */ 79118); +var Collection = __webpack_require__(/*! ./collection */ 12251); function hasOwnProperty(e, property) { return Object.prototype.hasOwnProperty.call(e, property.name || property); } @@ -55675,7 +55676,7 @@ module.exports = Refs; /***/ }), -/***/ 67166: +/***/ 38305: /*!*****************************************************!*\ !*** ./node_modules/path-intersection/intersect.js ***! \*****************************************************/ @@ -56463,7 +56464,7 @@ module.exports = findPathIntersections; /***/ }), -/***/ 96273: +/***/ 37578: /*!*****************************************!*\ !*** ./node_modules/process/browser.js ***! \*****************************************/ @@ -56647,7 +56648,7 @@ process.umask = function () { /***/ }), -/***/ 95536: +/***/ 95981: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/BehaviorSubject.js ***! \****************************************************************/ @@ -56658,7 +56659,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ BehaviorSubject: () => (/* binding */ BehaviorSubject) /* harmony export */ }); -/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ 63150); +/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ 907); class BehaviorSubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__.Subject { constructor(_value) { @@ -56689,10 +56690,11 @@ class BehaviorSubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__.Subject { super.next(this._value = value); } } +//# sourceMappingURL=BehaviorSubject.js.map /***/ }), -/***/ 68465: +/***/ 52820: /*!**********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/NotificationFactories.js ***! \**********************************************************************/ @@ -56720,10 +56722,11 @@ function createNotification(kind, value, error) { error }; } +//# sourceMappingURL=NotificationFactories.js.map /***/ }), -/***/ 64517: +/***/ 99406: /*!***********************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/Observable.js ***! \***********************************************************/ @@ -56734,13 +56737,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Observable: () => (/* binding */ Observable) /* harmony export */ }); -/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 4258); -/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Subscription */ 36421); -/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./symbol/observable */ 44770); -/* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/pipe */ 2652); -/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ 90302); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util/isFunction */ 78347); -/* harmony import */ var _util_errorContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/errorContext */ 38806); +/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 51421); +/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Subscription */ 42486); +/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./symbol/observable */ 1479); +/* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/pipe */ 46106); +/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ 42493); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util/isFunction */ 54418); +/* harmony import */ var _util_errorContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/errorContext */ 52895); @@ -56748,75 +56751,78 @@ __webpack_require__.r(__webpack_exports__); -class Observable { - constructor(subscribe) { - if (subscribe) { - this._subscribe = subscribe; +let Observable = /*#__PURE__*/(() => { + class Observable { + constructor(subscribe) { + if (subscribe) { + this._subscribe = subscribe; + } } - } - lift(operator) { - const observable = new Observable(); - observable.source = this; - observable.operator = operator; - return observable; - } - subscribe(observerOrNext, error, complete) { - const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new _Subscriber__WEBPACK_IMPORTED_MODULE_0__.SafeSubscriber(observerOrNext, error, complete); - (0,_util_errorContext__WEBPACK_IMPORTED_MODULE_1__.errorContext)(() => { - const { - operator, - source - } = this; - subscriber.add(operator ? operator.call(subscriber, source) : source ? this._subscribe(subscriber) : this._trySubscribe(subscriber)); - }); - return subscriber; - } - _trySubscribe(sink) { - try { - return this._subscribe(sink); - } catch (err) { - sink.error(err); + lift(operator) { + const observable = new Observable(); + observable.source = this; + observable.operator = operator; + return observable; } - } - forEach(next, promiseCtor) { - promiseCtor = getPromiseCtor(promiseCtor); - return new promiseCtor((resolve, reject) => { - const subscriber = new _Subscriber__WEBPACK_IMPORTED_MODULE_0__.SafeSubscriber({ - next: value => { - try { - next(value); - } catch (err) { - reject(err); - subscriber.unsubscribe(); - } - }, - error: reject, - complete: resolve + subscribe(observerOrNext, error, complete) { + const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new _Subscriber__WEBPACK_IMPORTED_MODULE_0__.SafeSubscriber(observerOrNext, error, complete); + (0,_util_errorContext__WEBPACK_IMPORTED_MODULE_1__.errorContext)(() => { + const { + operator, + source + } = this; + subscriber.add(operator ? operator.call(subscriber, source) : source ? this._subscribe(subscriber) : this._trySubscribe(subscriber)); }); - this.subscribe(subscriber); - }); - } - _subscribe(subscriber) { - var _a; - return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber); - } - [_symbol_observable__WEBPACK_IMPORTED_MODULE_2__.observable]() { - return this; - } - pipe(...operations) { - return (0,_util_pipe__WEBPACK_IMPORTED_MODULE_3__.pipeFromArray)(operations)(this); - } - toPromise(promiseCtor) { - promiseCtor = getPromiseCtor(promiseCtor); - return new promiseCtor((resolve, reject) => { - let value; - this.subscribe(x => value = x, err => reject(err), () => resolve(value)); - }); + return subscriber; + } + _trySubscribe(sink) { + try { + return this._subscribe(sink); + } catch (err) { + sink.error(err); + } + } + forEach(next, promiseCtor) { + promiseCtor = getPromiseCtor(promiseCtor); + return new promiseCtor((resolve, reject) => { + const subscriber = new _Subscriber__WEBPACK_IMPORTED_MODULE_0__.SafeSubscriber({ + next: value => { + try { + next(value); + } catch (err) { + reject(err); + subscriber.unsubscribe(); + } + }, + error: reject, + complete: resolve + }); + this.subscribe(subscriber); + }); + } + _subscribe(subscriber) { + var _a; + return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber); + } + [_symbol_observable__WEBPACK_IMPORTED_MODULE_2__.observable]() { + return this; + } + pipe(...operations) { + return (0,_util_pipe__WEBPACK_IMPORTED_MODULE_3__.pipeFromArray)(operations)(this); + } + toPromise(promiseCtor) { + promiseCtor = getPromiseCtor(promiseCtor); + return new promiseCtor((resolve, reject) => { + let value; + this.subscribe(x => value = x, err => reject(err), () => resolve(value)); + }); + } } -} -Observable.create = subscribe => { - return new Observable(subscribe); -}; + Observable.create = subscribe => { + return new Observable(subscribe); + }; + return Observable; +})(); function getPromiseCtor(promiseCtor) { var _a; return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : _config__WEBPACK_IMPORTED_MODULE_4__.config.Promise) !== null && _a !== void 0 ? _a : Promise; @@ -56827,10 +56833,11 @@ function isObserver(value) { function isSubscriber(value) { return value && value instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber || isObserver(value) && (0,_Subscription__WEBPACK_IMPORTED_MODULE_6__.isSubscription)(value); } +//# sourceMappingURL=Observable.js.map /***/ }), -/***/ 61151: +/***/ 39090: /*!**************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/ReplaySubject.js ***! \**************************************************************/ @@ -56841,8 +56848,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ ReplaySubject: () => (/* binding */ ReplaySubject) /* harmony export */ }); -/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ 63150); -/* harmony import */ var _scheduler_dateTimestampProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduler/dateTimestampProvider */ 7221); +/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ 907); +/* harmony import */ var _scheduler_dateTimestampProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduler/dateTimestampProvider */ 4808); class ReplaySubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__.Subject { @@ -56906,10 +56913,11 @@ class ReplaySubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__.Subject { } } } +//# sourceMappingURL=ReplaySubject.js.map /***/ }), -/***/ 14267: +/***/ 19986: /*!**********************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/Scheduler.js ***! \**********************************************************/ @@ -56920,7 +56928,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Scheduler: () => (/* binding */ Scheduler) /* harmony export */ }); -/* harmony import */ var _scheduler_dateTimestampProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scheduler/dateTimestampProvider */ 7221); +/* harmony import */ var _scheduler_dateTimestampProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scheduler/dateTimestampProvider */ 4808); class Scheduler { constructor(schedulerActionCtor, now = Scheduler.now) { @@ -56932,10 +56940,11 @@ class Scheduler { } } Scheduler.now = _scheduler_dateTimestampProvider__WEBPACK_IMPORTED_MODULE_0__.dateTimestampProvider.now; +//# sourceMappingURL=Scheduler.js.map /***/ }), -/***/ 63150: +/***/ 907: /*!********************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/Subject.js ***! \********************************************************/ @@ -56947,132 +56956,135 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ AnonymousSubject: () => (/* binding */ AnonymousSubject), /* harmony export */ Subject: () => (/* binding */ Subject) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Observable */ 64517); -/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Subscription */ 36421); -/* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ 24649); -/* harmony import */ var _util_arrRemove__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/arrRemove */ 38248); -/* harmony import */ var _util_errorContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/errorContext */ 38806); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Observable */ 99406); +/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Subscription */ 42486); +/* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ 86398); +/* harmony import */ var _util_arrRemove__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/arrRemove */ 79583); +/* harmony import */ var _util_errorContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/errorContext */ 52895); -class Subject extends _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable { - constructor() { - super(); - this.closed = false; - this.currentObservers = null; - this.observers = []; - this.isStopped = false; - this.hasError = false; - this.thrownError = null; - } - lift(operator) { - const subject = new AnonymousSubject(this, this); - subject.operator = operator; - return subject; - } - _throwIfClosed() { - if (this.closed) { - throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__.ObjectUnsubscribedError(); +let Subject = /*#__PURE__*/(() => { + class Subject extends _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable { + constructor() { + super(); + this.closed = false; + this.currentObservers = null; + this.observers = []; + this.isStopped = false; + this.hasError = false; + this.thrownError = null; } - } - next(value) { - (0,_util_errorContext__WEBPACK_IMPORTED_MODULE_2__.errorContext)(() => { - this._throwIfClosed(); - if (!this.isStopped) { - if (!this.currentObservers) { - this.currentObservers = Array.from(this.observers); + lift(operator) { + const subject = new AnonymousSubject(this, this); + subject.operator = operator; + return subject; + } + _throwIfClosed() { + if (this.closed) { + throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__.ObjectUnsubscribedError(); + } + } + next(value) { + (0,_util_errorContext__WEBPACK_IMPORTED_MODULE_2__.errorContext)(() => { + this._throwIfClosed(); + if (!this.isStopped) { + if (!this.currentObservers) { + this.currentObservers = Array.from(this.observers); + } + for (const observer of this.currentObservers) { + observer.next(value); + } } - for (const observer of this.currentObservers) { - observer.next(value); + }); + } + error(err) { + (0,_util_errorContext__WEBPACK_IMPORTED_MODULE_2__.errorContext)(() => { + this._throwIfClosed(); + if (!this.isStopped) { + this.hasError = this.isStopped = true; + this.thrownError = err; + const { + observers + } = this; + while (observers.length) { + observers.shift().error(err); + } } - } - }); - } - error(err) { - (0,_util_errorContext__WEBPACK_IMPORTED_MODULE_2__.errorContext)(() => { - this._throwIfClosed(); - if (!this.isStopped) { - this.hasError = this.isStopped = true; - this.thrownError = err; - const { - observers - } = this; - while (observers.length) { - observers.shift().error(err); + }); + } + complete() { + (0,_util_errorContext__WEBPACK_IMPORTED_MODULE_2__.errorContext)(() => { + this._throwIfClosed(); + if (!this.isStopped) { + this.isStopped = true; + const { + observers + } = this; + while (observers.length) { + observers.shift().complete(); + } } - } - }); - } - complete() { - (0,_util_errorContext__WEBPACK_IMPORTED_MODULE_2__.errorContext)(() => { + }); + } + unsubscribe() { + this.isStopped = this.closed = true; + this.observers = this.currentObservers = null; + } + get observed() { + var _a; + return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0; + } + _trySubscribe(subscriber) { this._throwIfClosed(); - if (!this.isStopped) { - this.isStopped = true; - const { - observers - } = this; - while (observers.length) { - observers.shift().complete(); - } - } - }); - } - unsubscribe() { - this.isStopped = this.closed = true; - this.observers = this.currentObservers = null; - } - get observed() { - var _a; - return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0; - } - _trySubscribe(subscriber) { - this._throwIfClosed(); - return super._trySubscribe(subscriber); - } - _subscribe(subscriber) { - this._throwIfClosed(); - this._checkFinalizedStatuses(subscriber); - return this._innerSubscribe(subscriber); - } - _innerSubscribe(subscriber) { - const { - hasError, - isStopped, - observers - } = this; - if (hasError || isStopped) { - return _Subscription__WEBPACK_IMPORTED_MODULE_3__.EMPTY_SUBSCRIPTION; + return super._trySubscribe(subscriber); + } + _subscribe(subscriber) { + this._throwIfClosed(); + this._checkFinalizedStatuses(subscriber); + return this._innerSubscribe(subscriber); } - this.currentObservers = null; - observers.push(subscriber); - return new _Subscription__WEBPACK_IMPORTED_MODULE_3__.Subscription(() => { + _innerSubscribe(subscriber) { + const { + hasError, + isStopped, + observers + } = this; + if (hasError || isStopped) { + return _Subscription__WEBPACK_IMPORTED_MODULE_3__.EMPTY_SUBSCRIPTION; + } this.currentObservers = null; - (0,_util_arrRemove__WEBPACK_IMPORTED_MODULE_4__.arrRemove)(observers, subscriber); - }); - } - _checkFinalizedStatuses(subscriber) { - const { - hasError, - thrownError, - isStopped - } = this; - if (hasError) { - subscriber.error(thrownError); - } else if (isStopped) { - subscriber.complete(); + observers.push(subscriber); + return new _Subscription__WEBPACK_IMPORTED_MODULE_3__.Subscription(() => { + this.currentObservers = null; + (0,_util_arrRemove__WEBPACK_IMPORTED_MODULE_4__.arrRemove)(observers, subscriber); + }); + } + _checkFinalizedStatuses(subscriber) { + const { + hasError, + thrownError, + isStopped + } = this; + if (hasError) { + subscriber.error(thrownError); + } else if (isStopped) { + subscriber.complete(); + } + } + asObservable() { + const observable = new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(); + observable.source = this; + return observable; } } - asObservable() { - const observable = new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(); - observable.source = this; - return observable; - } -} -Subject.create = (destination, source) => { - return new AnonymousSubject(destination, source); -}; + Subject.create = (destination, source) => { + return new AnonymousSubject(destination, source); + }; + return Subject; +})(); class AnonymousSubject extends Subject { constructor(destination, source) { super(); @@ -57096,10 +57108,11 @@ class AnonymousSubject extends Subject { return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : _Subscription__WEBPACK_IMPORTED_MODULE_3__.EMPTY_SUBSCRIPTION; } } +//# sourceMappingURL=Subject.js.map /***/ }), -/***/ 4258: +/***/ 51421: /*!***********************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/Subscriber.js ***! \***********************************************************/ @@ -57112,14 +57125,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ SafeSubscriber: () => (/* binding */ SafeSubscriber), /* harmony export */ Subscriber: () => (/* binding */ Subscriber) /* harmony export */ }); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/isFunction */ 78347); -/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscription */ 36421); -/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./config */ 90302); -/* harmony import */ var _util_reportUnhandledError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util/reportUnhandledError */ 38058); -/* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./util/noop */ 86075); -/* harmony import */ var _NotificationFactories__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NotificationFactories */ 68465); -/* harmony import */ var _scheduler_timeoutProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./scheduler/timeoutProvider */ 73514); -/* harmony import */ var _util_errorContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/errorContext */ 38806); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/isFunction */ 54418); +/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscription */ 42486); +/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./config */ 42493); +/* harmony import */ var _util_reportUnhandledError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util/reportUnhandledError */ 76379); +/* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./util/noop */ 20262); +/* harmony import */ var _NotificationFactories__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NotificationFactories */ 52820); +/* harmony import */ var _scheduler_timeoutProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./scheduler/timeoutProvider */ 76171); +/* harmony import */ var _util_errorContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/errorContext */ 52895); @@ -57288,10 +57301,11 @@ const EMPTY_OBSERVER = { error: defaultErrorHandler, complete: _util_noop__WEBPACK_IMPORTED_MODULE_7__.noop }; +//# sourceMappingURL=Subscriber.js.map /***/ }), -/***/ 36421: +/***/ 42486: /*!*************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/Subscription.js ***! \*************************************************************/ @@ -57304,9 +57318,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ Subscription: () => (/* binding */ Subscription), /* harmony export */ isSubscription: () => (/* binding */ isSubscription) /* harmony export */ }); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/isFunction */ 78347); -/* harmony import */ var _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/UnsubscriptionError */ 62907); -/* harmony import */ var _util_arrRemove__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/arrRemove */ 38248); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/isFunction */ 54418); +/* harmony import */ var _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/UnsubscriptionError */ 72676); +/* harmony import */ var _util_arrRemove__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/arrRemove */ 79583); @@ -57431,10 +57445,11 @@ function execFinalizer(finalizer) { finalizer.unsubscribe(); } } +//# sourceMappingURL=Subscription.js.map /***/ }), -/***/ 90302: +/***/ 42493: /*!*******************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/config.js ***! \*******************************************************/ @@ -57452,10 +57467,11 @@ const config = { useDeprecatedSynchronousErrorHandling: false, useDeprecatedNextContext: false }; +//# sourceMappingURL=config.js.map /***/ }), -/***/ 60381: +/***/ 29086: /*!*********************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/ConnectableObservable.js ***! \*********************************************************************************/ @@ -57466,11 +57482,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ ConnectableObservable: () => (/* binding */ ConnectableObservable) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscription */ 36421); -/* harmony import */ var _operators_refCount__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../operators/refCount */ 78606); -/* harmony import */ var _operators_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/OperatorSubscriber */ 21676); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 81474); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscription */ 42486); +/* harmony import */ var _operators_refCount__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../operators/refCount */ 79841); +/* harmony import */ var _operators_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/OperatorSubscriber */ 96111); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 9867); @@ -57529,10 +57545,11 @@ class ConnectableObservable extends _Observable__WEBPACK_IMPORTED_MODULE_0__.Obs return (0,_operators_refCount__WEBPACK_IMPORTED_MODULE_4__.refCount)()(this); } } +//# sourceMappingURL=ConnectableObservable.js.map /***/ }), -/***/ 11640: +/***/ 199: /*!*************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/combineLatest.js ***! \*************************************************************************/ @@ -57544,15 +57561,15 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ combineLatest: () => (/* binding */ combineLatest), /* harmony export */ combineLatestInit: () => (/* binding */ combineLatestInit) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _util_argsArgArrayOrObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/argsArgArrayOrObject */ 65541); -/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./from */ 73496); -/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/identity */ 12337); -/* harmony import */ var _util_mapOneOrManyArgs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/mapOneOrManyArgs */ 8758); -/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 61866); -/* harmony import */ var _util_createObject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/createObject */ 63060); -/* harmony import */ var _operators_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../operators/OperatorSubscriber */ 21676); -/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util/executeSchedule */ 82437); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _util_argsArgArrayOrObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/argsArgArrayOrObject */ 6872); +/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./from */ 333); +/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/identity */ 19656); +/* harmony import */ var _util_mapOneOrManyArgs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/mapOneOrManyArgs */ 86219); +/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 2363); +/* harmony import */ var _util_createObject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/createObject */ 16405); +/* harmony import */ var _operators_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../operators/OperatorSubscriber */ 96111); +/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util/executeSchedule */ 21982); @@ -57614,10 +57631,11 @@ function maybeSchedule(scheduler, execute, subscription) { execute(); } } +//# sourceMappingURL=combineLatest.js.map /***/ }), -/***/ 36812: +/***/ 6753: /*!******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/concat.js ***! \******************************************************************/ @@ -57628,19 +57646,20 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ concat: () => (/* binding */ concat) /* harmony export */ }); -/* harmony import */ var _operators_concatAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../operators/concatAll */ 47679); -/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/args */ 61866); -/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ 73496); +/* harmony import */ var _operators_concatAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../operators/concatAll */ 5350); +/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/args */ 2363); +/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ 333); function concat(...args) { return (0,_operators_concatAll__WEBPACK_IMPORTED_MODULE_0__.concatAll)()((0,_from__WEBPACK_IMPORTED_MODULE_1__.from)(args, (0,_util_args__WEBPACK_IMPORTED_MODULE_2__.popScheduler)(args))); } +//# sourceMappingURL=concat.js.map /***/ }), -/***/ 78210: +/***/ 68001: /*!*****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/defer.js ***! \*****************************************************************/ @@ -57651,8 +57670,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ defer: () => (/* binding */ defer) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _innerFrom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./innerFrom */ 58); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _innerFrom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./innerFrom */ 18621); function defer(observableFactory) { @@ -57660,10 +57679,11 @@ function defer(observableFactory) { (0,_innerFrom__WEBPACK_IMPORTED_MODULE_1__.innerFrom)(observableFactory()).subscribe(subscriber); }); } +//# sourceMappingURL=defer.js.map /***/ }), -/***/ 90523: +/***/ 28448: /*!*****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/empty.js ***! \*****************************************************************/ @@ -57675,7 +57695,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ EMPTY: () => (/* binding */ EMPTY), /* harmony export */ empty: () => (/* binding */ empty) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 64517); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 99406); const EMPTY = new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => subscriber.complete()); function empty(scheduler) { @@ -57684,10 +57704,11 @@ function empty(scheduler) { function emptyScheduled(scheduler) { return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => scheduler.schedule(() => subscriber.complete())); } +//# sourceMappingURL=empty.js.map /***/ }), -/***/ 4656: +/***/ 18361: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/forkJoin.js ***! \********************************************************************/ @@ -57698,13 +57719,13 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ forkJoin: () => (/* binding */ forkJoin) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _util_argsArgArrayOrObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/argsArgArrayOrObject */ 65541); -/* harmony import */ var _innerFrom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./innerFrom */ 58); -/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 61866); -/* harmony import */ var _operators_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../operators/OperatorSubscriber */ 21676); -/* harmony import */ var _util_mapOneOrManyArgs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/mapOneOrManyArgs */ 8758); -/* harmony import */ var _util_createObject__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/createObject */ 63060); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _util_argsArgArrayOrObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/argsArgArrayOrObject */ 6872); +/* harmony import */ var _innerFrom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./innerFrom */ 18621); +/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 2363); +/* harmony import */ var _operators_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../operators/OperatorSubscriber */ 96111); +/* harmony import */ var _util_mapOneOrManyArgs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/mapOneOrManyArgs */ 86219); +/* harmony import */ var _util_createObject__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/createObject */ 16405); @@ -57749,10 +57770,11 @@ function forkJoin(...args) { }); return resultSelector ? result.pipe((0,_util_mapOneOrManyArgs__WEBPACK_IMPORTED_MODULE_6__.mapOneOrManyArgs)(resultSelector)) : result; } +//# sourceMappingURL=forkJoin.js.map /***/ }), -/***/ 73496: +/***/ 333: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/from.js ***! \****************************************************************/ @@ -57763,17 +57785,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ from: () => (/* binding */ from) /* harmony export */ }); -/* harmony import */ var _scheduled_scheduled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduled/scheduled */ 76333); -/* harmony import */ var _innerFrom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./innerFrom */ 58); +/* harmony import */ var _scheduled_scheduled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduled/scheduled */ 71168); +/* harmony import */ var _innerFrom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./innerFrom */ 18621); function from(input, scheduler) { return scheduler ? (0,_scheduled_scheduled__WEBPACK_IMPORTED_MODULE_0__.scheduled)(input, scheduler) : (0,_innerFrom__WEBPACK_IMPORTED_MODULE_1__.innerFrom)(input); } +//# sourceMappingURL=from.js.map /***/ }), -/***/ 47066: +/***/ 98129: /*!*********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/fromEvent.js ***! \*********************************************************************/ @@ -57784,12 +57807,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ fromEvent: () => (/* binding */ fromEvent) /* harmony export */ }); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _operators_mergeMap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/mergeMap */ 64752); -/* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArrayLike */ 19085); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 78347); -/* harmony import */ var _util_mapOneOrManyArgs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/mapOneOrManyArgs */ 8758); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _operators_mergeMap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/mergeMap */ 57567); +/* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArrayLike */ 15206); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 54418); +/* harmony import */ var _util_mapOneOrManyArgs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/mapOneOrManyArgs */ 86219); @@ -57834,10 +57857,11 @@ function isJQueryStyleEventEmitter(target) { function isEventTarget(target) { return (0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(target.addEventListener) && (0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(target.removeEventListener); } +//# sourceMappingURL=fromEvent.js.map /***/ }), -/***/ 58: +/***/ 18621: /*!*********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/innerFrom.js ***! \*********************************************************************/ @@ -57854,18 +57878,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ fromReadableStreamLike: () => (/* binding */ fromReadableStreamLike), /* harmony export */ innerFrom: () => (/* binding */ innerFrom) /* harmony export */ }); -/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! tslib */ 9799); -/* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArrayLike */ 19085); -/* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isPromise */ 182); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isInteropObservable */ 20835); -/* harmony import */ var _util_isAsyncIterable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isAsyncIterable */ 10165); -/* harmony import */ var _util_throwUnobservableError__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util/throwUnobservableError */ 37603); -/* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isIterable */ 54377); -/* harmony import */ var _util_isReadableStreamLike__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isReadableStreamLike */ 48120); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/isFunction */ 78347); -/* harmony import */ var _util_reportUnhandledError__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/reportUnhandledError */ 38058); -/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../symbol/observable */ 44770); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! tslib */ 97270); +/* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArrayLike */ 15206); +/* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isPromise */ 25717); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isInteropObservable */ 18932); +/* harmony import */ var _util_isAsyncIterable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isAsyncIterable */ 37462); +/* harmony import */ var _util_throwUnobservableError__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../util/throwUnobservableError */ 42246); +/* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/isIterable */ 16472); +/* harmony import */ var _util_isReadableStreamLike__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isReadableStreamLike */ 98889); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../util/isFunction */ 54418); +/* harmony import */ var _util_reportUnhandledError__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/reportUnhandledError */ 76379); +/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../symbol/observable */ 1479); @@ -57976,10 +58000,11 @@ function process(asyncIterable, subscriber) { subscriber.complete(); }); } +//# sourceMappingURL=innerFrom.js.map /***/ }), -/***/ 870: +/***/ 52489: /*!*****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/merge.js ***! \*****************************************************************/ @@ -57990,11 +58015,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ merge: () => (/* binding */ merge) /* harmony export */ }); -/* harmony import */ var _operators_mergeAll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/mergeAll */ 9041); -/* harmony import */ var _innerFrom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./innerFrom */ 58); -/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./empty */ 90523); -/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 61866); -/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./from */ 73496); +/* harmony import */ var _operators_mergeAll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../operators/mergeAll */ 83806); +/* harmony import */ var _innerFrom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./innerFrom */ 18621); +/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./empty */ 28448); +/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 2363); +/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./from */ 333); @@ -58006,10 +58031,11 @@ function merge(...args) { const sources = args; return !sources.length ? _empty__WEBPACK_IMPORTED_MODULE_1__.EMPTY : sources.length === 1 ? (0,_innerFrom__WEBPACK_IMPORTED_MODULE_2__.innerFrom)(sources[0]) : (0,_operators_mergeAll__WEBPACK_IMPORTED_MODULE_3__.mergeAll)(concurrent)((0,_from__WEBPACK_IMPORTED_MODULE_4__.from)(sources, scheduler)); } +//# sourceMappingURL=merge.js.map /***/ }), -/***/ 13901: +/***/ 20756: /*!**************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/of.js ***! \**************************************************************/ @@ -58020,18 +58046,19 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ of: () => (/* binding */ of) /* harmony export */ }); -/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 61866); -/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ 73496); +/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 2363); +/* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ 333); function of(...args) { const scheduler = (0,_util_args__WEBPACK_IMPORTED_MODULE_0__.popScheduler)(args); return (0,_from__WEBPACK_IMPORTED_MODULE_1__.from)(args, scheduler); } +//# sourceMappingURL=of.js.map /***/ }), -/***/ 5219: +/***/ 62708: /*!*****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/observable/timer.js ***! \*****************************************************************/ @@ -58042,10 +58069,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ timer: () => (/* binding */ timer) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ 64672); -/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isScheduler */ 72114); -/* harmony import */ var _util_isDate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isDate */ 40623); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ 14929); +/* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isScheduler */ 31677); +/* harmony import */ var _util_isDate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isDate */ 47786); @@ -58077,10 +58104,11 @@ function timer(dueTime = 0, intervalOrScheduler, scheduler = _scheduler_async__W }, due); }); } +//# sourceMappingURL=timer.js.map /***/ }), -/***/ 21676: +/***/ 96111: /*!*****************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js ***! \*****************************************************************************/ @@ -58092,7 +58120,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ OperatorSubscriber: () => (/* binding */ OperatorSubscriber), /* harmony export */ createOperatorSubscriber: () => (/* binding */ createOperatorSubscriber) /* harmony export */ }); -/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 4258); +/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 51421); function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) { return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize); @@ -58139,10 +58167,11 @@ class OperatorSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscr } } } +//# sourceMappingURL=OperatorSubscriber.js.map /***/ }), -/***/ 76515: +/***/ 40594: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/audit.js ***! \****************************************************************/ @@ -58153,9 +58182,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ audit: () => (/* binding */ audit) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); @@ -58192,10 +58221,11 @@ function audit(durationSelector) { })); }); } +//# sourceMappingURL=audit.js.map /***/ }), -/***/ 71654: +/***/ 25271: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/auditTime.js ***! \********************************************************************/ @@ -58206,19 +58236,20 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ auditTime: () => (/* binding */ auditTime) /* harmony export */ }); -/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ 64672); -/* harmony import */ var _audit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./audit */ 76515); -/* harmony import */ var _observable_timer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/timer */ 5219); +/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ 14929); +/* harmony import */ var _audit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./audit */ 40594); +/* harmony import */ var _observable_timer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/timer */ 62708); function auditTime(duration, scheduler = _scheduler_async__WEBPACK_IMPORTED_MODULE_0__.asyncScheduler) { return (0,_audit__WEBPACK_IMPORTED_MODULE_1__.audit)(() => (0,_observable_timer__WEBPACK_IMPORTED_MODULE_2__.timer)(duration, scheduler)); } +//# sourceMappingURL=auditTime.js.map /***/ }), -/***/ 47679: +/***/ 5350: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/concatAll.js ***! \********************************************************************/ @@ -58229,15 +58260,16 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ concatAll: () => (/* binding */ concatAll) /* harmony export */ }); -/* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeAll */ 9041); +/* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeAll */ 83806); function concatAll() { return (0,_mergeAll__WEBPACK_IMPORTED_MODULE_0__.mergeAll)(1); } +//# sourceMappingURL=concatAll.js.map /***/ }), -/***/ 75214: +/***/ 54807: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/concatMap.js ***! \********************************************************************/ @@ -58248,17 +58280,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ concatMap: () => (/* binding */ concatMap) /* harmony export */ }); -/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mergeMap */ 64752); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 78347); +/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mergeMap */ 57567); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 54418); function concatMap(project, resultSelector) { return (0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(resultSelector) ? (0,_mergeMap__WEBPACK_IMPORTED_MODULE_1__.mergeMap)(project, resultSelector, 1) : (0,_mergeMap__WEBPACK_IMPORTED_MODULE_1__.mergeMap)(project, 1); } +//# sourceMappingURL=concatMap.js.map /***/ }), -/***/ 43396: +/***/ 68887: /*!***********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js ***! \***********************************************************************/ @@ -58269,9 +58302,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ debounceTime: () => (/* binding */ debounceTime) /* harmony export */ }); -/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ 64672); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/async */ 14929); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); @@ -58314,10 +58347,11 @@ function debounceTime(dueTime, scheduler = _scheduler_async__WEBPACK_IMPORTED_MO })); }); } +//# sourceMappingURL=debounceTime.js.map /***/ }), -/***/ 46257: +/***/ 82290: /*!*************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js ***! \*************************************************************************/ @@ -58328,8 +58362,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ defaultIfEmpty: () => (/* binding */ defaultIfEmpty) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); function defaultIfEmpty(defaultValue) { @@ -58346,10 +58380,11 @@ function defaultIfEmpty(defaultValue) { })); }); } +//# sourceMappingURL=defaultIfEmpty.js.map /***/ }), -/***/ 79746: +/***/ 73793: /*!*******************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js ***! \*******************************************************************************/ @@ -58360,9 +58395,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ distinctUntilChanged: () => (/* binding */ distinctUntilChanged) /* harmony export */ }); -/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/identity */ 12337); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/identity */ 19656); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); @@ -58384,10 +58419,11 @@ function distinctUntilChanged(comparator, keySelector = _util_identity__WEBPACK_ function defaultCompare(a, b) { return a === b; } +//# sourceMappingURL=distinctUntilChanged.js.map /***/ }), -/***/ 61856: +/***/ 38503: /*!*****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/filter.js ***! \*****************************************************************/ @@ -58398,8 +58434,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ filter: () => (/* binding */ filter) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); function filter(predicate, thisArg) { @@ -58408,10 +58444,11 @@ function filter(predicate, thisArg) { source.subscribe((0,_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__.createOperatorSubscriber)(subscriber, value => predicate.call(thisArg, value, index++) && subscriber.next(value))); }); } +//# sourceMappingURL=filter.js.map /***/ }), -/***/ 39848: +/***/ 46347: /*!*******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/finalize.js ***! \*******************************************************************/ @@ -58422,7 +58459,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ finalize: () => (/* binding */ finalize) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); function finalize(callback) { return (0,_util_lift__WEBPACK_IMPORTED_MODULE_0__.operate)((source, subscriber) => { @@ -58433,10 +58470,11 @@ function finalize(callback) { } }); } +//# sourceMappingURL=finalize.js.map /***/ }), -/***/ 3782: +/***/ 46715: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/first.js ***! \****************************************************************/ @@ -58447,12 +58485,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ first: () => (/* binding */ first) /* harmony export */ }); -/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/EmptyError */ 53826); -/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ 61856); -/* harmony import */ var _take__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./take */ 75117); -/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ 46257); -/* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./throwIfEmpty */ 41114); -/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 12337); +/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/EmptyError */ 40943); +/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ 38503); +/* harmony import */ var _take__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./take */ 38486); +/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ 82290); +/* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./throwIfEmpty */ 97101); +/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 19656); @@ -58463,10 +58501,11 @@ function first(predicate, defaultValue) { const hasDefaultValue = arguments.length >= 2; return source => source.pipe(predicate ? (0,_filter__WEBPACK_IMPORTED_MODULE_0__.filter)((v, i) => predicate(v, i, source)) : _util_identity__WEBPACK_IMPORTED_MODULE_1__.identity, (0,_take__WEBPACK_IMPORTED_MODULE_2__.take)(1), hasDefaultValue ? (0,_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__.defaultIfEmpty)(defaultValue) : (0,_throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__.throwIfEmpty)(() => new _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__.EmptyError())); } +//# sourceMappingURL=first.js.map /***/ }), -/***/ 24406: +/***/ 93527: /*!**************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/map.js ***! \**************************************************************/ @@ -58477,8 +58516,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ map: () => (/* binding */ map) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); function map(project, thisArg) { @@ -58489,10 +58528,11 @@ function map(project, thisArg) { })); }); } +//# sourceMappingURL=map.js.map /***/ }), -/***/ 9041: +/***/ 83806: /*!*******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/mergeAll.js ***! \*******************************************************************/ @@ -58503,17 +58543,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ mergeAll: () => (/* binding */ mergeAll) /* harmony export */ }); -/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ 64752); -/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 12337); +/* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ 57567); +/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 19656); function mergeAll(concurrent = Infinity) { return (0,_mergeMap__WEBPACK_IMPORTED_MODULE_0__.mergeMap)(_util_identity__WEBPACK_IMPORTED_MODULE_1__.identity, concurrent); } +//# sourceMappingURL=mergeAll.js.map /***/ }), -/***/ 64608: +/***/ 70055: /*!*************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js ***! \*************************************************************************/ @@ -58524,9 +58565,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ mergeInternals: () => (/* binding */ mergeInternals) /* harmony export */ }); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/executeSchedule */ 82437); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/executeSchedule */ 21982); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); @@ -58581,10 +58622,11 @@ function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, e additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer(); }; } +//# sourceMappingURL=mergeInternals.js.map /***/ }), -/***/ 64752: +/***/ 57567: /*!*******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/mergeMap.js ***! \*******************************************************************/ @@ -58595,11 +58637,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ mergeMap: () => (/* binding */ mergeMap) /* harmony export */ }); -/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ 24406); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _mergeInternals__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./mergeInternals */ 64608); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 78347); +/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ 93527); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _mergeInternals__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./mergeInternals */ 70055); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 54418); @@ -58613,10 +58655,11 @@ function mergeMap(project, resultSelector, concurrent = Infinity) { } return (0,_util_lift__WEBPACK_IMPORTED_MODULE_3__.operate)((source, subscriber) => (0,_mergeInternals__WEBPACK_IMPORTED_MODULE_4__.mergeInternals)(source, subscriber, project, concurrent)); } +//# sourceMappingURL=mergeMap.js.map /***/ }), -/***/ 39721: +/***/ 57336: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/observeOn.js ***! \********************************************************************/ @@ -58627,9 +58670,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ observeOn: () => (/* binding */ observeOn) /* harmony export */ }); -/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/executeSchedule */ 82437); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/executeSchedule */ 21982); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); @@ -58638,10 +58681,11 @@ function observeOn(scheduler, delay = 0) { source.subscribe((0,_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__.createOperatorSubscriber)(subscriber, value => (0,_util_executeSchedule__WEBPACK_IMPORTED_MODULE_2__.executeSchedule)(subscriber, scheduler, () => subscriber.next(value), delay), () => (0,_util_executeSchedule__WEBPACK_IMPORTED_MODULE_2__.executeSchedule)(subscriber, scheduler, () => subscriber.complete(), delay), err => (0,_util_executeSchedule__WEBPACK_IMPORTED_MODULE_2__.executeSchedule)(subscriber, scheduler, () => subscriber.error(err), delay))); }); } +//# sourceMappingURL=observeOn.js.map /***/ }), -/***/ 23246: +/***/ 27769: /*!*******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/pairwise.js ***! \*******************************************************************/ @@ -58652,8 +58696,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ pairwise: () => (/* binding */ pairwise) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); function pairwise() { @@ -58668,10 +58712,11 @@ function pairwise() { })); }); } +//# sourceMappingURL=pairwise.js.map /***/ }), -/***/ 78606: +/***/ 79841: /*!*******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/refCount.js ***! \*******************************************************************/ @@ -58682,8 +58727,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ refCount: () => (/* binding */ refCount) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); function refCount() { @@ -58709,10 +58754,11 @@ function refCount() { } }); } +//# sourceMappingURL=refCount.js.map /***/ }), -/***/ 95603: +/***/ 37782: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/share.js ***! \****************************************************************/ @@ -58723,10 +58769,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ share: () => (/* binding */ share) /* harmony export */ }); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ 63150); -/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ 4258); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 81474); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ 907); +/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ 51421); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 9867); @@ -58809,10 +58855,11 @@ function handleReset(reset, on, ...args) { }); return (0,_observable_innerFrom__WEBPACK_IMPORTED_MODULE_3__.innerFrom)(on(...args)).subscribe(onSubscriber); } +//# sourceMappingURL=share.js.map /***/ }), -/***/ 95840: +/***/ 76661: /*!**********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/shareReplay.js ***! \**********************************************************************/ @@ -58823,8 +58870,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ shareReplay: () => (/* binding */ shareReplay) /* harmony export */ }); -/* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ReplaySubject */ 61151); -/* harmony import */ var _share__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./share */ 95603); +/* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../ReplaySubject */ 39090); +/* harmony import */ var _share__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./share */ 37782); function shareReplay(configOrBufferSize, windowTime, scheduler) { @@ -58847,10 +58894,11 @@ function shareReplay(configOrBufferSize, windowTime, scheduler) { resetOnRefCountZero: refCount }); } +//# sourceMappingURL=shareReplay.js.map /***/ }), -/***/ 99473: +/***/ 89990: /*!***************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/skip.js ***! \***************************************************************/ @@ -58861,15 +58909,16 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ skip: () => (/* binding */ skip) /* harmony export */ }); -/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ 61856); +/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ 38503); function skip(count) { return (0,_filter__WEBPACK_IMPORTED_MODULE_0__.filter)((_, index) => count <= index); } +//# sourceMappingURL=skip.js.map /***/ }), -/***/ 56816: +/***/ 20965: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/startWith.js ***! \********************************************************************/ @@ -58880,9 +58929,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ startWith: () => (/* binding */ startWith) /* harmony export */ }); -/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/concat */ 36812); -/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 61866); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 81474); +/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/concat */ 6753); +/* harmony import */ var _util_args__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/args */ 2363); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 9867); @@ -58892,10 +58941,11 @@ function startWith(...values) { (scheduler ? (0,_observable_concat__WEBPACK_IMPORTED_MODULE_2__.concat)(values, source, scheduler) : (0,_observable_concat__WEBPACK_IMPORTED_MODULE_2__.concat)(values, source)).subscribe(subscriber); }); } +//# sourceMappingURL=startWith.js.map /***/ }), -/***/ 14869: +/***/ 11576: /*!**********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js ***! \**********************************************************************/ @@ -58906,17 +58956,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ subscribeOn: () => (/* binding */ subscribeOn) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); function subscribeOn(scheduler, delay = 0) { return (0,_util_lift__WEBPACK_IMPORTED_MODULE_0__.operate)((source, subscriber) => { subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay)); }); } +//# sourceMappingURL=subscribeOn.js.map /***/ }), -/***/ 21082: +/***/ 72831: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/switchMap.js ***! \********************************************************************/ @@ -58927,9 +58978,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ switchMap: () => (/* binding */ switchMap) /* harmony export */ }); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); @@ -58953,10 +59004,11 @@ function switchMap(project, resultSelector) { })); }); } +//# sourceMappingURL=switchMap.js.map /***/ }), -/***/ 75117: +/***/ 38486: /*!***************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/take.js ***! \***************************************************************/ @@ -58967,9 +59019,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ take: () => (/* binding */ take) /* harmony export */ }); -/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/empty */ 90523); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/empty */ 28448); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); @@ -58986,10 +59038,11 @@ function take(count) { })); }); } +//# sourceMappingURL=take.js.map /***/ }), -/***/ 65213: +/***/ 76340: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/takeUntil.js ***! \********************************************************************/ @@ -59000,10 +59053,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ takeUntil: () => (/* binding */ takeUntil) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/noop */ 86075); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/noop */ 20262); @@ -59014,10 +59067,11 @@ function takeUntil(notifier) { !subscriber.closed && source.subscribe(subscriber); }); } +//# sourceMappingURL=takeUntil.js.map /***/ }), -/***/ 92348: +/***/ 17049: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/takeWhile.js ***! \********************************************************************/ @@ -59028,8 +59082,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ takeWhile: () => (/* binding */ takeWhile) /* harmony export */ }); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); function takeWhile(predicate, inclusive = false) { @@ -59042,10 +59096,11 @@ function takeWhile(predicate, inclusive = false) { })); }); } +//# sourceMappingURL=takeWhile.js.map /***/ }), -/***/ 61969: +/***/ 37236: /*!**************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/tap.js ***! \**************************************************************/ @@ -59056,10 +59111,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ tap: () => (/* binding */ tap) /* harmony export */ }); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 78347); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); -/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/identity */ 12337); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 54418); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); +/* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/identity */ 19656); @@ -59097,10 +59152,11 @@ function tap(observerOrNext, error, complete) { })); }) : _util_identity__WEBPACK_IMPORTED_MODULE_3__.identity; } +//# sourceMappingURL=tap.js.map /***/ }), -/***/ 41114: +/***/ 97101: /*!***********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js ***! \***********************************************************************/ @@ -59111,9 +59167,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ throwIfEmpty: () => (/* binding */ throwIfEmpty) /* harmony export */ }); -/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/EmptyError */ 53826); -/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 81474); -/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 21676); +/* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/EmptyError */ 40943); +/* harmony import */ var _util_lift__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/lift */ 9867); +/* harmony import */ var _OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorSubscriber */ 96111); @@ -59129,10 +59185,11 @@ function throwIfEmpty(errorFactory = defaultErrorFactory) { function defaultErrorFactory() { return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_2__.EmptyError(); } +//# sourceMappingURL=throwIfEmpty.js.map /***/ }), -/***/ 69064: +/***/ 98337: /*!************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js ***! \************************************************************************/ @@ -59143,7 +59200,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ scheduleArray: () => (/* binding */ scheduleArray) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 64517); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 99406); function scheduleArray(input, scheduler) { return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => { @@ -59160,10 +59217,11 @@ function scheduleArray(input, scheduler) { }); }); } +//# sourceMappingURL=scheduleArray.js.map /***/ }), -/***/ 98663: +/***/ 61102: /*!********************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js ***! \********************************************************************************/ @@ -59174,8 +59232,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ scheduleAsyncIterable: () => (/* binding */ scheduleAsyncIterable) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/executeSchedule */ 82437); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/executeSchedule */ 21982); function scheduleAsyncIterable(input, scheduler) { @@ -59197,10 +59255,11 @@ function scheduleAsyncIterable(input, scheduler) { }); }); } +//# sourceMappingURL=scheduleAsyncIterable.js.map /***/ }), -/***/ 32843: +/***/ 15104: /*!***************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js ***! \***************************************************************************/ @@ -59211,10 +59270,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ scheduleIterable: () => (/* binding */ scheduleIterable) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/iterator */ 30477); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isFunction */ 78347); -/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/executeSchedule */ 82437); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/iterator */ 77028); +/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isFunction */ 54418); +/* harmony import */ var _util_executeSchedule__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/executeSchedule */ 21982); @@ -59246,10 +59305,11 @@ function scheduleIterable(input, scheduler) { return () => (0,_util_isFunction__WEBPACK_IMPORTED_MODULE_3__.isFunction)(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return(); }); } +//# sourceMappingURL=scheduleIterable.js.map /***/ }), -/***/ 99888: +/***/ 50919: /*!*****************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js ***! \*****************************************************************************/ @@ -59260,19 +59320,20 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ scheduleObservable: () => (/* binding */ scheduleObservable) /* harmony export */ }); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _operators_observeOn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/observeOn */ 39721); -/* harmony import */ var _operators_subscribeOn__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../operators/subscribeOn */ 14869); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _operators_observeOn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/observeOn */ 57336); +/* harmony import */ var _operators_subscribeOn__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../operators/subscribeOn */ 11576); function scheduleObservable(input, scheduler) { return (0,_observable_innerFrom__WEBPACK_IMPORTED_MODULE_0__.innerFrom)(input).pipe((0,_operators_subscribeOn__WEBPACK_IMPORTED_MODULE_1__.subscribeOn)(scheduler), (0,_operators_observeOn__WEBPACK_IMPORTED_MODULE_2__.observeOn)(scheduler)); } +//# sourceMappingURL=scheduleObservable.js.map /***/ }), -/***/ 97328: +/***/ 15901: /*!**************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js ***! \**************************************************************************/ @@ -59283,19 +59344,20 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ schedulePromise: () => (/* binding */ schedulePromise) /* harmony export */ }); -/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/innerFrom */ 58); -/* harmony import */ var _operators_observeOn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/observeOn */ 39721); -/* harmony import */ var _operators_subscribeOn__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../operators/subscribeOn */ 14869); +/* harmony import */ var _observable_innerFrom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/innerFrom */ 18621); +/* harmony import */ var _operators_observeOn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/observeOn */ 57336); +/* harmony import */ var _operators_subscribeOn__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../operators/subscribeOn */ 11576); function schedulePromise(input, scheduler) { return (0,_observable_innerFrom__WEBPACK_IMPORTED_MODULE_0__.innerFrom)(input).pipe((0,_operators_subscribeOn__WEBPACK_IMPORTED_MODULE_1__.subscribeOn)(scheduler), (0,_operators_observeOn__WEBPACK_IMPORTED_MODULE_2__.observeOn)(scheduler)); } +//# sourceMappingURL=schedulePromise.js.map /***/ }), -/***/ 52662: +/***/ 71713: /*!*************************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js ***! \*************************************************************************************/ @@ -59306,17 +59368,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ scheduleReadableStreamLike: () => (/* binding */ scheduleReadableStreamLike) /* harmony export */ }); -/* harmony import */ var _scheduleAsyncIterable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scheduleAsyncIterable */ 98663); -/* harmony import */ var _util_isReadableStreamLike__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isReadableStreamLike */ 48120); +/* harmony import */ var _scheduleAsyncIterable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scheduleAsyncIterable */ 61102); +/* harmony import */ var _util_isReadableStreamLike__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isReadableStreamLike */ 98889); function scheduleReadableStreamLike(input, scheduler) { return (0,_scheduleAsyncIterable__WEBPACK_IMPORTED_MODULE_0__.scheduleAsyncIterable)((0,_util_isReadableStreamLike__WEBPACK_IMPORTED_MODULE_1__.readableStreamLikeToAsyncGenerator)(input), scheduler); } +//# sourceMappingURL=scheduleReadableStreamLike.js.map /***/ }), -/***/ 76333: +/***/ 71168: /*!********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js ***! \********************************************************************/ @@ -59327,19 +59390,19 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ scheduled: () => (/* binding */ scheduled) /* harmony export */ }); -/* harmony import */ var _scheduleObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduleObservable */ 99888); -/* harmony import */ var _schedulePromise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./schedulePromise */ 97328); -/* harmony import */ var _scheduleArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./scheduleArray */ 69064); -/* harmony import */ var _scheduleIterable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./scheduleIterable */ 32843); -/* harmony import */ var _scheduleAsyncIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./scheduleAsyncIterable */ 98663); -/* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isInteropObservable */ 20835); -/* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isPromise */ 182); -/* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArrayLike */ 19085); -/* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util/isIterable */ 54377); -/* harmony import */ var _util_isAsyncIterable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isAsyncIterable */ 10165); -/* harmony import */ var _util_throwUnobservableError__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../util/throwUnobservableError */ 37603); -/* harmony import */ var _util_isReadableStreamLike__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/isReadableStreamLike */ 48120); -/* harmony import */ var _scheduleReadableStreamLike__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./scheduleReadableStreamLike */ 52662); +/* harmony import */ var _scheduleObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduleObservable */ 50919); +/* harmony import */ var _schedulePromise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./schedulePromise */ 15901); +/* harmony import */ var _scheduleArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./scheduleArray */ 98337); +/* harmony import */ var _scheduleIterable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./scheduleIterable */ 15104); +/* harmony import */ var _scheduleAsyncIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./scheduleAsyncIterable */ 61102); +/* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isInteropObservable */ 18932); +/* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isPromise */ 25717); +/* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArrayLike */ 15206); +/* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util/isIterable */ 16472); +/* harmony import */ var _util_isAsyncIterable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isAsyncIterable */ 37462); +/* harmony import */ var _util_throwUnobservableError__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../util/throwUnobservableError */ 42246); +/* harmony import */ var _util_isReadableStreamLike__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../util/isReadableStreamLike */ 98889); +/* harmony import */ var _scheduleReadableStreamLike__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./scheduleReadableStreamLike */ 71713); @@ -59376,10 +59439,11 @@ function scheduled(input, scheduler) { } throw (0,_util_throwUnobservableError__WEBPACK_IMPORTED_MODULE_12__.createInvalidObservableTypeError)(input); } +//# sourceMappingURL=scheduled.js.map /***/ }), -/***/ 12048: +/***/ 48551: /*!*****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/Action.js ***! \*****************************************************************/ @@ -59390,7 +59454,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Action: () => (/* binding */ Action) /* harmony export */ }); -/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscription */ 36421); +/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscription */ 42486); class Action extends _Subscription__WEBPACK_IMPORTED_MODULE_0__.Subscription { constructor(scheduler, work) { @@ -59400,10 +59464,11 @@ class Action extends _Subscription__WEBPACK_IMPORTED_MODULE_0__.Subscription { return this; } } +//# sourceMappingURL=Action.js.map /***/ }), -/***/ 9151: +/***/ 32460: /*!*******************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameAction.js ***! \*******************************************************************************/ @@ -59414,8 +59479,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AnimationFrameAction: () => (/* binding */ AnimationFrameAction) /* harmony export */ }); -/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ 73978); -/* harmony import */ var _animationFrameProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./animationFrameProvider */ 14276); +/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ 47243); +/* harmony import */ var _animationFrameProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./animationFrameProvider */ 72363); class AnimationFrameAction extends _AsyncAction__WEBPACK_IMPORTED_MODULE_0__.AsyncAction { @@ -59446,10 +59511,11 @@ class AnimationFrameAction extends _AsyncAction__WEBPACK_IMPORTED_MODULE_0__.Asy return undefined; } } +//# sourceMappingURL=AnimationFrameAction.js.map /***/ }), -/***/ 65812: +/***/ 99125: /*!**********************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js ***! \**********************************************************************************/ @@ -59460,7 +59526,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AnimationFrameScheduler: () => (/* binding */ AnimationFrameScheduler) /* harmony export */ }); -/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ 63999); +/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ 80024); class AnimationFrameScheduler extends _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__.AsyncScheduler { flush(action) { @@ -59486,10 +59552,11 @@ class AnimationFrameScheduler extends _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0 } } } +//# sourceMappingURL=AnimationFrameScheduler.js.map /***/ }), -/***/ 77357: +/***/ 99894: /*!*********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/AsapAction.js ***! \*********************************************************************/ @@ -59500,8 +59567,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AsapAction: () => (/* binding */ AsapAction) /* harmony export */ }); -/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ 73978); -/* harmony import */ var _immediateProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./immediateProvider */ 73064); +/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncAction */ 47243); +/* harmony import */ var _immediateProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./immediateProvider */ 81421); class AsapAction extends _AsyncAction__WEBPACK_IMPORTED_MODULE_0__.AsyncAction { @@ -59534,10 +59601,11 @@ class AsapAction extends _AsyncAction__WEBPACK_IMPORTED_MODULE_0__.AsyncAction { return undefined; } } +//# sourceMappingURL=AsapAction.js.map /***/ }), -/***/ 18550: +/***/ 79555: /*!************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/AsapScheduler.js ***! \************************************************************************/ @@ -59548,7 +59616,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AsapScheduler: () => (/* binding */ AsapScheduler) /* harmony export */ }); -/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ 63999); +/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ 80024); class AsapScheduler extends _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__.AsyncScheduler { flush(action) { @@ -59574,10 +59642,11 @@ class AsapScheduler extends _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__.AsyncSc } } } +//# sourceMappingURL=AsapScheduler.js.map /***/ }), -/***/ 73978: +/***/ 47243: /*!**********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js ***! \**********************************************************************/ @@ -59588,9 +59657,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AsyncAction: () => (/* binding */ AsyncAction) /* harmony export */ }); -/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Action */ 12048); -/* harmony import */ var _intervalProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./intervalProvider */ 78186); -/* harmony import */ var _util_arrRemove__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/arrRemove */ 38248); +/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Action */ 48551); +/* harmony import */ var _intervalProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./intervalProvider */ 50425); +/* harmony import */ var _util_arrRemove__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/arrRemove */ 79583); @@ -59675,10 +59744,11 @@ class AsyncAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action { } } } +//# sourceMappingURL=AsyncAction.js.map /***/ }), -/***/ 63999: +/***/ 80024: /*!*************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js ***! \*************************************************************************/ @@ -59689,7 +59759,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AsyncScheduler: () => (/* binding */ AsyncScheduler) /* harmony export */ }); -/* harmony import */ var _Scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Scheduler */ 14267); +/* harmony import */ var _Scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Scheduler */ 19986); class AsyncScheduler extends _Scheduler__WEBPACK_IMPORTED_MODULE_0__.Scheduler { constructor(SchedulerAction, now = _Scheduler__WEBPACK_IMPORTED_MODULE_0__.Scheduler.now) { @@ -59721,10 +59791,11 @@ class AsyncScheduler extends _Scheduler__WEBPACK_IMPORTED_MODULE_0__.Scheduler { } } } +//# sourceMappingURL=AsyncScheduler.js.map /***/ }), -/***/ 97757: +/***/ 63854: /*!*************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/animationFrame.js ***! \*************************************************************************/ @@ -59736,16 +59807,17 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ animationFrame: () => (/* binding */ animationFrame), /* harmony export */ animationFrameScheduler: () => (/* binding */ animationFrameScheduler) /* harmony export */ }); -/* harmony import */ var _AnimationFrameAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AnimationFrameAction */ 9151); -/* harmony import */ var _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AnimationFrameScheduler */ 65812); +/* harmony import */ var _AnimationFrameAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AnimationFrameAction */ 32460); +/* harmony import */ var _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AnimationFrameScheduler */ 99125); const animationFrameScheduler = new _AnimationFrameScheduler__WEBPACK_IMPORTED_MODULE_0__.AnimationFrameScheduler(_AnimationFrameAction__WEBPACK_IMPORTED_MODULE_1__.AnimationFrameAction); const animationFrame = animationFrameScheduler; +//# sourceMappingURL=animationFrame.js.map /***/ }), -/***/ 14276: +/***/ 72363: /*!*********************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/animationFrameProvider.js ***! \*********************************************************************************/ @@ -59756,7 +59828,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ animationFrameProvider: () => (/* binding */ animationFrameProvider) /* harmony export */ }); -/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscription */ 36421); +/* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscription */ 42486); const animationFrameProvider = { schedule(callback) { @@ -59789,10 +59861,11 @@ const animationFrameProvider = { }, delegate: undefined }; +//# sourceMappingURL=animationFrameProvider.js.map /***/ }), -/***/ 45351: +/***/ 41828: /*!***************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/asap.js ***! \***************************************************************/ @@ -59804,16 +59877,17 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ asap: () => (/* binding */ asap), /* harmony export */ asapScheduler: () => (/* binding */ asapScheduler) /* harmony export */ }); -/* harmony import */ var _AsapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsapAction */ 77357); -/* harmony import */ var _AsapScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsapScheduler */ 18550); +/* harmony import */ var _AsapAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsapAction */ 99894); +/* harmony import */ var _AsapScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsapScheduler */ 79555); const asapScheduler = new _AsapScheduler__WEBPACK_IMPORTED_MODULE_0__.AsapScheduler(_AsapAction__WEBPACK_IMPORTED_MODULE_1__.AsapAction); const asap = asapScheduler; +//# sourceMappingURL=asap.js.map /***/ }), -/***/ 64672: +/***/ 14929: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/async.js ***! \****************************************************************/ @@ -59825,16 +59899,17 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ async: () => (/* binding */ async), /* harmony export */ asyncScheduler: () => (/* binding */ asyncScheduler) /* harmony export */ }); -/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncAction */ 73978); -/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ 63999); +/* harmony import */ var _AsyncAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AsyncAction */ 47243); +/* harmony import */ var _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AsyncScheduler */ 80024); const asyncScheduler = new _AsyncScheduler__WEBPACK_IMPORTED_MODULE_0__.AsyncScheduler(_AsyncAction__WEBPACK_IMPORTED_MODULE_1__.AsyncAction); const async = asyncScheduler; +//# sourceMappingURL=async.js.map /***/ }), -/***/ 7221: +/***/ 4808: /*!********************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js ***! \********************************************************************************/ @@ -59851,10 +59926,11 @@ const dateTimestampProvider = { }, delegate: undefined }; +//# sourceMappingURL=dateTimestampProvider.js.map /***/ }), -/***/ 73064: +/***/ 81421: /*!****************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/immediateProvider.js ***! \****************************************************************************/ @@ -59865,7 +59941,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ immediateProvider: () => (/* binding */ immediateProvider) /* harmony export */ }); -/* harmony import */ var _util_Immediate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/Immediate */ 21314); +/* harmony import */ var _util_Immediate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/Immediate */ 26101); const { setImmediate, @@ -59886,10 +59962,11 @@ const immediateProvider = { }, delegate: undefined }; +//# sourceMappingURL=immediateProvider.js.map /***/ }), -/***/ 78186: +/***/ 50425: /*!***************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js ***! \***************************************************************************/ @@ -59918,10 +59995,11 @@ const intervalProvider = { }, delegate: undefined }; +//# sourceMappingURL=intervalProvider.js.map /***/ }), -/***/ 73514: +/***/ 76171: /*!**************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js ***! \**************************************************************************/ @@ -59950,10 +60028,11 @@ const timeoutProvider = { }, delegate: undefined }; +//# sourceMappingURL=timeoutProvider.js.map /***/ }), -/***/ 30477: +/***/ 77028: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/symbol/iterator.js ***! \****************************************************************/ @@ -59972,10 +60051,11 @@ function getSymbolIterator() { return Symbol.iterator; } const iterator = getSymbolIterator(); +//# sourceMappingURL=iterator.js.map /***/ }), -/***/ 44770: +/***/ 1479: /*!******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/symbol/observable.js ***! \******************************************************************/ @@ -59987,10 +60067,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ observable: () => (/* binding */ observable) /* harmony export */ }); const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')(); +//# sourceMappingURL=observable.js.map /***/ }), -/***/ 53826: +/***/ 40943: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/EmptyError.js ***! \****************************************************************/ @@ -60001,17 +60082,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ EmptyError: () => (/* binding */ EmptyError) /* harmony export */ }); -/* harmony import */ var _createErrorClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createErrorClass */ 40849); +/* harmony import */ var _createErrorClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createErrorClass */ 4520); const EmptyError = (0,_createErrorClass__WEBPACK_IMPORTED_MODULE_0__.createErrorClass)(_super => function EmptyErrorImpl() { _super(this); this.name = 'EmptyError'; this.message = 'no elements in sequence'; }); +//# sourceMappingURL=EmptyError.js.map /***/ }), -/***/ 21314: +/***/ 26101: /*!***************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/Immediate.js ***! \***************************************************************/ @@ -60052,10 +60134,11 @@ const TestTools = { return Object.keys(activeHandles).length; } }; +//# sourceMappingURL=Immediate.js.map /***/ }), -/***/ 24649: +/***/ 86398: /*!*****************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js ***! \*****************************************************************************/ @@ -60066,17 +60149,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ ObjectUnsubscribedError: () => (/* binding */ ObjectUnsubscribedError) /* harmony export */ }); -/* harmony import */ var _createErrorClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createErrorClass */ 40849); +/* harmony import */ var _createErrorClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createErrorClass */ 4520); const ObjectUnsubscribedError = (0,_createErrorClass__WEBPACK_IMPORTED_MODULE_0__.createErrorClass)(_super => function ObjectUnsubscribedErrorImpl() { _super(this); this.name = 'ObjectUnsubscribedError'; this.message = 'object unsubscribed'; }); +//# sourceMappingURL=ObjectUnsubscribedError.js.map /***/ }), -/***/ 62907: +/***/ 72676: /*!*************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js ***! \*************************************************************************/ @@ -60087,7 +60171,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ UnsubscriptionError: () => (/* binding */ UnsubscriptionError) /* harmony export */ }); -/* harmony import */ var _createErrorClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createErrorClass */ 40849); +/* harmony import */ var _createErrorClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createErrorClass */ 4520); const UnsubscriptionError = (0,_createErrorClass__WEBPACK_IMPORTED_MODULE_0__.createErrorClass)(_super => function UnsubscriptionErrorImpl(errors) { _super(this); @@ -60096,10 +60180,11 @@ ${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\n ')}` : ''; this.name = 'UnsubscriptionError'; this.errors = errors; }); +//# sourceMappingURL=UnsubscriptionError.js.map /***/ }), -/***/ 61866: +/***/ 2363: /*!**********************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/args.js ***! \**********************************************************/ @@ -60112,8 +60197,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ popResultSelector: () => (/* binding */ popResultSelector), /* harmony export */ popScheduler: () => (/* binding */ popScheduler) /* harmony export */ }); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 78347); -/* harmony import */ var _isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isScheduler */ 72114); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 54418); +/* harmony import */ var _isScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isScheduler */ 31677); function last(arr) { @@ -60128,10 +60213,11 @@ function popScheduler(args) { function popNumber(args, defaultValue) { return typeof last(args) === 'number' ? args.pop() : defaultValue; } +//# sourceMappingURL=args.js.map /***/ }), -/***/ 65541: +/***/ 6872: /*!**************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js ***! \**************************************************************************/ @@ -60175,10 +60261,11 @@ function argsArgArrayOrObject(args) { function isPOJO(obj) { return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto; } +//# sourceMappingURL=argsArgArrayOrObject.js.map /***/ }), -/***/ 38248: +/***/ 79583: /*!***************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/arrRemove.js ***! \***************************************************************/ @@ -60195,10 +60282,11 @@ function arrRemove(arr, item) { 0 <= index && arr.splice(index, 1); } } +//# sourceMappingURL=arrRemove.js.map /***/ }), -/***/ 40849: +/***/ 4520: /*!**********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/createErrorClass.js ***! \**********************************************************************/ @@ -60219,10 +60307,11 @@ function createErrorClass(createImpl) { ctorFunc.prototype.constructor = ctorFunc; return ctorFunc; } +//# sourceMappingURL=createErrorClass.js.map /***/ }), -/***/ 63060: +/***/ 16405: /*!******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/createObject.js ***! \******************************************************************/ @@ -60236,10 +60325,11 @@ __webpack_require__.r(__webpack_exports__); function createObject(keys, values) { return keys.reduce((result, key, i) => (result[key] = values[i], result), {}); } +//# sourceMappingURL=createObject.js.map /***/ }), -/***/ 38806: +/***/ 52895: /*!******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/errorContext.js ***! \******************************************************************/ @@ -60251,7 +60341,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ captureError: () => (/* binding */ captureError), /* harmony export */ errorContext: () => (/* binding */ errorContext) /* harmony export */ }); -/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../config */ 90302); +/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../config */ 42493); let context = null; function errorContext(cb) { @@ -60284,10 +60374,11 @@ function captureError(err) { context.error = err; } } +//# sourceMappingURL=errorContext.js.map /***/ }), -/***/ 82437: +/***/ 21982: /*!*********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/executeSchedule.js ***! \*********************************************************************/ @@ -60312,10 +60403,11 @@ function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat return scheduleSubscription; } } +//# sourceMappingURL=executeSchedule.js.map /***/ }), -/***/ 12337: +/***/ 19656: /*!**************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/identity.js ***! \**************************************************************/ @@ -60329,10 +60421,11 @@ __webpack_require__.r(__webpack_exports__); function identity(x) { return x; } +//# sourceMappingURL=identity.js.map /***/ }), -/***/ 19085: +/***/ 15206: /*!*****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isArrayLike.js ***! \*****************************************************************/ @@ -60344,10 +60437,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isArrayLike: () => (/* binding */ isArrayLike) /* harmony export */ }); const isArrayLike = x => x && typeof x.length === 'number' && typeof x !== 'function'; +//# sourceMappingURL=isArrayLike.js.map /***/ }), -/***/ 10165: +/***/ 37462: /*!*********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isAsyncIterable.js ***! \*********************************************************************/ @@ -60358,15 +60452,16 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ isAsyncIterable: () => (/* binding */ isAsyncIterable) /* harmony export */ }); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 78347); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 54418); function isAsyncIterable(obj) { return Symbol.asyncIterator && (0,_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]); } +//# sourceMappingURL=isAsyncIterable.js.map /***/ }), -/***/ 40623: +/***/ 47786: /*!************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isDate.js ***! \************************************************************/ @@ -60380,10 +60475,11 @@ __webpack_require__.r(__webpack_exports__); function isValidDate(value) { return value instanceof Date && !isNaN(value); } +//# sourceMappingURL=isDate.js.map /***/ }), -/***/ 78347: +/***/ 54418: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isFunction.js ***! \****************************************************************/ @@ -60397,10 +60493,11 @@ __webpack_require__.r(__webpack_exports__); function isFunction(value) { return typeof value === 'function'; } +//# sourceMappingURL=isFunction.js.map /***/ }), -/***/ 20835: +/***/ 18932: /*!*************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isInteropObservable.js ***! \*************************************************************************/ @@ -60411,17 +60508,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ isInteropObservable: () => (/* binding */ isInteropObservable) /* harmony export */ }); -/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../symbol/observable */ 44770); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 78347); +/* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../symbol/observable */ 1479); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 54418); function isInteropObservable(input) { return (0,_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(input[_symbol_observable__WEBPACK_IMPORTED_MODULE_1__.observable]); } +//# sourceMappingURL=isInteropObservable.js.map /***/ }), -/***/ 54377: +/***/ 16472: /*!****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isIterable.js ***! \****************************************************************/ @@ -60432,17 +60530,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ isIterable: () => (/* binding */ isIterable) /* harmony export */ }); -/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../symbol/iterator */ 30477); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 78347); +/* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../symbol/iterator */ 77028); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 54418); function isIterable(input) { return (0,_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(input === null || input === void 0 ? void 0 : input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_1__.iterator]); } +//# sourceMappingURL=isIterable.js.map /***/ }), -/***/ 59918: +/***/ 92319: /*!******************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isObservable.js ***! \******************************************************************/ @@ -60453,17 +60552,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ isObservable: () => (/* binding */ isObservable) /* harmony export */ }); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 64517); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isFunction */ 78347); +/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 99406); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isFunction */ 54418); function isObservable(obj) { return !!obj && (obj instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable || (0,_isFunction__WEBPACK_IMPORTED_MODULE_1__.isFunction)(obj.lift) && (0,_isFunction__WEBPACK_IMPORTED_MODULE_1__.isFunction)(obj.subscribe)); } +//# sourceMappingURL=isObservable.js.map /***/ }), -/***/ 182: +/***/ 25717: /*!***************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isPromise.js ***! \***************************************************************/ @@ -60474,15 +60574,16 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ isPromise: () => (/* binding */ isPromise) /* harmony export */ }); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 78347); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 54418); function isPromise(value) { return (0,_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(value === null || value === void 0 ? void 0 : value.then); } +//# sourceMappingURL=isPromise.js.map /***/ }), -/***/ 48120: +/***/ 98889: /*!**************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isReadableStreamLike.js ***! \**************************************************************************/ @@ -60494,8 +60595,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isReadableStreamLike: () => (/* binding */ isReadableStreamLike), /* harmony export */ readableStreamLikeToAsyncGenerator: () => (/* binding */ readableStreamLikeToAsyncGenerator) /* harmony export */ }); -/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ 9799); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isFunction */ 78347); +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ 97270); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isFunction */ 54418); function readableStreamLikeToAsyncGenerator(readableStream) { @@ -60520,10 +60621,11 @@ function readableStreamLikeToAsyncGenerator(readableStream) { function isReadableStreamLike(obj) { return (0,_isFunction__WEBPACK_IMPORTED_MODULE_1__.isFunction)(obj === null || obj === void 0 ? void 0 : obj.getReader); } +//# sourceMappingURL=isReadableStreamLike.js.map /***/ }), -/***/ 72114: +/***/ 31677: /*!*****************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/isScheduler.js ***! \*****************************************************************/ @@ -60534,15 +60636,16 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ isScheduler: () => (/* binding */ isScheduler) /* harmony export */ }); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 78347); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 54418); function isScheduler(value) { return value && (0,_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(value.schedule); } +//# sourceMappingURL=isScheduler.js.map /***/ }), -/***/ 81474: +/***/ 9867: /*!**********************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/lift.js ***! \**********************************************************/ @@ -60554,7 +60657,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ hasLift: () => (/* binding */ hasLift), /* harmony export */ operate: () => (/* binding */ operate) /* harmony export */ }); -/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 78347); +/* harmony import */ var _isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isFunction */ 54418); function hasLift(source) { return (0,_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(source === null || source === void 0 ? void 0 : source.lift); @@ -60573,10 +60676,11 @@ function operate(init) { throw new TypeError('Unable to lift unknown Observable type'); }; } +//# sourceMappingURL=lift.js.map /***/ }), -/***/ 8758: +/***/ 86219: /*!**********************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js ***! \**********************************************************************/ @@ -60587,7 +60691,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ mapOneOrManyArgs: () => (/* binding */ mapOneOrManyArgs) /* harmony export */ }); -/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../operators/map */ 24406); +/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../operators/map */ 93527); const { isArray @@ -60598,10 +60702,11 @@ function callOrApply(fn, args) { function mapOneOrManyArgs(fn) { return (0,_operators_map__WEBPACK_IMPORTED_MODULE_0__.map)(args => callOrApply(fn, args)); } +//# sourceMappingURL=mapOneOrManyArgs.js.map /***/ }), -/***/ 86075: +/***/ 20262: /*!**********************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/noop.js ***! \**********************************************************/ @@ -60613,10 +60718,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ noop: () => (/* binding */ noop) /* harmony export */ }); function noop() {} +//# sourceMappingURL=noop.js.map /***/ }), -/***/ 2652: +/***/ 46106: /*!**********************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/pipe.js ***! \**********************************************************/ @@ -60628,7 +60734,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ pipe: () => (/* binding */ pipe), /* harmony export */ pipeFromArray: () => (/* binding */ pipeFromArray) /* harmony export */ }); -/* harmony import */ var _identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity */ 12337); +/* harmony import */ var _identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity */ 19656); function pipe(...fns) { return pipeFromArray(fns); @@ -60644,10 +60750,11 @@ function pipeFromArray(fns) { return fns.reduce((prev, fn) => fn(prev), input); }; } +//# sourceMappingURL=pipe.js.map /***/ }), -/***/ 38058: +/***/ 76379: /*!**************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js ***! \**************************************************************************/ @@ -60658,8 +60765,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ reportUnhandledError: () => (/* binding */ reportUnhandledError) /* harmony export */ }); -/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../config */ 90302); -/* harmony import */ var _scheduler_timeoutProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/timeoutProvider */ 73514); +/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../config */ 42493); +/* harmony import */ var _scheduler_timeoutProvider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/timeoutProvider */ 76171); function reportUnhandledError(err) { @@ -60674,10 +60781,11 @@ function reportUnhandledError(err) { } }); } +//# sourceMappingURL=reportUnhandledError.js.map /***/ }), -/***/ 37603: +/***/ 42246: /*!****************************************************************************!*\ !*** ./node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js ***! \****************************************************************************/ @@ -60691,10 +60799,11 @@ __webpack_require__.r(__webpack_exports__); function createInvalidObservableTypeError(input) { return new TypeError(`You provided ${input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`); } +//# sourceMappingURL=throwUnobservableError.js.map /***/ }), -/***/ 73881: +/***/ 50920: /*!**********************************************!*\ !*** ./node_modules/saxen/dist/index.esm.js ***! \**********************************************/ @@ -61674,7 +61783,7 @@ function Parser(options) { /***/ }), -/***/ 35386: +/***/ 18797: /*!***************************************************!*\ !*** ./node_modules/set-function-length/index.js ***! \***************************************************/ @@ -61683,11 +61792,11 @@ function Parser(options) { "use strict"; -var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 25118); -var define = __webpack_require__(/*! define-data-property */ 80364); -var hasDescriptors = __webpack_require__(/*! has-property-descriptors */ 85593)(); -var gOPD = __webpack_require__(/*! gopd */ 56730); -var $TypeError = __webpack_require__(/*! es-errors/type */ 70970); +var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ 39249); +var define = __webpack_require__(/*! define-data-property */ 63333); +var hasDescriptors = __webpack_require__(/*! has-property-descriptors */ 4052)(); +var gOPD = __webpack_require__(/*! gopd */ 91031); +var $TypeError = __webpack_require__(/*! es-errors/type */ 39327); var $floor = GetIntrinsic('%Math.floor%'); /** @type {import('.')} */ @@ -61722,7 +61831,7 @@ module.exports = function setFunctionLength(fn, length) { /***/ }), -/***/ 57491: +/***/ 87004: /*!*************************************************!*\ !*** ./node_modules/tiny-svg/dist/index.esm.js ***! \*************************************************/ @@ -62496,7 +62605,7 @@ function transform(node, transforms) { /***/ }), -/***/ 19162: +/***/ 10739: /*!******************************************************!*\ !*** ./node_modules/util/support/isBufferBrowser.js ***! \******************************************************/ @@ -62508,7 +62617,7 @@ module.exports = function isBuffer(arg) { /***/ }), -/***/ 76293: +/***/ 56404: /*!********************************************!*\ !*** ./node_modules/util/support/types.js ***! \********************************************/ @@ -62520,10 +62629,10 @@ module.exports = function isBuffer(arg) { -var isArgumentsObject = __webpack_require__(/*! is-arguments */ 64257); -var isGeneratorFunction = __webpack_require__(/*! is-generator-function */ 12963); -var whichTypedArray = __webpack_require__(/*! which-typed-array */ 93960); -var isTypedArray = __webpack_require__(/*! is-typed-array */ 85357); +var isArgumentsObject = __webpack_require__(/*! is-arguments */ 77984); +var isGeneratorFunction = __webpack_require__(/*! is-generator-function */ 97276); +var whichTypedArray = __webpack_require__(/*! which-typed-array */ 97323); +var isTypedArray = __webpack_require__(/*! is-typed-array */ 26468); function uncurryThis(f) { return f.call.bind(f); } @@ -62749,13 +62858,13 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer; /***/ }), -/***/ 22122: +/***/ 1525: /*!***********************************!*\ !*** ./node_modules/util/util.js ***! \***********************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { -/* provided dependency */ var process = __webpack_require__(/*! ./node_modules/process/browser.js */ 96273); +/* provided dependency */ var process = __webpack_require__(/*! ./node_modules/process/browser.js */ 37578); // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -63162,7 +63271,7 @@ function reduceToSingleString(output, base, braces) { // NOTE: These type checking functions intentionally don't use `instanceof` // because it is fragile and can be easily faked with `Object.create()`. -exports.types = __webpack_require__(/*! ./support/types */ 76293); +exports.types = __webpack_require__(/*! ./support/types */ 56404); function isArray(ar) { return Array.isArray(ar); } @@ -63224,7 +63333,7 @@ function isPrimitive(arg) { typeof arg === 'undefined'; } exports.isPrimitive = isPrimitive; -exports.isBuffer = __webpack_require__(/*! ./support/isBuffer */ 19162); +exports.isBuffer = __webpack_require__(/*! ./support/isBuffer */ 10739); function objectToString(o) { return Object.prototype.toString.call(o); } @@ -63258,7 +63367,7 @@ exports.log = function () { * prototype. * @param {function} superCtor Constructor function to inherit prototype from. */ -exports.inherits = __webpack_require__(/*! inherits */ 98069); +exports.inherits = __webpack_require__(/*! inherits */ 51270); exports._extend = function (origin, add) { // Don't do anything if add isn't an object if (!add || !isObject(add)) return origin; @@ -63371,7 +63480,7 @@ exports.callbackify = callbackify; /***/ }), -/***/ 93960: +/***/ 97323: /*!*************************************************!*\ !*** ./node_modules/which-typed-array/index.js ***! \*************************************************/ @@ -63380,13 +63489,13 @@ exports.callbackify = callbackify; "use strict"; -var forEach = __webpack_require__(/*! for-each */ 30235); -var availableTypedArrays = __webpack_require__(/*! available-typed-arrays */ 32532); -var callBind = __webpack_require__(/*! call-bind */ 37996); -var callBound = __webpack_require__(/*! call-bind/callBound */ 26112); -var gOPD = __webpack_require__(/*! gopd */ 56730); +var forEach = __webpack_require__(/*! for-each */ 77990); +var availableTypedArrays = __webpack_require__(/*! available-typed-arrays */ 4149); +var callBind = __webpack_require__(/*! call-bind */ 49475); +var callBound = __webpack_require__(/*! call-bind/callBound */ 54831); +var gOPD = __webpack_require__(/*! gopd */ 91031); var $toString = callBound('Object.prototype.toString'); -var hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ 91279)(); +var hasToStringTag = __webpack_require__(/*! has-tostringtag/shams */ 98984)(); var g = typeof globalThis === 'undefined' ? global : globalThis; var typedArrays = availableTypedArrays(); var $slice = callBound('String.prototype.slice'); @@ -63473,626 +63582,12000 @@ module.exports = function whichTypedArray(value) { /***/ }), -/***/ 32532: -/*!******************************************************!*\ - !*** ./node_modules/available-typed-arrays/index.js ***! - \******************************************************/ -/***/ ((module) => { +/***/ 90080: +/*!**********************************!*\ + !*** ./src/app/BPMN-JS/index.js ***! + \**********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DomainStoryModeler) +/* harmony export */ }); +/* harmony import */ var bpmn_js_lib_Modeler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! bpmn-js/lib/Modeler */ 3922); +/* harmony import */ var diagram_js_lib_features_resize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/features/resize */ 33485); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _modeler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modeler */ 45077); +/* harmony import */ var _modeler_labeling__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modeler/labeling */ 9148); +/* harmony import */ var _modeler_modeling__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modeler/modeling */ 63493); +/* harmony import */ var _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Domain/Common/elementTypes */ 30236); -var possibleNames = ['BigInt64Array', 'BigUint64Array', 'Float32Array', 'Float64Array', 'Int16Array', 'Int32Array', 'Int8Array', 'Uint16Array', 'Uint32Array', 'Uint8Array', 'Uint8ClampedArray']; -var g = typeof globalThis === 'undefined' ? global : globalThis; -module.exports = function availableTypedArrays() { - var out = []; - for (var i = 0; i < possibleNames.length; i++) { - if (typeof g[possibleNames[i]] === 'function') { - out[out.length] = possibleNames[i]; + + + + + + +function DomainStoryModeler(options) { + bpmn_js_lib_Modeler__WEBPACK_IMPORTED_MODULE_5__["default"].call(this, options); + this._customElements = []; + this._groupElements = []; +} +inherits__WEBPACK_IMPORTED_MODULE_0___default()(DomainStoryModeler, bpmn_js_lib_Modeler__WEBPACK_IMPORTED_MODULE_5__["default"]); +DomainStoryModeler.prototype._modules = [].concat(DomainStoryModeler.prototype._modules, [_modeler__WEBPACK_IMPORTED_MODULE_1__["default"], _modeler_labeling__WEBPACK_IMPORTED_MODULE_2__["default"], _modeler_modeling__WEBPACK_IMPORTED_MODULE_3__["default"]], [diagram_js_lib_features_resize__WEBPACK_IMPORTED_MODULE_6__["default"]]); +/** + * add a single custom element to the underlying diagram + * + * @param {Object} customElement + */ +DomainStoryModeler.prototype._addCustomShape = function (customElement) { + let parentId = customElement.parent; + delete customElement.children; + delete customElement.parent; + this._customElements.push(customElement); + let canvas = this.get("canvas"), + elementFactory = this.get("elementFactory"); + let customAttrs = (0,min_dash__WEBPACK_IMPORTED_MODULE_7__.assign)({ + businessObject: customElement + }, customElement); + let customShape = elementFactory.create("shape", customAttrs); + if (isGroup(customElement)) { + this._groupElements[customElement.id] = customShape; + } + if (parentId) { + let parentShape = this._groupElements[parentId]; + if (isGroup(parentShape)) { + return canvas.addShape(customShape, parentShape, parentShape.id); } } - return out; + return canvas.addShape(customShape); +}; +DomainStoryModeler.prototype._addCustomConnection = function (customElement) { + this._customElements.push(customElement); + let canvas = this.get("canvas"), + elementFactory = this.get("elementFactory"), + elementRegistry = this.get("elementRegistry"); + let customAttrs = (0,min_dash__WEBPACK_IMPORTED_MODULE_7__.assign)({ + businessObject: customElement + }, customElement); + let connection = elementFactory.create("connection", (0,min_dash__WEBPACK_IMPORTED_MODULE_7__.assign)(customAttrs, { + source: elementRegistry.get(customElement.source), + target: elementRegistry.get(customElement.target) + }), elementRegistry.get(customElement.source).parent); + return canvas.addConnection(connection); +}; +//** We import BusinessObjects, not the whole Canvas Object!!!!!!!! +DomainStoryModeler.prototype.importCustomElements = function (elements) { + this.get("eventBus").fire("diagram.clear", {}); + this._customElements = []; + this._groupElements = []; + this.addCustomElements(elements); +}; +/** + * add a number of custom elements and connections to the underlying diagram. + * + * @param {Array} customElements + */ +DomainStoryModeler.prototype.addCustomElements = function (customElements) { + if (!(0,min_dash__WEBPACK_IMPORTED_MODULE_7__.isArray)(customElements)) { + throw new Error("argument must be an array"); + } + let shapes = [], + connections = [], + groups = []; + customElements.forEach(function (customElement) { + if (isConnection(customElement)) { + connections.push(customElement); + } else if (isGroup(customElement)) { + groups.push(customElement); + } else { + shapes.push(customElement); + } + }); + // add groups before shapes and shapes before connections so that connections + // can already rely on the shapes being part of the diagram + groups.forEach(this._addCustomShape, this); + shapes.forEach(this._addCustomShape, this); + connections.forEach(this._addCustomConnection, this); +}; +/** + * get custom elements with their current status. + * + * @return {Array} custom elements on the diagram + */ +DomainStoryModeler.prototype.getCustomElements = function () { + return this._customElements; }; +// override standard function to prevent default elements on canvas +DomainStoryModeler.prototype.createDiagram = function (done) {}; +function isConnection(element) { + return element.type === _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_4__.ElementTypes.ACTIVITY || element.type === _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_4__.ElementTypes.CONNECTION; +} +function isGroup(element) { + return element && element.type === _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_4__.ElementTypes.GROUP; +} /***/ }), -/***/ 12015: -/*!******************************************************************!*\ - !*** ./node_modules/@angular/animations/fesm2022/animations.mjs ***! - \******************************************************************/ -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { +/***/ 1080: +/*!********************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/change-icon/replace.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AUTO_STYLE: () => (/* binding */ AUTO_STYLE), -/* harmony export */ AnimationBuilder: () => (/* binding */ AnimationBuilder), -/* harmony export */ AnimationFactory: () => (/* binding */ AnimationFactory), -/* harmony export */ AnimationMetadataType: () => (/* binding */ AnimationMetadataType), -/* harmony export */ NoopAnimationPlayer: () => (/* binding */ NoopAnimationPlayer), -/* harmony export */ animate: () => (/* binding */ animate), -/* harmony export */ animateChild: () => (/* binding */ animateChild), -/* harmony export */ animation: () => (/* binding */ animation), -/* harmony export */ group: () => (/* binding */ group), -/* harmony export */ keyframes: () => (/* binding */ keyframes), -/* harmony export */ query: () => (/* binding */ query), -/* harmony export */ sequence: () => (/* binding */ sequence), -/* harmony export */ stagger: () => (/* binding */ stagger), -/* harmony export */ state: () => (/* binding */ state), -/* harmony export */ style: () => (/* binding */ style), -/* harmony export */ transition: () => (/* binding */ transition), -/* harmony export */ trigger: () => (/* binding */ trigger), -/* harmony export */ useAnimation: () => (/* binding */ useAnimation), -/* harmony export */ "ɵAnimationGroupPlayer": () => (/* binding */ AnimationGroupPlayer), -/* harmony export */ "ɵBrowserAnimationBuilder": () => (/* binding */ BrowserAnimationBuilder), -/* harmony export */ "ɵPRE_STYLE": () => (/* binding */ ɵPRE_STYLE) +/* harmony export */ "default": () => (/* binding */ Replace) /* harmony export */ }); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 39191); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 93673); + + + /** - * @license Angular v17.3.3 - * (c) 2010-2022 Google LLC. https://angular.io/ - * License: MIT + * service that allow replacing of elements. + */ +function Replace(modeling) { + this._modeling = modeling; +} +/** + * @param {Element} oldElement - element to be replaced + * @param {Object} newElementData - containing information about the new Element, for example height, width, type. + * @param modeling */ +function replaceElement(oldElement, newElementData, modeling) { + // let modeling = this._modeling; + let newElement = setCenterOfElement(newElementData, oldElement, modeling); + let outgoingActivities = newElement.outgoing; + let incomingActivities = newElement.incoming; + outgoingActivities.forEach(element => { + element.businessObject.source = newElement.id; + }); + incomingActivities.forEach(element => { + element.businessObject.target = newElement.id; + }); + return newElement; +} +function setCenterOfElement(newElementData, oldElement, modeling) { + newElementData.x = Math.ceil(oldElement.x + (newElementData.width || oldElement.width) / 2); + newElementData.y = Math.ceil(oldElement.y + (newElementData.height || oldElement.height) / 2); + (0,min_dash__WEBPACK_IMPORTED_MODULE_0__.assign)(newElementData, { + name: oldElement.businessObject.name + }); + return modeling.replaceShape(oldElement, newElementData, {}); +} +Replace.prototype.replaceElement = replaceElement; + +/***/ }), + +/***/ 96554: +/*!********************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/change-icon/replaceMenuProvider.js ***! + \********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ ReplaceMenuProvider) +/* harmony export */ }); +/* harmony import */ var _replace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./replace */ 1080); +/* harmony import */ var _replaceOptions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./replaceOptions */ 66252); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! min-dash */ 93673); /** - * @description Constants for the categories of parameters that can be defined for animations. - * - * A corresponding function defines a set of parameters for each category, and - * collects them into a corresponding `AnimationMetadata` object. - * - * @publicApi - */ -var AnimationMetadataType; -(function (AnimationMetadataType) { - /** - * Associates a named animation state with a set of CSS styles. - * See [`state()`](api/animations/state) - */ - AnimationMetadataType[AnimationMetadataType["State"] = 0] = "State"; - /** - * Data for a transition from one animation state to another. - * See `transition()` - */ - AnimationMetadataType[AnimationMetadataType["Transition"] = 1] = "Transition"; - /** - * Contains a set of animation steps. - * See `sequence()` - */ - AnimationMetadataType[AnimationMetadataType["Sequence"] = 2] = "Sequence"; - /** - * Contains a set of animation steps. - * See `{@link animations/group group()}` - */ - AnimationMetadataType[AnimationMetadataType["Group"] = 3] = "Group"; - /** - * Contains an animation step. - * See `animate()` - */ - AnimationMetadataType[AnimationMetadataType["Animate"] = 4] = "Animate"; - /** - * Contains a set of animation steps. - * See `keyframes()` - */ - AnimationMetadataType[AnimationMetadataType["Keyframes"] = 5] = "Keyframes"; - /** - * Contains a set of CSS property-value pairs into a named style. - * See `style()` - */ - AnimationMetadataType[AnimationMetadataType["Style"] = 6] = "Style"; - /** - * Associates an animation with an entry trigger that can be attached to an element. - * See `trigger()` - */ - AnimationMetadataType[AnimationMetadataType["Trigger"] = 7] = "Trigger"; - /** - * Contains a re-usable animation. - * See `animation()` - */ - AnimationMetadataType[AnimationMetadataType["Reference"] = 8] = "Reference"; - /** - * Contains data to use in executing child animations returned by a query. - * See `animateChild()` - */ - AnimationMetadataType[AnimationMetadataType["AnimateChild"] = 9] = "AnimateChild"; - /** - * Contains animation parameters for a re-usable animation. - * See `useAnimation()` - */ - AnimationMetadataType[AnimationMetadataType["AnimateRef"] = 10] = "AnimateRef"; - /** - * Contains child-animation query data. - * See `query()` - */ - AnimationMetadataType[AnimationMetadataType["Query"] = 11] = "Query"; - /** - * Contains data for staggering an animation sequence. - * See `stagger()` - */ - AnimationMetadataType[AnimationMetadataType["Stagger"] = 12] = "Stagger"; -})(AnimationMetadataType || (AnimationMetadataType = {})); -/** - * Specifies automatic styling. - * - * @publicApi + * This module is an element agnostic replace menu provider for the popup menu. */ -const AUTO_STYLE = '*'; +function ReplaceMenuProvider(modeling) { + this._dsReplace = new _replace__WEBPACK_IMPORTED_MODULE_0__["default"](modeling); + this._modeling = modeling; +} +ReplaceMenuProvider.$inject = ["modeling"]; /** - * Creates a named animation trigger, containing a list of [`state()`](api/animations/state) - * and `transition()` entries to be evaluated when the expression - * bound to the trigger changes. - * - * @param name An identifying string. - * @param definitions An animation definition object, containing an array of - * [`state()`](api/animations/state) and `transition()` declarations. - * - * @return An object that encapsulates the trigger data. - * - * @usageNotes - * Define an animation trigger in the `animations` section of `@Component` metadata. - * In the template, reference the trigger by name and bind it to a trigger expression that - * evaluates to a defined animation state, using the following format: - * - * `[@triggerName]="expression"` - * - * Animation trigger bindings convert all values to strings, and then match the - * previous and current values against any linked transitions. - * Booleans can be specified as `1` or `true` and `0` or `false`. - * - * ### Usage Example - * - * The following example creates an animation trigger reference based on the provided - * name value. - * The provided animation value is expected to be an array consisting of state and - * transition declarations. - * - * ```typescript - * @Component({ - * selector: "my-component", - * templateUrl: "my-component-tpl.html", - * animations: [ - * trigger("myAnimationTrigger", [ - * state(...), - * state(...), - * transition(...), - * transition(...) - * ]) - * ] - * }) - * class MyComponent { - * myStatusExp = "something"; - * } - * ``` - * - * The template associated with this component makes use of the defined trigger - * by binding to an element within its template code. - * - * ```html - * - *
...
- * ``` - * - * ### Using an inline function - * The `transition` animation method also supports reading an inline function which can decide - * if its associated animation should be run. - * - * ```typescript - * // this method is run each time the `myAnimationTrigger` trigger value changes. - * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key: - string]: any}): boolean { - * // notice that `element` and `params` are also available here - * return toState == 'yes-please-animate'; - * } - * - * @Component({ - * selector: 'my-component', - * templateUrl: 'my-component-tpl.html', - * animations: [ - * trigger('myAnimationTrigger', [ - * transition(myInlineMatcherFn, [ - * // the animation sequence code - * ]), - * ]) - * ] - * }) - * class MyComponent { - * myStatusExp = "yes-please-animate"; - * } - * ``` - * - * ### Disabling Animations - * When true, the special animation control binding `@.disabled` binding prevents - * all animations from rendering. - * Place the `@.disabled` binding on an element to disable - * animations on the element itself, as well as any inner animation triggers - * within the element. - * - * The following example shows how to use this feature: - * - * ```typescript - * @Component({ - * selector: 'my-component', - * template: ` - *
- *
- *
- * `, - * animations: [ - * trigger("childAnimation", [ - * // ... - * ]) - * ] - * }) - * class MyComponent { - * isDisabled = true; - * exp = '...'; - * } - * ``` - * - * When `@.disabled` is true, it prevents the `@childAnimation` trigger from animating, - * along with any inner animations. - * - * ### Disable animations application-wide - * When an area of the template is set to have animations disabled, - * **all** inner components have their animations disabled as well. - * This means that you can disable all animations for an app - * by placing a host binding set on `@.disabled` on the topmost Angular component. - * - * ```typescript - * import {Component, HostBinding} from '@angular/core'; - * - * @Component({ - * selector: 'app-component', - * templateUrl: 'app.component.html', - * }) - * class AppComponent { - * @HostBinding('@.disabled') - * public animationsDisabled = true; - * } - * ``` - * - * ### Overriding disablement of inner animations - * Despite inner animations being disabled, a parent animation can `query()` - * for inner elements located in disabled areas of the template and still animate - * them if needed. This is also the case for when a sub animation is - * queried by a parent and then later animated using `animateChild()`. + * Get all entries from replaceOptions for the given element and apply filters + * on them. Get for example only elements, which are different from the current one. * - * ### Detecting when an animation is disabled - * If a region of the DOM (or the entire application) has its animations disabled, the animation - * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides - * an instance of an `AnimationEvent`. If animations are disabled, - * the `.disabled` flag on the event is true. + * @param {djs.model.Base} element * - * @publicApi + * @return {Array} a list of menu entry items */ -function trigger(name, definitions) { - return { - type: AnimationMetadataType.Trigger, - name, - definitions, - options: {} - }; -} +ReplaceMenuProvider.prototype.getEntries = function (element) { + let entries; + if (element.type.includes("actor")) { + entries = _replaceOptions__WEBPACK_IMPORTED_MODULE_1__.actorReplaceOptions(element.type); + } else if (element.type.includes("workObject")) { + entries = _replaceOptions__WEBPACK_IMPORTED_MODULE_1__.workObjectReplaceOptions(element.type); + } + return this._createEntries(element, entries); +}; /** - * Defines an animation step that combines styling information with timing information. - * - * @param timings Sets `AnimateTimings` for the parent animation. - * A string in the format "duration [delay] [easing]". - * - Duration and delay are expressed as a number and optional time unit, - * such as "1s" or "10ms" for one second and 10 milliseconds, respectively. - * The default unit is milliseconds. - * - The easing value controls how the animation accelerates and decelerates - * during its runtime. Value is one of `ease`, `ease-in`, `ease-out`, - * `ease-in-out`, or a `cubic-bezier()` function call. - * If not supplied, no easing is applied. - * - * For example, the string "1s 100ms ease-out" specifies a duration of - * 1000 milliseconds, and delay of 100 ms, and the "ease-out" easing style, - * which decelerates near the end of the duration. - * @param styles Sets AnimationStyles for the parent animation. - * A function call to either `style()` or `keyframes()` - * that returns a collection of CSS style entries to be applied to the parent animation. - * When null, uses the styles from the destination state. - * This is useful when describing an animation step that will complete an animation; - * see "Animating to the final state" in `transitions()`. - * @returns An object that encapsulates the animation step. - * - * @usageNotes - * Call within an animation `sequence()`, `{@link animations/group group()}`, or - * `transition()` call to specify an animation step - * that applies given style data to the parent animation for a given amount of time. - * - * ### Syntax Examples - * **Timing examples** - * - * The following examples show various `timings` specifications. - * - `animate(500)` : Duration is 500 milliseconds. - * - `animate("1s")` : Duration is 1000 milliseconds. - * - `animate("100ms 0.5s")` : Duration is 100 milliseconds, delay is 500 milliseconds. - * - `animate("5s ease-in")` : Duration is 5000 milliseconds, easing in. - * - `animate("5s 10ms cubic-bezier(.17,.67,.88,.1)")` : Duration is 5000 milliseconds, delay is 10 - * milliseconds, easing according to a bezier curve. - * - * **Style examples** + * Creates an array of menu entry objects for a given element and filters the replaceOptions + * according to a filter function. * - * The following example calls `style()` to set a single CSS style. - * ```typescript - * animate(500, style({ background: "red" })) - * ``` - * The following example calls `keyframes()` to set a CSS style - * to different values for successive keyframes. - * ```typescript - * animate(500, keyframes( - * [ - * style({ background: "blue" }), - * style({ background: "red" }) - * ]) - * ``` + * @param {djs.model.Base} element + * @param {Object} replaceOptions * - * @publicApi + * @return {Array} a list of menu items */ -function animate(timings, styles = null) { - return { - type: AnimationMetadataType.Animate, - styles, - timings - }; -} +ReplaceMenuProvider.prototype._createEntries = function (element, replaceOptions) { + let menuEntries = []; + let self = this; + (0,min_dash__WEBPACK_IMPORTED_MODULE_2__.forEach)(replaceOptions, function (definition) { + let entry = self._createMenuEntry(definition, element); + menuEntries.push(entry); + }); + return menuEntries; +}; /** - * @description Defines a list of animation steps to be run in parallel. - * - * @param steps An array of animation step objects. - * - When steps are defined by `style()` or `animate()` - * function calls, each call within the group is executed instantly. - * - To specify offset styles to be applied at a later time, define steps with - * `keyframes()`, or use `animate()` calls with a delay value. - * For example: - * - * ```typescript - * group([ - * animate("1s", style({ background: "black" })), - * animate("2s", style({ color: "white" })) - * ]) - * ``` - * - * @param options An options object containing a delay and - * developer-defined parameters that provide styling defaults and - * can be overridden on invocation. - * - * @return An object that encapsulates the group data. - * - * @usageNotes - * Grouped animations are useful when a series of styles must be - * animated at different starting times and closed off at different ending times. + * Creates and returns a single menu entry item. * - * When called within a `sequence()` or a - * `transition()` call, does not continue to the next - * instruction until all of the inner animation steps have completed. + * @param {Object} definition a single replace options definition object + * @param {djs.model.Base} element + * @param {Function} [action] an action callback function which gets called when + * the menu entry is being triggered. * - * @publicApi + * @return {Object} menu entry item */ -function group(steps, options = null) { - return { - type: AnimationMetadataType.Group, - steps, - options +ReplaceMenuProvider.prototype._createMenuEntry = function (definition, element, action) { + let replaceElement = this._dsReplace.replaceElement; + let modeling = this._modeling; + let replaceAction = function () { + return replaceElement(element, definition.target, modeling); }; -} -/** - * Defines a list of animation steps to be run sequentially, one by one. - * - * @param steps An array of animation step objects. - * - Steps defined by `style()` calls apply the styling data immediately. - * - Steps defined by `animate()` calls apply the styling data over time - * as specified by the timing data. - * - * ```typescript - * sequence([ - * style({ opacity: 0 }), - * animate("1s", style({ opacity: 1 })) - * ]) - * ``` - * - * @param options An options object containing a delay and - * developer-defined parameters that provide styling defaults and - * can be overridden on invocation. - * - * @return An object that encapsulates the sequence data. - * - * @usageNotes - * When you pass an array of steps to a - * `transition()` call, the steps run sequentially by default. - * Compare this to the `{@link animations/group group()}` call, which runs animation steps in - *parallel. - * - * When a sequence is used within a `{@link animations/group group()}` or a `transition()` call, - * execution continues to the next instruction only after each of the inner animation - * steps have completed. - * - * @publicApi - **/ -function sequence(steps, options = null) { + action = action || replaceAction; return { - type: AnimationMetadataType.Sequence, - steps, - options + label: definition.label, + className: definition.className, + id: definition.actionName, + action: action }; +}; + +/***/ }), + +/***/ 66252: +/*!***************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/change-icon/replaceOptions.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ actorReplaceOptions: () => (/* binding */ actorReplaceOptions), +/* harmony export */ initializeReplaceOptions: () => (/* binding */ initializeReplaceOptions), +/* harmony export */ workObjectReplaceOptions: () => (/* binding */ workObjectReplaceOptions) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); + +let iconDictionaryService; +function initializeReplaceOptions(iconDictionary) { + iconDictionaryService = iconDictionary; } -/** - * Declares a key/value object containing CSS properties/styles that - * can then be used for an animation [`state`](api/animations/state), within an animation - *`sequence`, or as styling data for calls to `animate()` and `keyframes()`. - * - * @param tokens A set of CSS styles or HTML styles associated with an animation state. - * The value can be any of the following: - * - A key-value style pair associating a CSS property with a value. - * - An array of key-value style pairs. - * - An asterisk (*), to use auto-styling, where styles are derived from the element - * being animated and applied to the animation when it starts. - * - * Auto-styling can be used to define a state that depends on layout or other - * environmental factors. - * - * @return An object that encapsulates the style data. - * - * @usageNotes - * The following examples create animation styles that collect a set of - * CSS property values: - * - * ```typescript - * // string values for CSS properties - * style({ background: "red", color: "blue" }) - * - * // numerical pixel values - * style({ width: 100, height: 0 }) - * ``` - * - * The following example uses auto-styling to allow an element to animate from - * a height of 0 up to its full height: - * - * ``` - * style({ height: 0 }), - * animate("1s", style({ height: "*" })) - * ``` - * - * @publicApi - **/ -function style(tokens) { - return { - type: AnimationMetadataType.Style, - styles: tokens, - offset: null +function actorReplaceOptions(name) { + const actorTypes = iconDictionaryService.getTypeDictionary(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR); + let replaceOption = {}; + let i = 0; + actorTypes.keysArray().forEach(actorType => { + if (!name.includes(actorType)) { + const typeName = actorType; + replaceOption[i] = { + label: "Change to " + typeName, + actionName: "replace-with-actor-" + typeName.toLowerCase(), + className: iconDictionaryService.getIconForBPMN(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR, actorType), + target: { + type: `${src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR}${actorType}` + } + }; + i++; + } + }); + return replaceOption; +} +function workObjectReplaceOptions(name) { + const workObjectTypes = iconDictionaryService.getTypeDictionary(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT); + let replaceOption = {}; + let i = 0; + workObjectTypes.keysArray().forEach(workObjectType => { + if (!name.includes(workObjectType)) { + const typeName = workObjectType; + replaceOption[i] = { + label: "Change to " + typeName, + actionName: "replace-with-actor-" + typeName, + className: iconDictionaryService.getIconForBPMN(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT, workObjectType), + target: { + type: `${src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT}${workObjectType}` + } + }; + } + i++; + }); + return replaceOption; +} + +/***/ }), + +/***/ 74669: +/*!******************************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/context-pad/domainStoryContextPadProvider.js ***! + \******************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DomainStoryContextPadProvider), +/* harmony export */ initializeContextPadProvider: () => (/* binding */ initializeContextPadProvider) +/* harmony export */ }); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var bpmn_js_lib_features_context_pad_ContextPadProvider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! bpmn-js/lib/features/context-pad/ContextPadProvider */ 78809); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var _numbering_numbering__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../numbering/numbering */ 37126); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/Domain/Icon-Set-Configuration/allIcons */ 57488); + + + + + + + + +let dirtyFlagService; +let iconDictionaryService; +function initializeContextPadProvider(dirtyFlag, iconDictionary) { + dirtyFlagService = dirtyFlag; + iconDictionaryService = iconDictionary; +} +function DomainStoryContextPadProvider(injector, connect, translate, elementFactory, create, canvas, contextPad, popupMenu, replaceMenuProvider, commandStack, eventBus, modeling) { + let startConnect; + let selectedElement; + injector.invoke(bpmn_js_lib_features_context_pad_ContextPadProvider__WEBPACK_IMPORTED_MODULE_4__["default"], this); + let autoPlace = injector.get("autoPlace", false); + let cached = (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.bind)(this.getContextPadEntries, this); + document.addEventListener("pickedColor", event => { + if (selectedElement) { + executeCommandStack(event); + } + }); + popupMenu.registerProvider("ds-replace", replaceMenuProvider); + popupMenu.registerProvider("bpmn-replace", replaceMenuProvider); + this.getContextPadEntries = function (element) { + selectedElement = element; + document.dispatchEvent(new CustomEvent("defaultColor", { + detail: { + color: selectedElement.businessObject.pickedColor ?? "#000000" + } + })); + const allStandardIconKeys = (0,src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.getAllStandardIconKeys)(); + let actions = cached(element); + startConnect = function (event, element, autoActivate) { + connect.start(event, element, autoActivate); + }; + if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.WORKOBJECT)) { + if (!src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.isCustomType(element.type) || src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.isCustomSvgType(element.type)) { + addColorChange(actions); + } + addConnectWithActivity(actions, startConnect); + addTextAnnotation(actions); + addActors(appendAction, actions); + addWorkObjects(appendAction, actions); + addChangeWorkObjectTypeMenu(actions); + } else if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR)) { + if (!src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.isCustomType(element.type) || src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.isCustomSvgType(element.type)) { + addColorChange(actions); + } + addConnectWithActivity(actions, startConnect); + addTextAnnotation(actions); + addWorkObjects(appendAction, actions); + addChangeActorTypeMenu(actions); + } else if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.GROUP)) { + delete actions.delete; + addTextAnnotation(actions); + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, { + deleteGroup: { + group: "edit", + className: "bpmn-icon-trash", + title: "Remove Group without Child-Elements", + action: { + click: function (event, element) { + modeling.removeGroup(element); + dirtyFlagService.makeDirty(); + } + } + } + }); + addColorChange(actions); + } else if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTIVITY)) { + moveDeleteActionToEndOfArray(actions); + addColorChange(actions); + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, { + delete: { + group: "edit", + className: "bpmn-icon-trash", + title: "Remove", + action: { + click: function (event, element) { + modeling.removeElements({ + element + }); + dirtyFlagService.makeDirty(); + } + } + } + }); + } + return actions; }; + function moveDeleteActionToEndOfArray(actions) { + delete actions.delete; + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, { + changeDirection: { + group: "edit", + className: "icon-domain-story-changeDirection", + title: translate("Change direction"), + action: { + // event needs to be addressed + click: function (event, element) { + changeDirection(element); + } + } + } + }); + } + function addChangeActorTypeMenu(actions) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, { + replace: { + group: "edit", + className: "bpmn-icon-screw-wrench", + title: translate("Change type"), + action: { + click: function (event, element) { + let position = (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(getReplaceMenuPosition(element), { + cursor: { + x: event.x, + y: event.y + } + }); + popupMenu.open(element, "ds-replace", position); + } + } + } + }); + } + function addColorChange(actions) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, { + colorChange: { + group: "edit", + className: "icon-domain-story-color-picker", + title: translate("Change color"), + action: { + click: function (event, element) { + document.dispatchEvent(new CustomEvent("openColorPicker")); + } + } + } + }); + } + function addTextAnnotation(actions) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, { + "append.text-annotation": appendAction(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.TEXTANNOTATION, "bpmn-icon-text-annotation", "textannotation", "connect") + }); + } + function addConnectWithActivity(actions, startConnect) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, { + connect: { + group: "connect", + className: "bpmn-icon-connection", + title: translate("Connect with activity"), + action: { + click: startConnect, + dragstart: startConnect + } + } + }); + } + function addWorkObjects(appendAction, actions) { + let workObjectTypes = iconDictionaryService.getTypeDictionary(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.WORKOBJECT); + workObjectTypes.keysArray().forEach(workObjectType => { + let name = workObjectType; + let icon = iconDictionaryService.getIconForBPMN(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.WORKOBJECT, workObjectType); + let action = []; + action["append.workObject" + name] = appendAction(`${src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.WORKOBJECT}${workObjectType}`, icon, name, "workObjects"); + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, action); + }); + } + function addActors(appendAction, actions) { + let actorTypes = iconDictionaryService.getTypeDictionary(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR); + actorTypes.keysArray().forEach(actorType => { + let name = actorType; + let icon = iconDictionaryService.getIconForBPMN(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR, actorType); + let action = []; + action["append.actor" + name] = appendAction(`${src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR}${actorType}`, icon, name, "actors"); + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, action); + }); + } + function addChangeWorkObjectTypeMenu(actions) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(actions, { + replace: { + group: "edit", + className: "bpmn-icon-screw-wrench", + title: translate("Change type"), + action: { + click: function (event, element) { + let position = (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(getReplaceMenuPosition(element), { + cursor: { + x: event.x, + y: event.y + } + }); + popupMenu.open(element, "ds-replace", position); + } + } + } + }); + } + function changeDirection(element) { + let context; + let businessObject = element.businessObject; + let newNumber; + if (element.source.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR)) { + newNumber = 0; + } else { + newNumber = (0,_numbering_numbering__WEBPACK_IMPORTED_MODULE_1__.generateAutomaticNumber)(element, commandStack); + } + context = { + businessObject: businessObject, + newNumber: newNumber, + element: element + }; + commandStack.execute("activity.directionChange", context); + } + function getReplaceMenuPosition(element) { + let Y_OFFSET = 5; + let diagramContainer = canvas.getContainer(), + pad = contextPad.getPad(element).html; + let diagramRect = diagramContainer.getBoundingClientRect(), + padRect = pad.getBoundingClientRect(); + let top = padRect.top - diagramRect.top; + let left = padRect.left - diagramRect.left; + return { + x: left, + y: top + padRect.height + Y_OFFSET + }; + } + /** + * create an append action + * + * @param {String} type + * @param {String} className + * @param {String} [title] + * @param {String} group + * @param {Object} [options] + * + * @return {Object} descriptor + */ + function appendAction(type, className, title, group, options) { + if (typeof title !== "string") { + options = title; + title = translate("{type}", { + type: type.replace(/^domainStory:/, "") + }); + } + function appendStart(event, element) { + let shape = elementFactory.createShape((0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)({ + type: type + }, options)); + let context = { + elements: [shape], + hints: {}, + source: element + }; + create.start(event, shape, context); + } + return { + group: group, + className: className, + title: "Append " + title, + action: { + dragstart: startConnect, + click: appendStart + } + }; + } + function getSelectedBusinessObject(event) { + return { + businessObject: selectedElement.businessObject, + newColor: event.detail.color, + element: selectedElement + }; + } + function executeCommandStack(event) { + const selectedBusinessObject = getSelectedBusinessObject(event); + commandStack.execute("element.colorChange", selectedBusinessObject); + dirtyFlagService.makeDirty(); + } } +inherits__WEBPACK_IMPORTED_MODULE_0___default()(DomainStoryContextPadProvider, bpmn_js_lib_features_context_pad_ContextPadProvider__WEBPACK_IMPORTED_MODULE_4__["default"]); +DomainStoryContextPadProvider.$inject = ["injector", "connect", "translate", "elementFactory", "create", "canvas", "contextPad", "popupMenu", "replaceMenuProvider", "commandStack", "eventBus", "modeling"]; + +/***/ }), + +/***/ 86258: +/*!**************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/domainStoryElementFactory.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DomainStoryElementFactory) +/* harmony export */ }); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var bpmn_js_lib_features_modeling_ElementFactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! bpmn-js/lib/features/modeling/ElementFactory */ 63784); +/* harmony import */ var bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! bpmn-js/lib/util/LabelUtil */ 50815); +/* harmony import */ var _domainStoryIdFactory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./domainStoryIdFactory */ 12003); + + + + + + + /** - * Declares an animation state within a trigger attached to an element. - * - * @param name One or more names for the defined state in a comma-separated string. - * The following reserved state names can be supplied to define a style for specific use - * cases: - * - * - `void` You can associate styles with this name to be used when - * the element is detached from the application. For example, when an `ngIf` evaluates - * to false, the state of the associated element is void. - * - `*` (asterisk) Indicates the default state. You can associate styles with this name - * to be used as the fallback when the state that is being animated is not declared - * within the trigger. - * - * @param styles A set of CSS styles associated with this state, created using the - * `style()` function. - * This set of styles persists on the element once the state has been reached. - * @param options Parameters that can be passed to the state when it is invoked. - * 0 or more key-value pairs. - * @return An object that encapsulates the new state data. - * - * @usageNotes - * Use the `trigger()` function to register states to an animation trigger. - * Use the `transition()` function to animate between states. - * When a state is active within a component, its associated styles persist on the element, - * even when the animation ends. - * - * @publicApi - **/ -function state(name, styles, options) { - return { - type: AnimationMetadataType.State, - name, - styles, - options + * A custom factory that knows how to create BPMN _and_ custom elements. + */ +function DomainStoryElementFactory(bpmnFactory, moddle) { + bpmn_js_lib_features_modeling_ElementFactory__WEBPACK_IMPORTED_MODULE_2__["default"].call(this, bpmnFactory, moddle); + let self = this; + let domainStoryIdFactory = new _domainStoryIdFactory__WEBPACK_IMPORTED_MODULE_1__["default"](); + /** + * create a diagram-js element with the given type (any of shape, connection, label). + * + * @param {String} elementType + * @param {Object} attrs + * + * @return {djs.model.Base} + */ + this.create = function (elementType, attrs) { + let type = attrs.type; + if (elementType === "label") { + return self.baseCreate(elementType, (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)({ + type: "label" + }, bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_LABEL_SIZE, attrs)); + } + // add type to businessObject if custom + if (/^domainStory:/.test(type)) { + if (!attrs.businessObject) { + attrs.businessObject = { + type: type, + name: attrs.name ? attrs.name : "" + }; + } + if (attrs.id) { + domainStoryIdFactory.registerId(attrs.id); + } else { + attrs.id = domainStoryIdFactory.getId(elementType); + } + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(attrs.businessObject, { + id: attrs.id + }); + let id = attrs.id; + attrs.businessObject.get = function (key) { + if (key === "id") { + return id; + } + }; + attrs.businessObject.set = function (key, value) { + if (key === "id") { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(attrs.businessObject, { + id: value + }); + } + }; + if (!attrs.businessObject.$type) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(attrs.businessObject, { + $type: "Element" + }); + } + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(attrs.businessObject, { + di: {} + }); + if (!attrs.businessObject.$descriptor) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(attrs.businessObject, { + $descriptor: {} + }); + } + // add width and height if shape + if ((!/:activity$/.test(type) || !/:connection$/.test(type)) && !(/:group$/.test(type) && attrs.height || attrs.width)) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(attrs, self._getCustomElementSize(type)); + } + if (!("$instanceOf" in attrs.businessObject)) { + // ensure we can use ModelUtil#is for type checks + Object.defineProperty(attrs.businessObject, "$instanceOf", { + value: function (type) { + return this.type === type; + } + }); + } + return self.baseCreate(elementType, attrs); + } + return self.createBpmnElement(elementType, attrs); }; } +inherits__WEBPACK_IMPORTED_MODULE_0___default()(DomainStoryElementFactory, bpmn_js_lib_features_modeling_ElementFactory__WEBPACK_IMPORTED_MODULE_2__["default"]); +DomainStoryElementFactory.$inject = ["bpmnFactory", "moddle"]; /** - * Defines a set of animation styles, associating each style with an optional `offset` value. - * - * @param steps A set of animation styles with optional offset data. - * The optional `offset` value for a style specifies a percentage of the total animation - * time at which that style is applied. - * @returns An object that encapsulates the keyframes data. - * - * @usageNotes - * Use with the `animate()` call. Instead of applying animations - * from the current state - * to the destination state, keyframes describe how each style entry is applied and at what point - * within the animation arc. - * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp). - * - * ### Usage - * - * In the following example, the offset values describe - * when each `backgroundColor` value is applied. The color is red at the start, and changes to - * blue when 20% of the total time has elapsed. - * - * ```typescript - * // the provided offset values - * animate("5s", keyframes([ - * style({ backgroundColor: "red", offset: 0 }), - * style({ backgroundColor: "blue", offset: 0.2 }), - * style({ backgroundColor: "orange", offset: 0.3 }), - * style({ backgroundColor: "black", offset: 1 }) - * ])) - * ``` + * returns the default size of custom shapes. * - * If there are no `offset` values specified in the style entries, the offsets - * are calculated automatically. + * the following example shows an interface on how + * to setup the custom shape's dimensions. + * * + * @param {String} type * - * ```typescript - * animate("5s", keyframes([ - * style({ backgroundColor: "red" }) // offset = 0 - * style({ backgroundColor: "blue" }) // offset = 0.33 - * style({ backgroundColor: "orange" }) // offset = 0.66 - * style({ backgroundColor: "black" }) // offset = 1 - * ])) - *``` - - * @publicApi + * @return {Dimensions} a {width, height} object representing the size of the element */ -function keyframes(steps) { - return { - type: AnimationMetadataType.Keyframes, - steps +DomainStoryElementFactory.prototype._getCustomElementSize = function (type) { + let shapes = { + __default: { + width: 75, + height: 75 + }, + "domainStory:textAnnotation": { + width: 100, + height: 30 + }, + "domainStory:group": { + width: 525, + height: 275 + } }; + return shapes[type] || shapes.__default; +}; +class Dimensions {} + +/***/ }), + +/***/ 12003: +/*!*********************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/domainStoryIdFactory.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ containsId: () => (/* binding */ containsId), +/* harmony export */ "default": () => (/* binding */ DomainStoryIdFactory) +/* harmony export */ }); + + +let idList = []; +function DomainStoryIdFactory() {} +DomainStoryIdFactory.prototype.getId = function (type) { + return generateId(type); +}; +DomainStoryIdFactory.prototype.registerId = function (id) { + idList.push(id); +}; +function generateId(type) { + let idNumber = fourDigitsId(); + let id = type + "_" + idSuffix(idNumber); + while (containsId(id)) { + idNumber++; + id = type + "_" + idSuffix(idNumber); + } + idList.push(id); + return id; } -/** - * Declares an animation transition which is played when a certain specified condition is met. - * - * @param stateChangeExpr A string with a specific format or a function that specifies when the - * animation transition should occur (see [State Change Expression](#state-change-expression)). - * - * @param steps One or more animation objects that represent the animation's instructions. - * - * @param options An options object that can be used to specify a delay for the animation or provide - * custom parameters for it. - * - * @returns An object that encapsulates the transition data. - * - * @usageNotes - * - * ### State Change Expression - * - * The State Change Expression instructs Angular when to run the transition's animations, it can - *either be - * - a string with a specific syntax - * - or a function that compares the previous and current state (value of the expression bound to - * the element's trigger) and returns `true` if the transition should occur or `false` otherwise - * - * The string format can be: - * - `fromState => toState`, which indicates that the transition's animations should occur then the - * expression bound to the trigger's element goes from `fromState` to `toState` - * - * _Example:_ - * ```typescript - * transition('open => closed', animate('.5s ease-out', style({ height: 0 }) )) - * ``` - * - * - `fromState <=> toState`, which indicates that the transition's animations should occur then - * the expression bound to the trigger's element goes from `fromState` to `toState` or vice versa - * - * _Example:_ - * ```typescript +function idSuffix(idNumber) { + let id; + if (idNumber > 9999) { + id = 0; + } else if (idNumber < 10) { + id = "000" + idNumber; + } else if (idNumber < 100) { + id = "00" + idNumber; + } else if (idNumber < 1000) { + id = "0" + idNumber; + } else { + id = "" + idNumber; + } + return id; +} +function fourDigitsId() { + return Math.floor(Math.random() * 10000); +} +function containsId(id) { + let same = false; + idList.forEach(element => { + if (id === element) { + same = true; + } + }); + return same; +} + +/***/ }), + +/***/ 37751: +/*!********************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/domainStoryRenderer.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DomainStoryRenderer), +/* harmony export */ initializeRenderer: () => (/* binding */ initializeRenderer) +/* harmony export */ }); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var diagram_js_lib_draw_BaseRenderer__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! diagram-js/lib/draw/BaseRenderer */ 74919); +/* harmony import */ var ids__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ids */ 28287); +/* harmony import */ var _labeling_dsLabelEditingPreview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./labeling/dsLabelEditingPreview */ 15537); +/* harmony import */ var diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! diagram-js/lib/util/RenderUtil */ 97915); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var min_dom__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! min-dom */ 63030); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var _labeling_dsLabelEditingProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./labeling/dsLabelEditingProvider */ 50572); +/* harmony import */ var _numbering_numbering__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./numbering/numbering */ 37126); +/* harmony import */ var _labeling_dsLabelUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./labeling/dsLabelUtil */ 84745); +/* harmony import */ var _labeling_position__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./labeling/position */ 49417); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../Utils/mathExtensions */ 114); + + + + + + + + + + + + + + + + +let RENDERER_IDS = new ids__WEBPACK_IMPORTED_MODULE_1__["default"](); +let numbers = []; +const DEFAULT_COLOR = "black"; +/** + * a renderer that knows how to render custom elements. + */ +let _iconDictionaryService; +let _elementRegistryService; +let _dirtyFlagService; +function initializeRenderer(iconDictionaryService, elementRegistryService, dirtyFlagService) { + _iconDictionaryService = iconDictionaryService; + _elementRegistryService = elementRegistryService; + _dirtyFlagService = dirtyFlagService; +} +function DomainStoryRenderer(eventBus, styles, canvas, textRenderer, pathMap, commandStack) { + diagram_js_lib_draw_BaseRenderer__WEBPACK_IMPORTED_MODULE_9__["default"].call(this, eventBus, 2000); + let rendererId = RENDERER_IDS.next(); + let markers = {}; + let computeStyle = styles.computeStyle; + // generate the automatic Number for an activity originating from an actor + function generateActivityNumber(parentGfx, element, box) { + // whenever we want to edit an activity, it gets redrawn as a new object + // and the custom information is lost, + // so we stash it before the editing occurs and set the value here + let numberStash = (0,_labeling_dsLabelEditingProvider__WEBPACK_IMPORTED_MODULE_3__.getNumberStash)(); + let semantic = element.businessObject; + if (numberStash.use) { + semantic.number = numberStash.number; + } + numbers[semantic.number] = true; + box.x -= 26; + box.y -= 16; + if (semantic.number < 10) { + box.x += 3; + } + let newRenderedNumber = renderNumber(parentGfx, semantic.number, numberStyle(box), element.type); + (0,_numbering_numbering__WEBPACK_IMPORTED_MODULE_4__.addNumberToRegistry)(newRenderedNumber, semantic.number); + } + // style functions + function numberStyle(box) { + return { + box: box, + fitBox: true, + style: (0,min_dash__WEBPACK_IMPORTED_MODULE_10__.assign)({}, textRenderer.getExternalStyle(), { + fill: "black", + position: "absolute" + }) + }; + } + function backgroundBoxStyle(box) { + return { + box: box, + fitBox: true, + style: (0,min_dash__WEBPACK_IMPORTED_MODULE_10__.assign)({}, textRenderer.getExternalStyle(), { + fill: "black", + fontSize: 50, + position: "absolute", + fontFamily: "Courier New" + }) + }; + } + function backgroundDotStyle(box) { + return { + box: box, + fitBox: true, + style: (0,min_dash__WEBPACK_IMPORTED_MODULE_10__.assign)({}, textRenderer.getExternalStyle(), { + fill: "white", + fontSize: 150, + position: "absolute", + fontFamily: "Courier" + }) + }; + } + // render functions + // render label associated with actors and workobjects + function renderEmbeddedLabel(parentGfx, element, align, padding) { + let businessObject = element.businessObject; + return renderLabel(parentGfx, businessObject.name, { + box: element, + align: align, + padding: padding ? padding : 0, + style: { + fill: "#000000" + } + }, element.type); + } + // render label associated with activities + function renderExternalLabel(parentGfx, element) { + let semantic = element.businessObject; + let waypoints = element.waypoints; + let lines = (0,_labeling_position__WEBPACK_IMPORTED_MODULE_6__.countLines)(semantic.name); + if (element.waypoints != null) { + let position = (0,_labeling_position__WEBPACK_IMPORTED_MODULE_6__.labelPosition)(waypoints, lines); + let startPoint = element.waypoints[position.selected]; + let endPoint = element.waypoints[position.selected + 1]; + let angle = (0,_Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_8__.angleBetween)(startPoint, endPoint); + let alignment = "left"; + let boxWidth = 500; + let xStart = position.x; + // if the activity is horizontal, we want to center the label + if (angle === 0 || angle === 180) { + boxWidth = Math.abs(startPoint.x - endPoint.x); + alignment = "center"; + xStart = (startPoint.x + endPoint.x) / 2 - (0,_labeling_dsLabelUtil__WEBPACK_IMPORTED_MODULE_5__.calculateTextWidth)(semantic.name); + } + let box = { + textAlign: alignment, + width: boxWidth, + height: 30, + x: xStart, + y: position.y + }; + if (semantic.name && semantic.name.length) { + return renderLabel(parentGfx, semantic.name, { + box: box, + fitBox: true, + style: (0,min_dash__WEBPACK_IMPORTED_MODULE_10__.assign)({}, textRenderer.getExternalStyle(), { + fill: "black", + wordWrap: "break-word", + overflowWrap: "break-word", + hyphens: "auto" + }) + }, element.type); + } + } + } + // render the number associated with an activity + function renderExternalNumber(parentGfx, element) { + if (element && element.source) { + let semantic = element.businessObject; + let box = (0,_numbering_numbering__WEBPACK_IMPORTED_MODULE_4__.numberBoxDefinitions)(element); + if (semantic.number == null && element.source.type && element.source.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.ACTOR)) { + (0,_numbering_numbering__WEBPACK_IMPORTED_MODULE_4__.generateAutomaticNumber)(element, commandStack); + } + // render the background for the number + if (semantic.number && element.source.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.ACTOR)) { + generateActivityNumber(parentGfx, element, box); + } else { + semantic.number = null; + } + } + } + // render a number on the canvas + function renderNumber(parentGfx, number, options, type) { + if (number < 10) { + number = String(number); + } + number = String(number); + let text = textRenderer.createText(number || "", options); + let height = 0; + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.classes)(text).add("djs-labelNumber"); + setCoordinates(type, text, options, height, parentGfx); + // !IMPORTANT! + // When converting svg-files via Inkscape or Photoshop the svg-circle is converted to a black dot that obscures the number. + // To circumvent this, we draw an arc. + let circle = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.create)("path"); + let radius = 11; + let x = options.box.x + 18 + (number > 9 ? 3 : 0); + let y = options.box.y - radius + 7; + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(circle, { + d: ` + M ${x} ${y} + m ${radius},0 + a ${radius},${radius} 0 1,0 ${-radius * 2},0 + a ${radius},${radius} 0 1,0 ${radius * 2},0 + `, + fill: "white", + stroke: "black" + }); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(parentGfx, circle); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(parentGfx, text); + return text; + } + // the coordinates of the activity label must be set directly and will not be taken from the box + function setCoordinates(type, text, options, height, parentGfx) { + if (/:activity$/.test(type)) { + text.innerHTML = manipulateInnerHTMLXLabel(text.children, options.box.x, 0); + text.innerHTML = manipulateInnerHTMLYLabel(text.children, options.box.y, 0); + } else if (/:actor/.test(type)) { + height = parentGfx.firstChild.attributes.height.nodeValue; + text.innerHTML = manipulateInnerHTMLYLabel(text.children, height, 0); + } else if (/:workObject/.test(type)) { + height = parentGfx.firstChild.attributes.height.nodeValue; + text.innerHTML = manipulateInnerHTMLYLabel(text.children, height, 26); + } + } + // render a label on the canvas + function renderLabel(parentGfx, label, options, type) { + let text = textRenderer.createText(label || "", options); + let height = 0; + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.classes)(text).add("djs-label"); + setCoordinates(type, text, options, height, parentGfx); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(parentGfx, text); + return text; + } + // determine the Y-coordinate of the label / number to be rendered + function manipulateInnerHTMLYLabel(children, y, offset) { + if (children) { + let result = ""; + for (let i = 0; i < children.length; i++) { + result += children[i].outerHTML.replace(/y="-?\d*.\d*"/, 'y="' + (Number(y) + offset + 14 * i) + '"'); + } + return result; + } + } + // determine the X-coordinate of the label / number to be rendered + function manipulateInnerHTMLXLabel(children, x, offset) { + if (children) { + let result = ""; + for (let i = 0; i < children.length; i++) { + result += children[i].outerHTML.replace(/x="-?\d*.\d*"/, 'x="' + (Number(x) + offset + 14) + '"'); + } + return result; + } + } + // draw functions + this.drawGroup = function (parentGfx, element) { + if (!element.businessObject.pickedColor) { + element.businessObject.pickedColor = DEFAULT_COLOR; + } + let rect = drawRect(parentGfx, element.width, element.height, 0, (0,min_dash__WEBPACK_IMPORTED_MODULE_10__.assign)({ + fill: "none", + stroke: element.businessObject.pickedColor + }, element.attrs)); + renderEmbeddedLabel(parentGfx, element, "left-top", 8); + return rect; + }; + function applyColorToCustomSvgIcon(pickedColor, iconSvg) { + if (!pickedColor) { + return iconSvg; + } + const [rest, base64Svg] = iconSvg.split("base64,"); + const svg = atob(base64Svg); + const coloredSvg = applyColorToIcon(pickedColor, svg); + const encodedColoredSvg = btoa(coloredSvg); + return rest + "base64," + encodedColoredSvg; + } + function applyColorToIcon(pickedColor = DEFAULT_COLOR, iconSvg) { + const match = iconSvg.match(/fill="(?!none).*?"/); + if (match && match.length > 0) { + return iconSvg.replaceAll(/fill="(?!none).*?"/g, 'fill="' + pickedColor + '"'); + } else { + const index = iconSvg.indexOf("' + ''; + } else { + return applyColorToIcon(pickedColor, iconSvg); + } + } + this.drawActor = function (parent, element) { + let svgDynamicSizeAttributes = { + width: element.width, + height: element.height + }; + let iconSRC = _iconDictionaryService.getTypeIconSRC(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.ACTOR, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.getIconId(element.type)); + iconSRC = getIconSvg(iconSRC, element); + let actor = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.create)(iconSRC); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(actor, svgDynamicSizeAttributes); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(parent, actor); + renderEmbeddedLabel(parent, element, "center", -5); + return actor; + }; + this.drawWorkObject = function (parent, element) { + let svgDynamicSizeAttributes = { + width: element.width * 0.65, + height: element.height * 0.65, + x: element.width / 2 - 25, + y: element.height / 2 - 25 + }, + workObject; + let iconSRC = _iconDictionaryService.getTypeIconSRC(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.WORKOBJECT, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.getIconId(element.type)); + iconSRC = getIconSvg(iconSRC, element); + workObject = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.create)(iconSRC); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(workObject, svgDynamicSizeAttributes); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(parent, workObject); + renderEmbeddedLabel(parent, element, "center", -5); + return workObject; + }; + function useColorForActivity(element) { + if (!element.businessObject.pickedColor) { + element.businessObject.pickedColor = "black"; + } + let attrs = ""; + return computeStyle(attrs, { + stroke: element.businessObject.pickedColor, + fill: "none", + strokeWidth: 1.5, + strokeLinejoin: "round", + markerEnd: marker("activity", "black", element.businessObject.pickedColor) + }); + } + this.drawActivity = function (p, element) { + adjustForTextOverlap(element); + if (element) { + let attrs = useColorForActivity(element); + let x = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(p, (0,diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_12__.createLine)(element.waypoints, attrs)); + renderExternalLabel(p, element); + renderExternalNumber(p, element); + // just adjusting the start- and endpoint of the connection-element moves only the drawn connection, + // not the interactive line. This can be fixed by manually overriding the points of the interactive polyline + // in the HTMl with the points of the drawn one. + // this however does not adjust the surrounding box of the connection. + fixConnectionInHTML(p.parentElement); + return x; + } + }; + function checkIfPointOverlapsText(point, source) { + if (point.y > source.y + 60) { + if (point.x > source.x + 3 && point.x < source.x + 72) { + let lineOffset = getLineOffset(source); + if (source.y + 75 + lineOffset > point.y) { + point.y += lineOffset; + } + } + } + } + function adjustForTextOverlap(element) { + let source = element.source; + let target = element.target; + let waypoints = element.waypoints; + let startPoint = waypoints[0]; + let endPoint = waypoints[waypoints.length - 1]; + if (startPoint && endPoint && source && target) { + checkIfPointOverlapsText(startPoint, source); + checkIfPointOverlapsText(endPoint, source); + } + } + function getLineOffset(element) { + let id = element.id; + let offset = 0; + let objects = document.getElementsByClassName("djs-element djs-shape"); + for (let i = 0; i < objects.length; i++) { + let data_id = objects.item(i).getAttribute("data-element-id"); + if (data_id === id) { + let object = objects.item(i); + let text = object.getElementsByTagName("text")[0]; + let tspans = text.getElementsByTagName("tspan"); + let tspan = tspans[tspans.length - 1]; + offset = tspan.getAttribute("y"); + } + } + return offset - 70; + } + function fixConnectionInHTML(wantedConnection) { + if (wantedConnection) { + let polylines = wantedConnection.getElementsByTagName("polyline"); + if (polylines.length > 1) { + polylines[1].setAttribute("points", polylines[0].getAttribute("points")); + } + } + } + this.drawDSConnection = function (p, element) { + let attrs = ""; + attrs = computeStyle(attrs, { + stroke: "#000000", + strokeWidth: 1.5, + strokeLinejoin: "round", + strokeDasharray: "5, 5" + }); + return (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(p, (0,diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_12__.createLine)(element.waypoints, attrs)); + }; + this.drawAnnotation = function (parentGfx, element) { + let style = { + fill: "none", + stroke: "none" + }; + let text = element.businessObject.text || ""; + if (element.businessObject.text) { + let height = (0,_labeling_dsLabelEditingPreview__WEBPACK_IMPORTED_MODULE_2__.getAnnotationBoxHeight)(); + if (height === 0 && element.businessObject.number) { + height = element.businessObject.number; + } + (0,min_dash__WEBPACK_IMPORTED_MODULE_10__.assign)(element, { + height: height + }); + // for some reason the keyword height is not exported, so we use another, which we know will be exported, + // to ensure persistent annotation heights between sessions + (0,min_dash__WEBPACK_IMPORTED_MODULE_10__.assign)(element.businessObject, { + number: height + }); + } + let textElement = drawRect(parentGfx, element.width, element.height, 0, 0, style); + let textPathData = pathMap.getScaledPath("TEXT_ANNOTATION", { + xScaleFactor: 1, + yScaleFactor: 1, + containerWidth: element.width, + containerHeight: element.height, + position: { + mx: 0.0, + my: 0.0 + } + }); + drawPath(parentGfx, textPathData, { + stroke: "black" + }); + renderLabel(parentGfx, text, { + box: element, + align: "left-top", + padding: 5, + style: { + fill: "black" + } + }); + return textElement; + }; + // draw helper functions + function drawPath(parentGfx, d, attrs) { + attrs = computeStyle(attrs, ["no-fill"], { + strokeWidth: 2, + stroke: "black" + }); + let path = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.create)("path"); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(path, { + d: d + }); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(path, attrs); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(parentGfx, path); + return path; + } + function drawRect(parentGfx, width, height, r, offset, attrs) { + if ((0,min_dash__WEBPACK_IMPORTED_MODULE_10__.isObject)(offset)) { + attrs = offset; + offset = 0; + } + offset = offset || 0; + attrs = computeStyle(attrs, { + stroke: "black", + strokeWidth: 2, + fill: "white" + }); + let rect = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.create)("rect"); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(rect, { + x: offset, + y: offset, + width: width - offset * 2, + height: height - offset * 2, + rx: r, + ry: r + }); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(rect, attrs); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(parentGfx, rect); + return rect; + } + // marker functions + function marker(type, fill, stroke) { + let id = type + "-" + fill + "-" + stroke + "-" + rendererId; + if (!markers[id]) { + createMarker(type, fill, stroke); + } + return "url(#" + id + ")"; + } + function createMarker(type, fill, stroke) { + let id = type + "-" + fill + "-" + stroke + "-" + rendererId; + if (type === "activity") { + let sequenceflowEnd = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.create)("path"); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(sequenceflowEnd, { + d: "M 1 5 L 11 10 L 1 15 Z" + }); + addMarker(id, { + element: sequenceflowEnd, + ref: { + x: 11, + y: 10 + }, + scale: 0.5, + attrs: { + fill: stroke, + stroke: stroke + } + }); + } + } + function addMarker(id, options) { + let attrs = (0,min_dash__WEBPACK_IMPORTED_MODULE_10__.assign)({ + fill: "black", + strokeWidth: 1, + strokeLinecap: "round", + strokeDasharray: "none" + }, options.attrs); + let ref = options.ref || { + x: 0, + y: 0 + }; + let scale = options.scale || 1; + // resetting stroke dash array + if (attrs.strokeDasharray === "none") { + attrs.strokeDasharray = [10000, 1]; + } + let marker = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.create)("marker"); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(options.element, attrs); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(marker, options.element); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.attr)(marker, { + id: id, + viewBox: "0 0 20 20", + refX: ref.x, + refY: ref.y, + markerWidth: 20 * scale, + markerHeight: 20 * scale, + orient: "auto" + }); + let defs = (0,min_dom__WEBPACK_IMPORTED_MODULE_13__.query)("defs", canvas._svg); + if (!defs) { + defs = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.create)("defs"); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(canvas._svg, defs); + } + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_11__.append)(defs, marker); + markers[id] = marker; + } + // path functions + this.getWorkObjectPath = function (shape) { + let rectangle = getRectPath(shape); + return (0,diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_12__.componentsToPath)(rectangle); + }; + this.getGroupPath = function (shape) { + let rectangle = getRectPath(shape); + return (0,diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_12__.componentsToPath)(rectangle); + }; + this.getActivityPath = function (connection) { + let waypoints = connection.waypoints.map(function (p) { + return p.original || p; + }); + let activityPath = [["M", waypoints[0].x, waypoints[0].y]]; + waypoints.forEach(function (waypoint, index) { + if (index !== 0) { + activityPath.push(["L", waypoint.x, waypoint.y]); + } + }); + return (0,diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_12__.componentsToPath)(activityPath); + }; + this.getActorPath = function (shape) { + let rectangle = getRectPath(shape); + return (0,diagram_js_lib_util_RenderUtil__WEBPACK_IMPORTED_MODULE_12__.componentsToPath)(rectangle); + }; +} +inherits__WEBPACK_IMPORTED_MODULE_0___default()(DomainStoryRenderer, diagram_js_lib_draw_BaseRenderer__WEBPACK_IMPORTED_MODULE_9__["default"]); +DomainStoryRenderer.$inject = ["eventBus", "styles", "canvas", "textRenderer", "pathMap", "commandStack"]; +DomainStoryRenderer.prototype.canRender = function (element) { + return /^domainStory:/.test(element.type); +}; +DomainStoryRenderer.prototype.drawShape = function (p, element) { + // polyfill for tests + if (!String.prototype.startsWith) { + Object.defineProperty(String.prototype, "startsWith", { + value: function (search, pos) { + pos = !pos || pos < 0 ? 0 : +pos; + return this.substring(pos, pos + search.length) === search; + } + }); + } + let type = element.type; + element.businessObject.type = type; + _elementRegistryService.correctInitialize(); + _dirtyFlagService.makeDirty(); + if (type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.ACTOR)) { + return this.drawActor(p, element); + } else if (type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.WORKOBJECT)) { + return this.drawWorkObject(p, element); + } else if (type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.TEXTANNOTATION)) { + return this.drawAnnotation(p, element); + } else if (type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.GROUP)) { + return this.drawGroup(p, element); + } +}; +DomainStoryRenderer.prototype.getShapePath = function (shape) { + let type = shape.type; + if (type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.ACTOR)) { + return this.getActorPath(shape); + } else if (type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.WORKOBJECT)) { + return this.getWorkObjectPath(shape); + } else if (type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.GROUP)) { + return this.getGroupPath(shape); + } +}; +DomainStoryRenderer.prototype.drawConnection = function (p, element) { + let type = element.type; + _dirtyFlagService.makeDirty(); + // fixes activities that were copy-pasted + if (!element.businessObject.type) { + element.businessObject.type = type; + } + if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.ACTIVITY) { + return this.drawActivity(p, element); + } else if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_7__.ElementTypes.CONNECTION) { + return this.drawDSConnection(p, element); + } +}; +// creates a SVG path that describes a rectangle which encloses the given shape. +function getRectPath(shape) { + let offset = 5; + let x = shape.x, + y = shape.y, + width = shape.width / 2 + offset, + height = shape.height / 2 + offset; + return [["M", x, y], ["l", width, 0], ["l", width, height], ["l", -width, height], ["l", -width, 0], ["z"]]; +} + +/***/ }), + +/***/ 71185: +/*!*****************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/domainStoryRules.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DomainStoryRules) +/* harmony export */ }); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var diagram_js_lib_features_rules_RuleProvider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/features/rules/RuleProvider */ 63169); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util */ 36997); + + + + + + + +const HIGH_PRIORITY = 1500; +const MIN_SIZE = 125; +function isDomainStory(element) { + return element && /^domainStory:/.test(element.type); +} +function isDomainStoryGroup(element) { + return element && /^domainStory:group/.test(element.type); +} +function isActor(element) { + return element && /^domainStory:actor\w*/.test(element.type); +} +function isWorkObject(element) { + return element && /^domainStory:workObject/.test(element.type); +} +function isActivity(element) { + return element && /^domainStory:activity/.test(element.type); +} +function isConnection(element) { + return element && /^domainStory:connection/.test(element.type); +} +function isAnnotation(element) { + return element && /^domainStory:textAnnotation/.test(element.type); +} +/** + * can source and target be connected? + */ +function canConnect(source, target) { + // only judge about two custom elements + if (isDomainStoryGroup(target) || !isDomainStory(source) || !isDomainStory(target)) { + return; + } + // do not allow a connection from one element to itself + if (source === target) { + return; + } + // do not allow a connection between two actors + if (isActor(source) && isActor(target)) { + return; + } + // do not allow a connection, where the source or target is an activity + if (isActivity(source) || isActivity(target)) { + return; + } + // do not allow a connection, where the source or target is an annotation connection + if (isConnection(source) || isConnection(target)) { + return; + } + // do not allow a connection to a connection(the special type of connection between an element and a comment box) + // when the target is an annotation, the connection type is an annotation connection instead of an activity + if (isAnnotation(target)) { + return { + type: src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.CONNECTION + }; + } + return { + type: src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTIVITY + }; +} +function canResize(shape, newBounds) { + if ((0,_util__WEBPACK_IMPORTED_MODULE_2__.is)(shape, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.GROUP)) { + if (newBounds) { + let lowerLeft = { + x: shape.x, + y: shape.y + shape.height + }; + let lowerRight = { + x: shape.x + shape.width, + y: shape.y + shape.height + }; + let upperRight = { + x: shape.x + shape.width, + y: shape.y + }; + if (newBounds.x !== shape.x && newBounds.y !== shape.y) { + // upper left + if (newBounds.x > lowerRight.x - MIN_SIZE) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(newBounds, { + x: lowerRight.x - MIN_SIZE + }); + } + if (newBounds.y > lowerRight.y - MIN_SIZE) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(newBounds, { + y: lowerRight.y - MIN_SIZE + }); + } + } + if (newBounds.x !== shape.x && newBounds.y === shape.y) { + // lower left + if (newBounds.x > upperRight.x - MIN_SIZE) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(newBounds, { + x: upperRight.x - MIN_SIZE + }); + } + } + if (newBounds.x === shape.x && newBounds.y !== shape.y) { + // upper right + if (newBounds.y > lowerLeft.y - MIN_SIZE) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(newBounds, { + y: lowerLeft.y - MIN_SIZE + }); + } + } + if (newBounds.height < MIN_SIZE) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(newBounds, { + height: MIN_SIZE + }); + } + if (newBounds.width < MIN_SIZE) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.assign)(newBounds, { + width: MIN_SIZE + }); + } + } + return true; + } + return false; +} +function canAttach(elements, target, source) { + if (!Array.isArray(elements)) { + elements = [elements]; + } + // disallow appending as boundary event + if (source) { + return false; + } + // only (re-)attach one element at a time + if (elements.length !== 1) { + return false; + } + // allow default move operation + if (!target) { + return true; + } + // only allow drop on DomainStory Elements + if (!isDomainStory(target)) { + return false; + } + return "attach"; +} +function canConnectToAnnotation(source, target, connection) { + // do not allow an activity connect to an annotation + if (isActivity(connection) && isAnnotation(target)) { + return false; + } + // do not allow an annotation connection between two annotations + if (isConnection(connection) && isAnnotation(source) && isAnnotation(target)) { + return false; + } + // do not allow an annotation connection between an actor or workObject and anything except an annotation + return !(isConnection(connection) && !isAnnotation(target) && (isActor(source) || isWorkObject(source))); +} +/** + * specific rules for custom elements + */ +function DomainStoryRules(eventBus) { + diagram_js_lib_features_rules_RuleProvider__WEBPACK_IMPORTED_MODULE_4__["default"].call(this, eventBus); +} +inherits__WEBPACK_IMPORTED_MODULE_0___default()(DomainStoryRules, diagram_js_lib_features_rules_RuleProvider__WEBPACK_IMPORTED_MODULE_4__["default"]); +DomainStoryRules.$inject = ["eventBus"]; +DomainStoryRules.prototype.init = function () { + /** + * can shape be created on target container? + */ + function canCreate(shape, target) { + // only judge about custom elements + if (!isDomainStory(shape)) { + return; + } + // allow creation just on groups + return !isDomainStory(target) || isDomainStoryGroup(target); + } + this.addRule("elements.create", function (context) { + const elements = context.elements, + position = context.position, + target = context.target; + return (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.every)(elements, function (element) { + if (isConnection(element)) { + return canConnect(element.source, element.target, element); + } + if (element.host) { + return canAttach(element, element.host, null, position); + } + return canCreate(element, target, null, position); + }); + }); + this.addRule("elements.move", HIGH_PRIORITY, function (context) { + let target = context.target, + shapes = context.shapes; + let type; + // do not allow mixed movements of custom / BPMN shapes + // if any shape cannot be moved, the group cannot be moved, too + // reject, if we have at least one + // custom element that cannot be moved + return (0,min_dash__WEBPACK_IMPORTED_MODULE_3__.reduce)(shapes, function (result, s) { + if (type === undefined) { + type = isDomainStory(s); + } + if (type !== isDomainStory(s) || result === false) { + return false; + } + return canCreate(s, target); + }, undefined); + }); + this.addRule("shape.create", HIGH_PRIORITY, function (context) { + let target = context.target, + shape = context.shape; + return canCreate(shape, target); + }); + this.addRule("connection.create", HIGH_PRIORITY, function (context) { + let source = context.source, + target = context.target; + return canConnect(source, target); + }); + this.addRule("connection.reconnect", HIGH_PRIORITY, function (context) { + let connection = context.connection, + source = context.hover || context.source, + target = context.target; + // -------------------------------------------------------------- + let result = canConnectToAnnotation(source, target, connection); + if (!result) { + return; + } + // -------------------------------------------------------------- + return canConnect(source, target, connection); + }); + this.addRule("shape.resize", function (context) { + let shape = context.shape, + newBounds = context.newBounds; + return canResize(shape, newBounds); + }); +}; +DomainStoryRules.prototype.canConnect = canConnect; +DomainStoryRules.prototype.canAttach = canAttach; +DomainStoryRules.prototype.isDomainStory = isDomainStory; +DomainStoryRules.prototype.canResize = canResize; + +/***/ }), + +/***/ 37747: +/*!*******************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/domainStoryUpdater.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DomainStoryUpdater) +/* harmony export */ }); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! inherits */ 51270); +/* harmony import */ var inherits__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(inherits__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/command/CommandInterceptor */ 87502); +/* harmony import */ var diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! diagram-js/lib/util/Collections */ 90238); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util */ 36997); +/* harmony import */ var _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Domain/Common/elementTypes */ 30236); + + + + + + + + +/** + * a handler responsible for updating the custom element's businessObject + * once changes on the diagram happen. + */ +function DomainStoryUpdater(eventBus, bpmnjs) { + diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_3__["default"].call(this, eventBus); + function updateCustomElement(e) { + let context = e.context, + shape = context.shape, + businessObject = shape.businessObject; + if (!shape || !shape.type.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.DOMAINSTORY)) { + return; + } + let parent = shape.parent; + let customElements = bpmnjs._customElements; + // make sure element is added / removed from bpmnjs.customElements + if (!parent) { + (0,diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_4__.remove)(customElements, businessObject); + } else { + (0,diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_4__.add)(customElements, businessObject); + } + // save custom element position + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(businessObject, (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.pick)(shape, ["x", "y"])); + // save custom element size if resizable + if (shape.type === _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.GROUP) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(businessObject, (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.pick)(shape, ["height", "width"])); + // rework the child-parent relations if a group was moved, such that all Objects that are visually in the group are also associated with it + // since we do not have access to the standard-canvas object here, we cannot use the function correctGroupChildren() from DSLabelUtil + if (parent != null) { + (0,_util__WEBPACK_IMPORTED_MODULE_1__.reworkGroupElements)(parent, shape); + } + } + if (shape && shape.parent && "type" in shape.parent && shape.parent.type === _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.GROUP) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(businessObject, { + parent: shape.parent.id + }); + } + } + function updateCustomConnection(e) { + let context = e.context, + connection = context.connection, + source = connection.source, + target = connection.target, + businessObject = connection.businessObject; + if (e.newTarget) { + target = e.newTarget; + } + if (e.newSource) { + source = e.newSource; + } + let parent = connection.parent; + let customElements = bpmnjs._customElements; + // make sure element is added / removed from bpmnjs.customElements + if (!parent) { + (0,diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_4__.remove)(customElements, businessObject); + } else { + (0,diagram_js_lib_util_Collections__WEBPACK_IMPORTED_MODULE_4__.add)(customElements, businessObject); + } + // update waypoints + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(businessObject, { + waypoints: copyWaypoints(connection) + }); + if (source) { + if (!businessObject.source) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(businessObject, { + source: source.id + }); + } else { + businessObject.source = source.id; + } + } + if (target) { + if (!businessObject.target) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_5__.assign)(businessObject, { + target: target.id + }); + } else { + businessObject.target = target.id; + } + } + } + function copyWaypoints(connection) { + return connection.waypoints.map(function (p) { + if (p.original) { + return { + original: { + x: p.original.x, + y: p.original.y + }, + x: p.x, + y: p.y + }; + } else { + return { + x: p.x, + y: p.y + }; + } + }); + } + this.executed(["shape.create", "shape.move", "shape.delete", "shape.resize", "shape.removeGroupWithChildren"], ifDomainStoryElement(updateCustomElement)); + this.reverted(["shape.create", "shape.move", "shape.delete", "shape.resize", "shape.removeGroupWithChildren"], ifDomainStoryElement(updateCustomElement)); + this.executed(["connection.create", "connection.reconnect", "connection.updateWaypoints", "connection.delete", "connection.layout", "connection.move"], ifDomainStoryElement(updateCustomConnection)); + this.reverted(["connection.create", "connection.reconnect", "connection.updateWaypoints", "connection.delete", "connection.layout", "connection.move"], ifDomainStoryElement(updateCustomConnection)); +} +// check if element in the context of an event is a domainStory element +function ifDomainStoryElement(fn) { + return event => { + const context = event.context; + const element = context.shape || context.connection; + if (isDomainStory(element)) { + fn(event); + } + }; +} +function isDomainStory(element) { + return element && /domainStory:/.test(element.type); +} +inherits__WEBPACK_IMPORTED_MODULE_0___default()(DomainStoryUpdater, diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_3__["default"]); +DomainStoryUpdater.$inject = ["eventBus", "bpmnjs"]; + +/***/ }), + +/***/ 45077: +/*!******************************************!*\ + !*** ./src/app/BPMN-JS/modeler/index.js ***! + \******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _domainStoryElementFactory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./domainStoryElementFactory */ 86258); +/* harmony import */ var _domainStoryRenderer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./domainStoryRenderer */ 37751); +/* harmony import */ var _palette_domainStoryPalette__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./palette/domainStoryPalette */ 84277); +/* harmony import */ var _domainStoryRules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./domainStoryRules */ 71185); +/* harmony import */ var _domainStoryUpdater__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./domainStoryUpdater */ 37747); +/* harmony import */ var bpmn_js_lib_features_modeling_ElementFactory__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! bpmn-js/lib/features/modeling/ElementFactory */ 63784); +/* harmony import */ var diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! diagram-js/lib/features/create */ 31073); +/* harmony import */ var bpmn_js_lib_draw_PathMap__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! bpmn-js/lib/draw/PathMap */ 66652); +/* harmony import */ var bpmn_js_lib_features_popup_menu__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! bpmn-js/lib/features/popup-menu */ 77029); +/* harmony import */ var diagram_js_lib_features_context_pad__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! diagram-js/lib/features/context-pad */ 64712); +/* harmony import */ var diagram_js_lib_command_CommandStack__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! diagram-js/lib/command/CommandStack */ 22205); +/* harmony import */ var _updateHandler_updateLabelHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./updateHandler/updateLabelHandler */ 79182); +/* harmony import */ var _updateHandler_headlineAndDescriptionUpdateHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./updateHandler/headlineAndDescriptionUpdateHandler */ 65501); +/* harmony import */ var _context_pad_domainStoryContextPadProvider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./context-pad/domainStoryContextPadProvider */ 74669); +/* harmony import */ var _change_icon_replaceMenuProvider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./change-icon/replaceMenuProvider */ 96554); +/* harmony import */ var _modeling_dSModeling__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modeling/dSModeling */ 38875); + + + + + + + + + + + + + + + + + + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + __depends__: [diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_10__["default"], diagram_js_lib_features_context_pad__WEBPACK_IMPORTED_MODULE_11__["default"], bpmn_js_lib_features_popup_menu__WEBPACK_IMPORTED_MODULE_12__["default"]], + __init__: ["domainStoryRenderer", "paletteProvider", "domainStoryRules", "domainStoryUpdater", "contextPadProvider", "replaceMenuProvider"], + elementFactory: ["type", _domainStoryElementFactory__WEBPACK_IMPORTED_MODULE_0__["default"]], + domainStoryRenderer: ["type", _domainStoryRenderer__WEBPACK_IMPORTED_MODULE_1__["default"]], + paletteProvider: ["type", _palette_domainStoryPalette__WEBPACK_IMPORTED_MODULE_2__["default"]], + domainStoryRules: ["type", _domainStoryRules__WEBPACK_IMPORTED_MODULE_3__["default"]], + domainStoryUpdater: ["type", _domainStoryUpdater__WEBPACK_IMPORTED_MODULE_4__["default"]], + contextPadProvider: ["type", _context_pad_domainStoryContextPadProvider__WEBPACK_IMPORTED_MODULE_7__["default"]], + elementFactoryBpmn: ["type", bpmn_js_lib_features_modeling_ElementFactory__WEBPACK_IMPORTED_MODULE_13__["default"]], + pathMap: ["type", bpmn_js_lib_draw_PathMap__WEBPACK_IMPORTED_MODULE_14__["default"]], + replaceMenuProvider: ["type", _change_icon_replaceMenuProvider__WEBPACK_IMPORTED_MODULE_8__["default"]], + commandStack: ["type", diagram_js_lib_command_CommandStack__WEBPACK_IMPORTED_MODULE_15__["default"]], + updateLabelHandler: ["type", _updateHandler_updateLabelHandler__WEBPACK_IMPORTED_MODULE_5__["default"]], + headlineAndDescriptionUpdateHandler: ["type", _updateHandler_headlineAndDescriptionUpdateHandler__WEBPACK_IMPORTED_MODULE_6__["default"]], + modeling: ["type", _modeling_dSModeling__WEBPACK_IMPORTED_MODULE_9__["default"]] +}); + +/***/ }), + +/***/ 15537: +/*!*******************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/labeling/dsLabelEditingPreview.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DSLabelEditingPreview), +/* harmony export */ getAnnotationBoxHeight: () => (/* binding */ getAnnotationBoxHeight) +/* harmony export */ }); +/* harmony import */ var tiny_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tiny-svg */ 87004); +/* harmony import */ var diagram_js_lib_util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! diagram-js/lib/util/SvgTransformUtil */ 53813); +/* harmony import */ var _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../Domain/Common/elementTypes */ 30236); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util */ 36997); + + + + + + +const MARKER_HIDDEN = "djs-element-hidden", + MARKER_LABEL_HIDDEN = "djs-label-hidden"; +let annotationBoxHeight = 0; +function getAnnotationBoxHeight() { + return annotationBoxHeight; +} +function DSLabelEditingPreview(eventBus, canvas, pathMap) { + let self = this; + let defaultLayer = canvas.getDefaultLayer(); + let element, absoluteElementBBox, gfx; + eventBus.on("directEditing.activate", function (context) { + let activeProvider = context.active; + element = activeProvider.element.label || activeProvider.element; + // text annotation + if ((0,_util__WEBPACK_IMPORTED_MODULE_1__.is)(element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.TEXTANNOTATION)) { + absoluteElementBBox = canvas.getAbsoluteBBox(element); + gfx = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_2__.create)("g"); + annotationBoxHeight = element.height; + let textPathData = pathMap.getScaledPath("TEXT_ANNOTATION", { + xScaleFactor: 1, + yScaleFactor: 1, + containerWidth: element.width, + containerHeight: element.height, + position: { + mx: 0.0, + my: 0.0 + } + }); + let path = self.path = (0,tiny_svg__WEBPACK_IMPORTED_MODULE_2__.create)("path"); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_2__.attr)(path, { + d: textPathData, + strokeWidth: 2, + stroke: getStrokeColor(element) + }); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_2__.append)(gfx, path); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_2__.append)(defaultLayer, gfx); + (0,diagram_js_lib_util_SvgTransformUtil__WEBPACK_IMPORTED_MODULE_3__.translate)(gfx, element.x, element.y); + } + if ((0,_util__WEBPACK_IMPORTED_MODULE_1__.is)(element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.TEXTANNOTATION) || element.labelTarget) { + canvas.addMarker(element, MARKER_HIDDEN); + } else if (element.type.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR) || element.type.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT) || element.type.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY) || element.type.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.GROUP)) { + canvas.addMarker(element, MARKER_LABEL_HIDDEN); + } + }); + eventBus.on("directEditing.resize", function (context) { + // text annotation + if ((0,_util__WEBPACK_IMPORTED_MODULE_1__.is)(element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.TEXTANNOTATION)) { + let height = context.height, + dy = context.dy; + let newElementHeight = Math.max(element.height / absoluteElementBBox.height * (height + dy), 0); + annotationBoxHeight = newElementHeight; + let textPathData = pathMap.getScaledPath("TEXT_ANNOTATION", { + xScaleFactor: 1, + yScaleFactor: 1, + containerWidth: element.width, + containerHeight: newElementHeight, + position: { + mx: 0.0, + my: 0.0 + } + }); + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_2__.attr)(self.path, { + d: textPathData + }); + } + }); + eventBus.on(["directEditing.complete", "directEditing.cancel"], function (context) { + let activeProvider = context.active; + if (activeProvider) { + canvas.removeMarker(activeProvider.element.label || activeProvider.element, MARKER_HIDDEN); + canvas.removeMarker(element, MARKER_LABEL_HIDDEN); + } + element = undefined; + absoluteElementBBox = undefined; + if (gfx) { + (0,tiny_svg__WEBPACK_IMPORTED_MODULE_2__.remove)(gfx); + gfx = undefined; + } + }); +} +DSLabelEditingPreview.$inject = ["eventBus", "canvas", "pathMap"]; +// helpers /////////////////// +function getStrokeColor() { + return "black"; +} + +/***/ }), + +/***/ 50572: +/*!********************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/labeling/dsLabelEditingProvider.js ***! + \********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DSLabelEditingProvider), +/* harmony export */ focusElement: () => (/* binding */ focusElement), +/* harmony export */ getNumberStash: () => (/* binding */ getNumberStash), +/* harmony export */ initializeLabelEditingProvider: () => (/* binding */ initializeLabelEditingProvider), +/* harmony export */ toggleStashUse: () => (/* binding */ toggleStashUse) +/* harmony export */ }); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var _dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dsLabelUtil */ 84745); +/* harmony import */ var bpmn_js_lib_features_modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bpmn-js/lib/features/modeling/util/ModelingUtil */ 87908); +/* harmony import */ var bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! bpmn-js/lib/util/LabelUtil */ 50815); +/* harmony import */ var _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Domain/Common/elementTypes */ 30236); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ 36997); + + + + + + + + +let dictionaryService; +let numberStash = 0; +let stashUse = false; +function initializeLabelEditingProvider(labelingDictionary) { + dictionaryService = labelingDictionary; +} +function getNumberStash() { + let number = { + use: stashUse, + number: numberStash + }; + stashUse = false; + return number; +} +function toggleStashUse(use) { + stashUse = use; +} +function focusElement(element) { + // Opening a Angular Dialog seems to mess with the focus logic somehow. + // My guess is that is makes the mousedown event passive, which prevents "preventDefault" from intercepting. + // I am not sure how to fix it, but this seems to be a workaround. + setTimeout(() => element.focus(), 0); +} +function DSLabelEditingProvider(eventBus, canvas, directEditing, modeling, resizeHandles, textRenderer, updateLabelHandler) { + this._canvas = canvas; + this._modeling = modeling; + this._textRenderer = textRenderer; + this._updateLabelHandler = updateLabelHandler; + directEditing.registerProvider(this); + // listen to dblclick on non-root elements + eventBus.on("element.dblclick", function (event) { + activateDirectEdit(event.element, true); + if ((0,_util__WEBPACK_IMPORTED_MODULE_2__.is)(event.element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTIVITY)) { + // if we edit an activity, we do not want the standard editing box + numberStash = event.element.businessObject.number; + stashUse = true; + directEditing.complete(); + } + }); + // complete on followup canvas operation + eventBus.on(["element.mousedown", "drag.init", "canvas.viewbox.changing", "autoPlace", "popupMenu.open"], function () { + if (directEditing.isActive()) { + directEditing.complete(); + } + }); + // cancel on command stack changes + eventBus.on(["commandStack.changed"], function () { + if (directEditing.isActive()) { + directEditing.cancel(); + } + }); + eventBus.on("directEditing.activate", function (event) { + resizeHandles.removeResizers(); + let element = event.active.element; + createAutocomplete(element); + }); + eventBus.on("create.end", 500, function (event) { + let element = event.shape, + canExecute = event.context.canExecute, + isTouch = event.isTouch; + if (isTouch) { + return; + } + if (!canExecute) { + return; + } + if (!(0,_util__WEBPACK_IMPORTED_MODULE_2__.is)(element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTIVITY)) { + activateDirectEdit(element); + } + let editingBox = document.getElementsByClassName("djs-direct-editing-content"); + focusElement(editingBox.item(0)); + }); + eventBus.on("autoPlace.end", 500, function (event) { + activateDirectEdit(event.shape); + }); + function activateDirectEdit(element, force) { + if (force || (0,bpmn_js_lib_features_modeling_util_ModelingUtil__WEBPACK_IMPORTED_MODULE_3__.isAny)(element, [_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.TEXTANNOTATION]) || element.businessObject.type.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.DOMAINSTORY)) { + directEditing.activate(element); + } + } + function createAutocomplete(element) { + let editingBox = document.getElementsByClassName("djs-direct-editing-content"); + focusElement(editingBox.item(0)); + (0,_dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__.autocomplete)(editingBox[0], dictionaryService.getUniqueWorkObjectNames(), element, eventBus); + } +} +DSLabelEditingProvider.$inject = ["eventBus", "canvas", "directEditing", "modeling", "resizeHandles", "textRenderer", "updateLabelHandler"]; +/** + * activate direct editing for activities and text annotations. + * + * @param {djs.model.Base} element + * + * @return {Object} an object with properties bounds (position and size), text and options + */ +DSLabelEditingProvider.prototype.activate = function (element) { + // text + if (element.id === "__implicitrootbase") { + return; + } + let text = (0,_dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__.getLabel)(element); + if (text === undefined) { + return; + } + let context = { + text: text + }; + // bounds + let bounds = this.getEditingBBox(element); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(context, bounds); + let options = {}; + // external labels + if ((0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_5__.isLabelExternal)(element)) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(options, { + autoResize: true + }); + } + // text annotations + if ((0,_util__WEBPACK_IMPORTED_MODULE_2__.is)(element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.TEXTANNOTATION)) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(options, { + resizable: true, + autoResize: true + }); + } + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(context, { + options: options + }); + return context; +}; +/** + * get the editing bounding box based on the element's size and position + * + * @param {djs.model.Base} element + * + * @return {Object} an object containing information about position + * and size (fixed or minimum and/or maximum) + */ +DSLabelEditingProvider.prototype.getEditingBBox = function (element) { + let canvas = this._canvas; + let target = element.label || element; + let bbox = canvas.getAbsoluteBBox(target); + let mid = { + x: bbox.x + bbox.width / 2, + y: bbox.y + bbox.height / 2 + }; + // default position + let bounds = { + x: bbox.x, + y: bbox.y + }; + /** The cavnas is an Object from BPMN, the IDE might say, that zoom is deprecated, + * because it thinks canvas is the standard HTMLElement. -> Needs to stay toom **/ + let zoom = canvas.zoom(); + let defaultStyle = this._textRenderer.getDefaultStyle(), + externalStyle = this._textRenderer.getExternalStyle(); + // take zoom into account + let externalFontSize = externalStyle.fontSize * zoom, + externalLineHeight = externalStyle.lineHeight, + defaultFontSize = defaultStyle.fontSize * zoom, + defaultLineHeight = defaultStyle.lineHeight; + let style = { + fontFamily: this._textRenderer.getDefaultStyle().fontFamily, + fontWeight: this._textRenderer.getDefaultStyle().fontWeight + }; + // adjust for groups + if ((0,_util__WEBPACK_IMPORTED_MODULE_2__.is)(element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.GROUP)) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(bounds, { + minWidth: bbox.width / 2.5 > 125 ? bbox.width / 2.5 : 125, + maxWidth: bbox.width, + minHeight: 30 * zoom, + x: bbox.x, + y: bbox.y + }); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(style, { + fontSize: defaultFontSize + "px", + lineHeight: defaultLineHeight, + paddingTop: 7 * zoom + "px", + paddingBottom: 7 * zoom + "px", + paddingLeft: 5 * zoom + "px", + paddingRight: 5 * zoom + "px", + textAlign: "left" + }); + } + // internal labels for tasks and collapsed call activities, + // sub processes and participants + if (/^domainStory:actor\w*/.test(element.type) || /^domainStory:workObject\w*/.test(element.type)) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(bounds, { + width: bbox.width, + minHeight: 30, + y: bbox.y + bbox.height - 20, + x: bbox.x + }); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(style, { + fontSize: defaultFontSize + "px", + lineHeight: defaultLineHeight, + paddingTop: 7 * zoom + "px", + paddingBottom: 7 * zoom + "px", + paddingLeft: 5 * zoom + "px", + paddingRight: 5 * zoom + "px" + }); + } + let width = 90 * zoom, + paddingTop = 7 * zoom, + paddingBottom = 4 * zoom; + // external labels for events, data elements, gateways and connections + if (target.labelTarget) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(bounds, { + width: width, + height: bbox.height + paddingTop + paddingBottom, + x: mid.x - width / 2, + y: bbox.y - paddingTop + }); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(style, { + fontSize: externalFontSize + "px", + lineHeight: externalLineHeight, + paddingTop: paddingTop + "px", + paddingBottom: paddingBottom + "px" + }); + } + // external label not yet created + if ((0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_5__.isLabelExternal)(target) && !(0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_5__.hasExternalLabel)(target) && !(0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_5__.isLabel)(target)) { + let externalLabelMid = (0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_5__.getExternalLabelMid)(element); + let absoluteBBox = canvas.getAbsoluteBBox({ + x: externalLabelMid.x, + y: externalLabelMid.y, + width: 0, + height: 0 + }); + let height = externalFontSize + paddingTop + paddingBottom; + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(bounds, { + width: width, + height: height, + x: absoluteBBox.x - width / 2, + y: absoluteBBox.y - height / 2 + }); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(style, { + fontSize: externalFontSize + "px", + lineHeight: externalLineHeight, + paddingTop: paddingTop + "px", + paddingBottom: paddingBottom + "px" + }); + } + // text annotations + if ((0,_util__WEBPACK_IMPORTED_MODULE_2__.is)(element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.TEXTANNOTATION)) { + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(bounds, { + width: bbox.width, + height: bbox.height, + minWidth: 30 * zoom, + minHeight: 10 * zoom + }); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(style, { + textAlign: "left", + paddingTop: 7 * zoom + "px", + paddingBottom: 7 * zoom + "px", + paddingLeft: 5 * zoom + "px", + paddingRight: 5 * zoom + "px", + fontSize: defaultFontSize + "px", + lineHeight: defaultLineHeight + }); + } + return { + bounds: bounds, + style: style + }; +}; +DSLabelEditingProvider.prototype.update = function (element, newLabel, activeContextText, bounds) { + let newBounds, bbox; + if ((0,_util__WEBPACK_IMPORTED_MODULE_2__.is)(element, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.TEXTANNOTATION)) { + bbox = this._canvas.getAbsoluteBBox(element); + newBounds = { + x: element.x, + y: element.y, + width: element.width / bbox.width * bounds.width, + height: element.height / bbox.height * bounds.height + }; + } + this._modeling.updateLabel(element, newLabel, newBounds); +}; + +/***/ }), + +/***/ 84745: +/*!*********************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/labeling/dsLabelUtil.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ autocomplete: () => (/* binding */ autocomplete), +/* harmony export */ calculateTextWidth: () => (/* binding */ calculateTextWidth), +/* harmony export */ getLabel: () => (/* binding */ getLabel), +/* harmony export */ getNumber: () => (/* binding */ getNumber), +/* harmony export */ selectPartOfActivity: () => (/* binding */ selectPartOfActivity), +/* harmony export */ setLabel: () => (/* binding */ setLabel), +/* harmony export */ setNumber: () => (/* binding */ setNumber) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util */ 36997); + + + + +function getLabelAttr(semantic) { + if (semantic.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR) || semantic.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT) || semantic.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY) || semantic.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.GROUP)) { + return "name"; + } + if ((0,_util__WEBPACK_IMPORTED_MODULE_1__.is)(semantic, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.TEXTANNOTATION)) { + return "text"; + } +} +function getNumberAttr(semantic) { + if ((0,_util__WEBPACK_IMPORTED_MODULE_1__.is)(semantic, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY)) { + return "number"; + } +} +function getLabel(element) { + let semantic; + if (element.businessObject) { + semantic = element.businessObject; + } else { + semantic = element; + } + let attr = getLabelAttr(semantic); + if (attr && semantic) { + return semantic[attr] || ""; + } +} +function getNumber(element) { + let semantic = element.businessObject, + attr = getNumberAttr(semantic); + if (attr) { + return semantic[attr] || ""; + } +} +function setLabel(element, text) { + let semantic; + if (element.businessObject) { + semantic = element.businessObject; + } else { + semantic = element; + } + let attr = getLabelAttr(semantic); + if (attr) { + semantic[attr] = text; + } + return element; +} +function setNumber(element, textNumber) { + let semantic = element.businessObject, + attr = getNumberAttr(semantic); + if (attr) { + semantic[attr] = textNumber; + } + return element; +} +// select at which part of the activity the label should be attached to +function selectPartOfActivity(waypoints, angleActivity) { + let selectedActivity = 0; + let linelength = 49; + for (let i = 0; i < waypoints.length; i++) { + if (angleActivity[i] === 0 || angleActivity[i] === 180) { + let length = Math.abs(waypoints[i].x - waypoints[i + 1].x); + if (length > linelength) { + selectedActivity = i; + } + } + } + return selectedActivity; +} +// approximate the width of the label text, standard fontsize: 11 +function calculateTextWidth(text) { + if (!text) { + return 0; + } + let fontsize = text.length * 5.1; + fontsize = fontsize / 2; + // add an initial offset to the absolute middle of the activity + fontsize += 20; + return fontsize; +} +/** + * copied from https://www.w3schools.com/howto/howto_js_autocomplete.asp on 18.09.2018 + */ +function autocomplete(input, workObjectNames, element, eventBus) { + closeAllLists(); + /* the autocomplete function takes three arguments, + the text field element and an array of possible autocompleted values and an optional element to which it is appended:*/ + let currentFocus, filteredWorkObjectNames; + /* execute a function when someone writes in the text field:*/ + input.addEventListener("input", function () { + if (workObjectNames.length === 0) { + return; + } + /* the direct editing field of actors and workobjects is a recycled html-element and has old values that need to be overridden*/ + if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT)) { + this.value = this.innerHTML; + } + let autocompleteList, + autocompleteItem, + val = this.value; + /* close any already open lists of autocompleted values*/ + closeAllLists(); + currentFocus = -1; + /* create a DIV element that will contain the items (values):*/ + autocompleteList = document.createElement("DIV"); + autocompleteList.setAttribute("id", "autocomplete-list"); + autocompleteList.setAttribute("class", "autocomplete-items"); + /* append the DIV element as a child of the autocomplete container:*/ + this.parentNode.appendChild(autocompleteList); + /* for each item in the array...*/ + filteredWorkObjectNames = []; + for (const name of workObjectNames) { + /* check if the item starts with the same letters as the text field value:*/ + if (val) { + if (name.substring(0, val.length).toUpperCase() === val.toUpperCase()) { + /* create a DIV element for each matching element:*/ + autocompleteItem = document.createElement("DIV"); + /* make the matching letters bold:*/ + autocompleteItem.innerHTML = "" + name.substring(0, val.length) + "" + name.substring(val.length); + /* insert an input field that will hold the current name:*/ + autocompleteItem.innerHTML += ""; + autocompleteList.appendChild(autocompleteItem); + filteredWorkObjectNames.push(name); + } + } + } + // if we edit an actor, we do not want auto-complete, since actors generally are unique + if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR)) { + autocompleteList.style.visibility = "hidden"; + } + }); + /* execute a function presses a key on the keyboard:*/ + input.onkeydown = function (e) { + let autocompleteList = document.getElementById("autocomplete-list"); + if (autocompleteList) { + autocompleteList = autocompleteList.getElementsByTagName("div"); + } + if (e.keyCode === 40) { + /* If the arrow DOWN key is pressed, + increase the currentFocus letiable:*/ + currentFocus++; + /* and and make the current item more visible:*/ + addActive(autocompleteList); + } else if (e.keyCode === 38) { + // up + /* If the arrow UP key is pressed, + decrease the currentFocus letiable:*/ + currentFocus--; + /* and and make the current item more visible:*/ + addActive(autocompleteList); + } else if (e.keyCode === 13) { + e.preventDefault(); + /* If the ENTER key is pressed, prevent the form from being submitted,*/ + if (currentFocus > -1) { + element.businessObject.name = filteredWorkObjectNames[currentFocus]; + eventBus.fire("element.changed", { + element + }); + } + } + }; + function addActive(autocompleteList) { + /* a function to classify an item as "active":*/ + if (!autocompleteList || autocompleteList.length < 1) return false; + /* start by removing the "active" class on all items:*/ + removeActive(autocompleteList); + if (currentFocus >= autocompleteList.length) currentFocus = 0; + if (currentFocus < 0) currentFocus = autocompleteList.length - 1; + /* add class "autocomplete-active":*/ + autocompleteList[currentFocus].classList.add("autocomplete-active"); + } + function removeActive(autocompleteList) { + /* a function to remove the "active" class from all autocomplete items:*/ + if (autocompleteList.length > 1) { + for (const item of autocompleteList) { + item.classList.remove("autocomplete-active"); + } + } + } + function closeAllLists(survivor) { + /* close all autocomplete lists in the document, + except the one passed as an argument:*/ + let autocompleteList = document.getElementsByClassName("autocomplete-items"); + for (const item of autocompleteList) { + if (survivor != item && survivor != input) { + item.parentNode.removeChild(item); + } + } + } + /* execute a function when someone clicks in the document:*/ + document.addEventListener("click", function (e) { + closeAllLists(e.target); + }); +} + +/***/ }), + +/***/ 9148: +/*!***************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/labeling/index.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var diagram_js_lib_features_change_support__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! diagram-js/lib/features/change-support */ 99567); +/* harmony import */ var diagram_js_lib_features_resize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! diagram-js/lib/features/resize */ 33485); +/* harmony import */ var diagram_js_direct_editing__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! diagram-js-direct-editing */ 95153); +/* harmony import */ var diagram_js_lib_command_CommandStack__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! diagram-js/lib/command/CommandStack */ 22205); +/* harmony import */ var _updateHandler_updateLabelHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../updateHandler/updateLabelHandler */ 79182); +/* harmony import */ var _dsLabelEditingPreview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dsLabelEditingPreview */ 15537); +/* harmony import */ var _dsLabelEditingProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dsLabelEditingProvider */ 50572); +/* harmony import */ var _modeling_dSModeling__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../modeling/dSModeling */ 38875); + + + + + + + + + + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + __depends__: [diagram_js_lib_features_change_support__WEBPACK_IMPORTED_MODULE_5__["default"], diagram_js_lib_features_resize__WEBPACK_IMPORTED_MODULE_6__["default"], diagram_js_direct_editing__WEBPACK_IMPORTED_MODULE_0__["default"]], + __init__: ["dSlabelEditingProvider", "dSlabelEditingPreview"], + dSlabelEditingProvider: ["type", _dsLabelEditingProvider__WEBPACK_IMPORTED_MODULE_3__["default"]], + dSlabelEditingPreview: ["type", _dsLabelEditingPreview__WEBPACK_IMPORTED_MODULE_2__["default"]], + updateLabelHandler: ["type", _updateHandler_updateLabelHandler__WEBPACK_IMPORTED_MODULE_1__["default"]], + commandStack: ["type", diagram_js_lib_command_CommandStack__WEBPACK_IMPORTED_MODULE_7__["default"]], + modeling: ["type ", _modeling_dSModeling__WEBPACK_IMPORTED_MODULE_4__["default"]] +}); + +/***/ }), + +/***/ 49417: +/*!******************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/labeling/position.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ countLines: () => (/* binding */ countLines), +/* harmony export */ labelPosition: () => (/* binding */ labelPosition), +/* harmony export */ labelPositionX: () => (/* binding */ labelPositionX), +/* harmony export */ labelPositionY: () => (/* binding */ labelPositionY) +/* harmony export */ }); +/* harmony import */ var _dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dsLabelUtil */ 84745); +/* harmony import */ var _Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Utils/mathExtensions */ 114); + + + + +function countLines(str) { + return str.split(/\r\n|\r|\n/).length; +} +// determine the position of the label at the activity +function labelPosition(waypoints, lines = 1) { + let amountWaypoints = waypoints.length; + let determinedPosition; + let xPos; + let yPos; + if (amountWaypoints > 2) { + let angleActivity = new Array(amountWaypoints - 1); + for (let i = 0; i < amountWaypoints - 1; i++) { + // calculate the angles of the activities + angleActivity[i] = (0,_Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_1__.angleBetween)(waypoints[i], waypoints[i + 1]); + } + let selectedActivity = (0,_dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__.selectPartOfActivity)(waypoints, angleActivity); + xPos = labelPositionX(waypoints[selectedActivity], waypoints[selectedActivity + 1]); + yPos = labelPositionY(waypoints[selectedActivity], waypoints[selectedActivity + 1], lines); + determinedPosition = { + x: xPos, + y: yPos, + selected: selectedActivity + }; + return determinedPosition; + } else { + xPos = labelPositionX(waypoints[0], waypoints[1]); + yPos = labelPositionY(waypoints[0], waypoints[1], lines); + determinedPosition = { + x: xPos, + y: yPos, + selected: 0 + }; + return determinedPosition; + } +} +// calculate the X position of the label +function labelPositionX(startPoint, endPoint) { + let angle = (0,_Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_1__.angleBetween)(startPoint, endPoint); + let offsetX = 0; + let scaledAngle = 0; + if (angle === 0 || angle === 180 || angle === 90 || angle === 270) { + offsetX = 0; + } else if (angle > 0 && angle < 90) { + // endpoint in upper right quadrant + offsetX = 5 - angle / 6; + } else if (angle > 90 && angle < 180) { + // endpoint in upper left quadrant + scaledAngle = angle - 90; + offsetX = 5 - scaledAngle / 18; + } else if (angle > 180 && angle < 270) { + // endpoint in lower left quadrant + scaledAngle = angle - 180; + offsetX = scaledAngle / 18; + } else if (angle > 270) { + // endpoint in lower right quadrant + scaledAngle = angle - 270; + offsetX = 5 - scaledAngle / 6; + } + return offsetX + (startPoint.x + endPoint.x) / 2; +} +// calculate the Y position of the label +function labelPositionY(startPoint, endPoint, lines = 1) { + let angle = (0,_Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_1__.angleBetween)(startPoint, endPoint); + let offsetY = 0; + let scaledAngle = 0; + if (angle === 0 || angle === 180) { + offsetY = 15; + } else if (angle === 90 || angle === 270) { + offsetY = 0; + } else if (angle > 0 && angle < 90) { + // endpoint in upper right quadrant + offsetY = 15 - angle / 6; + } else if (angle > 90 && angle < 180) { + // endpoint in upper left quadrant + scaledAngle = angle - 90; + offsetY = -scaledAngle / 9 * lines; + } else if (angle > 180 && angle < 270) { + // endpoint in lower left quadrant + scaledAngle = angle - 180; + offsetY = 15 - scaledAngle / 3; + } else if (angle > 270) { + // endpoint in lower right quadrant + scaledAngle = angle - 270; + offsetY = -scaledAngle / 9 * lines; + } + return offsetY + (startPoint.y + endPoint.y) / 2; +} + +/***/ }), + +/***/ 38875: +/*!********************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/modeling/dSModeling.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DSModeling) +/* harmony export */ }); +/* harmony import */ var bpmn_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bpmn-js/lib/features/modeling/Modeling */ 89113); +/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! util */ 1525); +/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_0__); + + + + +function DSModeling(eventBus, elementFactory, commandStack, domainStoryRules) { + bpmn_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__["default"].call(this, eventBus, elementFactory, commandStack, domainStoryRules); +} +bpmn_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.updateLabel = function (element, newLabel, newBounds) { + if (element.businessObject ? newLabel !== element.businessObject.name : newLabel !== element.name) { + if (/^domainStory:/.test(element.type)) { + this._commandStack.execute("element.updateCustomLabel", { + element: element, + newLabel: newLabel, + newBounds: newBounds + }); + } else { + this._commandStack.execute("element.updateLabel", { + element: element, + newLabel: newLabel, + newBounds: newBounds + }); + } + } +}; +bpmn_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.updateNumber = function (element, newNumber, newBounds) { + if (element.businessObject ? newNumber !== element.businessObject.number : newNumber !== element.number) { + if (/^domainStory:/.test(element.type)) { + this._commandStack.execute("element.updateCustomLabel", { + element: element, + newNumber: newNumber, + newBounds: newBounds + }); + } else { + this._commandStack.execute("element.updateLabel", { + element: element, + newNumber: newNumber, + newBounds: newBounds + }); + } + } +}; +bpmn_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.replaceShape = function (oldShape, newShape, hints) { + let context = { + oldShape: oldShape, + newData: newShape, + hints: hints || {} + }; + this._commandStack.execute("shape.replace", context); + return context.newShape; +}; +bpmn_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__["default"].prototype.removeGroup = function (element) { + this._commandStack.execute("shape.removeGroupWithoutChildren", { + element: element + }); + this.removeElements({ + element + }); +}; +(0,util__WEBPACK_IMPORTED_MODULE_0__.inherits)(DSModeling, bpmn_js_lib_features_modeling_Modeling__WEBPACK_IMPORTED_MODULE_1__["default"]); +DSModeling.$inject = ["eventBus", "elementFactory", "commandStack", "domainStoryRules"]; + +/***/ }), + +/***/ 63493: +/*!***************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/modeling/index.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _palette_domainStoryPalette__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../palette/domainStoryPalette */ 84277); +/* harmony import */ var bpmn_js_lib_features_modeling_ElementFactory__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! bpmn-js/lib/features/modeling/ElementFactory */ 63784); +/* harmony import */ var diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! diagram-js/lib/features/create */ 31073); +/* harmony import */ var bpmn_js_lib_draw_PathMap__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! bpmn-js/lib/draw/PathMap */ 66652); +/* harmony import */ var bpmn_js_lib_features_popup_menu__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! bpmn-js/lib/features/popup-menu */ 77029); +/* harmony import */ var diagram_js_lib_features_context_pad__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! diagram-js/lib/features/context-pad */ 64712); +/* harmony import */ var diagram_js_lib_command_CommandStack__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! diagram-js/lib/command/CommandStack */ 22205); +/* harmony import */ var _updateHandler_updateLabelHandler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../updateHandler/updateLabelHandler */ 79182); +/* harmony import */ var _domainStoryUpdater__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../domainStoryUpdater */ 37747); +/* harmony import */ var _domainStoryElementFactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../domainStoryElementFactory */ 86258); +/* harmony import */ var _updateHandler_headlineAndDescriptionUpdateHandler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../updateHandler/headlineAndDescriptionUpdateHandler */ 65501); +/* harmony import */ var _domainStoryRenderer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../domainStoryRenderer */ 37751); +/* harmony import */ var _dSModeling__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dSModeling */ 38875); +/* harmony import */ var _domainStoryRules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../domainStoryRules */ 71185); +/* harmony import */ var _change_icon_replaceMenuProvider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../change-icon/replaceMenuProvider */ 96554); +/* harmony import */ var _context_pad_domainStoryContextPadProvider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../context-pad/domainStoryContextPadProvider */ 74669); + + + + + + + + + + + + + + + + + + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + __depends__: [diagram_js_lib_features_create__WEBPACK_IMPORTED_MODULE_10__["default"], diagram_js_lib_features_context_pad__WEBPACK_IMPORTED_MODULE_11__["default"], bpmn_js_lib_features_popup_menu__WEBPACK_IMPORTED_MODULE_12__["default"]], + __init__: ["domainStoryRenderer", "paletteProvider", "domainStoryRules", "domainStoryUpdater", "contextPadProvider", "replaceMenuProvider"], + elementFactory: ["type", _domainStoryElementFactory__WEBPACK_IMPORTED_MODULE_3__["default"]], + domainStoryRenderer: ["type", _domainStoryRenderer__WEBPACK_IMPORTED_MODULE_5__["default"]], + paletteProvider: ["type", _palette_domainStoryPalette__WEBPACK_IMPORTED_MODULE_0__["default"]], + domainStoryRules: ["type", _domainStoryRules__WEBPACK_IMPORTED_MODULE_7__["default"]], + domainStoryUpdater: ["type", _domainStoryUpdater__WEBPACK_IMPORTED_MODULE_2__["default"]], + contextPadProvider: ["type", _context_pad_domainStoryContextPadProvider__WEBPACK_IMPORTED_MODULE_9__["default"]], + elementFactoryBpmn: ["type", bpmn_js_lib_features_modeling_ElementFactory__WEBPACK_IMPORTED_MODULE_13__["default"]], + pathMap: ["type", bpmn_js_lib_draw_PathMap__WEBPACK_IMPORTED_MODULE_14__["default"]], + replaceMenuProvider: ["type", _change_icon_replaceMenuProvider__WEBPACK_IMPORTED_MODULE_8__["default"]], + commandStack: ["type", diagram_js_lib_command_CommandStack__WEBPACK_IMPORTED_MODULE_15__["default"]], + updateLabelHandler: ["type", _updateHandler_updateLabelHandler__WEBPACK_IMPORTED_MODULE_1__["default"]], + headlineAndDescriptionUpdateHandler: ["type", _updateHandler_headlineAndDescriptionUpdateHandler__WEBPACK_IMPORTED_MODULE_4__["default"]], + modeling: ["type", _dSModeling__WEBPACK_IMPORTED_MODULE_6__["default"]] +}); + +/***/ }), + +/***/ 37126: +/*!********************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/numbering/numbering.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ addNumberToRegistry: () => (/* binding */ addNumberToRegistry), +/* harmony export */ generateAutomaticNumber: () => (/* binding */ generateAutomaticNumber), +/* harmony export */ getMultipleNumberRegistry: () => (/* binding */ getMultipleNumberRegistry), +/* harmony export */ getNumberRegistry: () => (/* binding */ getNumberRegistry), +/* harmony export */ getNumbersAndIDs: () => (/* binding */ getNumbersAndIDs), +/* harmony export */ initializeNumbering: () => (/* binding */ initializeNumbering), +/* harmony export */ numberBoxDefinitions: () => (/* binding */ numberBoxDefinitions), +/* harmony export */ setNumberIsMultiple: () => (/* binding */ setNumberIsMultiple), +/* harmony export */ updateExistingNumbersAtEditing: () => (/* binding */ updateExistingNumbersAtEditing), +/* harmony export */ updateExistingNumbersAtGeneration: () => (/* binding */ updateExistingNumbersAtGeneration), +/* harmony export */ updateMultipleNumberRegistry: () => (/* binding */ updateMultipleNumberRegistry) +/* harmony export */ }); +/* harmony import */ var _Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../Utils/mathExtensions */ 114); + + + +let numberRegistry = []; +let multipleNumberRegistry = [false]; +let canvasElementRegistry; +function initializeNumbering(canvasElementRegistryService) { + canvasElementRegistry = canvasElementRegistryService; +} +function updateMultipleNumberRegistry(activityBusinessObjects) { + activityBusinessObjects.forEach(activity => multipleNumberRegistry[activity.number] = activity.multipleNumberAllowed); +} +// defines the box for activity numbers +function numberBoxDefinitions(element) { + let alignment = "center"; + let boxWidth = 30; + let boxHeight = 30; + let angle = 0; + if (element.waypoints.length > 1) { + angle = (0,_Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_0__.angleBetween)( + // Start of first arrow segment + element.waypoints[0], + // End of first arrow segment + element.waypoints[1]); + } + let x = element.waypoints[0].x; + let y = element.waypoints[0].y; + let fixedOffsetX = 0; + let fixedOffsetY = 0; + let angleDependantOffsetX = 0; + let angleDependantOffsetY = 0; + // Fine tune positioning of sequence number above beginning of first arrow segment + if (angle >= 0 && angle <= 45) { + fixedOffsetX = 25; + angleDependantOffsetY = 20 * (1 - angle / 45); + } else if (angle <= 90) { + fixedOffsetX = 5; + angleDependantOffsetX = 15 * (1 - (angle - 45) / 45); + } else if (angle <= 135) { + fixedOffsetX = 5; + angleDependantOffsetX = -20 * ((angle - 90) / 45); + } else if (angle <= 180) { + fixedOffsetX = -15; + angleDependantOffsetY = 20 * ((angle - 135) / 45); + } else if (angle <= 225) { + fixedOffsetX = -15; + fixedOffsetY = 15; + angleDependantOffsetY = 25 * ((angle - 180) / 45); + } else if (angle <= 270) { + fixedOffsetX = 5; + angleDependantOffsetX = -20 * (1 - (angle - 225) / 45); + fixedOffsetY = 40; + } else if (angle <= 315) { + fixedOffsetX = 5; + angleDependantOffsetX = 25 * ((angle - 270) / 45); + fixedOffsetY = 40; + } else { + fixedOffsetX = 25; + fixedOffsetY = 20; + angleDependantOffsetY = 15 * (1 - (angle - 315) / 45); + } + x = x + fixedOffsetX + angleDependantOffsetX; + y = y + fixedOffsetY + angleDependantOffsetY; + return { + textAlign: alignment, + width: boxWidth, + height: boxHeight, + x: x, + y: y + }; +} +// determine the next available number that is not yet used +function generateAutomaticNumber(elementActivity, commandStack) { + const semantic = elementActivity.businessObject; + const usedNumbers = [0]; + let wantedNumber = -1; + const activitiesFromActors = canvasElementRegistry.getActivitiesFromActors(); + activitiesFromActors.forEach(element => { + if (element.businessObject.number) { + usedNumbers.push(+element.businessObject.number); + } + }); + for (let i = 0; i < usedNumbers.length; i++) { + if (!usedNumbers.includes(i)) { + if (!usedNumbers.includes(i)) { + wantedNumber = i; + i = usedNumbers.length; + } + } + } + if (wantedNumber === -1) { + wantedNumber = usedNumbers.length; + } + updateExistingNumbersAtGeneration(activitiesFromActors, wantedNumber, commandStack); + semantic.number = wantedNumber; + return wantedNumber; +} +// update the numbers at the activities when generating a new activity +function updateExistingNumbersAtGeneration(activitiesFromActors, wantedNumber, commandStack) { + activitiesFromActors.forEach(element => { + let number = +element.businessObject.number; + if (number >= wantedNumber) { + wantedNumber++; + setTimeout(function () { + commandStack.execute("activity.changed", { + businessObject: element.businessObject, + newLabel: element.businessObject.name, + newNumber: number, + element: element + }); + }, 10); + } + }); +} +// update the numbers at the activities when editing an activity +function updateExistingNumbersAtEditing(activitiesFromActors, wantedNumber, eventBus) { + // get a sorted list of all activities that could need changing + let sortedActivities = [[]]; + activitiesFromActors.forEach(activity => { + if (!sortedActivities[activity.businessObject.number]) { + sortedActivities[activity.businessObject.number] = []; + } + sortedActivities[activity.businessObject.number].push(activity); + }); + // set the number of each activity to the next highest number, starting from the number, we overrode + let oldMultipleNumberRegistry = [...multipleNumberRegistry]; + let currentNumber = wantedNumber; + for (currentNumber; currentNumber < sortedActivities.length; currentNumber++) { + if (sortedActivities[currentNumber]) { + wantedNumber++; + multipleNumberRegistry[wantedNumber] = oldMultipleNumberRegistry[currentNumber]; + setNumberOfActivity(sortedActivities[currentNumber], wantedNumber, eventBus); + } + } +} +// get the IDs of activities with their associated number, only returns activities that are originating from an actor +function getNumbersAndIDs() { + let iDWithNumber = []; + let activities = canvasElementRegistry.getActivitiesFromActors(); + for (let i = activities.length - 1; i >= 0; i--) { + let id = activities[i].businessObject.id; + let number = activities[i].businessObject.number; + iDWithNumber.push({ + id: id, + number: number + }); + } + return iDWithNumber; +} +function addNumberToRegistry(renderedNumber, number) { + numberRegistry[number] = renderedNumber; +} +function setNumberIsMultiple(number, multi) { + multipleNumberRegistry[number] = multi; +} +/** + * @returns copy of registry + */ +function getNumberRegistry() { + return numberRegistry.slice(0); +} +function getMultipleNumberRegistry() { + return multipleNumberRegistry.slice(0); +} +function setNumberOfActivity(elementArray, wantedNumber, eventBus) { + if (elementArray) { + elementArray.forEach(element => { + if (element) { + let businessObject = element.businessObject; + if (businessObject) { + businessObject.number = wantedNumber; + } + eventBus.fire("element.changed", { + element + }); + } + }); + } +} + +/***/ }), + +/***/ 84277: +/*!***************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/palette/domainStoryPalette.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ PaletteProvider), +/* harmony export */ initializePalette: () => (/* binding */ initializePalette) +/* harmony export */ }); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Icon-Set-Configuration/allIcons */ 57488); +/* harmony import */ var src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Common/dictionary/dictionary */ 54972); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Domain/Common/constants */ 90816); + + + + + + + +/** + * A palette that allows you to create BPMN _and_ custom elements. + */ +let iconDictionary; +let configuration; +function initializePalette(iconDictionaryService, configurationService) { + iconDictionary = iconDictionaryService; + configuration = configurationService; +} +function PaletteProvider(palette, create, elementFactory, spaceTool, lassoTool) { + this._create = create; + this._elementFactory = elementFactory; + this._spaceTool = spaceTool; + this._lassoTool = lassoTool; + palette.registerProvider(this); +} +PaletteProvider.$inject = ["palette", "create", "elementFactory", "spaceTool", "lassoTool", "modeling"]; +PaletteProvider.prototype.getPaletteEntries = function () { + let actions = {}, + create = this._create, + elementFactory = this._elementFactory, + spaceTool = this._spaceTool, + lassoTool = this._lassoTool; + function createAction(type, group, className, title, options) { + function createListener(event) { + let shape = elementFactory.createShape((0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)({ + type: type + }, options)); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(shape.businessObject, { + id: shape.id + }); + if (options) { + shape.businessObject.di.isExpanded = options.isExpanded; + } + create.start(event, shape); + } + let shortType = type.replace(/^domainStory:/, ""); + return { + group: group, + className: className, + title: "Create " + title || 0, + action: { + dragstart: createListener, + click: createListener + } + }; + } + return initPalette(actions, spaceTool, lassoTool, createAction); +}; +function appendCSSStyleCheat(customIcons) { + const sheetEl = document.createElement("style"); + document.head.appendChild(sheetEl); + let customIconDict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__.Dictionary(); + customIconDict.appendDict(customIcons); + let customIconDictKeys = customIconDict.keysArray(); + customIconDictKeys.forEach(name => { + if (iconDictionary.getAppendedIconDictionary().has(name)) { + let src = customIconDict.get(name); + const iconStyle = ".icon-domain-story-" + name.toLowerCase() + "::before{" + " display: block;" + ' content: url("data:image/svg+xml;utf8,' + wrapSRCInSVG(src) + '");' + " margin: 3px;}"; + sheetEl.sheet.insertRule(iconStyle, sheetEl.sheet.cssRules.length); + } + }); +} +function initPalette(actions, spaceTool, lassoTool, createAction) { + let config = iconDictionary?.getCurrentIconConfigurationForBPMN(); + let customIcons = localStorage.getItem(_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_3__.APPENDED_ICONS_TAG); + if (customIcons) { + customIcons = JSON.parse(customIcons); + if (customIconsLegacy(customIcons)) { + customIcons = convertLegacyAppendedIconsToDict(customIcons); + } + if (customIcons.entries && customIcons.entries.forEach) { + const customIconsDict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__.Dictionary(); + customIcons.entries.forEach(entry => { + customIconsDict.putEntry(entry); + }); + (0,src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_0__.overrideAppendedIcons)(customIconsDict); + appendCSSStyleCheat(customIcons); + } + } + iconDictionary?.initTypeDictionaries(config.actors, config.workObjects); + let actorTypes = iconDictionary?.getTypeDictionary(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR); + actorTypes?.keysArray().forEach(name => { + addCanvasObjectTypes(name, createAction, actions, "actor", src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR); + }); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(actions, { + "actor-separator": { + group: "actor", + separator: true + } + }); + let workObjectTypes = iconDictionary?.getTypeDictionary(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.WORKOBJECT); + workObjectTypes?.keysArray().forEach(name => { + addCanvasObjectTypes(name, createAction, actions, "actor", src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.WORKOBJECT); + }); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(actions, { + "workObject-separator": { + group: "workObject", + separator: true + }, + "domainStory-group": createAction(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.GROUP, "group", "icon-domain-story-tool-group", "group"), + "group-separator": { + group: "group", + separator: true + }, + "lasso-tool": { + group: "tools", + className: "bpmn-icon-lasso-tool", + title: "Activate the lasso tool", + action: { + click: function (event) { + lassoTool.activateSelection(event); + } + } + }, + "space-tool": { + group: "tools", + className: "bpmn-icon-space-tool", + title: "Activate the create/remove space tool", + action: { + click: function (event) { + spaceTool.activateSelection(event); + } + } + } + }); + return actions; +} +function addCanvasObjectTypes(name, createAction, actions, className, elementType) { + let icon = iconDictionary.getIconForBPMN(elementType, name); + let action = []; + action["domainStory-" + className + name] = createAction(`${elementType}${name}`, className, icon, name); + (0,min_dash__WEBPACK_IMPORTED_MODULE_4__.assign)(actions, action); +} +function customIconsLegacy(customIcons) { + return !(Object.keys(customIcons).length === 1 && Object.keys(customIcons)[0] === "entries"); +} +function convertLegacyAppendedIconsToDict(customIcons) { + let dict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__.Dictionary(); + Object.keys(customIcons).forEach(key => { + dict.set(key, customIcons[key]); + }); + return dict; +} +// For some reason its important to use ' in the content for the Palette and ContextPad +// Do not change! +function wrapSRCInSVG(src) { + return "" + ""; +} + +/***/ }), + +/***/ 96588: +/*!*************************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/updateHandler/activityUpdateHandlers.js ***! + \*************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ activityUpdateHandler), +/* harmony export */ initializeActivityUpdateHandler: () => (/* binding */ initializeActivityUpdateHandler) +/* harmony export */ }); +/* harmony import */ var _numbering_numbering__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../numbering/numbering */ 37126); + + + +/** + * commandStack Handler for changes at activities + */ +let canvasElementRegistry; +function initializeActivityUpdateHandler(canvasElementRegistryService) { + canvasElementRegistry = canvasElementRegistryService; +} +function activityUpdateHandler(commandStack, eventBus) { + commandStack.registerHandler("activity.directionChange", activity_directionChange); + commandStack.registerHandler("activity.changed", activity_changed); + // update the activity from the activity-dialog, either with or without number + // and change other activities too, to keep the numbers consistent + function activity_changed(modeling) { + this.preExecute = function (context) { + context.oldLabel = context.businessObject.name || " "; + let oldNumbersWithIDs = (0,_numbering_numbering__WEBPACK_IMPORTED_MODULE_0__.getNumbersAndIDs)(); + modeling.updateLabel(context.businessObject, context.newLabel); + modeling.updateNumber(context.businessObject, context.newNumber); + context.oldNumber = context.businessObject.number; + context.oldNumbersWithIDs = oldNumbersWithIDs; + }; + this.execute = function (context) { + let businessObject = context.businessObject; + let element = context.element; + if (context.newLabel && context.newLabel.length < 1) { + context.newLabel = " "; + } + businessObject.name = context.newLabel; + businessObject.number = context.newNumber; + eventBus.fire("element.changed", { + element + }); + }; + this.revert = function (context) { + let semantic = context.businessObject; + let element = context.element; + semantic.name = context.oldLabel; + semantic.number = context.oldNumber; + revertAutomaticNumberGenerationChange(context.oldNumbersWithIDs, eventBus); + eventBus.fire("element.changed", { + element + }); + }; + } + // change the direction of a single activity without affecting other activities + function activity_directionChange(modeling) { + this.preExecute = function (context) { + context.oldNumber = context.businessObject.number; + context.oldWaypoints = context.element.waypoints; + context.name = context.businessObject.name; + if (!context.oldNumber) { + context.oldNumber = 0; + } + modeling.updateNumber(context.businessObject, context.newNumber); + }; + this.execute = function (context) { + let businessObject = context.businessObject; + let element = context.element; + let swapSource = element.source; + let newWaypoints = []; + let waypoints = element.waypoints; + for (let i = waypoints.length - 1; i >= 0; i--) { + newWaypoints.push(waypoints[i]); + } + element.source = element.target; + businessObject.source = businessObject.target; + element.target = swapSource; + businessObject.target = swapSource.id; + businessObject.name = context.name; + businessObject.number = context.newNumber; + element.waypoints = newWaypoints; + eventBus.fire("element.changed", { + element + }); + }; + this.revert = function (context) { + let semantic = context.businessObject; + let element = context.element; + let swapSource = element.source; + element.source = element.target; + semantic.source = semantic.target; + element.target = swapSource; + semantic.target = swapSource.id; + semantic.name = context.name; + semantic.number = context.oldNumber; + element.waypoints = context.oldWaypoints; + eventBus.fire("element.changed", { + element + }); + }; + } +} +// reverts the automatic changed done by the automatic number-generation at editing +function revertAutomaticNumberGenerationChange(iDWithNumber, eventBus) { + let activities = canvasElementRegistry?.getActivitesFromActors(); + for (let i = activities.length - 1; i >= 0; i--) { + for (let j = iDWithNumber.length - 1; j >= 0; j--) { + if (iDWithNumber[j].id.includes(activities[i].businessObject.id)) { + let element = activities[i]; + element.businessObject.number = iDWithNumber[j].number; + j = -5; + eventBus.fire("element.changed", { + element + }); + iDWithNumber.splice(j, 1); + } + } + } +} + +/***/ }), + +/***/ 11118: +/*!***********************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/updateHandler/elementUpdateHandler.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ elementUpdateHandler) +/* harmony export */ }); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util */ 36997); + + + +function elementUpdateHandler(commandStack, eventBus) { + commandStack.registerHandler("element.colorChange", element_colorChange); + commandStack.registerHandler("shape.removeGroupWithoutChildren", removeGroupWithoutChildren); + function element_colorChange() { + this.preExecute = function (context) { + context.oldColor = context.businessObject.pickedColor; + }; + this.execute = function (context) { + let semantic = context.businessObject; + let element = context.element; + semantic.pickedColor = context.newColor; + eventBus.fire("element.changed", { + element + }); + }; + this.revert = function (context) { + let semantic = context.businessObject; + let element = context.element; + semantic.pickedColor = context.oldColor; + eventBus.fire("element.changed", { + element + }); + }; + } + function removeGroupWithoutChildren() { + this.preExecute = function (ctx) { + ctx.parent = ctx.element.parent; + ctx.children = ctx.element.children.slice(); + }; + this.execute = function (ctx) { + let element = ctx.element; + ctx.children.forEach(child => { + (0,_util__WEBPACK_IMPORTED_MODULE_0__.undoGroupRework)(element, child); + eventBus.fire("element.changed", { + element: child + }); + }); + eventBus.fire("shape.remove", { + element + }); + }; + this.revert = function (ctx) { + let element = ctx.element; + eventBus.fire("shape.added", { + element + }); + ctx.element.children.forEach(child => { + reworkGroupElements(element, child); + }); + }; + } +} + +/***/ }), + +/***/ 65501: +/*!**************************************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/updateHandler/headlineAndDescriptionUpdateHandler.js ***! + \**************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ headlineAndDescriptionUpdateHandler) +/* harmony export */ }); +/** + * a handler that updates the text of a BPMN element. + */ +function headlineAndDescriptionUpdateHandler(commandStack, titleService) { + commandStack.registerHandler("story.updateHeadlineAndDescription", handlerFunction); + function handlerFunction() { + this.execute = function (ctx) { + ctx.oldTitle = titleService.getTitle(); + ctx.oldDescription = titleService.getDescription(); + titleService.updateTitleAndDescription(ctx.newTitle, ctx.newDescription, false); + }; + this.revert = function (ctx) { + titleService.updateTitleAndDescription(ctx.oldTitle, ctx.oldDescription, false); + }; + } +} + +/***/ }), + +/***/ 74431: +/*!********************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/updateHandler/massRenameHandler.js ***! + \********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ DSMassRenameHandler) +/* harmony export */ }); + + +function DSMassRenameHandler(commandStack, eventBus) { + commandStack.registerHandler("domainStoryObjects.massRename", massRename); + function massRename(modeling) { + this.preExecute = function (context) { + let relevantElements = context.elements; + context.oldLabel = relevantElements[0].businessObject.name; + relevantElements.forEach(element => { + modeling.updateLabel(element.businessObject, confirm.newValue); + }); + }; + this.execute = function (context) { + let relevantElements = context.elements; + relevantElements.forEach(element => { + let semantic = element.businessObject; + semantic.name = context.newValue; + eventBus.fire("element.changed", { + element + }); + }); + }; + this.revert = function (context) { + let relevantElements = context.elements; + relevantElements.forEach(element => { + let semantic = element.businessObject; + semantic.name = context.oldLabel; + eventBus.fire("element.changed", { + element + }); + }); + }; + } +} + +/***/ }), + +/***/ 79182: +/*!*********************************************************************!*\ + !*** ./src/app/BPMN-JS/modeler/updateHandler/updateLabelHandler.js ***! + \*********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (/* binding */ UpdateLabelHandler) +/* harmony export */ }); +/* harmony import */ var _labeling_dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../labeling/dsLabelUtil */ 84745); +/* harmony import */ var bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bpmn-js/lib/util/LabelUtil */ 50815); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ 36997); + + + + + + +const NULL_DIMENSIONS = { + width: 0, + height: 0 +}; +/** + * a handler that updates the text of a BPMN element. + */ +function UpdateLabelHandler(modeling, textRenderer, commandStack) { + commandStack.registerHandler("element.updateCustomLabel", handlerFunction); + function handlerFunction() { + /** + * Set the label and return the changed elements. + * + * Element parameter can be label itself or connection (i.e. sequence flow). + * + * @param {djs.model.Base} element + * @param {String} text + */ + this.preExecute = function (ctx) { + let element = ctx.element, + businessObject = element.businessObject, + newLabel = ctx.newLabel, + newNumber = ctx.newNumber; + if (!(0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__.isLabel)(element) && (0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__.isLabelExternal)(element) && !(0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__.hasExternalLabel)(element) && (newLabel !== "" || newNumber !== "")) { + // create label + let paddingTop = 7; + let labelCenter = (0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__.getExternalLabelMid)(element); + labelCenter = { + x: labelCenter.x, + y: labelCenter.y + paddingTop + }; + modeling.createLabel(element, labelCenter, { + id: businessObject.id + "_label", + businessObject: businessObject + }); + } + }; + this.execute = function (ctx) { + ctx.oldLabel = (0,_labeling_dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__.getLabel)(ctx.element); + ctx.oldNumber = (0,_labeling_dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__.getNumber)(ctx.element); + return setText(ctx.element, ctx.newLabel, ctx.newNumber); + }; + this.revert = function (ctx) { + return setText(ctx.element, ctx.oldLabel, ctx.oldNumber); + }; + this.postExecute = function (ctx) { + let element = ctx.element, + label = element.label || element, + newLabel = ctx.newLabel, + newBounds = ctx.newBounds; + if ((0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__.isLabel)(label) && newLabel.trim() === "") { + modeling.removeShape(label); + return; + } + // ignore internal labels for elements except text annotations + if (!(0,bpmn_js_lib_util_LabelUtil__WEBPACK_IMPORTED_MODULE_3__.isLabelExternal)(element) && !(0,_util__WEBPACK_IMPORTED_MODULE_2__.is)(element, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.TEXTANNOTATION)) { + return; + } + let bo = (0,_util__WEBPACK_IMPORTED_MODULE_2__.getBusinessObject)(label); + let text = bo.name || bo.text; + // don't resize without text + if (!text) { + return; + } + // resize element based on label _or_ pre-defined bounds + if (typeof newBounds === "undefined") { + newBounds = textRenderer.getLayoutedBounds(label, text); + } + // setting newBounds to false or _null_ will + // disable the postExecute resize operation + if (newBounds) { + modeling.resizeShape(label, newBounds, NULL_DIMENSIONS); + } + }; + } +} +function setText(element, text, textNumber) { + // external label if present + let label = element.label || element; + let number = element.number || element; + let labelTarget = element.labelTarget || element; + let numberTarget = element.numberTarget || element; + (0,_labeling_dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__.setLabel)(label, text); + (0,_labeling_dsLabelUtil__WEBPACK_IMPORTED_MODULE_0__.setNumber)(number, textNumber); + return [label, labelTarget, number, numberTarget]; +} +UpdateLabelHandler.$inject = ["modeling", "textRenderer", "commandStack"]; + +/***/ }), + +/***/ 36997: +/*!*****************************************!*\ + !*** ./src/app/BPMN-JS/modeler/util.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ getBusinessObject: () => (/* binding */ getBusinessObject), +/* harmony export */ is: () => (/* binding */ is), +/* harmony export */ isAny: () => (/* binding */ isAny), +/* harmony export */ reworkGroupElements: () => (/* binding */ reworkGroupElements), +/* harmony export */ undoGroupRework: () => (/* binding */ undoGroupRework) +/* harmony export */ }); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! min-dash */ 93673); + +function is(element, type) { + const bo = getBusinessObject(element); + return bo && typeof bo.$instanceOf == "function" && bo.$instanceOf(type); +} +function getBusinessObject(element) { + return element && element.businessObject || element; +} +function isAny(element, types) { + return (0,min_dash__WEBPACK_IMPORTED_MODULE_0__.some)(types, function (t) { + return is(element, t); + }); +} +function reworkGroupElements(parent, shape) { + parent.children.slice().forEach(innerShape => { + if (innerShape.id !== shape.id) { + if (innerShape.x >= shape.x && innerShape.x <= shape.x + shape.width) { + if (innerShape.y >= shape.y && innerShape.y <= shape.y + shape.height) { + innerShape.parent = shape; + if (!shape.children.includes(innerShape)) { + shape.children.push(innerShape); + } + } + } + } + }); +} +function undoGroupRework(parent, shape) { + const superParent = parent.parent; + parent.children.remove(shape); + superParent.children.add(shape); + shape.parent = superParent; + const svgShape = document.querySelector("[data-element-id=" + shape.id + "]").parentElement; + const svgGroup = svgShape.parentElement; + const svgGroupParent = svgGroup.parentElement.parentElement; + svgGroup.removeChild(svgShape); + svgGroupParent.appendChild(svgShape); +} + +/***/ }), + +/***/ 78828: +/*!*************************************************!*\ + !*** ./src/app/Domain/Common/businessObject.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ testBusinessObject: () => (/* binding */ testBusinessObject) +/* harmony export */ }); +/* harmony import */ var _elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./elementTypes */ 30236); + +const testBusinessObject = { + $descriptor: undefined, + $type: undefined, + di: undefined, + get: undefined, + set: undefined, + id: 'test', + name: 'test', + type: _elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT, + x: 0, + y: 0, + height: 38, + width: 38, + pickedColor: undefined +}; + +/***/ }), + +/***/ 80775: +/*!************************************************!*\ + !*** ./src/app/Domain/Common/configuration.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Configuration: () => (/* binding */ Configuration) +/* harmony export */ }); +class Configuration { + constructor(actors, workObjects) { + this.actors = actors; + this.workObjects = workObjects; + } +} + +/***/ }), + +/***/ 90816: +/*!********************************************!*\ + !*** ./src/app/Domain/Common/constants.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ APPENDED_ICONS_TAG: () => (/* binding */ APPENDED_ICONS_TAG), +/* harmony export */ DEFAULT_AUTOSAVES_ENABLED: () => (/* binding */ DEFAULT_AUTOSAVES_ENABLED), +/* harmony export */ DEFAULT_AUTOSAVES_INTERVAL: () => (/* binding */ DEFAULT_AUTOSAVES_INTERVAL), +/* harmony export */ DEFAULT_AUTOSAVES_MAX_DRAFTS: () => (/* binding */ DEFAULT_AUTOSAVES_MAX_DRAFTS), +/* harmony export */ ICON_SET_CONFIGURATION_TAG: () => (/* binding */ ICON_SET_CONFIGURATION_TAG), +/* harmony export */ IMPLICIT_ROOT_ID: () => (/* binding */ IMPLICIT_ROOT_ID), +/* harmony export */ INITIAL_DESCRIPTION: () => (/* binding */ INITIAL_DESCRIPTION), +/* harmony export */ INITIAL_ICON_SET_NAME: () => (/* binding */ INITIAL_ICON_SET_NAME), +/* harmony export */ INITIAL_TITLE: () => (/* binding */ INITIAL_TITLE), +/* harmony export */ SNACKBAR_DURATION: () => (/* binding */ SNACKBAR_DURATION), +/* harmony export */ SNACKBAR_ERROR: () => (/* binding */ SNACKBAR_ERROR), +/* harmony export */ SNACKBAR_INFO: () => (/* binding */ SNACKBAR_INFO), +/* harmony export */ SNACKBAR_SUCCESS: () => (/* binding */ SNACKBAR_SUCCESS) +/* harmony export */ }); +/** DEFAULT VALUES **/ +const INITIAL_TITLE = '< title >'; +const INITIAL_DESCRIPTION = ''; +const INITIAL_ICON_SET_NAME = 'default'; +/** LocalStorageTags **/ +const APPENDED_ICONS_TAG = 'appendedIcons'; +// String value of tag should not be renamed, because existing configurations would not load +const ICON_SET_CONFIGURATION_TAG = 'domainConfigurationTag'; +/** AUTOSAVE DEFAULTS **/ +const DEFAULT_AUTOSAVES_ENABLED = true; +const DEFAULT_AUTOSAVES_MAX_DRAFTS = 5; +const DEFAULT_AUTOSAVES_INTERVAL = 30; +/** SNACKBAR **/ +const SNACKBAR_DURATION = 2000; +const SNACKBAR_SUCCESS = 'snackbar_success'; +const SNACKBAR_ERROR = 'snackbar_error'; +const SNACKBAR_INFO = 'snackbar_info'; +/** BPMN_RELEVANT_CONSTANTS **/ +const IMPLICIT_ROOT_ID = '__implicitroot'; + +/***/ }), + +/***/ 54972: +/*!********************************************************!*\ + !*** ./src/app/Domain/Common/dictionary/dictionary.ts ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Dictionary: () => (/* binding */ Dictionary), +/* harmony export */ Entry: () => (/* binding */ Entry) +/* harmony export */ }); +class Dictionary { + constructor() { + this.entries = []; + } + get length() { + return this.entries.length; + } + all() { + return this.entries; + } + size() { + return this.entries.length; + } + isEmpty() { + return this.entries.length <= 0; + } + has(key) { + return this.entries.some(entry => entry.key === key); + } + set(key, value) { + if (!this.has(key)) { + this.entries.push(new Entry(value, key)); + } + } + add(value, key) { + this.set(key, value); + } + putEntry(entry) { + if (!this.has(entry.key)) { + this.entries.push(new Entry(entry.value, entry.key)); + } + } + keysArray() { + return this.entries.map(entry => entry.key); + } + addEach(object) { + Object.keys(object).forEach(key => { + this.set(key, object[key]); + }); + } + appendDict(dict) { + dict.entries.forEach(entry => this.putEntry(entry)); + } + clear() { + this.entries = []; + } + delete(key) { + this.entries = this.entries.filter(entry => entry.key !== key); + } + get(key) { + const found = this.entries.filter(entry => entry.key === key); + return found[0] ? found[0].value : null; + } + sort(fn) { + this.entries.sort(fn); + } + sortByName() { + this.entries.sort((a, b) => { + if (a.key.includes('_custom') == b.key.includes('_custom')) { + if (a.key < b.key) return -1;else { + return 1; + } + } else { + if (a.key.includes('_custom')) { + return -1; + } else { + return 1; + } + } + }); + } +} +class Entry { + constructor(value, key) { + this.value = value; + this.key = key; + } +} + +/***/ }), + +/***/ 30236: +/*!***********************************************!*\ + !*** ./src/app/Domain/Common/elementTypes.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ElementTypes: () => (/* binding */ ElementTypes) +/* harmony export */ }); +var ElementTypes = /*#__PURE__*/function (ElementTypes) { + ElementTypes["ACTIVITY"] = "domainStory:activity"; + ElementTypes["CONNECTION"] = "domainStory:connection"; + ElementTypes["ACTOR"] = "domainStory:actor"; + ElementTypes["WORKOBJECT"] = "domainStory:workObject"; + ElementTypes["GROUP"] = "domainStory:group"; + ElementTypes["TEXTANNOTATION"] = "domainStory:textAnnotation"; + ElementTypes["DOMAINSTORY"] = "domainStory:"; + ElementTypes["CUSTOM"] = "-custom"; + return ElementTypes; +}(ElementTypes || {}); +(function (ElementTypes) { + function getIconId(type) { + if (type.startsWith(ElementTypes.ACTOR)) { + return type.replace(ElementTypes.ACTOR, ''); + } else if (type.startsWith(ElementTypes.WORKOBJECT)) { + return type.replace(ElementTypes.WORKOBJECT, ''); + } + return ''; + } + ElementTypes.getIconId = getIconId; + function isCustomType(type) { + return type.endsWith(ElementTypes.CUSTOM); + } + ElementTypes.isCustomType = isCustomType; + function isCustomSvgType(type) { + return type.endsWith('_svg' + ElementTypes.CUSTOM); + } + ElementTypes.isCustomSvgType = isCustomSvgType; +})(ElementTypes || (ElementTypes = {})); + +/***/ }), + +/***/ 93703: +/*!*****************************************************!*\ + !*** ./src/app/Domain/Dialog/activityDialogData.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ActivityDialogData: () => (/* binding */ ActivityDialogData) +/* harmony export */ }); +class ActivityDialogData { + constructor(activity, numberIsAllowedMultipleTimes, showNumberFields, saveFN) { + this.activity = activity; + this.numberIsAllowedMultipleTimes = numberIsAllowedMultipleTimes; + this.showNumberFields = showNumberFields; + this.saveFN = saveFN; + } +} + +/***/ }), + +/***/ 83064: +/*!***************************************************!*\ + !*** ./src/app/Domain/Dialog/exportDialogData.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ExportDialogData: () => (/* binding */ ExportDialogData), +/* harmony export */ ExportOption: () => (/* binding */ ExportOption) +/* harmony export */ }); +class ExportDialogData { + constructor(title, options) { + this.title = title; + this.options = options; + } +} +class ExportOption { + constructor(text, tooltip, fn) { + this.text = text; + this.tooltip = tooltip; + this.fn = fn; + } +} + +/***/ }), + +/***/ 45574: +/*!*************************************************!*\ + !*** ./src/app/Domain/Dialog/infoDialogData.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ InfoDialogData: () => (/* binding */ InfoDialogData) +/* harmony export */ }); +class InfoDialogData { + constructor(title, infoText, isInfo, isLink = false, linkText) { + this.title = title; + this.infoText = infoText; + this.isInfo = isInfo; + this.isLink = isLink; + this.linkText = linkText; + } +} + +/***/ }), + +/***/ 90173: +/*!***********************************************************!*\ + !*** ./src/app/Domain/DomManipulation/replayConstants.ts ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ HIGHLIGHT_NUMBER_BACKGROUNG_COLOR: () => (/* binding */ HIGHLIGHT_NUMBER_BACKGROUNG_COLOR), +/* harmony export */ HIGHLIGHT_NUMBER_COLOR: () => (/* binding */ HIGHLIGHT_NUMBER_COLOR), +/* harmony export */ HIGHLIGHT_STROKE_WIDTH: () => (/* binding */ HIGHLIGHT_STROKE_WIDTH), +/* harmony export */ NUMBER_BACKGROUND_COLOR: () => (/* binding */ NUMBER_BACKGROUND_COLOR), +/* harmony export */ NUMBER_COLOR: () => (/* binding */ NUMBER_COLOR), +/* harmony export */ STROKE_WIDTH: () => (/* binding */ STROKE_WIDTH) +/* harmony export */ }); +const NUMBER_BACKGROUND_COLOR = 'white'; +const NUMBER_COLOR = 'black'; +const STROKE_WIDTH = '1.5'; +const HIGHLIGHT_NUMBER_BACKGROUNG_COLOR = '#43acbf'; +const HIGHLIGHT_NUMBER_COLOR = 'black'; +const HIGHLIGHT_STROKE_WIDTH = '4'; + +/***/ }), + +/***/ 74306: +/*!***********************************************!*\ + !*** ./src/app/Domain/Export/configAndDst.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ConfigAndDST: () => (/* binding */ ConfigAndDST), +/* harmony export */ testConfigAndDst: () => (/* binding */ testConfigAndDst) +/* harmony export */ }); +class ConfigAndDST { + constructor(domain, dst) { + this.domain = domain; + this.dst = dst; + } +} +const testConfigAndDst = { + domain: JSON.parse('{"name":"",' + '"actors":{"Person":"' + '' + '",' + '"Group":"' + '' + '",' + '"System":"' + '"},' + '"workObjects":{"Document":"' + '",' + '"Folder":"' + '' + '",' + '"Call":"' + '",' + '"Email":"' + '",' + '"Conversation":"' + '",' + '"Info":"' + '' + '"}}'), + dst: '[' + '{"type":"domainStory:workObjectDocument","name":"","id":"shape_3792","$type":"Element","di":{},"$descriptor":{},"pickedColor":"black","x":302,"y":102},' + '{"type":"domainStory:actorPerson","name":"","id":"shape_4666","$type":"Element","di":{},"$descriptor":{},"pickedColor":"black","x":103,"y":93},' + '{"type":"domainStory:activity","name":"","id":"connection_4884","$type":"Element","di":{},"$descriptor":{},"pickedColor":"black","number":1,' + '"waypoints":[{"original":{"x":141,"y":131},"x":186,"y":133},{"original":{"x":340,"y":140},"x":302,"y":138}],' + '"source":"shape_4666","target":"shape_3792"}]' +}; + +/***/ }), + +/***/ 27901: +/*!**************************************************!*\ + !*** ./src/app/Domain/Export/exportConstants.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ DEFAULT_PADDING: () => (/* binding */ DEFAULT_PADDING), +/* harmony export */ SVG_LINK: () => (/* binding */ SVG_LINK), +/* harmony export */ TEXTSPAN_DESCRIPTION_HEIGHT: () => (/* binding */ TEXTSPAN_DESCRIPTION_HEIGHT), +/* harmony export */ TEXTSPAN_TITLE_HEIGHT: () => (/* binding */ TEXTSPAN_TITLE_HEIGHT), +/* harmony export */ X_OFFSET_UTIL: () => (/* binding */ X_OFFSET_UTIL) +/* harmony export */ }); +const SVG_LINK = 'http://www.w3.org/2000/svg'; +const X_OFFSET_UTIL = '8'; +const TEXTSPAN_TITLE_HEIGHT = 30; +const TEXTSPAN_DESCRIPTION_HEIGHT = 15; +const DEFAULT_PADDING = 15; + +/***/ }), + +/***/ 57488: +/*!***********************************************************!*\ + !*** ./src/app/Domain/Icon-Set-Configuration/allIcons.ts ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ allIcons: () => (/* binding */ allIcons), +/* harmony export */ appendedIcons: () => (/* binding */ appendedIcons), +/* harmony export */ getAllStandardIconKeys: () => (/* binding */ getAllStandardIconKeys), +/* harmony export */ overrideAppendedIcons: () => (/* binding */ overrideAppendedIcons) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/dictionary/dictionary */ 54972); + +let appendedIcons = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); +const allIcons = { + Person: '', + Group: '', + Pet: '', + Conversation: '', + World: '', + Store: '', + Theater: '', + Business: '', + Water: '', + Hotel: '', + Dining: '', + 'Gas-station': '', + 'Meeting-room': '', + Courthouse: '', + Flag: '', + Place: '', + Car: '', + Bus: '', + Train: '', + Truck: '', + Taxi: '', + Bike: '', + Boat: '', + Motorcycle: '', + Plane: '', + 'Flight-takeoff': '', + 'Flight-landing': '', + Shuttle: '', + Walking: '', + Traffic: '', + Commute: '', + System: '', + Printer: '', + Document: '', + Folder: '', + Call: '', + Email: '', + Copyright: '', + DNS: '', + Settings: '', + Cellphone: '', + Update: '', + Briefcase: '', + Microphone: '', + Signal: '', + Key: '', + Pencil: '', + Sum: '', + Headset: '', + Keyboard: '', + Mouse: '', + Router: '', + Scanner: '', + Security: '', + Desktop: '', + 'Speaker-phone': '', + Tablet: '', + Label: '', + Receipt: '', + Calendar: '', + Cloud: '', + Assessment: '', + Dashboard: '', + 'Pie-chart': '', + Problem: '', + 'Picture-as-PDF': '', + Grid: '', + Watch: '', + Euro: '', + Dollar: '', + Info: '', + Alarm: '', + Wrench: '', + 'Circle-Arrows': '', + 'Credit-Card': '', + Favorite: '', + Gavel: '', + Blind: '', + Hourglass: '', + Time: '', + Search: '', + Shopping: '', + 'Thumb-up': '', + 'Thumb-down': '', + 'Thumb-up-down': '', + Couch: '', + Attach: '', + Ruler: '', + Education: '', + 'How-To-Reg': '', + 'View-List': '' +}; +function getAllStandardIconKeys() { + const allIconsDict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + allIconsDict.addEach(allIcons); + return allIconsDict.keysArray(); +} +function overrideAppendedIcons(newIcons) { + appendedIcons = newIcons; +} + +/***/ }), + +/***/ 69186: +/*!********************************************************************!*\ + !*** ./src/app/Domain/Icon-Set-Configuration/iconConfiguration.ts ***! + \********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ IconConfiguration: () => (/* binding */ IconConfiguration), +/* harmony export */ defaultConf: () => (/* binding */ defaultConf) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/dictionary/dictionary */ 54972); +/* harmony import */ var src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Icon-Set-Configuration/allIcons */ 57488); +/* harmony import */ var src_app_Domain_Common_configuration__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Domain/Common/configuration */ 80775); +/* harmony import */ var _Common_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Common/constants */ 90816); + + + + +class IconConfiguration { + constructor(allIconDictionary) { + this.domainName = _Common_constants__WEBPACK_IMPORTED_MODULE_3__.INITIAL_ICON_SET_NAME; + this.allIconDictionary = allIconDictionary; + } + /** + * Select the Iconset which you want to use + */ + getDefaultConf() { + return defaultConf; + } + updateAllIconRegistry(allIconDictionary) { + this.allIconDictionary = allIconDictionary; + } + appendSRCFile(actors, actorsDict, workObjects, workObjectsDict) { + const newAppendedIcons = {}; + actors.forEach(name => { + if (!this.allIconDictionary.has(name)) { + newAppendedIcons[name] = actorsDict.get(name); + } + }); + workObjects.forEach(name => { + if (!this.allIconDictionary.has(name)) { + newAppendedIcons[name] = workObjectsDict.get(name); + } + }); + const appen = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + Object.keys(newAppendedIcons).forEach(key => { + appen.set(key, newAppendedIcons[key]); + }); + (0,src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_1__.overrideAppendedIcons)(appen); + } + createCustomConf(iconSetConfiguration) { + this.domainName = iconSetConfiguration.name; + let actors = iconSetConfiguration.actors; + let workObjects = iconSetConfiguration.workObjects; + this.appendSRCFile(actors.keysArray(), actors, workObjects.keysArray(), workObjects); + return new src_app_Domain_Common_configuration__WEBPACK_IMPORTED_MODULE_2__.Configuration(actors.keysArray(), workObjects.keysArray()); + } +} +/* eslint no-unused-vars: 0*/ +/** + * All Icons as one Set + * There are more Icons than fit in the palette. + * This is just for reference + */ +const allIconsConf = { + actors: ['Person', 'Group', 'System', 'Pet'], + workObjects: ['Place', 'Flag', 'World', 'Water', 'Store', 'Theater', 'Business', 'Meeting-room', 'Hotel', 'Dining', 'Courthouse', 'Gas-station', 'Car', 'Bus', 'Train', 'Truck', 'Taxi', 'Bike', 'Boat', 'Motorcycle', 'Plane', 'Flight-takeoff', 'Flight-landing', 'Shuttle', 'Walking', 'Traffic', 'Commute', 'Document', 'Folder', 'Call', 'Email', 'Copyright', 'Briefcase', 'Attach', 'Ruler', 'Sum', 'Conversation', 'Update', 'Cellphone', 'Speaker-phone', 'Signal', 'Key', 'Pencil', 'How-To-Reg', 'Settings', 'Grid', 'Label', 'Receipt', 'Calendar', 'Wrench', 'Headset', 'Keyboard', 'Mouse', 'Microphone', 'Router', 'Scanner', 'Printer', 'DNS', 'Security', 'Cloud', 'Desktop', 'Tablet', 'Assessment', 'Dashboard', 'Pie-chart', 'View-List', 'Euro', 'Dollar', 'Info', 'Alarm', 'Problem', 'Circle-Arrows', 'Picture-as-PDF', 'Credit-Card', 'Shopping', 'Favorite', 'Gavel', 'Blind', 'Hourglass', 'Time', 'Search', 'Thumb-up', 'Thumb-down', 'Thumb-up-down', 'Couch', 'Education', 'Watch'] +}; +/** + * Default Iconset + */ +const defaultConf = { + actors: ['Person', 'Group', 'System'], + workObjects: ['Document', 'Folder', 'Call', 'Email', 'Conversation', 'Info'] +}; + +/***/ }), + +/***/ 36105: +/*!*****************************************************************!*\ + !*** ./src/app/Domain/Icon-Set-Configuration/iconFilterEnum.ts ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ IconFilterEnum: () => (/* binding */ IconFilterEnum) +/* harmony export */ }); +var IconFilterEnum = /*#__PURE__*/function (IconFilterEnum) { + IconFilterEnum["ICON_FILTER_ACTOR"] = "ICON_FILTER_ACTOR"; + IconFilterEnum["ICON_FILTER_WORKOBJECT"] = "ICON_FILTER_WORKOBJECT"; + IconFilterEnum["ICON_FILTER_UNASSIGNED"] = "ICON_FILTER_UNASSIGNED"; + IconFilterEnum["ICON_FILTER_NONE"] = "ICON_FILTER_NONE"; + return IconFilterEnum; +}(IconFilterEnum || {}); + +/***/ }), + +/***/ 77044: +/*!***********************************************************************!*\ + !*** ./src/app/Domain/Icon-Set-Configuration/iconSetConfiguration.ts ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ fromConfigurationFromFile: () => (/* binding */ fromConfigurationFromFile), +/* harmony export */ testCustomIconSetConfiguration: () => (/* binding */ testCustomIconSetConfiguration) +/* harmony export */ }); +/* harmony import */ var _Common_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Common/constants */ 90816); +/* harmony import */ var _Common_businessObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Common/businessObject */ 78828); +/* harmony import */ var _Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Common/elementTypes */ 30236); +/* harmony import */ var _Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Common/dictionary/dictionary */ 54972); + + + + +const actor = structuredClone(_Common_businessObject__WEBPACK_IMPORTED_MODULE_1__.testBusinessObject); +actor.type = _Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR; +const testCustomIconSetConfiguration = { + name: _Common_constants__WEBPACK_IMPORTED_MODULE_0__.INITIAL_ICON_SET_NAME, + actors: ['Person'], + workObjects: ['Document'] +}; +function fromConfigurationFromFile(configFromFile) { + const actorsDict = new _Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_3__.Dictionary(); + const workObjectsDict = new _Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_3__.Dictionary(); + Object.keys(configFromFile.actors).forEach(key => { + let icon = configFromFile.actors[key]; + if (icon) { + // make sure the actor has an icon + actorsDict.add(icon, key); + } + }); + Object.keys(configFromFile.workObjects).forEach(key => { + let icon = configFromFile.workObjects[key]; + if (icon) { + // make sure the work object has an icon + workObjectsDict.add(icon, key); + } + }); + return { + name: configFromFile.name, + actors: actorsDict, + workObjects: workObjectsDict + }; +} + +/***/ }), + +/***/ 90684: +/*!*****************************************************!*\ + !*** ./src/app/Modules/autosave-settings.module.ts ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AutosaveSettingsModule: () => (/* binding */ AutosaveSettingsModule) +/* harmony export */ }); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _Presentation_Autosave_AutosaveSettings_autosave_settings_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Presentation/Autosave/AutosaveSettings/autosave-settings.component */ 94709); +/* harmony import */ var _Presentation_Autosave_AutosaveOptions_autosave_options_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Presentation/Autosave/AutosaveOptions/autosave-options.component */ 47893); +/* harmony import */ var _Presentation_Autosave_AutosavedDrafts_autosaved_drafts_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Presentation/Autosave/AutosavedDrafts/autosaved-drafts.component */ 39083); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ 37222); +/* harmony import */ var _material_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../material.module */ 89439); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 2978); + + + + + + + +let AutosaveSettingsModule = /*#__PURE__*/(() => { + class AutosaveSettingsModule { + static #_ = this.ɵfac = function AutosaveSettingsModule_Factory(t) { + return new (t || AutosaveSettingsModule)(); + }; + static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ + type: AutosaveSettingsModule + }); + static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ + imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormsModule, _material_module__WEBPACK_IMPORTED_MODULE_3__.MaterialModule] + }); + } + return AutosaveSettingsModule; +})(); +(function () { + (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](AutosaveSettingsModule, { + declarations: [_Presentation_Autosave_AutosaveSettings_autosave_settings_component__WEBPACK_IMPORTED_MODULE_0__.AutosaveSettingsComponent, _Presentation_Autosave_AutosaveOptions_autosave_options_component__WEBPACK_IMPORTED_MODULE_1__.AutosaveOptionsComponent, _Presentation_Autosave_AutosavedDrafts_autosaved_drafts_component__WEBPACK_IMPORTED_MODULE_2__.AutosavedDraftsComponent], + imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormsModule, _material_module__WEBPACK_IMPORTED_MODULE_3__.MaterialModule], + exports: [_Presentation_Autosave_AutosaveSettings_autosave_settings_component__WEBPACK_IMPORTED_MODULE_0__.AutosaveSettingsComponent] + }); +})(); + +/***/ }), + +/***/ 76330: +/*!***************************************************************!*\ + !*** ./src/app/Modules/domain-story-modeler-module.module.ts ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ DomainStoryModelerModuleModule: () => (/* binding */ DomainStoryModelerModuleModule) +/* harmony export */ }); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _Presentation_Header_components_header_buttons_header_buttons_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Presentation/Header/components/header-buttons/header-buttons.component */ 9432); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); + + + +let DomainStoryModelerModuleModule = /*#__PURE__*/(() => { + class DomainStoryModelerModuleModule { + static #_ = this.ɵfac = function DomainStoryModelerModuleModule_Factory(t) { + return new (t || DomainStoryModelerModuleModule)(); + }; + static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ + type: DomainStoryModelerModuleModule + }); + static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ + imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule] + }); + } + return DomainStoryModelerModuleModule; +})(); +(function () { + (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](DomainStoryModelerModuleModule, { + declarations: [_Presentation_Header_components_header_buttons_header_buttons_component__WEBPACK_IMPORTED_MODULE_0__.HeaderButtonsComponent], + imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule], + exports: [_Presentation_Header_components_header_buttons_header_buttons_component__WEBPACK_IMPORTED_MODULE_0__.HeaderButtonsComponent] + }); +})(); + +/***/ }), + +/***/ 47261: +/*!********************************************!*\ + !*** ./src/app/Modules/settings.module.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ SettingsModule: () => (/* binding */ SettingsModule) +/* harmony export */ }); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var src_app_Presentation_DomainConfiguration_icon_set_configuration_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Presentation/DomainConfiguration/icon-set-configuration.component */ 38574); +/* harmony import */ var _Presentation_DomainConfiguration_icon_list_item_icon_list_item_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Presentation/DomainConfiguration/icon-list-item/icon-list-item.component */ 58414); +/* harmony import */ var _Presentation_DomainConfiguration_details_list_item_details_list_item_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Presentation/DomainConfiguration/details-list-item/details-list-item.component */ 62748); +/* harmony import */ var _Presentation_DomainConfiguration_icon_set_details_icon_set_details_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Presentation/DomainConfiguration/icon-set-details/icon-set-details.component */ 79052); +/* harmony import */ var _Presentation_Settings_General_general_settings_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Presentation/Settings/General/general-settings.component */ 423); +/* harmony import */ var _Presentation_LabelDictionary_label_dictionary_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Presentation/LabelDictionary/label-dictionary.component */ 86328); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 37222); +/* harmony import */ var _material_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../material.module */ 89439); +/* harmony import */ var _autosave_settings_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./autosave-settings.module */ 90684); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 2978); + + + + + + + + + + + +let SettingsModule = /*#__PURE__*/(() => { + class SettingsModule { + static #_ = this.ɵfac = function SettingsModule_Factory(t) { + return new (t || SettingsModule)(); + }; + static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineNgModule"]({ + type: SettingsModule + }); + static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineInjector"]({ + imports: [_autosave_settings_module__WEBPACK_IMPORTED_MODULE_7__.AutosaveSettingsModule, _angular_common__WEBPACK_IMPORTED_MODULE_9__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormsModule, _material_module__WEBPACK_IMPORTED_MODULE_6__.MaterialModule] + }); + } + return SettingsModule; +})(); +(function () { + (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵsetNgModuleScope"](SettingsModule, { + declarations: [src_app_Presentation_DomainConfiguration_icon_set_configuration_component__WEBPACK_IMPORTED_MODULE_0__.IconSetConfigurationComponent, _Presentation_Settings_General_general_settings_component__WEBPACK_IMPORTED_MODULE_4__.GeneralSettingsComponent, _Presentation_LabelDictionary_label_dictionary_component__WEBPACK_IMPORTED_MODULE_5__.LabelDictionaryComponent, _Presentation_DomainConfiguration_icon_list_item_icon_list_item_component__WEBPACK_IMPORTED_MODULE_1__.IconListItemComponent, _Presentation_DomainConfiguration_details_list_item_details_list_item_component__WEBPACK_IMPORTED_MODULE_2__.DetailsListItemComponent, _Presentation_DomainConfiguration_icon_set_details_icon_set_details_component__WEBPACK_IMPORTED_MODULE_3__.IconSetDetailsComponent], + imports: [_autosave_settings_module__WEBPACK_IMPORTED_MODULE_7__.AutosaveSettingsModule, _angular_common__WEBPACK_IMPORTED_MODULE_9__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormsModule, _material_module__WEBPACK_IMPORTED_MODULE_6__.MaterialModule], + exports: [_Presentation_Settings_General_general_settings_component__WEBPACK_IMPORTED_MODULE_4__.GeneralSettingsComponent, src_app_Presentation_DomainConfiguration_icon_set_configuration_component__WEBPACK_IMPORTED_MODULE_0__.IconSetConfigurationComponent, _Presentation_LabelDictionary_label_dictionary_component__WEBPACK_IMPORTED_MODULE_5__.LabelDictionaryComponent] + }); +})(); + +/***/ }), + +/***/ 47893: +/*!*************************************************************************************!*\ + !*** ./src/app/Presentation/Autosave/AutosaveOptions/autosave-options.component.ts ***! + \*************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AutosaveOptionsComponent: () => (/* binding */ AutosaveOptionsComponent) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/constants */ 90816); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Service_Autosave_autosave_configuration_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Service/Autosave/autosave-configuration.service */ 97237); +/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/snack-bar */ 93289); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/form-field */ 29344); +/* harmony import */ var _angular_material_card__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/card */ 90643); + + + + + + + + +function AutosaveOptionsComponent_mat_card_0_Template(rf, ctx) { + if (rf & 1) { + const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "mat-card")(1, "mat-card-header")(2, "mat-card-title"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](3, "Autosave Options"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](4, "mat-card-content", 4)(5, "div", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](6, "input", 6, 0); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](8, "mat-label"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](9, "Enabled"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](10, "div", 7)(11, "mat-label"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](12, "Interval [sec]"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](13, "input", 8, 1); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](15, "div", 7)(16, "mat-label"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](17, "Max. Drafts"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](18, "input", 8, 2); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](20, "button", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function AutosaveOptionsComponent_mat_card_0_Template_button_click_20_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r1); + const activated_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵreference"](7); + const interval_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵreference"](14); + const drafts_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵreference"](19); + const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r4.save(activated_r2.checked, +drafts_r4.value, +interval_r3.value)); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](21, " Apply "); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()(); + } + if (rf & 2) { + const configuration_r6 = ctx.ngIf; + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](6); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("checked", configuration_r6.activated); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](7); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("value", configuration_r6.interval); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](5); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("value", configuration_r6.maxDrafts); + } +} +let AutosaveOptionsComponent = /*#__PURE__*/(() => { + class AutosaveOptionsComponent { + constructor(autosaveConfiguration, snackbar) { + this.autosaveConfiguration = autosaveConfiguration; + this.snackbar = snackbar; + } + save(activated, maxDrafts, interval) { + if (this.autosaveConfiguration.setConfiguration({ + activated, + maxDrafts, + interval + })) { + this.snackbar.open('Settings for Autosave saved', undefined, { + duration: src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION, + panelClass: src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_SUCCESS + }); + } else { + this.snackbar.open('Unable to save settings for Autosave - please try again', undefined, { + duration: 2 * src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION, + panelClass: src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_ERROR + }); + } + } + static #_ = this.ɵfac = function AutosaveOptionsComponent_Factory(t) { + return new (t || AutosaveOptionsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_Service_Autosave_autosave_configuration_service__WEBPACK_IMPORTED_MODULE_1__.AutosaveConfigurationService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_3__.MatSnackBar)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ + type: AutosaveOptionsComponent, + selectors: [["app-autosave-options"]], + decls: 2, + vars: 3, + consts: [["activated", ""], ["interval", ""], ["drafts", ""], [4, "ngIf"], [1, "cardContent"], [1, "alignSelfCenter"], ["type", "checkbox", 3, "checked"], [1, "inputContainer"], ["min", "1", "type", "number", 1, "numberInput", 3, "value"], ["mat-raised-button", "", "color", "primary", 1, "saveButton", 3, "click"]], + template: function AutosaveOptionsComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, AutosaveOptionsComponent_mat_card_0_Template, 22, 3, "mat-card", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](1, "async"); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind1"](1, 1, ctx.autosaveConfiguration.configuration$)); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _angular_material_button__WEBPACK_IMPORTED_MODULE_5__.MatButton, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__.MatLabel, _angular_material_card__WEBPACK_IMPORTED_MODULE_7__.MatCard, _angular_material_card__WEBPACK_IMPORTED_MODULE_7__.MatCardContent, _angular_material_card__WEBPACK_IMPORTED_MODULE_7__.MatCardHeader, _angular_material_card__WEBPACK_IMPORTED_MODULE_7__.MatCardTitle, _angular_common__WEBPACK_IMPORTED_MODULE_4__.AsyncPipe], + styles: [".autosaveEnabled[_ngcontent-%COMP%], .autosaveInterval[_ngcontent-%COMP%] {\n display: inline-grid;\n grid-template-columns: 120px auto;\n width: 300px;\n grid-row-gap: 5px;\n height: 20px;\n}\n\n.enableButton[_ngcontent-%COMP%] {\n justify-self: start;\n}\n\n.autosaveEnabled[_ngcontent-%COMP%] {\n padding-bottom: 2px;\n}\n\n.autosaveInterval[_ngcontent-%COMP%] {\n padding-bottom: 10px;\n}\n\n.autosaveIntervalSpan[_ngcontent-%COMP%] {\n padding-top: 2px;\n justify-self: start;\n}\n\n.saveButton[_ngcontent-%COMP%] {\n align-self: end;\n right: 0;\n margin-left: -5px;\n}\n\n.cardContent[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n}\n\n.inputContainer[_ngcontent-%COMP%] {\n display: inline-grid;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n.numberInput[_ngcontent-%COMP%] {\n justify-self: end;\n width: 64px;\n}\n\n.alignSelfCenter[_ngcontent-%COMP%] {\n align-self: center;\n}"] + }); + } + return AutosaveOptionsComponent; +})(); + +/***/ }), + +/***/ 94709: +/*!***************************************************************************************!*\ + !*** ./src/app/Presentation/Autosave/AutosaveSettings/autosave-settings.component.ts ***! + \***************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AutosaveSettingsComponent: () => (/* binding */ AutosaveSettingsComponent) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _AutosaveOptions_autosave_options_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../AutosaveOptions/autosave-options.component */ 47893); +/* harmony import */ var _AutosavedDrafts_autosaved_drafts_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../AutosavedDrafts/autosaved-drafts.component */ 39083); + + + +let AutosaveSettingsComponent = /*#__PURE__*/(() => { + class AutosaveSettingsComponent { + static #_ = this.ɵfac = function AutosaveSettingsComponent_Factory(t) { + return new (t || AutosaveSettingsComponent)(); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ + type: AutosaveSettingsComponent, + selectors: [["app-autosave-settings"]], + decls: 2, + vars: 0, + template: function AutosaveSettingsComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](0, "app-autosave-options")(1, "app-autosaved-drafts"); + } + }, + dependencies: [_AutosaveOptions_autosave_options_component__WEBPACK_IMPORTED_MODULE_0__.AutosaveOptionsComponent, _AutosavedDrafts_autosaved_drafts_component__WEBPACK_IMPORTED_MODULE_1__.AutosavedDraftsComponent] + }); + } + return AutosaveSettingsComponent; +})(); + +/***/ }), + +/***/ 39083: +/*!*************************************************************************************!*\ + !*** ./src/app/Presentation/Autosave/AutosavedDrafts/autosaved-drafts.component.ts ***! + \*************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AutosavedDraftsComponent: () => (/* binding */ AutosavedDraftsComponent) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/constants */ 90816); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Service_Autosave_autosave_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Service/Autosave/autosave.service */ 30534); +/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/snack-bar */ 93289); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var _angular_material_expansion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/expansion */ 71288); + + + + + + + +function AutosavedDraftsComponent_div_7_div_1_Template(rf, ctx) { + if (rf & 1) { + const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 6)(1, "div")(2, "div", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](4, "div", 8); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](5); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](6, "button", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function AutosavedDraftsComponent_div_7_div_1_Template_button_click_6_listener() { + const draft_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r2).$implicit; + const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](2); + return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r3.loadDraft(draft_r3)); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](7, " Load Draft "); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + } + if (rf & 2) { + const draft_r3 = ctx.$implicit; + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](draft_r3.title); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](draft_r3.date); + } +} +function AutosavedDraftsComponent_div_7_Template(rf, ctx) { + if (rf & 1) { + const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](1, AutosavedDraftsComponent_div_7_div_1_Template, 8, 2, "div", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](2, "div", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](3, "div"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](4, "button", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function AutosavedDraftsComponent_div_7_Template_button_click_4_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵrestoreView"](_r1); + const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresetView"](ctx_r3.removeAllDrafts()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](5, " Remove All Drafts "); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()(); + } + if (rf & 2) { + const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", ctx_r3.drafts); + } +} +function AutosavedDraftsComponent_ng_template_8_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](0, "No drafts found."); + } +} +let AutosavedDraftsComponent = /*#__PURE__*/(() => { + class AutosavedDraftsComponent { + constructor(autosaveService, snackbar) { + this.autosaveService = autosaveService; + this.snackbar = snackbar; + this.drafts = []; + this.subscription = this.autosaveService.autosavedDraftsChanged$.subscribe(() => this.initDrafts()); + } + ngOnInit() { + this.initDrafts(); + } + initDrafts() { + this.drafts = this.autosaveService.loadCurrentDrafts(); + } + loadDraft(draft) { + this.autosaveService.loadDraft(draft); + this.snackbar.open('Draft loaded', undefined, { + duration: src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION, + panelClass: src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_SUCCESS + }); + } + removeAllDrafts() { + this.autosaveService.removeAllDrafts(); + } + static #_ = this.ɵfac = function AutosavedDraftsComponent_Factory(t) { + return new (t || AutosavedDraftsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_Service_Autosave_autosave_service__WEBPACK_IMPORTED_MODULE_1__.AutosaveService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_3__.MatSnackBar)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ + type: AutosavedDraftsComponent, + selectors: [["app-autosaved-drafts"]], + decls: 10, + vars: 4, + consts: [["noDrafts", ""], ["class", "items", 4, "ngIf", "ngIfElse"], [1, "items"], ["class", "item border-bottom", 4, "ngFor", "ngForOf"], [1, "item"], ["mat-raised-button", "", "color", "primary", 1, "item-button", 3, "click"], [1, "item", "border-bottom"], [1, "item-title"], [1, "item-date"]], + template: function AutosavedDraftsComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "mat-accordion")(1, "mat-expansion-panel")(2, "mat-expansion-panel-header")(3, "mat-panel-title"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](4, "History"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](5, "mat-panel-description"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](6); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](7, AutosavedDraftsComponent_div_7_Template, 6, 1, "div", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](8, AutosavedDraftsComponent_ng_template_8_Template, 1, 0, "ng-template", null, 0, _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplateRefExtractor"]); + } + if (rf & 2) { + const noDrafts_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵreference"](9); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](6); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate2"](" ", ctx.drafts.length ? ctx.drafts.length : "no", " ", ctx.drafts.length > 1 ? "drafts" : "draft", " available "); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.drafts.length)("ngIfElse", noDrafts_r5); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _angular_material_button__WEBPACK_IMPORTED_MODULE_5__.MatButton, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_6__.MatAccordion, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_6__.MatExpansionPanel, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_6__.MatExpansionPanelHeader, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_6__.MatExpansionPanelTitle, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_6__.MatExpansionPanelDescription], + styles: [".items[_ngcontent-%COMP%] {\n padding-top: 0 !important;\n}\n.items[_ngcontent-%COMP%] .mat-list-item-content {\n padding: 0;\n}\n\n.item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 8px 0;\n width: 400px;\n}\n\n.border-bottom[_ngcontent-%COMP%] {\n border-bottom: 1px solid darkgray;\n}\n\n.item-title[_ngcontent-%COMP%] {\n font-weight: bold;\n width: 270px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.item-date[_ngcontent-%COMP%] {\n font-weight: normal;\n}\n\n.item-button[_ngcontent-%COMP%] {\n margin-left: 1rem;\n}\n\nmat-list-item[_ngcontent-%COMP%] {\n border-bottom: 1px solid darkgray;\n}"] + }); + } + return AutosavedDraftsComponent; +})(); + +/***/ }), + +/***/ 29383: +/*!**********************************************************!*\ + !*** ./src/app/Presentation/Canvas/modeler.component.ts ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ModelerComponent: () => (/* binding */ ModelerComponent) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Service/Modeler/modeler.service */ 74676); +/* harmony import */ var _Service_Autosave_autosave_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Service/Autosave/autosave.service */ 30534); + + + +let ModelerComponent = /*#__PURE__*/(() => { + class ModelerComponent { + constructor(modelerService, autosaveService) { + this.modelerService = modelerService; + this.autosaveService = autosaveService; + } + ngOnInit() { + this.modelerService.postInit(); + this.autosaveService.loadLatestDraft(); + } + static #_ = this.ɵfac = function ModelerComponent_Factory(t) { + return new (t || ModelerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_0__.ModelerService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_Service_Autosave_autosave_service__WEBPACK_IMPORTED_MODULE_1__.AutosaveService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ + type: ModelerComponent, + selectors: [["app-modeler"]], + decls: 1, + vars: 0, + consts: [["id", "canvas"]], + template: function ModelerComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](0, "div", 0); + } + }, + styles: ["#canvas[_ngcontent-%COMP%], #canvas[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n top: 0;\n width: 100%;\n height: 100%;\n position: relative;\n bottom: 0;\n overflow: hidden;\n}"] + }); + } + return ModelerComponent; +})(); + +/***/ }), + +/***/ 63954: +/*!**********************************************************************************!*\ + !*** ./src/app/Presentation/Dialog/activity-dialog/activity-dialog.component.ts ***! + \**********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ActivityDialogComponent: () => (/* binding */ ActivityDialogComponent) +/* harmony export */ }); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _dialog_forms_activity_dialog_form__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dialog-forms/activity-dialog-form */ 1974); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ 37222); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/form-field */ 29344); +/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/input */ 92583); +/* harmony import */ var src_app_Domain_Dialog_activityDialogData__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Dialog/activityDialogData */ 93703); + + + + + + + + + +let ActivityDialogComponent = /*#__PURE__*/(() => { + class ActivityDialogComponent { + constructor(dialogRef, data) { + this.dialogRef = dialogRef; + this.activity = data.activity; + this.activityLabel = data.activity.businessObject.name; + this.numberIsAllowedMultipleTimes = data.numberIsAllowedMultipleTimes; + this.activityNumber = data.activity.businessObject.number ?? null; + this.showNumberFields = data.showNumberFields; + this.saveFN = data.saveFN; + this.form = _dialog_forms_activity_dialog_form__WEBPACK_IMPORTED_MODULE_0__.ActivityDialogForm.create(this.activityLabel, this.activityNumber, this.numberIsAllowedMultipleTimes); + this.form.controls.activityNumber.valueChanges.subscribe(activityNumber => { + if (activityNumber !== null) { + if (activityNumber < 1) { + this.form.controls.activityNumber.setValue(1); + } + } + }); + } + onSubmit() { + this.numberIsAllowedMultipleTimes = !this.numberIsAllowedMultipleTimes; + this.form.patchValue({ + multipleNumbers: this.numberIsAllowedMultipleTimes + }); + } + save() { + this.saveFN({ + activity: this.activity, + ...this.form.value + }); + this.dialogRef.close(); + } + close() { + this.dialogRef.close(); + } + preventDefault(event) { + event.preventDefault(); + } + static #_ = this.ɵfac = function ActivityDialogComponent_Factory(t) { + return new (t || ActivityDialogComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__.MatDialogRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__.MAT_DIALOG_DATA)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ + type: ActivityDialogComponent, + selectors: [["app-activity-dialog"]], + decls: 20, + vars: 2, + consts: [[3, "formGroup"], [3, "hidden"], [1, "shortWidth"], ["matInput", "", "type", "number", "formControlName", "activityNumber"], ["type", "checkbox", "formControlName", "multipleNumbers", 3, "change"], [1, "fullWidth"], ["matInput", "", "type", "text", "formControlName", "activityLabel", "autofocus", "", "cdkFocusInitial", "", 3, "keydown.enter", "keyup.enter", "keyup.escape"], ["mat-flat-button", "", 3, "click"], ["mat-flat-button", "", "color", "primary", 3, "click"]], + template: function ActivityDialogComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "mat-dialog-content")(1, "h2"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2, "Edit Activity"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](3, "form", 0)(4, "div", 1)(5, "mat-form-field", 2)(6, "mat-label"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](7, "Number"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](8, "input", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](9, "input", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("change", function ActivityDialogComponent_Template_input_change_9_listener() { + return ctx.onSubmit(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](10, " multiple "); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](11, "mat-form-field", 5)(12, "mat-label"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](13, "Label"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](14, "textarea", 6); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("keydown.enter", function ActivityDialogComponent_Template_textarea_keydown_enter_14_listener($event) { + return ctx.preventDefault($event); + })("keyup.enter", function ActivityDialogComponent_Template_textarea_keyup_enter_14_listener() { + return ctx.save(); + })("keyup.escape", function ActivityDialogComponent_Template_textarea_keyup_escape_14_listener() { + return ctx.close(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](15, "mat-dialog-actions")(16, "button", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function ActivityDialogComponent_Template_button_click_16_listener() { + return ctx.close(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](17, "Cancel"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](18, "button", 8); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function ActivityDialogComponent_Template_button_click_18_listener() { + return ctx.save(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](19, "Save"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("formGroup", ctx.form); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("hidden", !ctx.showNumberFields); + } + }, + dependencies: [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_4__.NumberValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_4__.CheckboxControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_4__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_4__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_4__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_4__.FormControlName, _angular_material_button__WEBPACK_IMPORTED_MODULE_5__.MatButton, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__.MatDialogActions, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__.MatDialogContent, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__.MatFormField, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__.MatLabel, _angular_material_input__WEBPACK_IMPORTED_MODULE_7__.MatInput], + styles: [".shortWidth[_ngcontent-%COMP%] {\n width: 200px;\n}\n\n.fullWidth[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n .mat-form-field-label {\n font-size: 12pt !important;\n}"] + }); + } + return ActivityDialogComponent; +})(); + +/***/ }), + +/***/ 1974: +/*!**************************************************************************!*\ + !*** ./src/app/Presentation/Dialog/dialog-forms/activity-dialog-form.ts ***! + \**************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ActivityDialogForm: () => (/* binding */ ActivityDialogForm) +/* harmony export */ }); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/forms */ 37222); + +var ActivityDialogForm; +(function (ActivityDialogForm) { + function create(activityLabel, activityNumber, numberIsAllowedMultipleTimes) { + return new _angular_forms__WEBPACK_IMPORTED_MODULE_0__.FormGroup({ + activityLabel: new _angular_forms__WEBPACK_IMPORTED_MODULE_0__.FormControl(activityLabel, { + nonNullable: true + }), + activityNumber: new _angular_forms__WEBPACK_IMPORTED_MODULE_0__.FormControl(activityNumber, [_angular_forms__WEBPACK_IMPORTED_MODULE_0__.Validators.required]), + multipleNumbers: new _angular_forms__WEBPACK_IMPORTED_MODULE_0__.FormControl(numberIsAllowedMultipleTimes, { + nonNullable: true + }) + }); + } + ActivityDialogForm.create = create; +})(ActivityDialogForm || (ActivityDialogForm = {})); + +/***/ }), + +/***/ 94810: +/*!************************************************************************!*\ + !*** ./src/app/Presentation/Dialog/dialog-forms/header-dialog-form.ts ***! + \************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ HeaderDialogForm: () => (/* binding */ HeaderDialogForm) +/* harmony export */ }); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/forms */ 37222); + +var HeaderDialogForm; +(function (HeaderDialogForm) { + function create(titel, description) { + return new _angular_forms__WEBPACK_IMPORTED_MODULE_0__.FormGroup({ + title: new _angular_forms__WEBPACK_IMPORTED_MODULE_0__.FormControl(titel), + description: new _angular_forms__WEBPACK_IMPORTED_MODULE_0__.FormControl(description) + }); + } + HeaderDialogForm.create = create; +})(HeaderDialogForm || (HeaderDialogForm = {})); + +/***/ }), + +/***/ 97218: +/*!******************************************************************************!*\ + !*** ./src/app/Presentation/Dialog/export-dialog/export-dialog.component.ts ***! + \******************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ExportDialogComponent: () => (/* binding */ ExportDialogComponent) +/* harmony export */ }); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var rxjs_internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/internal/BehaviorSubject */ 95981); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var src_app_Domain_Dialog_exportDialogData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Dialog/exportDialogData */ 83064); + + + + + + + +function ExportDialogComponent_button_17_Template(rf, ctx) { + if (rf & 1) { + const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "button", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function ExportDialogComponent_button_17_Template_button_click_0_listener() { + const i_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r1).index; + const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r2.doOption(i_r2)); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + } + if (rf & 2) { + const option_r4 = ctx.$implicit; + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("title", option_r4.tooltip); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", option_r4.text, " "); + } +} +let ExportDialogComponent = /*#__PURE__*/(() => { + class ExportDialogComponent { + constructor(dialogRef, data) { + this.dialogRef = dialogRef; + this.withTitle = new rxjs_internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_2__.BehaviorSubject(true); + this.useWhiteBackground = new rxjs_internal_BehaviorSubject__WEBPACK_IMPORTED_MODULE_2__.BehaviorSubject(true); + this.title = data.title; + this.options = data.options; + } + ngOnInit() {} + doOption(i) { + this.options[i].fn(this.withTitle.value, this.useWhiteBackground.value); + this.close(); + } + close() { + this.dialogRef.close(); + } + updateWithTitle($event) { + // @ts-ignore + this.withTitle.next($event.target.checked); + } + updateUseWhiteBackground($event) { + // @ts-ignore + this.useWhiteBackground.next($event.target.checked); + } + static #_ = this.ɵfac = function ExportDialogComponent_Factory(t) { + return new (t || ExportDialogComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__.MatDialogRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__.MAT_DIALOG_DATA)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ + type: ExportDialogComponent, + selectors: [["app-export-dialog"]], + decls: 18, + vars: 8, + consts: [["type", "checkbox", 3, "change", "checked"], ["mat-flat-button", "", 3, "click"], ["mat-stroked-button", "", "class", "mr-1", 3, "title", "click", 4, "ngFor", "ngForOf"], ["mat-stroked-button", "", 1, "mr-1", 3, "click", "title"]], + template: function ExportDialogComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "mat-dialog-content")(1, "h2"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "label")(4, "input", 0); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("change", function ExportDialogComponent_Template_input_change_4_listener($event) { + return ctx.updateWithTitle($event); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6, " Add title and description to image "); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](7, "br"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "label")(9, "input", 0); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](10, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("change", function ExportDialogComponent_Template_input_change_9_listener($event) { + return ctx.updateUseWhiteBackground($event); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](11, " Add white background to SVG (default: transparent) "); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](12, "mat-dialog-actions"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](13, "br"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "div")(15, "button", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function ExportDialogComponent_Template_button_click_15_listener() { + return ctx.close(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](16, "Cancel"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](17, ExportDialogComponent_button_17_Template, 2, 2, "button", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.title); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("checked", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 4, ctx.withTitle)); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("checked", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](10, 6, ctx.useWhiteBackground)); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](8); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.options); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_material_button__WEBPACK_IMPORTED_MODULE_5__.MatButton, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__.MatDialogActions, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_3__.MatDialogContent, _angular_common__WEBPACK_IMPORTED_MODULE_4__.AsyncPipe] + }); + } + return ExportDialogComponent; +})(); + +/***/ }), + +/***/ 21270: +/*!******************************************************************************!*\ + !*** ./src/app/Presentation/Dialog/header-dialog/header-dialog.component.ts ***! + \******************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ HeaderDialogComponent: () => (/* binding */ HeaderDialogComponent) +/* harmony export */ }); +/* harmony import */ var _dialog_forms_header_dialog_form__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dialog-forms/header-dialog-form */ 94810); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Service/Title/title.service */ 69672); +/* harmony import */ var _Service_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../Service/DirtyFlag/dirty-flag.service */ 89791); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 37222); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/form-field */ 29344); +/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/input */ 92583); + + + + + + + + + +let HeaderDialogComponent = /*#__PURE__*/(() => { + class HeaderDialogComponent { + constructor(dialogRef, titleService, dirtyFlagService) { + this.dialogRef = dialogRef; + this.titleService = titleService; + this.dirtyFlagService = dirtyFlagService; + } + ngOnInit() { + const title = this.titleService.getTitle(); + const description = this.titleService.getDescription(); + this.form = _dialog_forms_header_dialog_form__WEBPACK_IMPORTED_MODULE_0__.HeaderDialogForm.create(title, description); + } + save() { + if (this.form.dirty) { + this.dirtyFlagService.makeDirty(); + this.titleService.updateTitleAndDescription(this.form.getRawValue().title, this.form.getRawValue().description, true); + } + this.dialogRef.close(); + } + close() { + this.dialogRef.close(); + } + preventDefault(event) { + event.preventDefault(); + } + static #_ = this.ɵfac = function HeaderDialogComponent_Factory(t) { + return new (t || HeaderDialogComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_4__.MatDialogRef), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_1__.TitleService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_Service_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_2__.DirtyFlagService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ + type: HeaderDialogComponent, + selectors: [["app-header-dialog"]], + decls: 16, + vars: 1, + consts: [[3, "formGroup"], [1, "dialogWidth"], ["matInput", "", "type", "text", "formControlName", "title"], ["maxlength", "2000", "matInput", "", "formControlName", "description", 1, "descriptionInput", 3, "keydown.enter", "keyup.enter", "keyup.escape"], ["mat-flat-button", "", 3, "click"], ["mat-flat-button", "", "color", "primary", 3, "click"]], + template: function HeaderDialogComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "mat-dialog-content")(1, "form", 0)(2, "mat-form-field", 1)(3, "mat-label"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](4, "Title"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](5, "input", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](6, "br"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](7, "mat-form-field", 1)(8, "mat-label"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9, "Description"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "textarea", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("keydown.enter", function HeaderDialogComponent_Template_textarea_keydown_enter_10_listener($event) { + return ctx.preventDefault($event); + })("keyup.enter", function HeaderDialogComponent_Template_textarea_keyup_enter_10_listener() { + return ctx.save(); + })("keyup.escape", function HeaderDialogComponent_Template_textarea_keyup_escape_10_listener() { + return ctx.close(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](11, "mat-dialog-actions")(12, "button", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function HeaderDialogComponent_Template_button_click_12_listener() { + return ctx.close(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](13, "Cancel"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](14, "button", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function HeaderDialogComponent_Template_button_click_14_listener() { + return ctx.save(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](15, "Save"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("formGroup", ctx.form); + } + }, + dependencies: [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.MaxLengthValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormControlName, _angular_material_button__WEBPACK_IMPORTED_MODULE_6__.MatButton, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_4__.MatDialogActions, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_4__.MatDialogContent, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__.MatFormField, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__.MatLabel, _angular_material_input__WEBPACK_IMPORTED_MODULE_8__.MatInput], + styles: [".dialogWidth[_ngcontent-%COMP%] {\n width: 50vw;\n}\n.dialogWidth[_ngcontent-%COMP%] mat-label[_ngcontent-%COMP%] {\n font-size: 12pt;\n}\n\n.descriptionInput[_ngcontent-%COMP%] {\n min-height: 75px;\n}"] + }); + } + return HeaderDialogComponent; +})(); + +/***/ }), + +/***/ 16266: +/*!**************************************************************************!*\ + !*** ./src/app/Presentation/Dialog/info-dialog/info-dialog.component.ts ***! + \**************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ InfoDialogComponent: () => (/* binding */ InfoDialogComponent) +/* harmony export */ }); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var src_app_Domain_Dialog_infoDialogData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Dialog/infoDialogData */ 45574); + + + + + +function InfoDialogComponent_span_3_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + } + if (rf & 2) { + const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r0.infoText, " "); + } +} +function InfoDialogComponent_a_4_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 6); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + } + if (rf & 2) { + const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("href", ctx_r0.linkText, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"]); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r0.linkText); + } +} +function InfoDialogComponent_mat_dialog_actions_5_Template(rf, ctx) { + if (rf & 1) { + const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "mat-dialog-actions")(1, "button", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function InfoDialogComponent_mat_dialog_actions_5_Template_button_click_1_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r2); + const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r0.close()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2, "Close"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); + } +} +let InfoDialogComponent = /*#__PURE__*/(() => { + class InfoDialogComponent { + constructor(dialogRef, data) { + this.dialogRef = dialogRef; + this.title = data.title; + this.infoText = data.infoText; + this.showConfirmButton = !data.isInfo; + this.hasLink = data.isLink; + this.linkText = data.linkText || ''; + } + ngAfterViewInit() { + const span = document.getElementsByClassName('readOnlyText')[0]; + span.style.height = span.scrollHeight + 'px'; + } + close() { + this.dialogRef.close(); + } + static #_ = this.ɵfac = function InfoDialogComponent_Factory(t) { + return new (t || InfoDialogComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__.MatDialogRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__.MAT_DIALOG_DATA)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ + type: InfoDialogComponent, + selectors: [["app-info-dialog"]], + decls: 6, + vars: 4, + consts: [[1, "content"], ["id", "info-dialog-title"], ["class", "readOnlyText", 4, "ngIf"], [3, "href", 4, "ngIf"], [4, "ngIf"], [1, "readOnlyText"], [3, "href"], [1, "mat-raised-button", 3, "click"]], + template: function InfoDialogComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "mat-dialog-content", 0)(1, "h2", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, InfoDialogComponent_span_3_Template, 2, 1, "span", 2)(4, InfoDialogComponent_a_4_Template, 2, 2, "a", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, InfoDialogComponent_mat_dialog_actions_5_Template, 3, 0, "mat-dialog-actions", 4); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.title); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.infoText != ""); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.hasLink); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.showConfirmButton); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgIf, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__.MatDialogActions, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__.MatDialogContent], + styles: [".readOnlyText[_ngcontent-%COMP%] {\n display: block;\n border: none;\n resize: none;\n width: 100%;\n overflow: hidden;\n white-space: pre-wrap;\n}\n\n.content[_ngcontent-%COMP%] {\n height: -moz-fit-content;\n height: fit-content;\n width: 30vw;\n overflow: hidden;\n}"] + }); + } + return InfoDialogComponent; +})(); + +/***/ }), + +/***/ 23958: +/*!**************************************************************************************************!*\ + !*** ./src/app/Presentation/Dialog/label-dictionary-dialog/label-dictionary-dialog.component.ts ***! + \**************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ LabelDictionaryDialogComponent: () => (/* binding */ LabelDictionaryDialogComponent) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _LabelDictionary_label_dictionary_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../LabelDictionary/label-dictionary.component */ 86328); + + + +let LabelDictionaryDialogComponent = /*#__PURE__*/(() => { + class LabelDictionaryDialogComponent { + constructor(dialogRef) { + this.dialogRef = dialogRef; + } + close() { + this.dialogRef.close(); + } + static #_ = this.ɵfac = function LabelDictionaryDialogComponent_Factory(t) { + return new (t || LabelDictionaryDialogComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__.MatDialogRef)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ + type: LabelDictionaryDialogComponent, + selectors: [["app-label-dictionary-dialog"]], + decls: 4, + vars: 0, + consts: [[3, "closeEmitter"]], + template: function LabelDictionaryDialogComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "mat-dialog-content")(1, "h2"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2, "Label Dictionary"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "app-label-dictionary", 0); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("closeEmitter", function LabelDictionaryDialogComponent_Template_app_label_dictionary_closeEmitter_3_listener() { + return ctx.close(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); + } + }, + dependencies: [_LabelDictionary_label_dictionary_component__WEBPACK_IMPORTED_MODULE_0__.LabelDictionaryComponent, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__.MatDialogContent] + }); + } + return LabelDictionaryDialogComponent; +})(); + +/***/ }), + +/***/ 62748: +/*!***************************************************************************************************!*\ + !*** ./src/app/Presentation/DomainConfiguration/details-list-item/details-list-item.component.ts ***! + \***************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ DetailsListItemComponent: () => (/* binding */ DetailsListItemComponent) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/form-field */ 29344); + + +let DetailsListItemComponent = /*#__PURE__*/(() => { + class DetailsListItemComponent { + constructor() { + this.iconInitiated = false; + } + get id() { + return 'domain-configuration-details-icon-' + this.icon.name.toLowerCase() + '-' + (this.icon.isWorkObject ? 'workobject' : 'actor'); + } + get name() { + return this.icon.name; + } + ngAfterViewChecked() { + this.createIcon(); + } + createIcon() { + const img = document.getElementById(this.id); + if (img && !this.iconInitiated) { + img.src = '' + this.icon.svg; + this.iconInitiated = true; + } + } + static #_ = this.ɵfac = function DetailsListItemComponent_Factory(t) { + return new (t || DetailsListItemComponent)(); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ + type: DetailsListItemComponent, + selectors: [["app-details-list-item"]], + inputs: { + icon: "icon" + }, + decls: 4, + vars: 4, + consts: [[1, "detailsListItem"], [1, "icon", 3, "id", "alt", "src"], [1, "iconName"]], + template: function DetailsListItemComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "mat-label", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()(); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("id", ctx.id); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("alt", ctx.name); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", ctx.icon.svg, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.icon.name); + } + }, + dependencies: [_angular_material_form_field__WEBPACK_IMPORTED_MODULE_1__.MatLabel], + styles: [".icon[_ngcontent-%COMP%] {\n width: 20px;\n height: 20px;\n padding-right: 3px;\n}\n\n.detailsListItem[_ngcontent-%COMP%] {\n display: flex;\n justify-items: center;\n align-items: center;\n width: 250px;\n}\n\n.iconName[_ngcontent-%COMP%] {\n max-width: 225px;\n word-wrap: anywhere;\n white-space: pre-wrap !important;\n}"] + }); + } + return DetailsListItemComponent; +})(); + +/***/ }), + +/***/ 58414: +/*!*********************************************************************************************!*\ + !*** ./src/app/Presentation/DomainConfiguration/icon-list-item/icon-list-item.component.ts ***! + \*********************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ IconListItemComponent: () => (/* binding */ IconListItemComponent) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Service_IconSetConfiguration_icon_set_customization_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../Service/IconSetConfiguration/icon-set-customization.service */ 87007); +/* harmony import */ var _angular_material_button_toggle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/button-toggle */ 26470); + + + + +let IconListItemComponent = /*#__PURE__*/(() => { + class IconListItemComponent { + get name() { + return this.iconName; + } + get id() { + return 'domain-configuration-icon-' + this.iconName; + } + constructor(iconSetCustomizationService) { + this.iconSetCustomizationService = iconSetCustomizationService; + this.iconName = ''; + this.iconInitiated = false; + // @ts-ignore + this.icon = new rxjs__WEBPACK_IMPORTED_MODULE_1__.BehaviorSubject({}); + this.isActor = false; + this.isWorkobject = false; + this.isNone = true; + } + ngOnInit() { + this.icon = this.iconSetCustomizationService.getIconForName(this.iconName); + if (!this.icon) { + return; + } + this.icon.subscribe(value => { + this.isActor = value.isActor; + this.isWorkobject = value.isWorkObject; + this.isNone = !(value.isActor || value.isWorkObject); + }); + this.isActor = this.icon.value.isActor; + this.isWorkobject = this.icon.value.isWorkObject; + this.isNone = !(this.icon.value.isActor || this.icon.value.isWorkObject); + } + ngAfterViewChecked() { + this.createIcon(); + } + createIcon() { + const img = document.getElementById(this.id); + if (img && !this.iconInitiated) { + img.src = '' + this.icon.value?.svg; + this.iconInitiated = true; + } + } + toggleNone() { + this.iconSetCustomizationService.setAsUnassigned(this.iconName, this.icon.value.isActor); + } + toggleActor() { + this.iconSetCustomizationService.setAsActor(true, this.iconName); + } + toggleWorkobject() { + this.iconSetCustomizationService.setAsWorkobject(true, this.iconName); + } + static #_ = this.ɵfac = function IconListItemComponent_Factory(t) { + return new (t || IconListItemComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_Service_IconSetConfiguration_icon_set_customization_service__WEBPACK_IMPORTED_MODULE_0__.IconSetCustomizationService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ + type: IconListItemComponent, + selectors: [["app-icon-list-item"]], + inputs: { + iconName: "iconName" + }, + decls: 16, + vars: 13, + consts: [[1, "content"], ["src", "", 1, "icon", 3, "id", "alt"], [1, "name"], [1, "footer"], [3, "change", "value", "checked"], [1, "toggleButtonTitle"]], + template: function IconListItemComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div")(1, "div", 0); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](2, "img", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](3, "div", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](4); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](5, "div", 3)(6, "mat-button-toggle-group")(7, "mat-button-toggle", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("change", function IconListItemComponent_Template_mat_button_toggle_change_7_listener() { + return ctx.toggleNone(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](8, "span", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](9, "None"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](10, "mat-button-toggle", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("change", function IconListItemComponent_Template_mat_button_toggle_change_10_listener() { + return ctx.toggleActor(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](11, "span", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](12, "Actor"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](13, "mat-button-toggle", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("change", function IconListItemComponent_Template_mat_button_toggle_change_13_listener() { + return ctx.toggleWorkobject(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](14, "span", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](15, "Workobject"); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()()(); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpropertyInterpolate"]("id", ctx.id); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpropertyInterpolate"]("alt", ctx.name); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](ctx.name); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("value", ctx.isNone)("checked", ctx.isNone); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵclassProp"]("activeMatButtonActor", ctx.isActor); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("value", ctx.isActor)("checked", ctx.isActor); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵclassProp"]("activeMatButtonWorkObject", ctx.isWorkobject); + _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("value", ctx.isWorkobject)("checked", ctx.isWorkobject); + } + }, + dependencies: [_angular_material_button_toggle__WEBPACK_IMPORTED_MODULE_3__.MatButtonToggleGroup, _angular_material_button_toggle__WEBPACK_IMPORTED_MODULE_3__.MatButtonToggle], + styles: [".content[_ngcontent-%COMP%] {\n display: grid;\n grid-template-rows: auto auto;\n justify-items: center;\n}\n\n.icon[_ngcontent-%COMP%] {\n width: 50px;\n height: 50px;\n}\n\n.name[_ngcontent-%COMP%] {\n word-wrap: anywhere;\n max-height: 75px;\n overflow: hidden;\n padding-bottom: 2px;\n}\n\n.footer[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n}\n.footer[_ngcontent-%COMP%] .mat-button-toggle-label-content {\n font-size: 10pt !important;\n padding: 0 5px !important;\n line-height: inherit !important;\n}\n.footer[_ngcontent-%COMP%] .activeMatButtonActor button {\n background-color: #43acbf;\n color: #ffffff;\n}\n.footer[_ngcontent-%COMP%] .activeMatButtonWorkObject button {\n background-color: #0168b7;\n color: #ffffff;\n}"] + }); + } + return IconListItemComponent; +})(); + +/***/ }), + +/***/ 38574: +/*!**************************************************************************************!*\ + !*** ./src/app/Presentation/DomainConfiguration/icon-set-configuration.component.ts ***! + \**************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ IconSetConfigurationComponent: () => (/* binding */ IconSetConfigurationComponent) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var src_app_Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Icon-Set-Configuration/iconSetConfiguration */ 77044); +/* harmony import */ var src_app_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Utils/sanitizer */ 66107); +/* harmony import */ var _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Domain/Common/elementTypes */ 30236); +/* harmony import */ var _Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Domain/Icon-Set-Configuration/iconFilterEnum */ 36105); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/Service/IconSetConfiguration/icon-set-configuration.service */ 10200); +/* harmony import */ var src_app_Service_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/Service/IconSetConfiguration/icon-dictionary.service */ 93689); +/* harmony import */ var _Service_IconSetConfiguration_icon_set_customization_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../Service/IconSetConfiguration/icon-set-customization.service */ 87007); +/* harmony import */ var src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/Service/ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/input */ 92583); +/* harmony import */ var _icon_list_item_icon_list_item_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./icon-list-item/icon-list-item.component */ 58414); +/* harmony import */ var _icon_set_details_icon_set_details_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./icon-set-details/icon-set-details.component */ 79052); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/common */ 56610); + + + + + + + + + + + + + + + +function IconSetConfigurationComponent_For_44_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](0, "app-icon-list-item", 19); + } + if (rf & 2) { + const iconName_r1 = ctx.$implicit; + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("iconName", iconName_r1); + } +} +let IconSetConfigurationComponent = /*#__PURE__*/(() => { + class IconSetConfigurationComponent { + constructor(configurationService, iconDictionaryService, iconSetCustomizationService, elementRegistryService) { + this.configurationService = configurationService; + this.iconDictionaryService = iconDictionaryService; + this.iconSetCustomizationService = iconSetCustomizationService; + this.elementRegistryService = elementRegistryService; + this.filter = new rxjs__WEBPACK_IMPORTED_MODULE_11__.BehaviorSubject(_Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_NONE); + this.selectedActors = new rxjs__WEBPACK_IMPORTED_MODULE_11__.BehaviorSubject([]); + this.selectedWorkobjects = new rxjs__WEBPACK_IMPORTED_MODULE_11__.BehaviorSubject([]); + this.allIconNames = new rxjs__WEBPACK_IMPORTED_MODULE_11__.BehaviorSubject([]); + this.allFilteredIconNames = new rxjs__WEBPACK_IMPORTED_MODULE_11__.BehaviorSubject([]); + this.iconSetConfigurationTypes = this.iconSetCustomizationService.getIconSetConfiguration().value; + this.allIcons = new rxjs__WEBPACK_IMPORTED_MODULE_11__.BehaviorSubject(this.iconDictionaryService.getFullDictionary()); + this.allIcons.subscribe(allIcons => { + this.allIconNames.next(allIcons.keysArray().sort(this.sortByName)); + }); + this.selectedActors = this.iconSetCustomizationService.selectedActors$; + this.selectedWorkobjects = this.iconSetCustomizationService.selectedWorkobjects$; + } + ngOnInit() { + this.filter.subscribe(type => { + let allFiltered = this.getFilteredNamesForType(type); + this.allFilteredIconNames.next(allFiltered.sort(this.sortByName)); + }); + } + sortByName(a, b) { + if (a.includes('_custom') == b.includes('_custom')) { + if (a < b) return -1;else { + return 1; + } + } else { + if (a.includes('_custom')) { + return -1; + } else { + return 1; + } + } + } + /** Default Icon Set **/ + loadMinimalIconConfigurationWithDefaultIcons() { + this.iconSetCustomizationService.resetIconSet(); + } + loadInitialConfiguration() { + this.iconSetCustomizationService.cancel(); + } + /** Persist Icon Set **/ + saveIconSet() { + this.iconSetCustomizationService.saveIconSet(this.elementRegistryService.getUsedIcons()); + } + exportIconSet() { + this.iconSetCustomizationService.exportIconSet(); + } + /** Add Custom Icon **/ + startIconUpload() { + document.getElementById('importIcon')?.click(); + } + importIcon() { + // @ts-ignore + const files = document.getElementById('importIcon').files; + for (let iconInputFile of files) { + const reader = new FileReader(); + const name = (0,src_app_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_1__.sanitizeIconName)(iconInputFile.name); + const iconName = name + _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.CUSTOM; + reader.onloadend = e => { + if (e.target) { + const src = e.target.result; + this.iconDictionaryService.addIMGToIconDictionary(src, iconName); + // TODO: td: What kind of type is it here? + this.iconDictionaryService.registerIconForBPMN(iconName, src, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR); + this.allIcons.next(this.iconDictionaryService.getFullDictionary()); + this.filter.next(this.filter.value); + this.iconSetCustomizationService.addNewIcon(iconName); + } + }; + reader.readAsDataURL(iconInputFile); + } + } + /** Import Icon Set **/ + startIconSetImport() { + document.getElementById('importDomain')?.click(); + } + importIconSet() { + // @ts-ignore + const iconSetInputFile = document.getElementById('importDomain').files[0]; + const reader = new FileReader(); + reader.onloadend = e => { + const configFromFile = JSON.parse(e.target?.result); + const config = (0,src_app_Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_0__.fromConfigurationFromFile)(configFromFile); + this.configurationService.loadConfiguration(config, false); + this.iconSetCustomizationService.importConfiguration(config); + }; + reader.readAsText(iconSetInputFile); + } + /** Filter **/ + filterForActors() { + if (this.filter.value !== _Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_ACTOR) { + this.filter.next(_Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_ACTOR); + } else { + this.filter.next(_Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_NONE); + } + } + filterForWorkobjects() { + if (this.filter.value !== _Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_WORKOBJECT) { + this.filter.next(_Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_WORKOBJECT); + } else { + this.filter.next(_Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_NONE); + } + } + filterForUnassigned() { + if (this.filter.value !== _Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_UNASSIGNED) { + this.filter.next(_Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_UNASSIGNED); + } else { + this.filter.next(_Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_NONE); + } + } + filterByNameAndType($event) { + const filteredByNameAndType = this.getFilteredNamesForType(this.filter.value).filter(name => name.toLowerCase().includes($event.target.value.toLowerCase())); + this.allFilteredIconNames.next(filteredByNameAndType.sort(this.sortByName)); + } + getFilteredNamesForType(type) { + let allFiltered = []; + switch (type) { + case _Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_NONE: + allFiltered = this.allIconNames.value; + break; + case _Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_ACTOR: + allFiltered = this.allIconNames.value.filter(name => this.iconSetCustomizationService.isIconActor(name)); + break; + case _Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_WORKOBJECT: + allFiltered = this.allIconNames.value.filter(name => this.iconSetCustomizationService.isIconWorkObject(name)); + break; + case _Domain_Icon_Set_Configuration_iconFilterEnum__WEBPACK_IMPORTED_MODULE_3__.IconFilterEnum.ICON_FILTER_UNASSIGNED: + allFiltered = this.allIconNames.value.filter(name => !this.iconSetCustomizationService.isIconActor(name) && !this.iconSetCustomizationService.isIconWorkObject(name)); + break; + } + return allFiltered; + } + static #_ = this.ɵfac = function IconSetConfigurationComponent_Factory(t) { + return new (t || IconSetConfigurationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](src_app_Service_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_4__.IconSetConfigurationService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](src_app_Service_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_5__.IconDictionaryService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_Service_IconSetConfiguration_icon_set_customization_service__WEBPACK_IMPORTED_MODULE_6__.IconSetCustomizationService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_7__.ElementRegistryService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdefineComponent"]({ + type: IconSetConfigurationComponent, + selectors: [["app-icon-set-configuration"]], + decls: 47, + vars: 14, + consts: [[1, "content"], [1, "header"], [1, "searchbar"], ["mat-button", "", "title", "Unassigned Icons", 3, "click"], ["mat-button", "", "title", "Actors", 3, "click"], ["mat-button", "", "title", "Workobjects", 3, "click"], ["matInput", "", "type", "text", "placeholder", "Filter by name", 1, "textInput", 3, "input"], [1, "buttons"], ["mat-button", "", "title", "Upload Icon", 3, "click"], [1, "material-icons-outlined", "materialIconButton"], ["type", "file", "multiple", "", "accept", ".svg, image/png, image/jpeg, image/gif, image/bpmn", "id", "importIcon", "name", "file", "onclick", "this.value=null", 2, "display", "none", 3, "change"], ["mat-button", "", "title", "Reset to default icon set", 1, "button", 3, "click"], ["mat-button", "", "title", "Cancel changes", 3, "click"], [1, "divider"], ["mat-button", "", "title", "Save icon set", 3, "click"], ["mat-button", "", "title", "Import icon set", 3, "click"], ["type", "file", "accept", ".domain, .iconset", "id", "importDomain", "name", "file", "onclick", "this.value=null", 2, "display", "none", 3, "change"], ["mat-button", "", "title", "Export icon set", 3, "click"], [1, "iconList", "smallScrollbar"], [3, "iconName"], [1, "iconSetDetails"]], + template: function IconSetConfigurationComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 0)(1, "div")(2, "div", 1)(3, "div", 2)(4, "div"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](5, "Filter by assignment:"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](6, "button", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipe"](7, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_6_listener() { + return ctx.filterForUnassigned(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](8, "span"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](9, "None"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](10, "button", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipe"](11, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_10_listener() { + return ctx.filterForActors(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](12, "span"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](13, "Actors"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](14, "button", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipe"](15, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_14_listener() { + return ctx.filterForWorkobjects(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](16, "span"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](17, "Workobjects"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](18, "input", 6); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("input", function IconSetConfigurationComponent_Template_input_input_18_listener($event) { + return ctx.filterByNameAndType($event); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](19, "div", 7)(20, "button", 8); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_20_listener() { + return ctx.startIconUpload(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](21, "span", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](22, "upload"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](23, "input", 10); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("change", function IconSetConfigurationComponent_Template_input_change_23_listener() { + return ctx.importIcon(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](24, "button", 11); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_24_listener() { + return ctx.loadMinimalIconConfigurationWithDefaultIcons(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](25, "span", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](26, " home "); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](27, "button", 12); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_27_listener() { + return ctx.loadInitialConfiguration(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](28, "span", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](29, "close"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](30, "div", 13); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](31, "button", 14); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_31_listener() { + return ctx.saveIconSet(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](32, "span", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](33, "save"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](34, "div", 13); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](35, "button", 15); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_35_listener() { + return ctx.startIconSetImport(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](36, "span", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](37, "unarchive"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](38, "input", 16); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("change", function IconSetConfigurationComponent_Template_input_change_38_listener() { + return ctx.importIconSet(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](39, "button", 17); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function IconSetConfigurationComponent_Template_button_click_39_listener() { + return ctx.exportIconSet(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](40, "span", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](41, "archive"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](42, "div", 18); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrepeaterCreate"](43, IconSetConfigurationComponent_For_44_Template, 1, 1, "app-icon-list-item", 19, _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrepeaterTrackByIdentity"]); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipe"](45, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](46, "app-icon-set-details", 20); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](6); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassProp"]("activeNone", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipeBind1"](7, 6, ctx.filter) === "ICON_FILTER_UNASSIGNED"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassProp"]("activeActor", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipeBind1"](11, 8, ctx.filter) === "ICON_FILTER_ACTOR"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassProp"]("activeWorkObject", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipeBind1"](15, 10, ctx.filter) === "ICON_FILTER_WORKOBJECT"); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](29); + _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrepeater"](_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipeBind1"](45, 12, ctx.allFilteredIconNames)); + } + }, + dependencies: [_angular_material_button__WEBPACK_IMPORTED_MODULE_12__.MatButton, _angular_material_input__WEBPACK_IMPORTED_MODULE_13__.MatInput, _icon_list_item_icon_list_item_component__WEBPACK_IMPORTED_MODULE_8__.IconListItemComponent, _icon_set_details_icon_set_details_component__WEBPACK_IMPORTED_MODULE_9__.IconSetDetailsComponent, _angular_common__WEBPACK_IMPORTED_MODULE_14__.AsyncPipe], + styles: [".content[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 250px;\n}\n\n.header[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: max-content auto;\n height: 46px;\n border-bottom: #ccc 2px solid;\n}\n\n.searchbar[_ngcontent-%COMP%] {\n display: inline-flex;\n margin-left: 15px;\n margin-right: 15px;\n align-self: center;\n align-items: center;\n justify-self: left;\n height: inherit;\n border-right: #ccc 2px solid;\n}\n\n.buttons[_ngcontent-%COMP%] {\n display: inline-flex;\n align-self: center;\n align-items: center;\n justify-self: right;\n height: inherit;\n}\n.buttons[_ngcontent-%COMP%] .mat-button {\n min-width: 36px;\n}\n\n.divider[_ngcontent-%COMP%] {\n border-left: #ccc 2px solid;\n height: inherit;\n}\n\n.button[_ngcontent-%COMP%] {\n width: 36px;\n}\n\n.mat-button[_ngcontent-%COMP%] {\n color: #666666;\n}\n\n.activeActor[_ngcontent-%COMP%] {\n background-color: #42aebb;\n color: white;\n}\n\n.activeNone[_ngcontent-%COMP%] {\n background-color: #e0e0e0;\n color: black;\n}\n\n.activeWorkObject[_ngcontent-%COMP%] {\n background-color: #42aebb;\n color: white;\n}\n\n.textInput[_ngcontent-%COMP%] {\n width: 300px;\n margin-left: 15px;\n margin-right: 5px;\n border: #666666 1px solid;\n}\n\n.iconList[_ngcontent-%COMP%] {\n display: flex;\n overflow-y: scroll;\n height: calc(100vh - 130px);\n flex-direction: row;\n flex-wrap: wrap;\n align-content: baseline;\n margin-top: 1rem;\n margin-left: 1rem;\n gap: 1rem;\n}\n.iconList[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-last-child(1) {\n margin-bottom: 1rem;\n}\n\n.iconSetDetails[_ngcontent-%COMP%] {\n width: 250px;\n}\n\n .mat-grid-tile .mat-grid-tile-content {\n justify-content: inherit;\n}"] + }); + } + return IconSetConfigurationComponent; +})(); + +/***/ }), + +/***/ 79052: +/*!*************************************************************************************************!*\ + !*** ./src/app/Presentation/DomainConfiguration/icon-set-details/icon-set-details.component.ts ***! + \*************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ IconSetDetailsComponent: () => (/* binding */ IconSetDetailsComponent) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_IconSetConfiguration_icon_set_customization_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Service/IconSetConfiguration/icon-set-customization.service */ 87007); +/* harmony import */ var src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Service/Title/title.service */ 69672); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 37222); +/* harmony import */ var _angular_material_list__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/list */ 93901); +/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/form-field */ 29344); +/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/input */ 92583); +/* harmony import */ var _details_list_item_details_list_item_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../details-list-item/details-list-item.component */ 62748); + + + + + + + + + +function IconSetDetailsComponent_mat_list_item_11_Template(rf, ctx) { + if (rf & 1) { + const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "mat-list-item", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("dragover", function IconSetDetailsComponent_mat_list_item_11_Template_mat_list_item_dragover_0_listener($event) { + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.allowDrop($event, "actorList")); + })("dragstart", function IconSetDetailsComponent_mat_list_item_11_Template_mat_list_item_dragstart_0_listener() { + const i_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r1).index; + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.onDragStart(i_r3, "actorList")); + })("drop", function IconSetDetailsComponent_mat_list_item_11_Template_mat_list_item_drop_0_listener($event) { + const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r1); + const iconName_r5 = ctx_r3.$implicit; + const i_r3 = ctx_r3.index; + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.onDrop($event, iconName_r5, true, i_r3)); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "app-details-list-item", 10); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); + } + if (rf & 2) { + const iconName_r5 = ctx.$implicit; + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("icon", ctx_r1.getIconForName(iconName_r5)); + } +} +function IconSetDetailsComponent_mat_list_item_17_Template(rf, ctx) { + if (rf & 1) { + const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "mat-list-item", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("dragover", function IconSetDetailsComponent_mat_list_item_17_Template_mat_list_item_dragover_0_listener($event) { + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r6); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.allowDrop($event, "workobjectList")); + })("dragstart", function IconSetDetailsComponent_mat_list_item_17_Template_mat_list_item_dragstart_0_listener() { + const i_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r6).index; + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.onDragStart(i_r7, "workobjectList")); + })("drop", function IconSetDetailsComponent_mat_list_item_17_Template_mat_list_item_drop_0_listener($event) { + const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r6); + const iconName_r9 = ctx_r7.$implicit; + const i_r7 = ctx_r7.index; + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r1.onDrop($event, iconName_r9, false, i_r7)); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "app-details-list-item", 10); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); + } + if (rf & 2) { + const iconName_r9 = ctx.$implicit; + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("icon", ctx_r1.getIconForName(iconName_r9)); + } +} +let IconSetDetailsComponent = /*#__PURE__*/(() => { + class IconSetDetailsComponent { + constructor(customizationService, titleService) { + this.customizationService = customizationService; + this.draggedList = ''; + this.draggedIndex = 0; + this.selectedActors$ = this.customizationService.selectedActors$; + this.selectedWorkobjects$ = this.customizationService.selectedWorkobjects$; + this.iconSetName = titleService.iconSetName$; + } + ngOnInit() {} + changeName(event) { + // @ts-ignore + this.customizationService.changeName(event.target.value); + } + getIconForName(iconName) { + return this.customizationService.getIconForName(iconName).value; + } + allowDrop($event, listName) { + if (this.draggedList === listName) { + $event.preventDefault(); + } + } + onDrop($event, iconName, actors, index) { + let list; + if (actors) { + list = this.selectedActors$; + } else { + list = this.selectedWorkobjects$; + } + const sortedList = list.value; + const item = sortedList[this.draggedIndex]; + sortedList.splice(this.draggedIndex, 1); + sortedList.splice(index, 0, item); + list.next(sortedList); + if (actors) { + this.customizationService.setSelectedActors(sortedList); + } else { + this.customizationService.setSelectedWorkObject(sortedList); + } + } + onDragStart(index, draggedList) { + this.draggedList = draggedList; + this.draggedIndex = index; + } + static #_ = this.ɵfac = function IconSetDetailsComponent_Factory(t) { + return new (t || IconSetDetailsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](src_app_Service_IconSetConfiguration_icon_set_customization_service__WEBPACK_IMPORTED_MODULE_0__.IconSetCustomizationService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_1__.TitleService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ + type: IconSetDetailsComponent, + selectors: [["app-icon-set-details"]], + decls: 19, + vars: 9, + consts: [[1, "details", "smallScrollbar"], [1, "iconSetDetails", "bottom-border"], [1, "inputWidth", "inputHeight"], [1, "alignment"], [1, "inputHeight"], ["matInput", "", "type", "text", "placeholder", "Icon Set Name", 3, "input", "value"], [1, "actorList", "bottom-border"], ["class", "compactItem", "draggable", "true", 3, "dragover", "dragstart", "drop", 4, "ngFor", "ngForOf"], [1, "workobjectList"], ["draggable", "true", 1, "compactItem", 3, "dragover", "dragstart", "drop"], [3, "icon"]], + template: function IconSetDetailsComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "form", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](3, "div", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "mat-form-field", 4)(5, "input", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](6, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("input", function IconSetDetailsComponent_Template_input_input_5_listener($event) { + return ctx.changeName($event); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](7, "div", 6)(8, "h3"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9, "Order of Actors"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "mat-list"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](11, IconSetDetailsComponent_mat_list_item_11_Template, 2, 1, "mat-list-item", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](12, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](13, "div", 8)(14, "h3"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](15, "Order of Work Objects"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](16, "mat-list"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](17, IconSetDetailsComponent_mat_list_item_17_Template, 2, 1, "mat-list-item", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](18, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](5); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("value", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](6, 3, ctx.iconSetName)); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](6); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](12, 5, ctx.selectedActors$)); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](6); + _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind1"](18, 7, ctx.selectedWorkobjects$)); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgForm, _angular_material_list__WEBPACK_IMPORTED_MODULE_6__.MatList, _angular_material_list__WEBPACK_IMPORTED_MODULE_6__.MatListItem, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__.MatFormField, _angular_material_input__WEBPACK_IMPORTED_MODULE_8__.MatInput, _details_list_item_details_list_item_component__WEBPACK_IMPORTED_MODULE_2__.DetailsListItemComponent, _angular_common__WEBPACK_IMPORTED_MODULE_4__.AsyncPipe], + styles: [".details[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: calc(100vh - 46px - 20px);\n grid-row-gap: 1px;\n overflow-y: auto;\n overflow-x: auto;\n width: 250px;\n border-left: solid 1px #ccc;\n}\n\n.iconSetDetails[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n border: none;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n.iconSetDetails[_ngcontent-%COMP%] .mdc-text-field {\n padding-left: 0 !important;\n}\n\n.compactItem[_ngcontent-%COMP%] {\n height: 40px !important;\n}\n\n.fullWidth[_ngcontent-%COMP%] {\n width: 100%;\n padding-left: 15px;\n}\n\n.alignment[_ngcontent-%COMP%] {\n height: 12px;\n}\n\n.inputHeight[_ngcontent-%COMP%] {\n height: 46px;\n}\n\n.inputWidth[_ngcontent-%COMP%] {\n width: 200px;\n margin-left: 15px;\n}\n\nh3[_ngcontent-%COMP%] {\n padding-left: 15px;\n margin-bottom: 0;\n font-weight: bold;\n}\n\nmat-list[_ngcontent-%COMP%] {\n padding-top: 0;\n}\n\n.bottom-border[_ngcontent-%COMP%] {\n border-bottom: 2px solid #ccc;\n}"] + }); + } + return IconSetDetailsComponent; +})(); + +/***/ }), + +/***/ 9432: +/*!*******************************************************************************************!*\ + !*** ./src/app/Presentation/Header/components/header-buttons/header-buttons.component.ts ***! + \*******************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ HeaderButtonsComponent: () => (/* binding */ HeaderButtonsComponent) +/* harmony export */ }); +/* harmony import */ var _Domain_Dialog_exportDialogData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Domain/Dialog/exportDialogData */ 83064); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _Dialog_export_dialog_export_dialog_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Dialog/export-dialog/export-dialog.component */ 97218); +/* harmony import */ var _Domain_Dialog_infoDialogData__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Domain/Dialog/infoDialogData */ 45574); +/* harmony import */ var _Dialog_info_dialog_info_dialog_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Dialog/info-dialog/info-dialog.component */ 16266); +/* harmony import */ var _Dialog_label_dictionary_dialog_label_dictionary_dialog_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Dialog/label-dictionary-dialog/label-dictionary-dialog.component */ 23958); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../Domain/Common/constants */ 90816); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Service_Settings_settings_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../Service/Settings/settings.service */ 58124); +/* harmony import */ var _Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../Service/Modeler/modeler.service */ 74676); +/* harmony import */ var _Service_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../Service/Replay/replay-state.service */ 67820); +/* harmony import */ var _Service_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../Service/DirtyFlag/dirty-flag.service */ 89791); +/* harmony import */ var _Service_Dialog_dialog_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../Service/Dialog/dialog.service */ 4730); +/* harmony import */ var _Service_Replay_replay_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../Service/Replay/replay.service */ 94788); +/* harmony import */ var _Service_Export_export_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../Service/Export/export.service */ 98106); +/* harmony import */ var _Service_Import_import_domain_story_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../Service/Import/import-domain-story.service */ 23779); +/* harmony import */ var _Service_Title_title_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../Service/Title/title.service */ 69672); +/* harmony import */ var _Service_Renderer_renderer_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../../Service/Renderer/renderer.service */ 94896); +/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/material/snack-bar */ 93289); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/common */ 56610); + + + + + + + + + + + + + + + + + + + + +function HeaderButtonsComponent_div_0_span_9_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](0, "span", 14); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](1, " archive "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"](); + } +} +function HeaderButtonsComponent_div_0_span_11_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](0, "span", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](1, " archive "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"](); + } +} +function HeaderButtonsComponent_div_0_Template(rf, ctx) { + if (rf & 1) { + const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](0, "div")(1, "button", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_0_Template_button_click_1_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.startReplay()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](2, "span", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](3, " play_arrow "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](4, "button", 3)(5, "span", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](6, " unarchive "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](7, "input", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("change", function HeaderButtonsComponent_div_0_Template_input_change_7_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.import()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](8, "button", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_0_Template_button_click_8_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.openDownloadDialog()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtemplate"](9, HeaderButtonsComponent_div_0_span_9_Template, 2, 0, "span", 6); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵpipe"](10, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtemplate"](11, HeaderButtonsComponent_div_0_span_11_Template, 2, 0, "span", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵpipe"](12, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](13, "button", 8); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_0_Template_button_click_13_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.openLabelDictionary()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](14, "span", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](15, " spellcheck "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](16, "button", 10); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_0_Template_button_click_16_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.openSettings()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](17, "span", 11); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](18, " settings "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](19, "button", 12); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_0_Template_button_click_19_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.openKeyboardShortcutsDialog()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](20, "span", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](21, " keyboard "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](22, "button", 13); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_0_Template_button_click_22_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.createNewDomainStory()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](23, "span", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](24, " note_add "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()()(); + } + if (rf & 2) { + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵclassProp"]("disabled", !ctx_r1.replayService.isReplayable()); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵproperty"]("disabled", !ctx_r1.replayService.isReplayable()); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵadvance"](7); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵclassProp"]("disabled", !ctx_r1.isExportable()); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵproperty"]("disabled", !ctx_r1.isExportable()); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵproperty"]("ngIf", !_angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵpipeBind1"](10, 11, ctx_r1.isDirty$)); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵpipeBind1"](12, 13, ctx_r1.isDirty$)); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵclassProp"]("disabled", !ctx_r1.exportService.isDomainStoryExportable()); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵproperty"]("disabled", !ctx_r1.exportService.isDomainStoryExportable()); + } +} +function HeaderButtonsComponent_div_2_Template(rf, ctx) { + if (rf & 1) { + const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](0, "div")(1, "button", 15); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_2_Template_button_click_1_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r3); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.previousSentence()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](2, "span", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](3, " skip_previous "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](4, "button", 16); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_2_Template_button_click_4_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r3); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.nextSentence()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](5, "span", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](6, " skip_next "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](7, "button", 17); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵlistener"]("click", function HeaderButtonsComponent_div_2_Template_button_click_7_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵrestoreView"](_r3); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵresetView"](ctx_r1.stopReplay()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementStart"](8, "span", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtext"](9, " stop "); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵelementEnd"]()()(); + } +} +let HeaderButtonsComponent = /*#__PURE__*/(() => { + class HeaderButtonsComponent { + constructor(settingsService, modelerService, replayStateService, dirtyFlagService, dialogService, replayService, exportService, importService, titleService, renderService, snackbar) { + this.settingsService = settingsService; + this.modelerService = modelerService; + this.replayStateService = replayStateService; + this.dirtyFlagService = dirtyFlagService; + this.dialogService = dialogService; + this.replayService = replayService; + this.exportService = exportService; + this.importService = importService; + this.titleService = titleService; + this.renderService = renderService; + this.snackbar = snackbar; + this.isReplay$ = this.replayStateService.replayOn$; + this.isDirty$ = this.dirtyFlagService.dirty$; + } + import() { + // @ts-ignore + const file = document.getElementById('import').files[0]; + const filename = file.name; + const dstSvgPattern = /.*(.dst)(\s*\(\d+\)){0,1}\.svg/; + const egnSvgPattern = /.*(.egn)(\s*\(\d+\)){0,1}\.svg/; + if (filename.endsWith('.dst')) { + this.importService.importDST(file, filename, false); + } else if (filename.match(dstSvgPattern)) { + this.importService.importDST(file, filename, true); + } else if (filename.endsWith('.egn')) { + this.importService.importEGN(file, filename, false); + } else if (filename.match(egnSvgPattern)) { + this.importService.importEGN(file, filename, true); + } + this.modelerService.commandStackChanged(); + } + openSettings() { + this.settingsService.open(); + } + /** Open Dialogs **/ + openDownloadDialog() { + if (this.exportService.isDomainStoryExportable()) { + const SVGDownloadOption = new _Domain_Dialog_exportDialogData__WEBPACK_IMPORTED_MODULE_0__.ExportOption('SVG', 'Download an SVG-Image with the Domain-Story embedded. Can be used to save and share your Domain-Story.', (withTitle, useWhiteBackground) => this.exportService.downloadSVG(withTitle, useWhiteBackground)); + const EGNDownloadOption = new _Domain_Dialog_exportDialogData__WEBPACK_IMPORTED_MODULE_0__.ExportOption('EGN', 'Download an EGN-File with the Domain-Story. Can be used to save and share your Domain-Story.', () => this.exportService.downloadDST()); + const PNGDownloadOption = new _Domain_Dialog_exportDialogData__WEBPACK_IMPORTED_MODULE_0__.ExportOption('PNG', 'Download a PNG-Image of the Domain-Story. This does not include the Domain-Story!', withTitle => this.exportService.downloadPNG(withTitle)); + const HTMLDownloadOption = new _Domain_Dialog_exportDialogData__WEBPACK_IMPORTED_MODULE_0__.ExportOption('HTML-Presentation', 'Download an HTML-Presentation. This does not include the Domain-Story!', () => this.exportService.downloadHTMLPresentation()); + const config = new _angular_material_dialog__WEBPACK_IMPORTED_MODULE_17__.MatDialogConfig(); + config.disableClose = false; + config.autoFocus = true; + config.data = new _Domain_Dialog_exportDialogData__WEBPACK_IMPORTED_MODULE_0__.ExportDialogData('Export', [SVGDownloadOption, EGNDownloadOption, PNGDownloadOption, HTMLDownloadOption]); + this.dialogService.openDialog(_Dialog_export_dialog_export_dialog_component__WEBPACK_IMPORTED_MODULE_1__.ExportDialogComponent, config); + } else { + this.snackbar.open('No Domain Story to be exported', undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_5__.SNACKBAR_DURATION, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_5__.SNACKBAR_INFO + }); + } + } + openKeyboardShortcutsDialog() { + const title = 'Keyboard Shortcuts'; + const shortCutText = 'Undo:\t\t\t\t\tctrl + Z \n' + 'Redo:\t\t\t\t\tctrl + Y OR ctrl + shift + Z\n' + 'Select All:\t\t\t\tctrl + A\n' + 'Export as EGN:\t\t\tctrl + S\n' + 'Import Domain Story: \t\tctrl + L\n' + 'Search for text:\t\t\tctrl + F\n' + 'Direct editing:\t\t\tE\n' + 'Hand tool:\t\t\t\tH\n' + 'Lasso tool:\t\t\t\tL\n' + 'Space tool:\t\t\t\tS'; + const config = new _angular_material_dialog__WEBPACK_IMPORTED_MODULE_17__.MatDialogConfig(); + config.disableClose = false; + config.autoFocus = true; + config.data = new _Domain_Dialog_infoDialogData__WEBPACK_IMPORTED_MODULE_2__.InfoDialogData(title, shortCutText, true); + this.dialogService.openDialog(_Dialog_info_dialog_info_dialog_component__WEBPACK_IMPORTED_MODULE_3__.InfoDialogComponent, config); + } + openLabelDictionary() { + if (this.exportService.isDomainStoryExportable()) { + const config = new _angular_material_dialog__WEBPACK_IMPORTED_MODULE_17__.MatDialogConfig(); + config.disableClose = false; + config.autoFocus = true; + this.dialogService.openDialog(_Dialog_label_dictionary_dialog_label_dictionary_dialog_component__WEBPACK_IMPORTED_MODULE_4__.LabelDictionaryDialogComponent, config); + } else { + this.snackbar.open('There are currently no Elements on the canvas', undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_5__.SNACKBAR_DURATION, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_5__.SNACKBAR_INFO + }); + } + } + createNewDomainStory() { + this.titleService.reset(); + this.renderService.reset(); + this.dirtyFlagService.makeClean(); + } + /** Replay functions **/ + startReplay() { + this.replayService.startReplay(); + } + stopReplay() { + this.replayService.stopReplay(); + } + previousSentence() { + this.replayService.previousSentence(); + } + nextSentence() { + this.replayService.nextSentence(); + } + isExportable() { + return this.titleService.hasTitleOrDescription() || this.exportService.isDomainStoryExportable(); + } + static #_ = this.ɵfac = function HeaderButtonsComponent_Factory(t) { + return new (t || HeaderButtonsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Settings_settings_service__WEBPACK_IMPORTED_MODULE_6__.SettingsService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_7__.ModelerService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_8__.ReplayStateService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_9__.DirtyFlagService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Dialog_dialog_service__WEBPACK_IMPORTED_MODULE_10__.DialogService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Replay_replay_service__WEBPACK_IMPORTED_MODULE_11__.ReplayService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Export_export_service__WEBPACK_IMPORTED_MODULE_12__.ExportService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Import_import_domain_story_service__WEBPACK_IMPORTED_MODULE_13__.ImportDomainStoryService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_14__.TitleService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_Service_Renderer_renderer_service__WEBPACK_IMPORTED_MODULE_15__.RendererService), _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdirectiveInject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_18__.MatSnackBar)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdefineComponent"]({ + type: HeaderButtonsComponent, + selectors: [["app-header-buttons"]], + decls: 4, + vars: 6, + consts: [[4, "ngIf"], ["id", "buttonStartReplay", "title", "Start replay", 1, "headerButton", 3, "click", "disabled"], [1, "material-icons", "materialIconButton"], ["id", "buttonImport", "title", "Import story from file", "onclick", "document.getElementById('import').click();", 1, "headerButton"], ["type", "file", "accept", ".dst, .svg, .egn, .svg", "id", "import", "onclick", "this.value=null;", "name", "file", 2, "display", "none", 3, "change"], ["id", "export", "title", "Export story as .egn, .svg or .png file", 1, "headerButton", 3, "click", "disabled"], ["class", "material-icons-outlined materialIconButton", 4, "ngIf"], ["class", "material-icons materialIconButton", 4, "ngIf"], ["title", "Label Dictionary", 1, "headerButton", 3, "click", "disabled"], ["title", "Label Dictionary", 1, "material-icons", "materialIconButton"], ["title", "Settings", 1, "headerButton", 3, "click"], ["title", "Change Icons and Settings", 1, "material-icons", "materialIconButton"], ["title", "Show keyboard shortcuts", 1, "headerButton", 3, "click"], ["title", "Create a new domain story", 1, "headerButton", 3, "click"], [1, "material-icons-outlined", "materialIconButton"], ["title", "Previous sentence", 1, "headerButton", 3, "click"], ["title", "Next sentence", 1, "headerButton", 3, "click"], ["title", "Stop replay", 1, "headerButton", 3, "click"]], + template: function HeaderButtonsComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtemplate"](0, HeaderButtonsComponent_div_0_Template, 25, 15, "div", 0); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵpipe"](1, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵtemplate"](2, HeaderButtonsComponent_div_2_Template, 10, 0, "div", 0); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵpipe"](3, "async"); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵproperty"]("ngIf", !_angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵpipeBind1"](1, 2, ctx.isReplay$)); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵpipeBind1"](3, 4, ctx.isReplay$)); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_19__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_19__.AsyncPipe], + styles: ["span[_ngcontent-%COMP%] {\n font-size: 15pt;\n color: white;\n}\n\n#dictionaryButton[_ngcontent-%COMP%] {\n opacity: 0.2;\n pointer-events: none;\n}\n\n.headerButton[_ngcontent-%COMP%]:hover {\n cursor: pointer;\n}\n.headerButton[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%] {\n color: white;\n}\n\n.disabled[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%] {\n cursor: initial;\n color: gray;\n}\n\n.materialIconButton[_ngcontent-%COMP%]:hover {\n color: lightgrey;\n}"] + }); + } + return HeaderButtonsComponent; +})(); + +/***/ }), + +/***/ 91729: +/*!*********************************************************!*\ + !*** ./src/app/Presentation/Header/header.component.ts ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ HeaderComponent: () => (/* binding */ HeaderComponent) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 199); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs */ 93527); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _Dialog_header_dialog_header_dialog_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Dialog/header-dialog/header-dialog.component */ 21270); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Service_Title_title_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Service/Title/title.service */ 69672); +/* harmony import */ var _Service_Replay_replay_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Service/Replay/replay.service */ 94788); +/* harmony import */ var _Service_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Service/Replay/replay-state.service */ 67820); +/* harmony import */ var _Service_Dialog_dialog_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Service/Dialog/dialog.service */ 4730); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _components_header_buttons_header_buttons_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/header-buttons/header-buttons.component */ 9432); +/* harmony import */ var _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/toolbar */ 23550); +/* harmony import */ var _angular_material_card__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/card */ 90643); + + + + + + + + + + + + +function HeaderComponent_button_2_Template(rf, ctx) { + if (rf & 1) { + const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "button", 11); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function HeaderComponent_button_2_Template_button_click_0_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r1); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r1.setShowDescription(false)); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](1, "span", 12); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2, " expand_less "); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); + } +} +function HeaderComponent_button_4_Template(rf, ctx) { + if (rf & 1) { + const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "button", 13); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function HeaderComponent_button_4_Template_button_click_0_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r3); + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r1.setShowDescription(true)); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](1, "span", 12); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2, " expand_more"); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); + } +} +function HeaderComponent_span_13_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "span", 14); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](2, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); + } + if (rf & 2) { + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" Sentence: ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](2, 1, ctx_r1.sentenceDescription$), ""); + } +} +function HeaderComponent_mat_card_17_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "mat-card", 15)(1, "span", 16); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](3, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); + } + if (rf & 2) { + const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](3, 1, ctx_r1.description$)); + } +} +let HeaderComponent = /*#__PURE__*/(() => { + class HeaderComponent { + constructor(titleService, replayService, replayStateService, dialogService) { + this.titleService = titleService; + this.replayService = replayService; + this.replayStateService = replayStateService; + this.dialogService = dialogService; + this.title$ = this.titleService.title$; + this.description$ = this.titleService.description$; + this.showDescription$ = this.titleService.showDescription$; + this.isReplay$ = this.replayStateService.replayOn$; + this.sentenceDescription$ = (0,rxjs__WEBPACK_IMPORTED_MODULE_7__.combineLatest)([this.replayService.currentSentence$, this.replayService.maxSentenceNumber$]).pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_8__.map)(([sentence, count]) => `${sentence}/${count}`)); + this.showDescription = this.titleService.showDescription$; + } + openHeaderDialog() { + const config = new _angular_material_dialog__WEBPACK_IMPORTED_MODULE_9__.MatDialogConfig(); + config.disableClose = false; + config.autoFocus = true; + this.dialogService.openDialog(_Dialog_header_dialog_header_dialog_component__WEBPACK_IMPORTED_MODULE_0__.HeaderDialogComponent, config); + } + setShowDescription(show) { + this.titleService.setShowDescription(show); + } + static #_ = this.ɵfac = function HeaderComponent_Factory(t) { + return new (t || HeaderComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_1__.TitleService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_Service_Replay_replay_service__WEBPACK_IMPORTED_MODULE_2__.ReplayService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_Service_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_3__.ReplayStateService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_Service_Dialog_dialog_service__WEBPACK_IMPORTED_MODULE_4__.DialogService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ + type: HeaderComponent, + selectors: [["app-header"]], + decls: 19, + vars: 15, + consts: [["color", "primary"], ["class", "headerButton", "title", "Hide Description", 3, "click", 4, "ngIf"], ["class", "headerButton", "title", "Show Description", 3, "click", 4, "ngIf"], [1, "mr-10", "titel-scrollbar"], ["title", "Edit Title and Description", 1, "headline", 3, "click"], [1, "material-icons", "materialIconButton", "editIcon"], [1, "titleSpacer"], ["title", "Replay Sentence", 4, "ngIf"], [1, "buttonSpacer"], [1, "nowrap"], ["class", "smallScrollbar description", 4, "ngIf"], ["title", "Hide Description", 1, "headerButton", 3, "click"], [1, "material-icons", "materialIconButton", "toggle"], ["title", "Show Description", 1, "headerButton", 3, "click"], ["title", "Replay Sentence"], [1, "smallScrollbar", "description"], [1, "descriptionText"]], + template: function HeaderComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "mat-toolbar", 0)(1, "mat-toolbar-row"); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, HeaderComponent_button_2_Template, 3, 0, "button", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](3, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](4, HeaderComponent_button_4_Template, 3, 0, "button", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](5, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](6, "div", 3)(7, "span", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function HeaderComponent_Template_span_click_7_listener() { + return ctx.openHeaderDialog(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](8); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](9, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](10, "span", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](11, " edit "); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()(); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](12, "span", 6); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](13, HeaderComponent_span_13_Template, 3, 3, "span", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](14, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](15, "span", 8)(16, "app-header-buttons", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](17, HeaderComponent_mat_card_17_Template, 4, 3, "mat-card", 10); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](18, "async"); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](3, 5, ctx.showDescription)); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](5, 7, ctx.showDescription)); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](9, 9, ctx.title$), " "); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](5); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](14, 11, ctx.isReplay$)); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4); + _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](18, 13, ctx.showDescription$)); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_10__.NgIf, _components_header_buttons_header_buttons_component__WEBPACK_IMPORTED_MODULE_5__.HeaderButtonsComponent, _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_11__.MatToolbar, _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_11__.MatToolbarRow, _angular_material_card__WEBPACK_IMPORTED_MODULE_12__.MatCard, _angular_common__WEBPACK_IMPORTED_MODULE_10__.AsyncPipe], + styles: [".description[_ngcontent-%COMP%] {\n top: 0;\n max-width: 100vw;\n overflow-y: scroll;\n display: grid;\n}\n\n.descriptionText[_ngcontent-%COMP%] {\n position: relative;\n font-size: 10pt;\n overflow-wrap: anywhere;\n word-wrap: anywhere;\n white-space: pre-wrap;\n padding-top: 15px;\n padding-left: 15px;\n padding-right: 15px;\n line-height: 12pt;\n}\n\n.description[_ngcontent-%COMP%]:hover {\n cursor: default;\n}\n\n.titleSpacer[_ngcontent-%COMP%] {\n flex: 1 1 auto;\n}\n\n.buttonSpacer[_ngcontent-%COMP%] {\n margin-right: 15px;\n}\n\n.headline[_ngcontent-%COMP%]:hover > .editIcon[_ngcontent-%COMP%] {\n display: contents;\n}\n\n.headline[_ngcontent-%COMP%] > .editIcon[_ngcontent-%COMP%] {\n display: none;\n}\n\n.headerButton[_ngcontent-%COMP%] {\n color: white;\n}\n\n.headerButton[_ngcontent-%COMP%]:hover {\n cursor: pointer;\n}\n\n.nowrap[_ngcontent-%COMP%] {\n white-space: nowrap;\n}\n\n.mat-toolbar-row[_ngcontent-%COMP%] {\n white-space: normal;\n height: min-content;\n min-height: 5rem;\n}\n\n.titel-scrollbar[_ngcontent-%COMP%] {\n max-height: 10rem;\n overflow: auto;\n scrollbar-width: none;\n max-width: 100rem;\n}"] + }); + } + return HeaderComponent; +})(); + +/***/ }), + +/***/ 86328: +/*!****************************************************************************!*\ + !*** ./src/app/Presentation/LabelDictionary/label-dictionary.component.ts ***! + \****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ LabelDictionaryComponent: () => (/* binding */ LabelDictionaryComponent) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _Service_LabelDictionary_label_dictionary_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Service/LabelDictionary/label-dictionary.service */ 59783); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var _angular_material_list__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/list */ 93901); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/form-field */ 29344); +/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/input */ 92583); +/* harmony import */ var _angular_cdk_text_field__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/cdk/text-field */ 6554); + + + + + + + + + + + +function LabelDictionaryComponent_mat_list_item_5_Template(rf, ctx) { + if (rf & 1) { + const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "mat-list-item")(1, "mat-form-field", 6)(2, "input", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("change", function LabelDictionaryComponent_mat_list_item_5_Template_input_change_2_listener($event) { + const workobjectEntry_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r1).$implicit; + const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r2.updateWorkobjectEntry($event, workobjectEntry_r2)); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); + } + if (rf & 2) { + const workobjectEntry_r2 = ctx.$implicit; + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("value", workobjectEntry_r2.name); + } +} +function LabelDictionaryComponent_mat_list_item_11_Template(rf, ctx) { + if (rf & 1) { + const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "mat-list-item")(1, "mat-form-field", 6)(2, "textarea", 8); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("change", function LabelDictionaryComponent_mat_list_item_11_Template_textarea_change_2_listener($event) { + const activityEntry_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r4).$implicit; + const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r2.updateActivityEntry($event, activityEntry_r5)); + })("keydown.enter", function LabelDictionaryComponent_mat_list_item_11_Template_textarea_keydown_enter_2_listener($event) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r4); + const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r2.preventDefault($event)); + })("keyup.enter", function LabelDictionaryComponent_mat_list_item_11_Template_textarea_keyup_enter_2_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r4); + const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r2.save()); + })("keyup.escape", function LabelDictionaryComponent_mat_list_item_11_Template_textarea_keyup_escape_2_listener() { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r4); + const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); + return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r2.close()); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); + } + if (rf & 2) { + const activityEntry_r5 = ctx.$implicit; + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("value", activityEntry_r5.name); + } +} +let LabelDictionaryComponent = /*#__PURE__*/(() => { + class LabelDictionaryComponent { + constructor(labelDictionaryService) { + this.labelDictionaryService = labelDictionaryService; + this.closeEmitter = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); + this.labelDictionaryService.createLabelDictionaries(); + this.workObjectEntries = this.labelDictionaryService.getWorkObjectLabels(); + this.activityEntries = this.labelDictionaryService.getActivityLabels(); + this.workobjectEntriesSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.BehaviorSubject(this.workObjectEntries); + this.activityEntriesSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.BehaviorSubject(this.activityEntries); + } + ngAfterViewInit() { + this.labelDictionaryService.createLabelDictionaries(); + this.workobjectEntriesSubject.next(this.labelDictionaryService.getWorkObjectLabels()); + this.activityEntriesSubject.next(this.labelDictionaryService.getActivityLabels()); + } + save() { + this.workObjectEntries = this.workobjectEntriesSubject.value; + this.activityEntries = this.activityEntriesSubject.value; + const activityNames = []; + const originalActivityNames = []; + const workObjectNames = []; + const originalWorkObjectNames = []; + this.activityEntries.filter(a => a.name !== a.originalName).forEach(activity => { + activityNames.push(activity.name); + originalActivityNames.push(activity.originalName); + }); + this.workObjectEntries.filter(w => w.name !== w.originalName).forEach(workobject => { + workObjectNames.push(workobject.name); + originalWorkObjectNames.push(workobject.originalName); + }); + this.labelDictionaryService.massRenameLabels(activityNames, originalActivityNames, workObjectNames, originalWorkObjectNames); + this.closeEmitter.emit(); + } + cancel() { + this.workObjectEntries.forEach(w => { + w.name = w.originalName; + }); + this.activityEntries.forEach(a => { + a.name = a.originalName; + }); + this.workobjectEntriesSubject.next(this.workObjectEntries); + this.activityEntriesSubject.next(this.activityEntries); + } + updateActivityEntry($event, activityEntry) { + let entries = this.activityEntriesSubject.value; + entries.filter(e => e.originalName === activityEntry.originalName)[0].name = $event.target.value; + this.activityEntriesSubject.next(entries); + } + updateWorkobjectEntry($event, workobjectEntry) { + let entries = this.workobjectEntriesSubject.value; + entries.filter(e => e.originalName === workobjectEntry.originalName)[0].name = $event.target.value; + this.workobjectEntriesSubject.next(entries); + } + preventDefault(event) { + event.preventDefault(); + } + close() { + this.closeEmitter.emit(); + } + static #_ = this.ɵfac = function LabelDictionaryComponent_Factory(t) { + return new (t || LabelDictionaryComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_Service_LabelDictionary_label_dictionary_service__WEBPACK_IMPORTED_MODULE_0__.LabelDictionaryService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ + type: LabelDictionaryComponent, + selectors: [["app-label-dictionary"]], + outputs: { + closeEmitter: "closeEmitter" + }, + decls: 18, + vars: 6, + consts: [[1, "workobjectList"], [4, "ngFor", "ngForOf"], [1, "activityList"], [1, "activityListTitle"], ["mat-flat-button", "", 3, "click"], ["mat-flat-button", "", "color", "primary", 3, "click"], [1, "inputText"], ["matInput", "", 1, "inputText", 3, "change", "value"], ["matInput", "", "cdkTextareaAutosize", "", "cdkAutosizeMinRows", "1", "cdkAutosizeMaxRows", "3", 1, "inputText", "activity", 3, "change", "keydown.enter", "keyup.enter", "keyup.escape", "value"]], + template: function LabelDictionaryComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "mat-dialog-content")(1, "div", 0)(2, "h3"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, "Workobjects"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "mat-list"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, LabelDictionaryComponent_mat_list_item_5_Template, 3, 1, "mat-list-item", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "div", 2)(8, "h3", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](9, "Activities"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "mat-list"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, LabelDictionaryComponent_mat_list_item_11_Template, 3, 1, "mat-list-item", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](12, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](13, "mat-dialog-actions")(14, "button", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LabelDictionaryComponent_Template_button_click_14_listener() { + return ctx.close(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](15, "Cancel"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "button", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LabelDictionaryComponent_Template_button_click_16_listener() { + return ctx.save(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](17, "Save"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 2, ctx.workobjectEntriesSubject)); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](6); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](12, 4, ctx.activityEntriesSubject)); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgForOf, _angular_material_button__WEBPACK_IMPORTED_MODULE_4__.MatButton, _angular_material_list__WEBPACK_IMPORTED_MODULE_5__.MatList, _angular_material_list__WEBPACK_IMPORTED_MODULE_5__.MatListItem, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__.MatDialogActions, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__.MatDialogContent, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_7__.MatFormField, _angular_material_input__WEBPACK_IMPORTED_MODULE_8__.MatInput, _angular_cdk_text_field__WEBPACK_IMPORTED_MODULE_9__.CdkTextareaAutosize, _angular_common__WEBPACK_IMPORTED_MODULE_3__.AsyncPipe], + styles: ["mat-dialog-content[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto auto;\n top: 0;\n bottom: 0;\n max-height: 75vh;\n grid-column-gap: 5px;\n width: 75vw;\n}\nmat-dialog-content[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] {\n height: unset !important;\n}\nmat-dialog-content[_ngcontent-%COMP%] mat-list-item-content[_ngcontent-%COMP%] {\n padding: 0 !important;\n}\n\nh3[_ngcontent-%COMP%] {\n font-weight: bold;\n}\n\n.icon[_ngcontent-%COMP%] {\n width: 36px;\n height: 36px;\n}\n\n.inputText[_ngcontent-%COMP%] {\n width: 98%;\n resize: none;\n font-family: sans-serif;\n font-size: small;\n padding-top: 1px;\n padding-bottom: 1px;\n margin: 0;\n}\n\n.activityListHeader[_ngcontent-%COMP%] {\n display: inline-grid;\n grid-template-columns: auto auto auto;\n width: 100%;\n}\n\n.activityListTitle[_ngcontent-%COMP%] {\n justify-self: left;\n}\n\n.saveButton[_ngcontent-%COMP%] {\n justify-self: end;\n padding-right: 0 !important;\n}\n\n.saveButtonSpan[_ngcontent-%COMP%] {\n margin-left: 2px;\n}\n\n.activity[_ngcontent-%COMP%] {\n max-height: 3rem;\n}"] + }); + } + return LabelDictionaryComponent; +})(); + +/***/ }), + +/***/ 423: +/*!*****************************************************************************!*\ + !*** ./src/app/Presentation/Settings/General/general-settings.component.ts ***! + \*****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ GeneralSettingsComponent: () => (/* binding */ GeneralSettingsComponent) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Autosave_AutosaveSettings_autosave_settings_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Autosave/AutosaveSettings/autosave-settings.component */ 94709); + + +let GeneralSettingsComponent = /*#__PURE__*/(() => { + class GeneralSettingsComponent { + static #_ = this.ɵfac = function GeneralSettingsComponent_Factory(t) { + return new (t || GeneralSettingsComponent)(); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ + type: GeneralSettingsComponent, + selectors: [["app-general-settings"]], + decls: 2, + vars: 0, + consts: [[1, "content"]], + template: function GeneralSettingsComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "app-autosave-settings"); + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); + } + }, + dependencies: [_Autosave_AutosaveSettings_autosave_settings_component__WEBPACK_IMPORTED_MODULE_0__.AutosaveSettingsComponent], + styles: [".content[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 450px auto;\n}"] + }); + } + return GeneralSettingsComponent; +})(); + +/***/ }), + +/***/ 1261: +/*!*************************************************************!*\ + !*** ./src/app/Presentation/Settings/settings.component.ts ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ SettingsComponent: () => (/* binding */ SettingsComponent) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_Settings_settings_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Service/Settings/settings.service */ 58124); +/* harmony import */ var src_app_Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Service/Modeler/modeler.service */ 74676); +/* harmony import */ var _Service_IconSetConfiguration_icon_set_customization_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Service/IconSetConfiguration/icon-set-customization.service */ 87007); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _General_general_settings_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./General/general-settings.component */ 423); +/* harmony import */ var src_app_Presentation_DomainConfiguration_icon_set_configuration_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/Presentation/DomainConfiguration/icon-set-configuration.component */ 38574); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/toolbar */ 23550); + + + + + + + + + + +function SettingsComponent_app_general_settings_15_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "app-general-settings"); + } +} +function SettingsComponent_app_icon_set_configuration_17_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "app-icon-set-configuration"); + } +} +let SettingsComponent = /*#__PURE__*/(() => { + class SettingsComponent { + constructor(settingsService, modelerService, iconSetCustomizationService) { + this.settingsService = settingsService; + this.modelerService = modelerService; + this.iconSetCustomizationService = iconSetCustomizationService; + this.showGeneralSettings = new rxjs__WEBPACK_IMPORTED_MODULE_6__.BehaviorSubject(false); + this.showIconSetCustomization = new rxjs__WEBPACK_IMPORTED_MODULE_6__.BehaviorSubject(true); + } + close() { + const savedConfiguration = this.iconSetCustomizationService.getAndClearSavedConfiguration(); + if (savedConfiguration) { + this.modelerService.restart(savedConfiguration); + } + this.settingsService.close(); + } + openGeneralSettings() { + this.showGeneralSettings.next(true); + this.showIconSetCustomization.next(false); + } + openIconSetCustomization() { + this.showGeneralSettings.next(false); + this.showIconSetCustomization.next(true); + } + static #_ = this.ɵfac = function SettingsComponent_Factory(t) { + return new (t || SettingsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](src_app_Service_Settings_settings_service__WEBPACK_IMPORTED_MODULE_0__.SettingsService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](src_app_Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_1__.ModelerService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_Service_IconSetConfiguration_icon_set_customization_service__WEBPACK_IMPORTED_MODULE_2__.IconSetCustomizationService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ + type: SettingsComponent, + selectors: [["app-settings"]], + decls: 19, + vars: 14, + consts: [[1, "settings"], ["color", "primary", 1, "toolbar"], ["mat-icon-button", "", 1, "headerButton", "noPadding", 3, "click"], [1, "material-icons-outlined", "materialIconButton"], [1, "paddedButton"], ["mat-button", "", 1, "headerButton", "mr-10", 3, "click"], [1, "headline"], ["mat-button", "", 1, "headerButton", 3, "click"], [4, "ngIf"]], + template: function SettingsComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 0)(1, "mat-toolbar", 1)(2, "mat-toolbar-row")(3, "button", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function SettingsComponent_Template_button_click_3_listener() { + return ctx.close(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "span", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](5, " arrow_back"); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](6, "div", 4)(7, "button", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](8, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function SettingsComponent_Template_button_click_7_listener() { + return ctx.openIconSetCustomization(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](9, "span", 6); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](10, "Customize Icons for Your Domain"); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](11, "button", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](12, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function SettingsComponent_Template_button_click_11_listener() { + return ctx.openGeneralSettings(); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](13, "span", 6); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](14, "General Settings"); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()()(); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](15, SettingsComponent_app_general_settings_15_Template, 1, 0, "app-general-settings", 8); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](16, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](17, SettingsComponent_app_icon_set_configuration_17_Template, 1, 0, "app-icon-set-configuration", 8); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](18, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](7); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassProp"]("highlight", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind1"](8, 6, ctx.showIconSetCustomization)); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵclassProp"]("highlight", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind1"](12, 8, ctx.showGeneralSettings)); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind1"](16, 10, ctx.showGeneralSettings)); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind1"](18, 12, ctx.showIconSetCustomization)); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _General_general_settings_component__WEBPACK_IMPORTED_MODULE_3__.GeneralSettingsComponent, src_app_Presentation_DomainConfiguration_icon_set_configuration_component__WEBPACK_IMPORTED_MODULE_4__.IconSetConfigurationComponent, _angular_material_button__WEBPACK_IMPORTED_MODULE_8__.MatButton, _angular_material_button__WEBPACK_IMPORTED_MODULE_8__.MatIconButton, _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_9__.MatToolbar, _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_9__.MatToolbarRow, _angular_common__WEBPACK_IMPORTED_MODULE_7__.AsyncPipe], + styles: ["mat-toolbar[_ngcontent-%COMP%] *[_ngcontent-%COMP%] {\n color: white;\n}\n\napp-general-settings[_ngcontent-%COMP%] {\n overflow-y: auto;\n}\n\n.settings[_ngcontent-%COMP%] {\n display: grid;\n grid-template-rows: 65px auto;\n width: 100%;\n height: 100%;\n}\n.settings[_ngcontent-%COMP%] .mat-button {\n padding: 0;\n}\n.settings[_ngcontent-%COMP%] .materialIconButton[_ngcontent-%COMP%] {\n margin-top: 0;\n margin-right: 5px;\n padding: 0;\n}\n\n.highlight[_ngcontent-%COMP%] {\n border: 2px solid white;\n}\n\n .mat-tab-label, .mat-tab-label-active {\n height: 30px !important;\n}"] + }); + } + return SettingsComponent; +})(); + +/***/ }), + +/***/ 97237: +/*!********************************************************************!*\ + !*** ./src/app/Service/Autosave/autosave-configuration.service.ts ***! + \********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AutosaveConfigurationService: () => (/* binding */ AutosaveConfigurationService) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 39090); +/* harmony import */ var src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/constants */ 90816); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _BrowserStorage_storage_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../BrowserStorage/storage.service */ 59298); + + + + +const AUTOSAVE_CONFIGURATION_TAG = 'autosaveConfiguration'; +const defaultConfiguration = { + activated: src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_AUTOSAVES_ENABLED, + interval: src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_AUTOSAVES_INTERVAL, + maxDrafts: src_app_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_AUTOSAVES_MAX_DRAFTS +}; +let AutosaveConfigurationService = /*#__PURE__*/(() => { + class AutosaveConfigurationService { + constructor(storageService) { + this.storageService = storageService; + this.configuration = defaultConfiguration; + this.configurationSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.ReplaySubject(1); + this.configuration$ = this.configurationSubject.asObservable(); + this.initializeConfiguration(); + } + initializeConfiguration() { + this.loadConfiguration(); + this.configurationSubject.next(this.configuration); + } + setConfiguration(configuration) { + try { + this.configuration = configuration; + this.saveConfiguration(); + this.configurationSubject.next(configuration); + return true; + } catch { + return false; + } + } + loadConfiguration() { + this.configuration = this.storageService.get(AUTOSAVE_CONFIGURATION_TAG) ?? defaultConfiguration; + } + saveConfiguration() { + this.storageService.set(AUTOSAVE_CONFIGURATION_TAG, this.configuration); + } + static #_ = this.ɵfac = function AutosaveConfigurationService_Factory(t) { + return new (t || AutosaveConfigurationService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_BrowserStorage_storage_service__WEBPACK_IMPORTED_MODULE_1__.StorageService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ + token: AutosaveConfigurationService, + factory: AutosaveConfigurationService.ɵfac, + providedIn: 'root' + }); + } + return AutosaveConfigurationService; +})(); + +/***/ }), + +/***/ 30534: +/*!******************************************************!*\ + !*** ./src/app/Service/Autosave/autosave.service.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AutosaveService: () => (/* binding */ AutosaveService), +/* harmony export */ DRAFTS_TAG: () => (/* binding */ DRAFTS_TAG) +/* harmony export */ }); +/* harmony import */ var _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Domain/Common/elementTypes */ 30236); +/* harmony import */ var _Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Domain/Icon-Set-Configuration/iconSetConfiguration */ 77044); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Domain/Common/constants */ 90816); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _autosave_configuration_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./autosave-configuration.service */ 97237); +/* harmony import */ var _Export_export_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Export/export.service */ 98106); +/* harmony import */ var _IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../IconSetConfiguration/icon-dictionary.service */ 93689); +/* harmony import */ var _Renderer_renderer_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Renderer/renderer.service */ 94896); +/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/snack-bar */ 93289); +/* harmony import */ var _BrowserStorage_storage_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../BrowserStorage/storage.service */ 59298); +/* harmony import */ var _Title_title_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Title/title.service */ 69672); + + + + + + + + + + + + +const DRAFTS_TAG = 'autosaveDrafts'; +let AutosaveService = /*#__PURE__*/(() => { + class AutosaveService { + constructor(autosaveConfiguration, exportService, iconDictionaryService, rendererService, snackbar, storageService, titleService) { + this.autosaveConfiguration = autosaveConfiguration; + this.exportService = exportService; + this.iconDictionaryService = iconDictionaryService; + this.rendererService = rendererService; + this.snackbar = snackbar; + this.storageService = storageService; + this.titleService = titleService; + this.autosavedDraftsChanged$ = new rxjs__WEBPACK_IMPORTED_MODULE_9__.Subject(); + this.autosaveConfiguration.configuration$.subscribe(configuration => this.updateConfiguration(configuration)); + } + loadCurrentDrafts() { + const drafts = this.readDrafts(); + this.sortDrafts(drafts); + return drafts; + } + loadDraft(draft) { + const configFromFile = draft.configAndDST.domain; + const config = (0,_Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_1__.fromConfigurationFromFile)(configFromFile); + const story = JSON.parse(draft.configAndDST.dst); + this.titleService.updateTitleAndDescription(draft.title, draft.description, false); + const actorIcons = this.iconDictionaryService.getElementsOfType(story, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR); + const workObjectIcons = this.iconDictionaryService.getElementsOfType(story, _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT); + this.iconDictionaryService.updateIconRegistries(actorIcons, workObjectIcons, config); + this.rendererService.importStory(story, true, config, false); + } + removeAllDrafts() { + this.storageService.set(DRAFTS_TAG, []); + this.autosavedDraftsChanged$.next(); + } + loadLatestDraft() { + const drafts = this.readDrafts(); + if (drafts.length === 0) { + return; + } + this.loadDraft(drafts[0]); + } + updateConfiguration(configuration) { + this.stopTimer(); + if (configuration.activated) { + this.startTimer(configuration.interval, configuration.maxDrafts); + } + } + stopTimer() { + if (this.autosaveTimer) { + clearInterval(this.autosaveTimer); + this.autosaveTimer = undefined; + } + } + startTimer(interval, maxDrafts) { + this.autosaveTimer = setInterval(() => { + const savedDrafts = this.loadCurrentDrafts(); + const newDraft = this.createDraft(); + let isChanged = maxDrafts > 0; + if (savedDrafts.length > 0) { + isChanged = isChanged && !this.isSame(newDraft, savedDrafts[0]); + } + if (isChanged && !this.isDraftEmpty(newDraft)) { + savedDrafts.unshift(newDraft); + while (savedDrafts.length > maxDrafts) { + savedDrafts.pop(); + } + this.writeDrafts(savedDrafts); + this.snackbar.open('Draft Saved', undefined, { + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_2__.SNACKBAR_INFO, + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_2__.SNACKBAR_DURATION + }); + this.autosavedDraftsChanged$.next(); + } + }, interval * 1000); + } + isDraftEmpty(draft) { + const configAndDST = draft.configAndDST ?? { + dst: '[]' + }; + return draft.title === _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_2__.INITIAL_TITLE && draft.description === _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_2__.INITIAL_DESCRIPTION && JSON.parse(configAndDST.dst).length === 0; + } + isSame(a, b) { + return a.title === b.title && a.description === b.description && JSON.stringify(a.configAndDST) === JSON.stringify(b.configAndDST); + } + writeDrafts(drafts) { + this.storageService.set(DRAFTS_TAG, drafts); + } + readDrafts() { + return this.storageService.get(DRAFTS_TAG) ?? []; + } + createDraft() { + const dst = JSON.stringify(this.rendererService.getStory(), null, 2); + const configAndDST = this.exportService.createConfigAndDST(dst); + const date = new Date().toString().slice(0, 25); + return { + title: this.titleService.getTitle(), + description: this.titleService.getDescription(), + configAndDST, + date + }; + } + sortDrafts(drafts) { + drafts.sort((a, b) => { + const aDate = Date.parse(a.date); + const bDate = Date.parse(b.date); + return aDate > bDate ? 0 : 1; + }); + } + static #_ = this.ɵfac = function AutosaveService_Factory(t) { + return new (t || AutosaveService)(_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_autosave_configuration_service__WEBPACK_IMPORTED_MODULE_3__.AutosaveConfigurationService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_Export_export_service__WEBPACK_IMPORTED_MODULE_4__.ExportService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_5__.IconDictionaryService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_Renderer_renderer_service__WEBPACK_IMPORTED_MODULE_6__.RendererService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__.MatSnackBar), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_BrowserStorage_storage_service__WEBPACK_IMPORTED_MODULE_7__.StorageService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_Title_title_service__WEBPACK_IMPORTED_MODULE_8__.TitleService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdefineInjectable"]({ + token: AutosaveService, + factory: AutosaveService.ɵfac, + providedIn: 'root' + }); + } + return AutosaveService; +})(); + +/***/ }), + +/***/ 59298: +/*!***********************************************************!*\ + !*** ./src/app/Service/BrowserStorage/storage.service.ts ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ StorageService: () => (/* binding */ StorageService) +/* harmony export */ }); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Domain/Common/constants */ 90816); +/* harmony import */ var _Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Domain/Icon-Set-Configuration/iconSetConfiguration */ 77044); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); + + + +let StorageService = /*#__PURE__*/(() => { + class StorageService { + set(key, value) { + localStorage.setItem(key, JSON.stringify(value)); + } + get(key) { + const json = localStorage.getItem(key); + if (json) { + return JSON.parse(json); + } + return null; + } + removeItem(key) { + localStorage.removeItem(key); + } + checkValidityOfConfiguration(configuratioFromFile) { + return configuratioFromFile.actors.keysArray().length > 1 && configuratioFromFile.workObjects.keysArray().length > 1 && !configuratioFromFile.actors.all().some(e => typeof e.value !== 'string') && !configuratioFromFile.workObjects.all().some(e => typeof e.value !== 'string'); + } + getStoredIconSetConfiguration() { + const iconSetString = localStorage.getItem(_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.ICON_SET_CONFIGURATION_TAG); + if (!iconSetString) { + return; + } else { + const configurationFromFile = (0,_Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_1__.fromConfigurationFromFile)(JSON.parse(iconSetString)); + if (this.checkValidityOfConfiguration(configurationFromFile)) { + return configurationFromFile; + } + } + return; + } + setStoredIconSetConfiguration(config) { + const actors = {}; + config.actors.keysArray().forEach(key => { + actors[key] = config.actors.get(key); + }); + const workObjects = {}; + config.workObjects.keysArray().forEach(key => { + workObjects[key] = config.workObjects.get(key); + }); + const configForStorage = { + name: config.name, + actors: actors, + workObjects: workObjects + }; + localStorage.setItem(_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.ICON_SET_CONFIGURATION_TAG, JSON.stringify(configForStorage, null, 2)); + } + static #_ = this.ɵfac = function StorageService_Factory(t) { + return new (t || StorageService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ + token: StorageService, + factory: StorageService.ɵfac, + providedIn: 'root' + }); + } + return StorageService; +})(); + +/***/ }), + +/***/ 19381: +/*!***************************************************************!*\ + !*** ./src/app/Service/CommandStack/command-stack.service.ts ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ CommandStackService: () => (/* binding */ CommandStackService) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); + +let CommandStackService = /*#__PURE__*/(() => { + class CommandStackService { + constructor() {} + setCommandStack(commandStack) { + this.commandStack = commandStack; + } + execute(action, payload) { + this.commandStack.execute(action, payload); + } + static #_ = this.ɵfac = function CommandStackService_Factory(t) { + return new (t || CommandStackService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: CommandStackService, + factory: CommandStackService.ɵfac, + providedIn: 'root' + }); + } + return CommandStackService; +})(); + +/***/ }), + +/***/ 4730: +/*!**************************************************!*\ + !*** ./src/app/Service/Dialog/dialog.service.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ DialogService: () => (/* binding */ DialogService) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/dialog */ 44053); + + +let DialogService = /*#__PURE__*/(() => { + class DialogService { + constructor(matDialog) { + this.matDialog = matDialog; + } + openDialog(dialog, config) { + this.matDialog.open(dialog, config); + } + static #_ = this.ɵfac = function DialogService_Factory(t) { + return new (t || DialogService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_1__.MatDialog)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: DialogService, + factory: DialogService.ɵfac, + providedIn: 'root' + }); + } + return DialogService; +})(); + +/***/ }), + +/***/ 89791: +/*!*********************************************************!*\ + !*** ./src/app/Service/DirtyFlag/dirty-flag.service.ts ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ DirtyFlagService: () => (/* binding */ DirtyFlagService) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); + + +let DirtyFlagService = /*#__PURE__*/(() => { + class DirtyFlagService { + constructor() { + this.isDirtySubject = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(false); + this.dirty$ = this.isDirtySubject.asObservable(); + } + makeDirty() { + this.isDirtySubject.next(true); + } + makeClean() { + this.isDirtySubject.next(false); + } + get dirty() { + return this.isDirtySubject.value; + } + static #_ = this.ɵfac = function DirtyFlagService_Factory(t) { + return new (t || DirtyFlagService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ + token: DirtyFlagService, + factory: DirtyFlagService.ɵfac, + providedIn: 'root' + }); + } + return DirtyFlagService; +})(); + +/***/ }), + +/***/ 63149: +/*!*********************************************************************!*\ + !*** ./src/app/Service/DomManipulation/dom-manipulation.service.ts ***! + \*********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ DomManipulationService: () => (/* binding */ DomManipulationService) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _Domain_DomManipulation_replayConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Domain/DomManipulation/replayConstants */ 90173); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Service/ElementRegistry/element-registry.service */ 67613); + + + + +/** + * Manipulates the DOM during replay to only show the elements of the current Sentence + */ +let DomManipulationService = /*#__PURE__*/(() => { + class DomManipulationService { + constructor(elementRegistryService) { + this.elementRegistryService = elementRegistryService; + } + showAll() { + this.removeHighlights(); + this.elementRegistryService.getAllCanvasObjects().slice().concat(this.elementRegistryService.getAllGroups().slice()).map(e => e.businessObject).forEach(element => { + const domObject = document.querySelector('[data-element-id=' + element.id + ']'); + // @ts-ignore + domObject.style.display = 'block'; + }); + } + showSentence(replaySentence, previousSentence) { + this.removeHighlights(); + const notShown = this.getAllNotShown(replaySentence.objects); + notShown.forEach(element => { + const domObject = document.querySelector('[data-element-id=' + element.id + ']'); + if (domObject) { + // @ts-ignore + domObject.style.display = 'none'; + } + }); + this.highlightSentence(previousSentence ? replaySentence.objects.filter(o => !previousSentence.objects.includes(o)) : replaySentence.objects); + replaySentence.objects.forEach(element => { + const domObject = document.querySelector('[data-element-id=' + element.id + ']'); + if (domObject) { + // @ts-ignore + domObject.style.display = 'block'; + } + }); + } + getNumberDomForActivity(activity) { + const numberText = activity.parentElement?.getElementsByClassName('djs-labelNumber')[0] ?? ''; + const circle = numberText?.previousSibling ?? ''; + return { + numberBackgroundDom: circle, + numberTextDom: numberText + }; + } + removeHighlights() { + const allActivities = this.elementRegistryService.getAllActivities(); + const allConnections = this.elementRegistryService.getAllConnections(); + allActivities.forEach(activity => { + const querySelector = document.querySelector('[data-element-id=' + activity.id + ']'); + if (querySelector) { + const activityDomObject = querySelector.getElementsByTagName('polyline')[0]; + activityDomObject.style.stroke = activity.businessObject.pickedColor || 'black'; + activityDomObject.style.strokeWidth = _Domain_DomManipulation_replayConstants__WEBPACK_IMPORTED_MODULE_1__.STROKE_WIDTH; + const { + numberBackgroundDom, + numberTextDom + } = this.getNumberDomForActivity(activityDomObject); + if (numberBackgroundDom && numberTextDom) { + numberBackgroundDom.style.fill = _Domain_DomManipulation_replayConstants__WEBPACK_IMPORTED_MODULE_1__.NUMBER_BACKGROUND_COLOR; + numberTextDom.style.fill = _Domain_DomManipulation_replayConstants__WEBPACK_IMPORTED_MODULE_1__.NUMBER_COLOR; + } + } + }); + allConnections.forEach(connection => { + // @ts-ignore + const connectionDomObject = document.querySelector('[data-element-id=' + connection.id + ']').getElementsByTagName('polyline')[0]; + connectionDomObject.style.stroke = connection.businessObject.pickedColor || 'black'; + connectionDomObject.style.strokeWidth = '1.5'; + }); + } + highlightSentence(sentenceObjects) { + sentenceObjects.filter(e => e.type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY).forEach(activity => { + const querySelector = document.querySelector('[data-element-id=' + activity.id + ']'); + if (querySelector) { + const activityDomObject = querySelector.getElementsByTagName('polyline')[0]; + activityDomObject.style.strokeWidth = _Domain_DomManipulation_replayConstants__WEBPACK_IMPORTED_MODULE_1__.HIGHLIGHT_STROKE_WIDTH; + const { + numberBackgroundDom, + numberTextDom + } = this.getNumberDomForActivity(activityDomObject); + if (numberTextDom && numberBackgroundDom) { + numberBackgroundDom.style.fill = _Domain_DomManipulation_replayConstants__WEBPACK_IMPORTED_MODULE_1__.HIGHLIGHT_NUMBER_BACKGROUNG_COLOR; + numberTextDom.style.fill = _Domain_DomManipulation_replayConstants__WEBPACK_IMPORTED_MODULE_1__.HIGHLIGHT_NUMBER_COLOR; + } + } + }); + } + getAllNotShown(shownElements) { + const notShownElements = []; + const allObjects = this.elementRegistryService.getAllCanvasObjects().concat(this.elementRegistryService.getAllGroups()); + allObjects.forEach(element => { + if (!shownElements.includes(element.businessObject)) { + if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.CONNECTION)) { + // @ts-ignore + if (!element.source.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.GROUP)) { + notShownElements.push(element.businessObject); + } else { + // @ts-ignore + shownElements.push(element.target); + } + } else { + notShownElements.push(element.businessObject); + } + } + }); + return notShownElements; + } + static #_ = this.ɵfac = function DomManipulationService_Factory(t) { + return new (t || DomManipulationService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_2__.ElementRegistryService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ + token: DomManipulationService, + factory: DomManipulationService.ɵfac, + providedIn: 'root' + }); + } + return DomManipulationService; +})(); + +/***/ }), + +/***/ 67613: +/*!*********************************************************************!*\ + !*** ./src/app/Service/ElementRegistry/element-registry.service.ts ***! + \*********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ElementRegistryService: () => (/* binding */ ElementRegistryService) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); + + +let ElementRegistryService = /*#__PURE__*/(() => { + class ElementRegistryService { + constructor() { + this.fullyInitialized = false; + } + /** + * Initially the registry has only the root-Element. + * Once the canvas has bees initialized, we adjust the reference to point to the elements on the canvas for convenience + */ + correctInitialize() { + if (!this.fullyInitialized) { + if (this.registry.__implicitroot) { + this.registry = this.registry.__implicitroot.element.children; + this.fullyInitialized = true; + } + } + } + setElementRegistry(registry) { + this.registry = registry._elements; + } + clear() { + this.registry = null; + this.fullyInitialized = false; + } + createObjectListForDSTDownload() { + if (this.registry) { + const allObjectsFromCanvas = this.getAllCanvasObjects(); + const groups = this.getAllGroups(); + const objectList = []; + this.fillListOfCanvasObjects(allObjectsFromCanvas, objectList, groups); + return objectList; + } + return []; + } + fillListOfCanvasObjects(allObjectsFromCanvas, objectList, groups) { + allObjectsFromCanvas.forEach(canvasElement => { + if (canvasElement.type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY) { + objectList.push(canvasElement); + } + // ensure that Activities are always after Actors, Workobjects and Groups in .dst files + else { + if (canvasElement.type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.TEXTANNOTATION) { + canvasElement.businessObject.width = canvasElement.width; + canvasElement.businessObject.height = canvasElement.height; + } + if (!objectList.includes(canvasElement)) { + objectList.unshift(canvasElement); + } + } + }); + groups.forEach(group => { + objectList.push(group); + }); + } + getAllActivities() { + const activities = []; + this.getAllCanvasObjects().forEach(element => { + if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY)) { + activities.push(element); + } + }); + return activities; + } + getAllConnections() { + const connections = []; + this.getAllCanvasObjects().forEach(element => { + const type = element.type; + if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.CONNECTION) { + connections.push(element); + } + }); + return connections; + } + getAllCanvasObjects() { + const allObjects = []; + const groupObjects = []; + this.checkChildForGroup(groupObjects, allObjects); + // for each memorized group, remove it from the group-array and check its children, whether they are groups or not + // if a child is a group, memorize it in the group-array + // other children should already be in the allObjects list + let i = groupObjects.length - 1; + while (groupObjects.length >= 1) { + const currentGroup = groupObjects.pop(); + // @ts-ignore + currentGroup.children.forEach(child => { + const type = child.type; + if (type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.GROUP)) { + groupObjects.push(child); + } + }); + i = groupObjects.length - 1; + } + return allObjects; + } + // returns all groups on the canvas and inside other groups + getAllGroups() { + const groupObjects = []; + const allObjects = []; + this.checkChildForGroup(groupObjects, allObjects); + for (const group of groupObjects) { + group.children?.forEach(child => { + if (child.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.GROUP)) { + groupObjects.push(child); + } + }); + } + return groupObjects; + } + checkChildForGroup(groupObjects, allObjects) { + const registryElementNames = Object.keys(this.registry); + for (let name of registryElementNames) { + const entry = this.registry[name].element; + if (entry.businessObject) { + const type = entry.type; + if (type && type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.GROUP)) { + // if it is a group, memorize this for later + groupObjects.push(entry); + } else if (type) { + allObjects.push(entry); + } + } + } + } + // get a list of activities, that originate from an actor-type + getActivitiesFromActors() { + const activitiesFromActors = []; + const activities = this.getAllActivities(); + activities.forEach(activity => { + if (activity.source?.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR)) { + activitiesFromActors.push(activity); + } + }); + // sort by activityBusinessObject number + activitiesFromActors.sort((activityCanvasA, activityCanvasB) => { + const activityNumberA = Number(activityCanvasA.businessObject.number); + const activityNumberB = Number(activityCanvasB.businessObject.number); + return activityNumberA - activityNumberB; + }); + return activitiesFromActors; + } + getUsedIcons() { + const actors = this.getAllActors(); + const workobjects = this.getAllWorkobjects(); + return { + actors: actors.map(a => a.type.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR, '')), + workobjects: workobjects.map(w => w.type.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT, '')) + }; + } + getAllActors() { + return this.getAllCanvasObjects().filter(co => co.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR)); + } + getAllWorkobjects() { + return this.getAllCanvasObjects().filter(co => co.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT)); + } + static #_ = this.ɵfac = function ElementRegistryService_Factory(t) { + return new (t || ElementRegistryService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ + token: ElementRegistryService, + factory: ElementRegistryService.ɵfac, + providedIn: 'root' + }); + } + return ElementRegistryService; +})(); + +/***/ }), + +/***/ 98106: +/*!**************************************************!*\ + !*** ./src/app/Service/Export/export.service.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ExportService: () => (/* binding */ ExportService) +/* harmony export */ }); +/* harmony import */ var src_app_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Utils/sanitizer */ 66107); +/* harmony import */ var src_app_Domain_Export_configAndDst__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Export/configAndDst */ 74306); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../environments/environment */ 45312); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/Service/IconSetConfiguration/icon-set-configuration.service */ 10200); +/* harmony import */ var src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/Service/Title/title.service */ 69672); +/* harmony import */ var src_app_Service_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/Service/DirtyFlag/dirty-flag.service */ 89791); +/* harmony import */ var src_app_Service_Export_png_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/Service/Export/png.service */ 11503); +/* harmony import */ var src_app_Service_Export_svg_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/Service/Export/svg.service */ 29298); +/* harmony import */ var _html_presentation_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./html-presentation.service */ 72680); +/* harmony import */ var _Renderer_renderer_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../Renderer/renderer.service */ 94896); + + + + + + + + + + + + +let ExportService = /*#__PURE__*/(() => { + class ExportService { + constructor(configurationService, titleService, dirtyFlagService, pngService, svgService, htmlPresentationService, rendererService) { + this.configurationService = configurationService; + this.titleService = titleService; + this.dirtyFlagService = dirtyFlagService; + this.pngService = pngService; + this.svgService = svgService; + this.htmlPresentationService = htmlPresentationService; + this.rendererService = rendererService; + this.title = ''; + this.description = ''; + this.titleSubscription = this.titleService.title$.subscribe(title => { + this.title = title; + }); + this.descriptionSubscription = this.titleService.description$.subscribe(description => { + this.description = description; + }); + } + ngOnDestroy() { + this.titleSubscription.unsubscribe(); + this.descriptionSubscription.unsubscribe(); + } + isDomainStoryExportable() { + return this.rendererService.getStory().length >= 1; + } + createConfigAndDST(DomainStory) { + return new src_app_Domain_Export_configAndDst__WEBPACK_IMPORTED_MODULE_1__.ConfigAndDST(this.configurationService.getCurrentConfigurationForExport(), DomainStory); + } + downloadDST() { + const dst = this.getStoryForDownload(); + const configAndDST = this.createConfigAndDST(dst); + const json = JSON.stringify(configAndDST, null, 2); + const filename = (0,src_app_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_0__.sanitizeForDesktop)(this.title + '_' + this.getCurrentDateString()); + this.downloadFile(json, 'data:text/plain;charset=utf-8,', filename, '.egn', true); + } + downloadFile(data, datatype, filename, fileEnding, makeClean) { + const element = document.createElement('a'); + element.setAttribute('href', datatype + encodeURIComponent(data)); + element.setAttribute('download', filename + fileEnding); + element.style.display = 'none'; + document.body.appendChild(element); + element.click(); + if (makeClean) { + this.dirtyFlagService.makeClean(); + } + document.body.removeChild(element); + } + downloadSVG(withTitle, useWhiteBackground) { + const story = this.getStoryForDownload(); + const dst = this.createConfigAndDST(story); + const svgData = this.svgService.createSVGData(this.title, this.description, dst, withTitle, useWhiteBackground); + this.downloadFile(svgData, 'data:application/bpmn20-xml;charset=UTF-8,', (0,src_app_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_0__.sanitizeForDesktop)(this.title + '_' + this.getCurrentDateString()), '.egn.svg', true); + } + downloadPNG(withTitle) { + const canvas = document.getElementById('canvas'); + if (canvas) { + const container = canvas.getElementsByClassName('djs-container'); + const svgElements = container[0].getElementsByTagName('svg'); + const outerSVGElement = svgElements[0]; + const viewport = outerSVGElement.getElementsByClassName('viewport')[0]; + const layerBase = viewport.getElementsByClassName('layer-base')[0]; + const image = document.createElement('img'); + // removes unwanted black dots in image + let svg = this.pngService.extractSVG(viewport, outerSVGElement); + svg = this.pngService.prepareSVG(svg, layerBase, this.description, this.title, withTitle); + image.onload = () => { + const tempCanvas = document.createElement('canvas'); + // add a 10px buffer to the right and lower boundary + tempCanvas.width = this.pngService.getWidth() + 10; + tempCanvas.height = this.pngService.getHeight() + 10; + const ctx = tempCanvas.getContext('2d'); + if (ctx) { + // fill with white background + ctx.rect(0, 0, tempCanvas.width, tempCanvas.height); + ctx.fillStyle = 'white'; + ctx.fill(); + ctx.drawImage(image, 0, 0); + } + const png64 = tempCanvas.toDataURL('image/png'); + const ele = document.createElement('a'); + ele.setAttribute('download', (0,src_app_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_0__.sanitizeForDesktop)(this.title) + '_' + this.getCurrentDateString() + '.png'); + ele.setAttribute('href', png64); + document.body.appendChild(ele); + ele.click(); + document.body.removeChild(ele); + // image source has to be removed to circumvent browser caching + image.src = ''; + }; + image.onchange = image.onload; + image.width = this.pngService.getWidth(); + image.height = this.pngService.getHeight(); + image.src = 'data:image/svg+xml,' + svg; + } + } + downloadHTMLPresentation() { + const filename = (0,src_app_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_0__.sanitizeForDesktop)(this.title + '_' + this.getCurrentDateString()); + this.htmlPresentationService.downloadHTMLPresentation(filename).then(); + } + getStoryForDownload() { + const story = this.rendererService.getStory(); + story.push({ + info: this.titleService.getDescription() + }); + story.push({ + version: _environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.version + }); + return story; + } + getCurrentDateString() { + return (0,_angular_common__WEBPACK_IMPORTED_MODULE_10__.formatDate)(new Date(), 'YYYY-MM-dd', 'en-GB'); + } + static #_ = this.ɵfac = function ExportService_Factory(t) { + return new (t || ExportService)(_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵinject"](src_app_Service_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_3__.IconSetConfigurationService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵinject"](src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_4__.TitleService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵinject"](src_app_Service_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_5__.DirtyFlagService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵinject"](src_app_Service_Export_png_service__WEBPACK_IMPORTED_MODULE_6__.PngService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵinject"](src_app_Service_Export_svg_service__WEBPACK_IMPORTED_MODULE_7__.SvgService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵinject"](_html_presentation_service__WEBPACK_IMPORTED_MODULE_8__.HtmlPresentationService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵinject"](_Renderer_renderer_service__WEBPACK_IMPORTED_MODULE_9__.RendererService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdefineInjectable"]({ + token: ExportService, + factory: ExportService.ɵfac, + providedIn: 'root' + }); + } + return ExportService; +})(); + +/***/ }), + +/***/ 17782: +/*!**********************************************!*\ + !*** ./src/app/Service/Export/exportUtil.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ createTitleAndDescriptionSVGElement: () => (/* binding */ createTitleAndDescriptionSVGElement) +/* harmony export */ }); +/* harmony import */ var _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Domain/Export/exportConstants */ 27901); + +let dynamicHeightOffset = 0; +// Has to be js File so we can access te correct non-standard HTML-Properties without excessive usage of ts-ignore +function createTitleAndDescriptionSVGElement(initDynamicHeightOffset, title, description, min_x, min_y, width) { + dynamicHeightOffset = initDynamicHeightOffset; + title = title.replace("<", "").replace(">", ""); + let titleElement = createTitle(title, width); + let descriptionElement = createDescription(description, width); + // to display the title and description in the SVG-file, we need to add a container for our text-elements + let insertText = '' + titleElement + descriptionElement + ""; + return { + insertText, + dynamicHeightOffset: dynamicHeightOffset + }; +} +function createTitle(text, width) { + let tempCanvas = document.createElement("canvas"); + let ctx = tempCanvas.getContext("2d"); + ctx.font = "30px Arial"; + return createTextSpans(text, width, ctx, 10, _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_0__.TEXTSPAN_TITLE_HEIGHT, 30); +} +function createDescription(text, width) { + let description = ""; + let descriptionParts = text.split("
"); + let tempCanvas = document.createElement("canvas"); + let ctx = tempCanvas.getContext("2d"); + ctx.font = "12px Arial"; + for (let i = 0; i < descriptionParts.length; i++) { + description += createTextSpans(descriptionParts[i], width, ctx, 0, _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_0__.TEXTSPAN_DESCRIPTION_HEIGHT, 12); + } + return description; +} +function createTextSpans(text, width, ctx, yOffset, heightOffset, fontSize) { + let textSpans = ""; + let words = text.split(" "); + // every leading empty strings in the array must be removed, otherwise the text elements + // will not be filled with text + words = removeLeadingEmptyStrings(words); + let textTag = ''; + let textSpan = document.createElementNS(_Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_0__.SVG_LINK, "tspan"); + let textNode = document.createTextNode(words[0]); + textSpan.setAttribute("x", _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_0__.X_OFFSET_UTIL); + textSpan.setAttribute("y", yOffset + dynamicHeightOffset); + textSpan.setAttribute("font-size", fontSize); + textSpan.appendChild(textNode); + for (let j = 1; j < words.length; j++) { + if (textSpan.firstChild && textSpan.firstChild.data) { + let len = textSpan.firstChild.data.length; + textNode.data += " " + words[j]; + if (ctx.measureText(textNode.data).width > width - 16) { + dynamicHeightOffset += heightOffset; + textSpan.firstChild.data = textSpan.firstChild.data.slice(0, len); // remove overflow word + textSpans += textTag + textSpan.outerHTML + ""; // append line + // create new textspan for line break + textSpan = document.createElementNS(_Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_0__.SVG_LINK, "tspan"); + textNode = document.createTextNode(words[j]); + textSpan.setAttribute("x", _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_0__.X_OFFSET_UTIL); + textSpan.setAttribute("y", yOffset + dynamicHeightOffset); + textSpan.appendChild(textNode); + } + } + } + dynamicHeightOffset += heightOffset; + textSpans += textTag + textSpan.outerHTML + ""; + return textSpans; +} +function removeLeadingEmptyStrings(stringArray) { + const firstNonEmptyIndex = stringArray.findIndex(string => string !== ""); + return stringArray.slice(firstNonEmptyIndex === -1 ? stringArray.length : firstNonEmptyIndex); +} + +/***/ }), + +/***/ 72680: +/*!*************************************************************!*\ + !*** ./src/app/Service/Export/html-presentation.service.ts ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ HtmlPresentationService: () => (/* binding */ HtmlPresentationService) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 73308); +/* harmony import */ var _Utils_sanitizer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Utils/sanitizer */ 66107); +/* harmony import */ var dot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! dot */ 45659); +/* harmony import */ var dot__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(dot__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Replay_replay_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Replay/replay.service */ 94788); +/* harmony import */ var _Title_title_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Title/title.service */ 69672); + + +// @ts-ignore + + + + +/** + * Initial idea and PR from https://github.com/indika-dev + */ +let HtmlPresentationService = /*#__PURE__*/(() => { + class HtmlPresentationService { + constructor(replayService, titleService) { + this.replayService = replayService; + this.titleService = titleService; + } + setModelerClasses(canvas, selection, modeler) { + this.modeler = modeler; + } + static viewBoxCoordinates(svg) { + const ViewBoxCoordinate = /width="([^"]+)"\s+height="([^"]+)"\s+viewBox="([^"]+)"/; + const match = svg.match(ViewBoxCoordinate); + return match[3]; + } + /* + --------------------------- + SVG handling starts here + ---------------------------- + */ + downloadHTMLPresentation(filename) { + var _this = this; + return (0,_home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { + const svgData = []; + // export all sentences of domain story + _this.replayService.startReplay(); + try { + const result = yield _this.modeler.saveSVG({}); + _this.fixActivityMarkersForEachSentence(result, _this.replayService.getCurrentSentenceNumber()); + svgData.push({ + content: HtmlPresentationService.createSVGData(result.svg), + transition: 'slide' + }); + } catch (err) { + alert('There was an error exporting the SVG.\n' + err); + } + while (_this.replayService.getCurrentSentenceNumber() < _this.replayService.getMaxSentenceNumber()) { + _this.replayService.nextSentence(); + try { + const result = yield _this.modeler.saveSVG({}); + _this.fixActivityMarkersForEachSentence(result, _this.replayService.getCurrentSentenceNumber()); + svgData.push({ + content: HtmlPresentationService.createSVGData(result.svg), + transition: 'slide' + }); + } catch (err) { + alert('There was an error exporting the SVG.\n' + err); + } + } + _this.replayService.stopReplay(); + // create download for presentation + const revealjsTemplate = document.getElementById('revealjs-template'); + const dots = dot__WEBPACK_IMPORTED_MODULE_2___default().template(revealjsTemplate?.innerHTML); + const revealjsData = { + script: 'script', + title: _this.titleService.getTitle(), + description: _this.titleService.getDescription(), + sentences: svgData, + multiplexSecret: _this.multiplexSecret, + multiplexId: _this.multiplexId + }; + const element = document.createElement('a'); + element.setAttribute('href', 'data:text/html;charset=UTF-8,' + _this.fixMalformedHtmlScript(dots, revealjsData)); + element.setAttribute('download', (0,_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_1__.sanitizeForDesktop)(filename) + '.html'); + element.style.display = 'none'; + document.body.appendChild(element); + element.click(); + document.body.removeChild(element); + })(); + } + fixMalformedHtmlScript(dots, revealjsData) { + return dots(revealjsData).replace(''), result.svg.indexOf('') + 7); + const split = defs.split(' { + const idToReplace = id.substring(4, id.length - 1); + const newId = idToReplace.slice(0, id.length - 5) + 'customId' + sectionIndex + idToReplace.slice(idToReplace.length - 2); + // @ts-ignore + result.svg = result.svg.replaceAll(idToReplace, newId); + }); + newDefs += ' { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ PngService: () => (/* binding */ PngService) +/* harmony export */ }); +/* harmony import */ var src_app_Service_Export_exportUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Service/Export/exportUtil */ 17782); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); + + +let PngService = /*#__PURE__*/(() => { + class PngService { + constructor() { + this.width = 0; + this.height = 0; + } + browserSpecs() { + const ua = navigator.userAgent; + let tem; + let M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; + if (/trident/i.test(M[1])) { + tem = /\brv[ :]+(\d+)/g.exec(ua) || []; + return { + name: 'IE', + version: tem[1] || '' + }; + } + if (M[1] === 'Chrome') { + tem = ua.match(/\b(OPR|Edge)\/(\d+)/); + if (tem != null) { + return { + name: tem[1].replace('OPR', 'Opera'), + version: tem[2] + }; + } + } + M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, '-?']; + // tslint:disable-next-line:no-conditional-assignment + if ((tem = ua.match(/version\/(\d+)/i)) != null) { + M.splice(1, 1, tem[1]); + } + return { + name: M[0], + version: M[1] + }; + } + /** Needed for an SVG-Fix in CHrome where the # needs to be replaced by %23 **/ + URIHashtagFix(svg) { + let fix = false; + const browser = this.browserSpecs(); + const name = browser.name; + const version = parseInt(browser.version); + // only implemented in chrome and firefox at the moment + if (name.includes('Chrome')) { + if (version >= 72) { + fix = true; + // https://www.chromestatus.com/features/5656049583390720 + } + } else if (name.includes('Firefox')) { + fix = true; + // versionNumber of implementation unknown + } + + if (fix) { + while (svg.includes('#')) { + svg = svg.replace('#', '%23'); + } + } + return svg; + } + findMostOuterElements(svg) { + let xLeft = 0; + let xRight = 0; + let yUp = 0; + let yDown = 0; + const elements = svg.getElementsByClassName('djs-group'); + // tslint:disable-next-line:prefer-for-of + for (let i = 0; i < elements.length; i++) { + const element = elements[i]; + const sub = element.children; + let elXLeft; + let elXRight; + let elYUp; + let elYDown; + const transform = sub[0].getAttribute('transform'); + if (transform) { + let nums; + if (transform.includes('matrix')) { + transform.replace('matrix(', ''); + transform.replace(')', ''); + nums = transform.split(' '); + elXLeft = parseInt(nums[4]); + elYUp = parseInt(nums[5]); + } else { + transform.replace('translate(', ''); + transform.replace(')', ''); + nums = transform.split(' '); + elXLeft = parseInt(nums[0]); + elYUp = parseInt(nums[1]); + } + const rects = sub[0].getElementsByTagName('rect'); + const outerRect = rects[rects.length - 1]; + const width = outerRect.getAttribute('width'); + elXRight = elXLeft + parseInt(width != null ? width : '0'); + elYDown = elYUp + sub[0].getBoundingClientRect().height; + } else { + const rects = element.getElementsByTagName('rect'); + const outerRect = rects[rects.length - 1]; + const x = outerRect.getAttribute('x'); + const y = outerRect.getAttribute('y'); + elXLeft = parseInt(x != null ? x : '0'); + elYUp = parseInt(y != null ? y : '0'); + const width = outerRect.getAttribute('width'); + const height = outerRect.getAttribute('height'); + elXRight = elXLeft + parseInt(width != null ? width : '0'); + elYDown = elYUp + parseInt(height != null ? height : '0') + 20; // Add 20 px as Padding for text at the bottom + } + + if (elXLeft < xLeft) { + xLeft = elXLeft; + } + if (elXRight > xRight) { + xRight = elXRight; + } + if (elYUp < yUp) { + yUp = elYUp; + } + if (elYDown > yDown) { + yDown = elYDown; + } + } + yUp -= 75; // we need to adjust yUp to have space for the title and description + return { + xLeft, + xRight, + yUp, + yDown + }; + } + prepareSVG(svg, layerBase, description, title, withTitle) { + const box = this.findMostOuterElements(layerBase); + let viewBoxIndex = svg.indexOf('width="'); + this.calculateWidthAndHeight(box); + const { + insertText, + dynamicHeightOffset + } = (0,src_app_Service_Export_exportUtil__WEBPACK_IMPORTED_MODULE_0__.createTitleAndDescriptionSVGElement)(0, title, description, box.xLeft + 10, box.yUp + 20, this.width); + if (withTitle) { + this.height += dynamicHeightOffset; + } + const bounds = this.createBounds(box, dynamicHeightOffset); + const dataStart = svg.substring(0, viewBoxIndex); + viewBoxIndex = svg.indexOf('style="'); + const dataEnd = svg.substring(viewBoxIndex); + dataEnd.substring(viewBoxIndex); + svg = dataStart + bounds + dataEnd; + const insertIndex = svg.indexOf('') + 20; + if (withTitle) { + svg = [svg.slice(0, insertIndex), insertText, svg.slice(insertIndex)].join(''); + } + svg = this.URIHashtagFix(svg); + return svg; + } + createBounds(box, extraHeight) { + return 'width="' + this.width + '" height="' + this.height + '" viewBox=" ' + box.xLeft + ' ' + (box.yUp - extraHeight) + ' ' + this.width + ' ' + this.height + '" '; + } + /** + * Calculate the Width and Height of the Bounding Box for the PNG so no Parts are cut off + */ + calculateWidthAndHeight(box) { + if (box.xLeft < 0) { + if (box.xRight < 0) { + this.width = Math.abs(box.xLeft - box.xRight); + } else { + this.width = Math.abs(box.xLeft) + box.xRight; + } + } else { + this.width = box.xRight - box.xLeft; + } + if (box.yUp < 0) { + if (box.yDown < 0) { + this.height = Math.abs(box.yUp - box.yDown); + } else { + this.height = Math.abs(box.yUp) + box.yDown; + } + } else { + this.height = box.yDown - box.yUp; + } + // if the domain-Story is smaller than 300px in width or height, increase its dimensions + if (this.height < 300) { + this.height += 300; + box.yUp -= 150; + box.yDown += 150; + } + if (this.width < 300) { + this.width += 300; + box.xLeft -= 150; + box.xRight += 150; + } + return [this.height, this.width]; + } + extractSVG(viewport, outerSVGElement) { + const layerResizers = viewport.getElementsByClassName('layer-resizers'); + const layerOverlays = viewport.getElementsByClassName('layer-overlays'); + const transform = viewport.getAttribute('transform'); + const translate = viewport.getAttribute('translate'); + if (layerResizers[0]) { + layerResizers[0].parentNode.removeChild(layerResizers[0]); + } + if (layerOverlays[0]) { + layerOverlays[0].parentNode.removeChild(layerOverlays[0]); + } + // remove canvas scrolling and scaling before serializeToString of SVG + if (transform) { + viewport.removeAttribute('transform'); + } + if (translate) { + viewport.removeAttribute('translate'); + } + const svg = new XMLSerializer().serializeToString(outerSVGElement); + // re-add canvas scrolling and scaling + if (transform) { + viewport.setAttribute('transform', transform); + } + if (translate) { + viewport.setAttribute('translate', translate); + } + return svg; + } + getWidth() { + return this.width; + } + getHeight() { + return this.height; + } + static #_ = this.ɵfac = function PngService_Factory(t) { + return new (t || PngService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ + token: PngService, + factory: PngService.ɵfac, + providedIn: 'root' + }); + } + return PngService; +})(); + +/***/ }), + +/***/ 29298: +/*!***********************************************!*\ + !*** ./src/app/Service/Export/svg.service.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ SvgService: () => (/* binding */ SvgService) +/* harmony export */ }); +/* harmony import */ var src_app_Service_Export_exportUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Service/Export/exportUtil */ 17782); +/* harmony import */ var _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Domain/Export/exportConstants */ 27901); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Modeler/modeler.service */ 74676); + + + + +let SvgService = /*#__PURE__*/(() => { + class SvgService { + constructor(modelerService) { + this.modelerService = modelerService; + this.cacheData = ''; + } + createSVGData(title, description, dst, withTitle, useWhiteBackground) { + this.cacheData = this.modelerService.getEncoded(); + let domainStorySvg = structuredClone(this.cacheData); + let viewBoxIndex = domainStorySvg.indexOf('width="'); + let { + width, + height, + viewBox + } = this.viewBoxCoordinates(domainStorySvg); + // The value of the viewBox attribute is a list of four numbers separated by whitespace + // and/or a comma: min-x, min-y, width, and height. min-x and min-y represent the smallest + // X and Y coordinates that the viewBox may have (the origin coordinates of the viewBox) + // and the width and height specify the viewBox size. The resulting viewBox is a + // rectangle in user space mapped to the bounds of the viewport of an SVG element. + // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox + let min_x; + let viewBoxWidth; + let min_y; + let viewBoxHeight; + const splitViewBox = viewBox.split(/\s/); + min_x = +splitViewBox[0]; + min_y = +splitViewBox[1]; + viewBoxWidth = +splitViewBox[2]; + viewBoxHeight = +splitViewBox[3]; + // Set minimum width to ensure title and description are displayed reasonably + if (viewBoxWidth < 300) { + viewBoxWidth += 300; + width += 300; + } + const { + insertText, + dynamicHeightOffset + } = (0,src_app_Service_Export_exportUtil__WEBPACK_IMPORTED_MODULE_0__.createTitleAndDescriptionSVGElement)(0, title, description, min_x, min_y, width); + const bounds = this.createBounds(width, height, min_x, min_y, viewBoxWidth, viewBoxHeight, withTitle, dynamicHeightOffset); + const dataStart = domainStorySvg.substring(0, viewBoxIndex); + viewBoxIndex = domainStorySvg.indexOf('" version'); + const dataEnd = domainStorySvg.substring(viewBoxIndex); + dataEnd.substring(viewBoxIndex); + domainStorySvg = dataStart + bounds + dataEnd; + const insertIndex = this.findIndexToInsertData(domainStorySvg); + if (withTitle) { + domainStorySvg = domainStorySvg.slice(0, insertIndex) + insertText + domainStorySvg.slice(insertIndex); + } + if (useWhiteBackground) { + const svgIndex = domainStorySvg.indexOf('width="'); + const backgroundColorWhite = 'style="background-color:white" '; + domainStorySvg = domainStorySvg.slice(0, svgIndex) + backgroundColorWhite + domainStorySvg.slice(svgIndex); + } + return this.appendDST(domainStorySvg, dst); + } + findIndexToInsertData(data) { + let insertIndex = data.indexOf(''); + if (insertIndex < 0) { + insertIndex = data.indexOf('version="1.2">') + 14; + } else { + insertIndex += 7; + } + return insertIndex; + } + createBounds(width, height, min_x, min_y, viewBoxWidth, viewBoxHeight, withTitle, dynamicHeightOffset) { + height = withTitle ? height + dynamicHeightOffset + _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_1__.TEXTSPAN_TITLE_HEIGHT : height; + min_x = min_x - _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_PADDING; + min_y = withTitle ? min_y - dynamicHeightOffset - _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_1__.TEXTSPAN_TITLE_HEIGHT : min_y; + viewBoxHeight = withTitle ? viewBoxHeight + dynamicHeightOffset + _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_1__.TEXTSPAN_TITLE_HEIGHT + _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_PADDING : viewBoxHeight; + viewBoxWidth = viewBoxWidth + _Domain_Export_exportConstants__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_PADDING; + return `width="${width}" height="${height}" viewBox="${min_x} ${min_y} ${viewBoxWidth} ${viewBoxHeight}`; + } + viewBoxCoordinates(svg) { + const ViewBoxCoordinate = /width="([^"]+)"\s+height="([^"]+)"\s+viewBox="([^"]+)"/; + const match = svg.match(ViewBoxCoordinate); + if (match) { + return { + width: +match[1], + height: +match[2], + viewBox: match[3] + }; + } + return { + width: 0, + height: 0, + viewBox: '' + }; + } + appendDST(data, dst) { + data += '\n'; + return data; + } + static #_ = this.ɵfac = function SvgService_Factory(t) { + return new (t || SvgService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_2__.ModelerService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ + token: SvgService, + factory: SvgService.ɵfac, + providedIn: 'root' + }); + } + return SvgService; +})(); + +/***/ }), + +/***/ 93689: +/*!*************************************************************************!*\ + !*** ./src/app/Service/IconSetConfiguration/icon-dictionary.service.ts ***! + \*************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ICON_PREFIX: () => (/* binding */ ICON_PREFIX), +/* harmony export */ IconDictionaryService: () => (/* binding */ IconDictionaryService) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/dictionary/dictionary */ 54972); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var src_app_Domain_Icon_Set_Configuration_iconConfiguration__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Domain/Icon-Set-Configuration/iconConfiguration */ 69186); +/* harmony import */ var src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/Domain/Icon-Set-Configuration/allIcons */ 57488); +/* harmony import */ var _Utils_sanitizer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Utils/sanitizer */ 66107); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2978); + + + + + +var getIconId = src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.getIconId; + +const ICON_PREFIX = 'icon-domain-story-'; +let IconDictionaryService = /*#__PURE__*/(() => { + class IconDictionaryService { + constructor() { + this.actorIconDictionary = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + this.workObjectDictionary = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + this.allIconDictionary = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + this.iconDictionaryForBPMN = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + this.allIconDictionary.addEach(src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.allIcons); + this.iconConfig = new src_app_Domain_Icon_Set_Configuration_iconConfiguration__WEBPACK_IMPORTED_MODULE_2__.IconConfiguration(this.allIconDictionary); + } + initTypeDictionaries(actors, workObjects) { + if (!actors || actors.length == 0) { + actors = src_app_Domain_Icon_Set_Configuration_iconConfiguration__WEBPACK_IMPORTED_MODULE_2__.defaultConf.actors; + } + if (!workObjects || workObjects.length == 0) { + workObjects = src_app_Domain_Icon_Set_Configuration_iconConfiguration__WEBPACK_IMPORTED_MODULE_2__.defaultConf.workObjects; + } + const allTypes = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + allTypes.addEach(src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.allIcons); + allTypes.appendDict(this.getAppendedIconDictionary()); + this.initDictionary(actors, allTypes, this.actorIconDictionary, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR); + this.initDictionary(workObjects, allTypes, this.workObjectDictionary, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT); + } + initDictionary(keys, allTypes, dictionary, elementType) { + dictionary.clear(); + for (const key of keys) { + dictionary.add(allTypes.get(key), key); + } + dictionary.keysArray().forEach(name => { + this.registerIconForBPMN(name, ICON_PREFIX + (0,_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_4__.sanitizeIconName)(name.toLowerCase()), elementType); + }); + } + getCurrentIconConfigurationForBPMN() { + if (this.customConfiguration) { + return this.iconConfig.createCustomConf(this.customConfiguration); + } + return this.iconConfig.getDefaultConf(); + } + allInTypeDictionary(type, elements) { + let collection; + if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR) { + collection = this.actorIconDictionary; + } else if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT) { + collection = this.workObjectDictionary; + } + let allIn = true; + if (elements) { + elements.forEach(element => { + if (!collection.has(getIconId(element.type))) { + allIn = false; + } + }); + } else { + return false; + } + return allIn; + } + /** Load Icons from Configuration **/ + addIconsFromIconSetConfiguration(dictionaryType, iconTypes) { + let collection; + if (dictionaryType === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR) { + collection = this.actorIconDictionary; + } else if (dictionaryType === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT) { + collection = this.workObjectDictionary; + } + const allTypes = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + allTypes.addEach(src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.allIcons); + allTypes.appendDict(src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.appendedIcons); + iconTypes.forEach(name => { + if (!collection.has(name)) { + const src = allTypes.get(name); + if (src) { + this.registerIconForType(dictionaryType, name, src); + this.registerIconForBPMN(name, (0,_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_4__.sanitizeIconName)(ICON_PREFIX + name.toLowerCase()), dictionaryType); + } + } + }); + } + /** Add Icon(s) to Dictionary **/ + registerIconForBPMN(name, src, elementType) { + if (name.includes(elementType)) { + throw new Error('Should not include elementType'); + } + this.iconDictionaryForBPMN.set(`${elementType}${name}`, src); + } + addIconsToTypeDictionary(actorIcons, workObjectIcons) { + if (!this.allInTypeDictionary(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR, actorIcons)) { + this.addIconsFromIconSetConfiguration(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR, actorIcons.map(element => getIconId(element.type))); + } + if (!this.allInTypeDictionary(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT, workObjectIcons)) { + this.addIconsFromIconSetConfiguration(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT, workObjectIcons.map(element => getIconId(element.type))); + } + } + registerIconForType(type, name, src) { + if (name.includes(type)) { + throw new Error('Name should not include type!'); + } + let collection = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR) { + collection = this.actorIconDictionary; + } else if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT) { + collection = this.workObjectDictionary; + } + collection.add(src, name); + } + unregisterIconForType(type, name) { + if (name.includes(type)) { + throw new Error('Name should not include type!'); + } + let collection = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR) { + collection = this.actorIconDictionary; + } else if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT) { + collection = this.workObjectDictionary; + } + collection.delete(name); + } + updateIconRegistries(actors, workObjects, config) { + const elements = []; + actors.forEach(a => elements.push(a)); + workObjects.forEach(w => elements.push(w)); + const customIcons = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + const actorsDict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + const workObjectsDict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + config.actors.keysArray().forEach(key => { + actorsDict.set(key, config.actors.get(key)); + }); + config.workObjects.keysArray().forEach(key => { + workObjectsDict.set(key, config.workObjects.get(key)); + }); + this.extractCustomIconsFromDictionary(actorsDict, customIcons); + this.extractCustomIconsFromDictionary(workObjectsDict, customIcons); + elements.forEach(element => { + const name = (0,_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_4__.sanitizeIconName)(element.type.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR, '').replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT, '')); + if ((element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR) || element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT)) && !this.getFullDictionary().has(name)) { + let elementType; + if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR)) { + elementType = src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR; + } else { + elementType = src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT; + } + this.registerIconForBPMN(ICON_PREFIX + name.toLowerCase(), getIconId(element.type), elementType); + } + }); + this.addNewIconsToDictionary(customIcons); + this.addIconsToTypeDictionary(actors, workObjects); + } + extractCustomIconsFromDictionary(elementDictionary, customIcons) { + elementDictionary.keysArray().forEach(name => { + const sanitizedName = (0,_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_4__.sanitizeIconName)(name); + if (!this.getFullDictionary().has(sanitizedName)) { + customIcons.add(elementDictionary.get(name), sanitizedName); + } + }); + } + /** Add new Icon(s) **/ + addNewIconsToDictionary(customIcons) { + customIcons.keysArray().forEach(key => { + const custom = customIcons.get(key); + this.addIMGToIconDictionary(custom.src, key); + }); + this.addIconsToCss(customIcons); + } + addIMGToIconDictionary(input, name) { + src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.appendedIcons.set(name, input); + } + addIconsToCss(customIcons) { + const sheetEl = document.getElementById('iconsCss'); + customIcons.keysArray().forEach(key => { + const src = customIcons.get(key); + const iconStyle = '.' + ICON_PREFIX + (0,_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_4__.sanitizeIconName)(key.toLowerCase()) + '::before{ content: url("data:image/svg+xml;utf8,' + this.wrapSRCInSVG(src) + '"); margin: 3px;}'; + // @ts-ignore + sheetEl?.sheet?.insertRule(iconStyle, sheetEl.sheet.cssRules.length); + }); + } + wrapSRCInSVG(src) { + return ""; + } + /** Getter & Setter **/ + getFullDictionary() { + const fullDictionary = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + fullDictionary.appendDict(this.allIconDictionary); + fullDictionary.appendDict(this.getAppendedIconDictionary()); + return fullDictionary; + } + getAppendedIconDictionary() { + const appendedDict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.appendedIcons.keysArray().forEach(key => { + if (!this.allIconDictionary.has(key)) { + appendedDict.set(key, src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.appendedIcons.get(key)); + } + }); + return appendedDict; + } + getTypeDictionary(type) { + if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR) { + return this.actorIconDictionary; + } else if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT) { + return this.workObjectDictionary; + } + return new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + } + getTypeDictionaryKeys(type) { + return this.getTypeDictionary(type).keysArray(); + } + getTypeIconSRC(type, name) { + if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR) { + return this.actorIconDictionary.get(name); + } else if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT) { + return this.workObjectDictionary.get(name); + } + return null; + } + getIconForBPMN(elementType, name) { + return this.iconDictionaryForBPMN.get(`${elementType}${name}`); + } + getIconSource(name) { + if (this.allIconDictionary.has(name)) { + return this.allIconDictionary.get(name); + } else if (src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.appendedIcons.has(name)) { + return src_app_Domain_Icon_Set_Configuration_allIcons__WEBPACK_IMPORTED_MODULE_3__.appendedIcons.get(name); + } + return null; + } + getElementsOfType(elements, type) { + const elementOfType = []; + elements.forEach(element => { + if (element.type.includes(type)) { + elementOfType.push(element); + } + }); + return elementOfType; + } + getAllIconDictionary() { + return this.allIconDictionary; + } + getActorsDictionary() { + return this.actorIconDictionary; + } + getWorkObjectsDictionary() { + return this.workObjectDictionary; + } + getIconConfiguration() { + return this.iconConfig; + } + setCustomConfiguration(customConfiguration) { + this.customConfiguration = customConfiguration; + } + static #_ = this.ɵfac = function IconDictionaryService_Factory(t) { + return new (t || IconDictionaryService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ + token: IconDictionaryService, + factory: IconDictionaryService.ɵfac, + providedIn: 'root' + }); + } + return IconDictionaryService; +})(); + +/***/ }), + +/***/ 10200: +/*!********************************************************************************!*\ + !*** ./src/app/Service/IconSetConfiguration/icon-set-configuration.service.ts ***! + \********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ IconSetConfigurationService: () => (/* binding */ IconSetConfigurationService) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/dictionary/dictionary */ 54972); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _Domain_Icon_Set_Configuration_iconConfiguration__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Domain/Icon-Set-Configuration/iconConfiguration */ 69186); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Domain/Common/constants */ 90816); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/Service/IconSetConfiguration/icon-dictionary.service */ 93689); +/* harmony import */ var src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/Service/ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var _Title_title_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Title/title.service */ 69672); + + + + + + + + +let IconSetConfigurationService = /*#__PURE__*/(() => { + class IconSetConfigurationService { + constructor(iconDictionaryService, elementRegistryService, titleService) { + this.iconDictionaryService = iconDictionaryService; + this.elementRegistryService = elementRegistryService; + this.titleService = titleService; + } + setIconSetName(iconSetName) { + this.titleService.setIconSetName(iconSetName ? iconSetName : _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_3__.INITIAL_ICON_SET_NAME); + } + exportConfiguration() { + const iconSetConfiguration = this.getCurrentConfigurationForExport(); + if (!iconSetConfiguration) { + return; + } + const configJSONString = JSON.stringify(iconSetConfiguration, null, 2); + const filename = this.titleService.getIconSetName(); + const element = document.createElement('a'); + element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(configJSONString)); + element.setAttribute('download', filename + '.iconset'); + element.style.display = 'none'; + document.body.appendChild(element); + element.click(); + document.body.removeChild(element); + } + loadConfiguration(customConfig, updateIconSetName = true) { + let actorDict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + let workObjectDict = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + if (customConfig.actors.keysArray()) { + actorDict = customConfig.actors; + workObjectDict = customConfig.workObjects; + } else { + actorDict.addEach(customConfig.actors); + workObjectDict.addEach(customConfig.workObjects); + } + const actorKeys = actorDict.keysArray(); + const workObjectKeys = workObjectDict.keysArray(); + this.iconDictionaryService.updateIconRegistries([], [], customConfig); + this.iconDictionaryService.getIconConfiguration().appendSRCFile(actorKeys, actorDict, workObjectKeys, workObjectDict); + this.iconDictionaryService.addIconsFromIconSetConfiguration(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR, actorKeys.map(a => src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR + a)); + this.iconDictionaryService.addIconsFromIconSetConfiguration(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT, workObjectKeys.map(w => src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT + w)); + if (updateIconSetName) { + const configurationName = customConfig.name; + this.setIconSetName(configurationName); + } + } + getCurrentConfiguration() { + const actors = this.iconDictionaryService.getActorsDictionary(); + const workObjects = this.iconDictionaryService.getWorkObjectsDictionary(); + let iconSetConfiguration; + if (actors.size() > 0 && workObjects.size() > 0) { + iconSetConfiguration = this.createConfigFromDictionaries(actors, workObjects); + } + return iconSetConfiguration; + } + getCurrentConfigurationForExport() { + const currentConfiguration = this.getCurrentConfiguration(); + if (currentConfiguration) { + const actors = {}; + const workObjects = {}; + currentConfiguration.actors.all().forEach(entry => { + actors[entry.key] = entry.value; + }); + currentConfiguration.workObjects.all().forEach(entry => { + workObjects[entry.key] = entry.value; + }); + return { + name: currentConfiguration.name, + actors: actors, + workObjects: workObjects + }; + } + return; + } + getCurrentConfigurationNamesWithoutPrefix() { + return { + name: this.titleService.getIconSetName() || _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_3__.INITIAL_ICON_SET_NAME, + actors: this.iconDictionaryService.getActorsDictionary().keysArray().map(a => a.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR, '')), + workObjects: this.iconDictionaryService.getWorkObjectsDictionary().keysArray().map(w => w.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT, '')) + }; + } + createMinimalConfigurationWithDefaultIcons() { + const minimalConfig = this.createConfigFromCanvas(); + _Domain_Icon_Set_Configuration_iconConfiguration__WEBPACK_IMPORTED_MODULE_2__.defaultConf.actors.forEach(iconName => { + minimalConfig.actors.add(this.iconDictionaryService.getIconSource(iconName), iconName); + }); + _Domain_Icon_Set_Configuration_iconConfiguration__WEBPACK_IMPORTED_MODULE_2__.defaultConf.workObjects.forEach(iconName => { + minimalConfig.workObjects.add(this.iconDictionaryService.getIconSource(iconName), iconName); + }); + return minimalConfig; + } + createConfigFromDictionaries(actorsDict, workObjectsDict) { + const actorNames = actorsDict.keysArray(); + const workobjectNames = workObjectsDict.keysArray(); + const newActors = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + const newWorkobjects = new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + // Fill Configuration from Canvas-Objects + actorNames.forEach(actor => { + newActors.add(actorsDict.get(actor), actor.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR, '')); + }); + workobjectNames.forEach(workObject => { + newWorkobjects.add(workObjectsDict.get(workObject), workObject.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT, '')); + }); + return { + name: this.titleService.getIconSetName(), + actors: newActors, + workObjects: newWorkobjects + }; + } + createConfigFromCanvas() { + const config = { + name: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_3__.INITIAL_ICON_SET_NAME, + actors: new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(), + workObjects: new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary() + }; + let allCanvasObjects = this.elementRegistryService.getAllCanvasObjects(); + allCanvasObjects.map(e => e.businessObject).forEach(element => { + const type = element.type.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR, '').replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT, ''); + if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR)) { + let src = this.iconDictionaryService.getIconSource(type) || ''; + config.actors.add(src, type); + } else if (element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT)) { + let src = this.iconDictionaryService.getIconSource(type) || ''; + config.workObjects.add(src, type); + } + }); + return config; + } + static #_ = this.ɵfac = function IconSetConfigurationService_Factory(t) { + return new (t || IconSetConfigurationService)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](src_app_Service_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_4__.IconDictionaryService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_5__.ElementRegistryService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_Title_title_service__WEBPACK_IMPORTED_MODULE_6__.TitleService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjectable"]({ + token: IconSetConfigurationService, + factory: IconSetConfigurationService.ɵfac, + providedIn: 'root' + }); + } + return IconSetConfigurationService; +})(); + +/***/ }), + +/***/ 87007: +/*!********************************************************************************!*\ + !*** ./src/app/Service/IconSetConfiguration/icon-set-customization.service.ts ***! + \********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ IconSetCustomizationService: () => (/* binding */ IconSetCustomizationService) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Domain/Common/constants */ 90816); +/* harmony import */ var _Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Domain/Common/dictionary/dictionary */ 54972); +/* harmony import */ var _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Domain/Common/elementTypes */ 30236); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./icon-set-configuration.service */ 10200); +/* harmony import */ var _icon_dictionary_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./icon-dictionary.service */ 93689); +/* harmony import */ var _Import_import_domain_story_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Import/import-domain-story.service */ 23779); +/* harmony import */ var _Title_title_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Title/title.service */ 69672); +/* harmony import */ var _BrowserStorage_storage_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../BrowserStorage/storage.service */ 59298); +/* harmony import */ var src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/Service/ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/snack-bar */ 93289); + + + + +var getIconId = _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.getIconId; + + + + + + + + +let IconSetCustomizationService = /*#__PURE__*/(() => { + class IconSetCustomizationService { + constructor(configurationService, iconDictionaryService, importService, titleService, storageService, elementRegistryService, snackbar) { + this.configurationService = configurationService; + this.iconDictionaryService = iconDictionaryService; + this.importService = importService; + this.titleService = titleService; + this.storageService = storageService; + this.elementRegistryService = elementRegistryService; + this.snackbar = snackbar; + this.allIconListItems = new _Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__.Dictionary(); + this.configurationHasChanged = false; + this.selectedActors$ = new rxjs__WEBPACK_IMPORTED_MODULE_9__.BehaviorSubject([]); + this.selectedWorkobjects$ = new rxjs__WEBPACK_IMPORTED_MODULE_9__.BehaviorSubject([]); + this.iconSetConfigurationTypes = new rxjs__WEBPACK_IMPORTED_MODULE_9__.BehaviorSubject(this.configurationService.getCurrentConfigurationNamesWithoutPrefix()); + this.selectedWorkobjects$.next(this.iconSetConfigurationTypes.value.workObjects); + this.selectedActors$.next(this.iconSetConfigurationTypes.value.actors); + iconDictionaryService.getAllIconDictionary().keysArray().forEach(iconName => { + this.addIconToAllIconList(iconName); + }); + importService.importedConfigurationEvent.subscribe(config => { + this.importConfiguration(config); + }); + const storedIconSetConfiguration = this.storageService.getStoredIconSetConfiguration(); + if (storedIconSetConfiguration) { + this.importConfiguration(storedIconSetConfiguration, false); + } + const importedConfiguration = this.importService.getImportedConfiguration(); + if (importedConfiguration) { + this.importConfiguration(importedConfiguration, false); + } + } + importConfiguration(customConfig, saveIconSet = true) { + const actorKeys = customConfig.actors.keysArray(); + const workObjectKeys = customConfig.workObjects.keysArray(); + this.changeName(customConfig.name); + actorKeys.forEach(iconName => { + if (!this.allIconListItems.has(iconName)) { + this.addIconToAllIconList(iconName); + } + const selectedActorNames = this.selectedActors$.value; + if (!selectedActorNames.includes(iconName)) { + this.selectActor(iconName); + } + }); + workObjectKeys.forEach(iconName => { + if (!this.allIconListItems.has(iconName)) { + this.addIconToAllIconList(iconName); + } + const selectedWorkobjectNames = this.selectedWorkobjects$.value; + if (!selectedWorkobjectNames.includes(iconName)) { + this.selectWorkObject(iconName); + } + }); + if (saveIconSet) { + this.saveIconSet(this.elementRegistryService.getUsedIcons(), true); + } + } + /** Getter & Setter **/ + getIconSetConfiguration() { + return this.iconSetConfigurationTypes; + } + getIconForName(iconName) { + return this.allIconListItems.get(iconName); + } + isIconActor(iconName) { + return this.iconSetConfigurationTypes.value.actors.filter(actor => actor === iconName).length > 0; + } + isIconWorkObject(iconName) { + return this.iconSetConfigurationTypes.value.workObjects.filter(workObject => workObject === iconName).length > 0; + } + changeName(iconSetName) { + this.titleService.setIconSetName(iconSetName); + const changedIconSet = this.iconSetConfigurationTypes.value; + changedIconSet.name = iconSetName; + this.iconSetConfigurationTypes.next(changedIconSet); + } + /** Selected Icons **/ + setAsUnassigned(iconName, isActor) { + if (isActor) { + this.deselectActor(iconName); + } else { + this.deselectWorkobject(iconName); + } + this.updateIcon(false, false, iconName); + } + setAsActor(isActor, actor) { + if (isActor) { + this.updateIcon(true, false, actor); + this.selectActor(actor); + this.deselectWorkobject(actor); + } else { + this.deselectActor(actor); + this.updateIcon(false, false, actor); + } + } + setAsWorkobject(isWorkobject, workobject) { + if (isWorkobject) { + this.updateIcon(false, true, workobject); + this.selectWorkObject(workobject); + this.deselectActor(workobject); + } else { + this.deselectWorkobject(workobject); + this.updateIcon(false, false, workobject); + } + } + selectActor(actor) { + const value = this.iconSetConfigurationTypes.value; + if (!value.actors.includes(actor)) { + value.actors.push(actor); + this.iconSetConfigurationTypes.next(value); + this.updateActorSubject(); + } + } + selectWorkObject(workObject) { + const value = this.iconSetConfigurationTypes.value; + if (!value.workObjects.includes(workObject)) { + value.workObjects.push(workObject); + this.iconSetConfigurationTypes.next(value); + this.updateWorkObjectSubject(); + } + } + deselectActor(actor) { + if (this.iconSetConfigurationTypes) { + this.iconSetConfigurationTypes.next({ + name: this.iconSetConfigurationTypes.value.name, + actors: this.iconSetConfigurationTypes.value.actors.filter(a => !a.includes(actor)), + workObjects: this.iconSetConfigurationTypes.value.workObjects + }); + } + this.updateActorSubject(); + } + deselectWorkobject(workobject) { + if (this.iconSetConfigurationTypes) { + this.iconSetConfigurationTypes.next({ + name: this.iconSetConfigurationTypes.value.name, + actors: this.iconSetConfigurationTypes.value.actors, + workObjects: this.iconSetConfigurationTypes.value.workObjects.filter(w => !w.includes(workobject)) + }); + } + this.updateWorkObjectSubject(); + } + setSelectedWorkObject(sortedList) { + const value = this.iconSetConfigurationTypes.value; + value.workObjects = sortedList; + this.iconSetConfigurationTypes.next(value); + this.updateWorkObjectSubject(); + } + setSelectedActors(sortedList) { + const value = this.iconSetConfigurationTypes.value; + value.actors = sortedList; + this.iconSetConfigurationTypes.next(value); + this.updateActorSubject(); + } + updateActorSubject() { + this.selectedActors$.next(this.iconSetConfigurationTypes.value.actors); + this.configurationHasChanged = true; + } + updateWorkObjectSubject() { + this.selectedWorkobjects$.next(this.iconSetConfigurationTypes.value.workObjects); + this.configurationHasChanged = true; + } + /** Revert Icon Set **/ + resetIconSet() { + const defaultConfig = this.configurationService.createMinimalConfigurationWithDefaultIcons(); + this.selectedWorkobjects$.value.forEach(workObjectName => { + if (!defaultConfig.workObjects.has(workObjectName)) { + this.deselectWorkobject(workObjectName); + } + }); + this.selectedActors$.value.forEach(actorName => { + if (!defaultConfig.actors.has(actorName)) { + this.deselectActor(actorName); + } + }); + this.iconSetConfigurationTypes.next({ + name: defaultConfig.name, + actors: defaultConfig.actors.keysArray(), + workObjects: defaultConfig.workObjects.keysArray() + }); + this.updateAllIconBehaviourSubjects(); + } + cancel() { + this.iconSetConfigurationTypes.next(this.configurationService.getCurrentConfigurationNamesWithoutPrefix()); + this.updateAllIconBehaviourSubjects(); + this.resetToInitialConfiguration(); + } + resetToInitialConfiguration() { + this.updateActorSubject(); + this.updateWorkObjectSubject(); + } + /** Persist Icon Set **/ + saveIconSet(usedIcons, imported = false) { + const changedActors = []; + const changedWorkobjects = []; + if (this.configurationHasChanged) { + const changedIconSet = this.createIconSetConfiguration(); + const configurationActors = changedIconSet.actors.keysArray(); + usedIcons?.actors.forEach(actor => { + if (!configurationActors?.includes(actor) && !changedActors.includes(actor)) { + changedActors.push(actor); + } + }); + const configurationWorkobjects = changedIconSet.workObjects.keysArray(); + usedIcons?.workobjects.forEach(workobject => { + if (!configurationWorkobjects?.includes(workobject) && !changedWorkobjects.includes(workobject)) { + changedWorkobjects.push(workobject); + } + }); + if (!changedActors.length && !changedWorkobjects.length) { + this.changedIconSetConfiguration = changedIconSet; + this.updateIcons(changedIconSet); + this.storageService.setStoredIconSetConfiguration(this.changedIconSetConfiguration); + this.snackbar.open(imported ? 'Configuration imported successfully' : 'Configuration saved successfully', undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_SUCCESS + }); + } + } else { + this.snackbar.open(imported ? 'No configuration to be imported' : 'No configuration to be saved', undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_INFO + }); + } + if (changedActors.length || changedWorkobjects.length) { + if (changedActors.length) { + const actors = changedActors.join(', '); + this.snackbar.open(`The following icons are already in use as actors and cannot be changed: ${actors}`, undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION * 3, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_INFO + }); + } + if (changedWorkobjects.length) { + const workobjects = changedWorkobjects.join(', '); + this.snackbar.open(`The following icons are already in use as workobjects and cannot be changed: ${workobjects}`, undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION * 3, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_INFO + }); + } + } + } + exportIconSet() { + this.configurationService.exportConfiguration(); + } + getAndClearSavedConfiguration() { + const temp = this.changedIconSetConfiguration; + this.changedIconSetConfiguration = undefined; + return temp; + } + createIconSetConfiguration() { + const actors = new _Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__.Dictionary(); + const workObjects = new _Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__.Dictionary(); + this.iconSetConfigurationTypes.value.actors.forEach(name => { + actors.add(this.iconDictionaryService.getIconSource(name), name); + }); + this.iconSetConfigurationTypes.value.workObjects.forEach(name => { + workObjects.add(this.iconDictionaryService.getIconSource(name), name); + }); + return { + name: this.iconSetConfigurationTypes.value.name || '', + actors, + workObjects + }; + } + /** Update Icons **/ + addNewIcon(iconName) { + const iconDict = new _Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_1__.Dictionary(); + iconDict.add(this.getSrcForIcon(iconName), iconName); + this.iconDictionaryService.addIconsToCss(iconDict); + this.addIconToAllIconList(iconName); + } + addIconToAllIconList(iconName) { + this.allIconListItems.add(new rxjs__WEBPACK_IMPORTED_MODULE_9__.BehaviorSubject({ + name: iconName, + svg: this.getSrcForIcon(iconName), + isActor: this.isIconActor(iconName), + isWorkObject: this.isIconWorkObject(iconName) + }), iconName); + } + updateIcon(isActor, isWorkobject, iconName) { + const iconBehaviourSubject = this.getIconForName(iconName); + const icon = iconBehaviourSubject.value; + icon.isActor = isActor; + icon.isWorkObject = isWorkobject; + iconBehaviourSubject.next(icon); + } + updateAllIconBehaviourSubjects() { + const customIconSetConfiguration = this.iconSetConfigurationTypes.value; + this.allIconListItems.keysArray().forEach(iconName => { + if (customIconSetConfiguration.actors.includes(iconName)) { + this.updateIcon(true, false, iconName); + } else if (customIconSetConfiguration.workObjects.includes(iconName)) { + this.updateIcon(false, true, iconName); + } else { + this.updateIcon(false, false, iconName); + } + }); + } + getSrcForIcon(name) { + let iconName; + if (name.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.DOMAINSTORY)) { + // TODO: td: This returns empty every time! + iconName = getIconId(name); + } else { + iconName = name; + } + const rawSrc = this.iconDictionaryService.getIconSource(iconName); + if (!rawSrc) { + return ''; + } + if (rawSrc.startsWith('data')) { + return rawSrc; + } else { + return 'data:image/svg+xml,' + rawSrc; + } + } + updateIcons(changedIconSet) { + this.allIconListItems.keysArray().forEach(item => this.setAsUnassigned(item, this.isIconActor(item))); + changedIconSet.actors.keysArray().forEach(actor => { + this.iconDictionaryService.registerIconForType(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR, actor, this.iconDictionaryService.getFullDictionary().get(actor)); + this.iconDictionaryService.unregisterIconForType(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.WORKOBJECT, actor); + this.setAsActor(true, actor); + }); + changedIconSet.workObjects.keysArray().forEach(workObject => { + this.iconDictionaryService.registerIconForType(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.WORKOBJECT, workObject, this.iconDictionaryService.getFullDictionary().get(workObject)); + this.iconDictionaryService.unregisterIconForType(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_2__.ElementTypes.ACTOR, workObject); + this.setAsWorkobject(true, workObject); + }); + } + static #_ = this.ɵfac = function IconSetCustomizationService_Factory(t) { + return new (t || IconSetCustomizationService)(_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_3__.IconSetConfigurationService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_4__.IconDictionaryService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_Import_import_domain_story_service__WEBPACK_IMPORTED_MODULE_5__.ImportDomainStoryService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_Title_title_service__WEBPACK_IMPORTED_MODULE_6__.TitleService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_BrowserStorage_storage_service__WEBPACK_IMPORTED_MODULE_7__.StorageService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_8__.ElementRegistryService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__.MatSnackBar)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdefineInjectable"]({ + token: IconSetCustomizationService, + factory: IconSetCustomizationService.ɵfac, + providedIn: 'root' + }); + } + return IconSetCustomizationService; +})(); + +/***/ }), + +/***/ 23779: +/*!***************************************************************!*\ + !*** ./src/app/Service/Import/import-domain-story.service.ts ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ImportDomainStoryService: () => (/* binding */ ImportDomainStoryService) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/dictionary/dictionary */ 54972); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var src_app_Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Domain/Icon-Set-Configuration/iconSetConfiguration */ 77044); +/* harmony import */ var _Presentation_Dialog_info_dialog_info_dialog_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Presentation/Dialog/info-dialog/info-dialog.component */ 16266); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _Domain_Dialog_infoDialogData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Domain/Dialog/infoDialogData */ 45574); +/* harmony import */ var _Utils_sanitizer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Utils/sanitizer */ 66107); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../Domain/Common/constants */ 90816); +/* harmony import */ var src_app_Service_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/Service/IconSetConfiguration/icon-dictionary.service */ 93689); +/* harmony import */ var src_app_Service_Import_import_repair_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/Service/Import/import-repair.service */ 75158); +/* harmony import */ var src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/Service/Title/title.service */ 69672); +/* harmony import */ var src_app_Service_Renderer_renderer_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/Service/Renderer/renderer.service */ 94896); +/* harmony import */ var _Dialog_dialog_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../Dialog/dialog.service */ 4730); +/* harmony import */ var _IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../IconSetConfiguration/icon-set-configuration.service */ 10200); +/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/snack-bar */ 93289); + + + + + + + + + + + + + + + + + +let ImportDomainStoryService = /*#__PURE__*/(() => { + class ImportDomainStoryService { + constructor(iconDictionaryService, importRepairService, titleService, rendererService, dialogService, iconSetConfigurationService, snackbar) { + this.iconDictionaryService = iconDictionaryService; + this.importRepairService = importRepairService; + this.titleService = titleService; + this.rendererService = rendererService; + this.dialogService = dialogService; + this.iconSetConfigurationService = iconSetConfigurationService; + this.snackbar = snackbar; + this.title = _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_6__.INITIAL_TITLE; + this.description = _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_6__.INITIAL_DESCRIPTION; + this.importedConfiguration = null; + this.importedConfigurationEmitter = new _angular_core__WEBPACK_IMPORTED_MODULE_13__.EventEmitter(); + this.titleSubscription = this.titleService.title$.subscribe(title => { + this.title = title; + }); + this.descriptionSubscription = this.titleService.description$.subscribe(description => { + this.description = description; + }); + } + ngOnDestroy() { + this.titleSubscription.unsubscribe(); + this.descriptionSubscription.unsubscribe(); + } + get importedConfigurationEvent() { + return this.importedConfigurationEmitter.asObservable(); + } + getImportedConfiguration() { + const config = { + name: this.importedConfiguration?.name || '', + actors: this.importedConfiguration?.actors || new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(), + workObjects: this.importedConfiguration?.workObjects || new src_app_Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary() + }; + this.importedConfiguration = null; + return config; + } + importDST(input, filename, isSVG) { + const fileReader = new FileReader(); + const titleText = (0,_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_5__.restoreTitleFromFileName)(filename, isSVG); + // no need to put this on the commandStack + this.titleService.updateTitleAndDescription(titleText, null, false); + fileReader.onloadend = e => { + if (e && e.target) { + this.fileReaderFunction(e.target.result, isSVG, false); + } + }; + fileReader.readAsText(input); + } + importEGN(input, filename, isSVG) { + const fileReader = new FileReader(); + const titleText = (0,_Utils_sanitizer__WEBPACK_IMPORTED_MODULE_5__.restoreTitleFromFileName)(filename, isSVG); + // no need to put this on the commandStack + this.titleService.updateTitleAndDescription(titleText, null, false); + fileReader.onloadend = e => { + if (e && e.target) { + this.fileReaderFunction(e.target.result, isSVG, true); + } + }; + fileReader.readAsText(input); + } + fileReaderFunction(text, isSVG, isEGN) { + let dstText; + if (typeof text === 'string') { + if (isSVG) { + dstText = this.removeXMLComments(text); + } else { + dstText = text; + } + let elements; + let config; + let configFromFile; + let dstAndConfig = this.extractDstAndConfig(dstText, isSVG); + if (dstAndConfig == null) { + return; + } + // current implementation + if (dstAndConfig.domain) { + configFromFile = isEGN ? dstAndConfig.domain : JSON.parse(dstAndConfig.domain); + config = (0,src_app_Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_2__.fromConfigurationFromFile)(configFromFile); + elements = isEGN ? dstAndConfig.dst : JSON.parse(dstAndConfig.dst); + } else { + // legacy implementation + if (dstAndConfig.config) { + configFromFile = JSON.parse(dstAndConfig.config); + config = (0,src_app_Domain_Icon_Set_Configuration_iconSetConfiguration__WEBPACK_IMPORTED_MODULE_2__.fromConfigurationFromFile)(configFromFile); + elements = JSON.parse(dstAndConfig.dst); + } else { + // implementation prior to configuration + elements = JSON.parse(dstText); + config = this.iconSetConfigurationService.createMinimalConfigurationWithDefaultIcons(); + } + } + const configChanged = this.checkConfigForChanges(config); + let lastElement = elements[elements.length - 1]; + if (!lastElement.id) { + lastElement = elements.pop(); + let importVersionNumber = lastElement; + // if the last element has the importedVersionNumber has the tag version, + // then there exists another meta tag 'info' for the description + if (importVersionNumber.version) { + lastElement = elements.pop(); + } + if (importVersionNumber.version) { + importVersionNumber = importVersionNumber.version; + } else { + importVersionNumber = '?'; + this.snackbar.open(`The version number is unreadable.`, undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_6__.SNACKBAR_DURATION, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_6__.SNACKBAR_ERROR + }); + } + elements = this.handleVersionNumber(importVersionNumber, elements); + } + if (!this.importRepairService.checkForUnreferencedElementsInActivitiesAndRepair(elements)) { + this.showBrokenImportDialog(isSVG ? 'SVG' : 'DST'); + } + this.titleService.updateTitleAndDescription(this.title, lastElement.info, false); + this.importRepairService.adjustPositions(elements); + this.updateIconRegistries(elements, config); + this.rendererService.importStory(elements, configChanged, config); + } + } + handleVersionNumber(importVersionNumber, elements) { + const versionPrefix = +importVersionNumber.substring(0, importVersionNumber.lastIndexOf('.')); + if (versionPrefix <= 0.5) { + elements = this.importRepairService.updateCustomElementsPreviousV050(elements); + this.showPreviousV050Dialog(versionPrefix); + } + return elements; + } + extractDstAndConfig(dstText, isSVG) { + let dstAndConfig = null; + try { + dstAndConfig = JSON.parse(dstText); + } catch (e) { + this.showBrokenImportDialog(isSVG ? 'SVG' : 'DST'); + } + return dstAndConfig; + } + removeXMLComments(xmlText) { + xmlText = xmlText.substring(xmlText.indexOf('')); + while (xmlText.includes('')) { + xmlText = xmlText.replace('', ''); + } + xmlText = xmlText.replace('', ''); + xmlText = xmlText.replace('', ''); + return xmlText; + } + checkConfigForChanges(iconSetConfiguration) { + const newActorKeys = iconSetConfiguration.actors.keysArray(); + const newWorkObjectKeys = iconSetConfiguration.workObjects.keysArray(); + const currentActorKeys = this.iconDictionaryService.getTypeDictionaryKeys(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR); + const currentWorkobjectKeys = this.iconDictionaryService.getTypeDictionaryKeys(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT); + let changed = false; + if (newActorKeys.length !== currentActorKeys.length || newWorkObjectKeys.length !== currentWorkobjectKeys.length) { + return true; + } + for (let i = 0; i < newActorKeys.length; i++) { + changed = this.clearName(currentActorKeys[i]) !== this.clearName(newActorKeys[i]); + if (changed) { + i = newActorKeys.length; + } + } + if (changed) { + return changed; + } + for (let i = 0; i < newWorkObjectKeys.length; i++) { + changed = this.clearName(currentWorkobjectKeys[i]) !== this.clearName(newWorkObjectKeys[i]); + if (changed) { + i = newWorkObjectKeys.length; + } + } + return changed; + } + clearName(name) { + return name.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR, '').replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT, ''); + } + updateIconRegistries(elements, config) { + const actorIcons = this.iconDictionaryService.getElementsOfType(elements, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.ACTOR); + const workObjectIcons = this.iconDictionaryService.getElementsOfType(elements, src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_1__.ElementTypes.WORKOBJECT); + this.iconDictionaryService.updateIconRegistries(actorIcons, workObjectIcons, config); + this.setImportedConfigurationAndEmit(config); + } + showPreviousV050Dialog(version) { + const title = 'Compatability-Warning'; + const text = 'The uploaded Domain-Story is from version ' + version + '. There may be problems with the default actors or workobjects contained in the story.'; + const config = new _angular_material_dialog__WEBPACK_IMPORTED_MODULE_14__.MatDialogConfig(); + config.disableClose = false; + config.autoFocus = true; + config.data = new _Domain_Dialog_infoDialogData__WEBPACK_IMPORTED_MODULE_4__.InfoDialogData(title, text, true); + this.dialogService.openDialog(_Presentation_Dialog_info_dialog_info_dialog_component__WEBPACK_IMPORTED_MODULE_3__.InfoDialogComponent, config); + } + setImportedConfigurationAndEmit(config) { + this.importedConfiguration = config; + this.importedConfigurationEmitter.emit(config); + } + showBrokenImportDialog(type) { + const config = new _angular_material_dialog__WEBPACK_IMPORTED_MODULE_14__.MatDialogConfig(); + config.disableClose = false; + config.autoFocus = true; + config.data = new _Domain_Dialog_infoDialogData__WEBPACK_IMPORTED_MODULE_4__.InfoDialogData('Error during import', 'The uploaded ' + type + ' is not complete, there could be elements missing from the canvas.', true, false); + this.dialogService.openDialog(_Presentation_Dialog_info_dialog_info_dialog_component__WEBPACK_IMPORTED_MODULE_3__.InfoDialogComponent, config); + } + static #_ = this.ɵfac = function ImportDomainStoryService_Factory(t) { + return new (t || ImportDomainStoryService)(_angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵinject"](src_app_Service_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_7__.IconDictionaryService), _angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵinject"](src_app_Service_Import_import_repair_service__WEBPACK_IMPORTED_MODULE_8__.ImportRepairService), _angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵinject"](src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_9__.TitleService), _angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵinject"](src_app_Service_Renderer_renderer_service__WEBPACK_IMPORTED_MODULE_10__.RendererService), _angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵinject"](_Dialog_dialog_service__WEBPACK_IMPORTED_MODULE_11__.DialogService), _angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵinject"](_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_12__.IconSetConfigurationService), _angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_15__.MatSnackBar)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵdefineInjectable"]({ + token: ImportDomainStoryService, + factory: ImportDomainStoryService.ɵfac, + providedIn: 'root' + }); + } + return ImportDomainStoryService; +})(); + +/***/ }), + +/***/ 75158: +/*!*********************************************************!*\ + !*** ./src/app/Service/Import/import-repair.service.ts ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ImportRepairService: () => (/* binding */ ImportRepairService) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); + + +/** + * Repairs broken Domain Stories so that it can be rendered onto the canvas + * by removing activities and connections that reference elements that don't exists + */ +let ImportRepairService = /*#__PURE__*/(() => { + class ImportRepairService { + checkForUnreferencedElementsInActivitiesAndRepair(elements) { + const activities = []; + const objectIDs = []; + let complete = true; + elements.forEach(element => { + const type = element.type; + if (type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY || type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.CONNECTION) { + activities.push(element); + } else { + objectIDs.push(element.id); + } + }); + activities.forEach(activity => { + const source = activity.source; + const target = activity.target; + if (!objectIDs.includes(source) || !objectIDs.includes(target)) { + complete = false; + const activityIndex = elements.indexOf(activity); + elements = elements.splice(activityIndex, 1); + } + }); + return complete; + } + /** + * Ensure backwards compatibility. + * Previously Document had no special name and was just addressed as workObject + * Bubble was renamed to Conversation + */ + updateCustomElementsPreviousV050(elements) { + for (const element of elements) { + if (element.type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT) { + element.type = src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT + 'Document'; + } else if (element.type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT + 'Bubble') { + element.type = src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT + 'Conversation'; + } + } + return elements; + } + /** + * Adjusts Positions of Elements to ensure the Domain Story starts in the visible parts of the canvas + */ + adjustPositions(elements) { + let xLeft = 0; + let yUp = 0; + let isFirst = true; + this.findFirstElement(elements, isFirst, xLeft, yUp); + if (xLeft < 75 || xLeft > 150 || yUp < 0 || yUp > 50) { + // add Padding for the Palette and the top + xLeft -= 75; + yUp -= 50; + elements.forEach(element => this.adjustElementPosition(element, xLeft, yUp)); + } + } + adjustElementPosition(element, xLeft, yUp) { + if (element.type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY || element.type === src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.CONNECTION) { + const waypoints = element.waypoints; + waypoints.forEach(point => { + point.x -= xLeft; + point.y -= yUp; + if (point.original) { + point.original.x = point.x; + point.original.y = point.y; + } + }); + } else { + element.x -= xLeft; + element.y -= yUp; + } + } + findFirstElement(elements, isFirst, xLeft, yUp) { + elements.forEach(element => { + let elXLeft; + let elYUp; + if (element.type !== src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY && element.type !== src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.CONNECTION) { + if (isFirst) { + xLeft = element.x; + yUp = element.y; + isFirst = false; + } + elXLeft = element.x; + elYUp = element.y; + if (elXLeft < xLeft) { + xLeft = elXLeft; + } + if (elYUp < yUp) { + yUp = elYUp; + } + } + }); + } + static #_ = this.ɵfac = function ImportRepairService_Factory(t) { + return new (t || ImportRepairService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ + token: ImportRepairService, + factory: ImportRepairService.ɵfac, + providedIn: 'root' + }); + } + return ImportRepairService; +})(); + +/***/ }), + +/***/ 59783: +/*!*********************************************************************!*\ + !*** ./src/app/Service/LabelDictionary/label-dictionary.service.ts ***! + \*********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ LabelDictionaryService: () => (/* binding */ LabelDictionaryService) +/* harmony export */ }); +/* harmony import */ var src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Domain/Common/elementTypes */ 30236); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_LabelDictionary_mass_naming_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Service/LabelDictionary/mass-naming.service */ 37509); +/* harmony import */ var src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Service/ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var _IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../IconSetConfiguration/icon-dictionary.service */ 93689); + + + + + +let LabelDictionaryService = /*#__PURE__*/(() => { + class LabelDictionaryService { + constructor(massNamingService, elementRegistryService, iconDictionaryService) { + this.massNamingService = massNamingService; + this.elementRegistryService = elementRegistryService; + this.iconDictionaryService = iconDictionaryService; + this.activityLabels = []; + this.workObjektLabels = []; + } + createLabelDictionaries() { + this.activityLabels = []; + this.workObjektLabels = []; + const allObjects = this.elementRegistryService.getAllCanvasObjects(); + allObjects.forEach(element => { + const name = element.businessObject.name; + if (name && name.length > 0 && element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY) && !this.activityLabels.map(a => a.name).includes(name)) { + this.activityLabels.push({ + name, + originalName: name + }); + } else if (name && name.length > 0 && element.type.includes(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT) && !this.workObjektLabels.map(e => e.name).includes(name)) { + const iconName = element.type.replace(src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT, ''); + let icon = this.iconDictionaryService.getIconSource(iconName); + if (!icon) { + return; + } + if (!icon.startsWith('data')) { + icon = 'data:image/svg+xml,' + icon; + } + this.workObjektLabels.push({ + name, + originalName: name, + icon + }); + } + }); + this.activityLabels.sort((a, b) => { + return a.name.toLowerCase().localeCompare(b.name.toLowerCase()); + }); + this.workObjektLabels.sort((a, b) => { + return a.name.toLowerCase().localeCompare(b.name.toLowerCase()); + }); + } + getActivityLabels() { + return this.activityLabels.slice(); + } + getWorkObjectLabels() { + return this.workObjektLabels.slice(); + } + getUniqueWorkObjectNames() { + const workObjects = this.elementRegistryService.getAllWorkobjects(); + return [...new Set(workObjects.filter(workObject => { + return !!workObject.businessObject.name; + }).map(workObject => workObject.businessObject.name))]; + } + massRenameLabels(activityNames, originalActivityNames, workObjectNames, originalWorkObjectNames) { + for (let i = 0; i < originalActivityNames.length; i++) { + if (!activityNames[i]) { + activityNames[i] = ''; + } + if (!(activityNames[i] == originalActivityNames[i])) { + this.massNamingService.massChangeNames(originalActivityNames[i], activityNames[i], src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY); + } + } + for (let i = 0; i < originalWorkObjectNames.length; i++) { + if (!workObjectNames[i]) { + workObjectNames[i] = ''; + } + if (!(workObjectNames[i] == originalWorkObjectNames[i])) { + this.massNamingService.massChangeNames(originalWorkObjectNames[i], workObjectNames[i], src_app_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT); + } + } + } + static #_ = this.ɵfac = function LabelDictionaryService_Factory(t) { + return new (t || LabelDictionaryService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](src_app_Service_LabelDictionary_mass_naming_service__WEBPACK_IMPORTED_MODULE_1__.MassNamingService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_2__.ElementRegistryService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_3__.IconDictionaryService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: LabelDictionaryService, + factory: LabelDictionaryService.ɵfac, + providedIn: 'root' + }); + } + return LabelDictionaryService; +})(); + +/***/ }), + +/***/ 37509: +/*!****************************************************************!*\ + !*** ./src/app/Service/LabelDictionary/mass-naming.service.ts ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ MassNamingService: () => (/* binding */ MassNamingService) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Service/ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var _CommandStack_command_stack_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../CommandStack/command-stack.service */ 19381); + + + +let MassNamingService = /*#__PURE__*/(() => { + class MassNamingService { + constructor(elementRegistryService, commandStackService) { + this.elementRegistryService = elementRegistryService; + this.commandStackService = commandStackService; + } + massChangeNames(oldValue, newValue, type) { + const allRelevantObjects = []; + this.elementRegistryService.getAllCanvasObjects().forEach(element => { + if (element.type.includes(type) && element.businessObject.name === oldValue) { + allRelevantObjects.push(element); + } + }); + const context = { + elements: allRelevantObjects, + newValue + }; + this.commandStackService.execute('domainStoryObjects.massRename', context); + } + static #_ = this.ɵfac = function MassNamingService_Factory(t) { + return new (t || MassNamingService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_0__.ElementRegistryService), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_CommandStack_command_stack_service__WEBPACK_IMPORTED_MODULE_1__.CommandStackService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ + token: MassNamingService, + factory: MassNamingService.ɵfac, + providedIn: 'root' + }); + } + return MassNamingService; +})(); + +/***/ }), + +/***/ 33666: +/*!********************************************************!*\ + !*** ./src/app/Service/Modeler/initializer.service.ts ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ InitializerService: () => (/* binding */ InitializerService) +/* harmony export */ }); +/* harmony import */ var _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Domain/Common/elementTypes */ 30236); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _Domain_Dialog_activityDialogData__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Domain/Dialog/activityDialogData */ 93703); +/* harmony import */ var _Presentation_Dialog_activity_dialog_activity_dialog_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../Presentation/Dialog/activity-dialog/activity-dialog.component */ 63954); +/* harmony import */ var _Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Utils/mathExtensions */ 114); +/* harmony import */ var _BPMN_JS_modeler_context_pad_domainStoryContextPadProvider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../BPMN-JS/modeler/context-pad/domainStoryContextPadProvider */ 74669); +/* harmony import */ var _BPMN_JS_modeler_updateHandler_activityUpdateHandlers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../BPMN-JS/modeler/updateHandler/activityUpdateHandlers */ 96588); +/* harmony import */ var _BPMN_JS_modeler_updateHandler_elementUpdateHandler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../BPMN-JS/modeler/updateHandler/elementUpdateHandler */ 11118); +/* harmony import */ var _BPMN_JS_modeler_updateHandler_headlineAndDescriptionUpdateHandler__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../BPMN-JS/modeler/updateHandler/headlineAndDescriptionUpdateHandler */ 65501); +/* harmony import */ var _BPMN_JS_modeler_palette_domainStoryPalette__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../BPMN-JS/modeler/palette/domainStoryPalette */ 84277); +/* harmony import */ var _BPMN_JS_modeler_domainStoryRenderer__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../BPMN-JS/modeler/domainStoryRenderer */ 37751); +/* harmony import */ var _BPMN_JS_modeler_labeling_dsLabelEditingProvider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../BPMN-JS/modeler/labeling/dsLabelEditingProvider */ 50572); +/* harmony import */ var _BPMN_JS_modeler_change_icon_replaceOptions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../BPMN-JS/modeler/change-icon/replaceOptions */ 66252); +/* harmony import */ var _BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../BPMN-JS/modeler/numbering/numbering */ 37126); +/* harmony import */ var _BPMN_JS_modeler_updateHandler_massRenameHandler__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../BPMN-JS/modeler/updateHandler/massRenameHandler */ 74431); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../DirtyFlag/dirty-flag.service */ 89791); +/* harmony import */ var _IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../IconSetConfiguration/icon-dictionary.service */ 93689); +/* harmony import */ var _ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var _IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../IconSetConfiguration/icon-set-configuration.service */ 10200); +/* harmony import */ var _LabelDictionary_label_dictionary_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../LabelDictionary/label-dictionary.service */ 59783); +/* harmony import */ var _Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../Replay/replay-state.service */ 67820); +/* harmony import */ var _Dialog_dialog_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../Dialog/dialog.service */ 4730); +/* harmony import */ var _CommandStack_command_stack_service__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../CommandStack/command-stack.service */ 19381); +/* harmony import */ var _Title_title_service__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../Title/title.service */ 69672); +/* harmony import */ var _Export_html_presentation_service__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../Export/html-presentation.service */ 72680); + + + + + + + + + + + + + + + + + + + + + + + + + + +let InitializerService = /*#__PURE__*/(() => { + class InitializerService { + constructor(dirtyFlagService, iconDictionaryService, elementRegistryService, configurationService, labelDictionaryService, replayStateService, dialogService, commandStackService, titleService, htmlPresentationService) { + this.dirtyFlagService = dirtyFlagService; + this.iconDictionaryService = iconDictionaryService; + this.elementRegistryService = elementRegistryService; + this.configurationService = configurationService; + this.labelDictionaryService = labelDictionaryService; + this.replayStateService = replayStateService; + this.dialogService = dialogService; + this.commandStackService = commandStackService; + this.titleService = titleService; + this.htmlPresentationService = htmlPresentationService; + } + initializeDomainStoryModelerClasses() { + (0,_BPMN_JS_modeler_context_pad_domainStoryContextPadProvider__WEBPACK_IMPORTED_MODULE_4__.initializeContextPadProvider)(this.dirtyFlagService, this.iconDictionaryService); + /** The Palette and the Context Menu need the Icons present in the Domain, + * so the IconDictionaryService and the IconSetConfigurationService needs to be given to the Palette **/ + (0,_BPMN_JS_modeler_palette_domainStoryPalette__WEBPACK_IMPORTED_MODULE_8__.initializePalette)(this.iconDictionaryService, this.configurationService); + (0,_BPMN_JS_modeler_domainStoryRenderer__WEBPACK_IMPORTED_MODULE_9__.initializeRenderer)(this.iconDictionaryService, this.elementRegistryService, this.dirtyFlagService); + (0,_BPMN_JS_modeler_labeling_dsLabelEditingProvider__WEBPACK_IMPORTED_MODULE_10__.initializeLabelEditingProvider)(this.labelDictionaryService); + (0,_BPMN_JS_modeler_change_icon_replaceOptions__WEBPACK_IMPORTED_MODULE_11__.initializeReplaceOptions)(this.iconDictionaryService); + (0,_BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_12__.initializeNumbering)(this.elementRegistryService); + (0,_BPMN_JS_modeler_updateHandler_activityUpdateHandlers__WEBPACK_IMPORTED_MODULE_5__.initializeActivityUpdateHandler)(this.elementRegistryService); + } + propagateDomainStoryModelerClassesToServices(commandStack, elementRegistry, canvas, selection, modeler) { + this.commandStackService.setCommandStack(commandStack); + this.elementRegistryService.setElementRegistry(elementRegistry); + this.htmlPresentationService.setModelerClasses(canvas, selection, modeler); + } + initializeDomainStoryModelerEventHandlers(commandStack, eventBus) { + (0,_BPMN_JS_modeler_updateHandler_activityUpdateHandlers__WEBPACK_IMPORTED_MODULE_5__["default"])(commandStack, eventBus); + (0,_BPMN_JS_modeler_updateHandler_massRenameHandler__WEBPACK_IMPORTED_MODULE_13__["default"])(commandStack, eventBus); + (0,_BPMN_JS_modeler_updateHandler_elementUpdateHandler__WEBPACK_IMPORTED_MODULE_6__["default"])(commandStack, eventBus); + (0,_BPMN_JS_modeler_updateHandler_headlineAndDescriptionUpdateHandler__WEBPACK_IMPORTED_MODULE_7__["default"])(commandStack, this.titleService); + } + initiateEventBusListeners(eventBus, commandStack) { + eventBus.on('element.dblclick', e => { + if (!this.replayStateService.getReplayOn()) { + const element = e.element; + if (element.type === _Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTIVITY) { + // override the doubleClickListener on activities + this.activityDoubleClick(element, eventBus, commandStack); + } else { + const renderedNumberRegistry = (0,_BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_12__.getNumberRegistry)(); + // add a DoubleClickListener to the number on activities + if (renderedNumberRegistry.length > 1) { + const allActivities = this.elementRegistryService.getActivitiesFromActors(); + if (allActivities.length > 0) { + const htmlCanvas = document.getElementById('canvas'); + if (htmlCanvas) { + const container = htmlCanvas.getElementsByClassName('djs-container'); + const svgElements = container[0].getElementsByTagName('svg'); + const outerSVGElement = svgElements[0]; + const viewport = outerSVGElement.getElementsByClassName('viewport')[0]; + let transform = viewport.getAttribute('transform'); + let transformX = 0; + let transformY = 0; + let zoomX = 1; + let zoomY = 1; + let nums; + const clickX = e.originalEvent.offsetX; + const clickY = e.originalEvent.offsetY; + // adjust for zoom and panning + if (transform) { + transform = transform.replace('matrix(', ''); + transform.replace(')', ''); + nums = transform.split(','); + zoomX = parseFloat(nums[0]); + zoomY = parseFloat(nums[3]); + transformX = parseInt(nums[4], undefined); + transformY = parseInt(nums[5], undefined); + } + const width = 25 * zoomX; + const height = 22 * zoomY; + for (let i = 1; i < renderedNumberRegistry.length; i++) { + const currentNum = renderedNumberRegistry[i]; + if (currentNum) { + const tspan = currentNum.getElementsByTagName('tspan')[0]; + const tx = tspan.getAttribute('x'); + const ty = tspan.getAttribute('y'); + const tNumber = parseInt(tspan.innerHTML, undefined); + const elementX = Math.floor(tx * zoomX + (transformX - 11 * zoomX)); + const elementY = Math.floor(ty * zoomY + (transformY - 15 * zoomY)); + allActivities.forEach(activity => { + const activityNumber = activity.businessObject.number; + if (activityNumber === tNumber) { + if ((0,_Utils_mathExtensions__WEBPACK_IMPORTED_MODULE_3__.positionsMatch)(width, height, elementX, elementY, clickX, clickY)) { + this.activityDoubleClick(activity, eventBus, commandStack); + } + } + }); + } + } + } + } + } + } + } + }); + // when in replay, do not allow any interaction on the canvas + eventBus.on(['element.click', 'element.dblclick', 'element.mousedown', 'drag.init', 'canvas.viewbox.changing', 'autoPlace', 'popupMenu.open'], 10000000000, event => { + if (this.replayStateService.getReplayOn()) { + event.stopPropagation(); + event.preventDefault(); + } + }); + } + /** Overrrides for Canvas Functions **/ + activityDoubleClick(activity, eventBus, commandStack) { + const source = activity.source; + // ensure the right number when changing the direction of an activity + (0,_BPMN_JS_modeler_labeling_dsLabelEditingProvider__WEBPACK_IMPORTED_MODULE_10__.toggleStashUse)(false); + const config = new _angular_material_dialog__WEBPACK_IMPORTED_MODULE_24__.MatDialogConfig(); + config.disableClose = false; + config.autoFocus = true; + if (activity.businessObject.number && source && source.type.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.ACTOR)) { + config.data = new _Domain_Dialog_activityDialogData__WEBPACK_IMPORTED_MODULE_1__.ActivityDialogData(activity, (0,_BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_12__.getMultipleNumberRegistry)()[activity.businessObject.number], true, data => this.saveActivityInputLabel(data, eventBus, commandStack)); + } else if (source && source.type.includes(_Domain_Common_elementTypes__WEBPACK_IMPORTED_MODULE_0__.ElementTypes.WORKOBJECT)) { + config.data = new _Domain_Dialog_activityDialogData__WEBPACK_IMPORTED_MODULE_1__.ActivityDialogData(activity, false, false, activityData => this.saveActivityInputLabel(activityData, eventBus, commandStack)); + } + this.dialogService.openDialog(_Presentation_Dialog_activity_dialog_activity_dialog_component__WEBPACK_IMPORTED_MODULE_2__.ActivityDialogComponent, config); + } + saveActivityInputLabel(activityData, eventBus, commandStack) { + const label = activityData.activityLabel; + const hasNumber = activityData.activityNumber ?? false; + const activityNumber = activityData.activityNumber; + const multipleNumberAllowed = activityData.multipleNumbers ?? false; + const element = activityData.activity; + const activitiesFromActors = this.elementRegistryService.getActivitiesFromActors(); + const index = activitiesFromActors.indexOf(element); + activitiesFromActors.splice(index, 1); + if (hasNumber) { + (0,_BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_12__.setNumberIsMultiple)(activityNumber, multipleNumberAllowed); + } + element.businessObject.multipleNumberAllowed = multipleNumberAllowed; + let options; + if (hasNumber) { + options = { + businessObject: element.businessObject, + newLabel: label, + newNumber: activityNumber, + element + }; + } else { + options = { + businessObject: element.businessObject, + newLabel: label, + element + }; + } + commandStack.execute('activity.changed', options); + if (element.businessObject.multipleNumberAllowed !== false) { + if ((0,_BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_12__.getMultipleNumberRegistry)()[activityNumber] === false) { + (0,_BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_12__.updateExistingNumbersAtEditing)(activitiesFromActors, activityNumber, eventBus); + } + } else if (element.businessObject.multipleNumberAllowed === false) { + (0,_BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_12__.updateExistingNumbersAtEditing)(activitiesFromActors, activityNumber, eventBus); + } + } + static #_ = this.ɵfac = function InitializerService_Factory(t) { + return new (t || InitializerService)(_angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_14__.DirtyFlagService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_15__.IconDictionaryService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_16__.ElementRegistryService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_17__.IconSetConfigurationService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_LabelDictionary_label_dictionary_service__WEBPACK_IMPORTED_MODULE_18__.LabelDictionaryService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_19__.ReplayStateService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_Dialog_dialog_service__WEBPACK_IMPORTED_MODULE_20__.DialogService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_CommandStack_command_stack_service__WEBPACK_IMPORTED_MODULE_21__.CommandStackService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_Title_title_service__WEBPACK_IMPORTED_MODULE_22__.TitleService), _angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵinject"](_Export_html_presentation_service__WEBPACK_IMPORTED_MODULE_23__.HtmlPresentationService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_25__["ɵɵdefineInjectable"]({ + token: InitializerService, + factory: InitializerService.ɵfac, + providedIn: 'root' + }); + } + return InitializerService; +})(); + +/***/ }), + +/***/ 74676: +/*!****************************************************!*\ + !*** ./src/app/Service/Modeler/modeler.service.ts ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ModelerService: () => (/* binding */ ModelerService) +/* harmony export */ }); +/* harmony import */ var _home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 73308); +/* harmony import */ var min_dash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! min-dash */ 93673); +/* harmony import */ var src_app_BPMN_JS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/BPMN-JS */ 90080); +/* harmony import */ var _BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../BPMN-JS/modeler/numbering/numbering */ 37126); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _initializer_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./initializer.service */ 33666); +/* harmony import */ var _ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var _IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../IconSetConfiguration/icon-dictionary.service */ 93689); +/* harmony import */ var _IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../IconSetConfiguration/icon-set-configuration.service */ 10200); +/* harmony import */ var _BrowserStorage_storage_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../BrowserStorage/storage.service */ 59298); + + + + + + + + + + +let ModelerService = /*#__PURE__*/(() => { + class ModelerService { + constructor(initializerService, elementRegistryService, iconDictionaryService, iconSetConfigurationService, storageService) { + this.initializerService = initializerService; + this.elementRegistryService = elementRegistryService; + this.iconDictionaryService = iconDictionaryService; + this.iconSetConfigurationService = iconSetConfigurationService; + this.storageService = storageService; + } + postInit() { + const storedIconSetConfiguration = this.storageService.getStoredIconSetConfiguration(); + if (storedIconSetConfiguration) { + this.iconDictionaryService.setCustomConfiguration(storedIconSetConfiguration); + this.iconSetConfigurationService.loadConfiguration(storedIconSetConfiguration); + } + this.initializerService.initializeDomainStoryModelerClasses(); + this.modeler = new src_app_BPMN_JS__WEBPACK_IMPORTED_MODULE_1__["default"]({ + container: '#canvas', + keyboard: { + bindTo: document + }, + // Disable BPMN-SearchModule and re-enable browser Search + additionalModules: [{ + bpmnSearch: ['value', 'foo'] + }] + }); + if (this.modeler.get) { + this.canvas = this.modeler.get('canvas'); + this.elementRegistry = this.modeler.get('elementRegistry'); + this.eventBus = this.modeler.get('eventBus'); + this.commandStack = this.modeler.get('commandStack'); + this.selection = this.modeler.get('selection'); + } + this.initializerService.initializeDomainStoryModelerEventHandlers(this.commandStack, this.eventBus); + this.initializerService.propagateDomainStoryModelerClassesToServices(this.commandStack, this.elementRegistry, this.canvas, this.selection, this.modeler); + const exportArtifacts = this.debounce(this.saveSVG, 500); + if (this.modeler.get) { + this.modeler.on('commandStack.changed', exportArtifacts); + } + this.initializerService.initiateEventBusListeners(this.eventBus, this.commandStack); + this.modeler.createDiagram(); + // expose bpmnjs to window for debugging purposes + (0,min_dash__WEBPACK_IMPORTED_MODULE_8__.assign)(window, { + bpmnjs: this.modeler + }); + this.startDebounce(); + } + restart(iconSetConfiguration, domainStory) { + const currentStory = domainStory != undefined ? domainStory : this.elementRegistryService.createObjectListForDSTDownload().map(e => e.businessObject); + if (!iconSetConfiguration) { + iconSetConfiguration = this.storageService.getStoredIconSetConfiguration(); + } + if (iconSetConfiguration) { + this.storageService.setStoredIconSetConfiguration(iconSetConfiguration); + this.iconDictionaryService.setCustomConfiguration(iconSetConfiguration); + this.iconSetConfigurationService.loadConfiguration(iconSetConfiguration); + } + this.elementRegistryService.clear(); + this.modeler?.destroy(); + this.postInit(); + (0,_BPMN_JS_modeler_numbering_numbering__WEBPACK_IMPORTED_MODULE_2__.updateMultipleNumberRegistry)(currentStory.filter(bo => bo.type === 'domainStory:activity').map(bo => bo).filter(bo => bo.number !== null)); + if (currentStory && this.modeler.get) { + this.modeler.importCustomElements(currentStory); + } + } + /** Interactions with the Modeler **/ + getModeler() { + return this.modeler; + } + commandStackChanged() { + // to update the title of the svg, we need to tell the command stack, that a value has changed + this.eventBus.fire('commandStack.changed', this.debounce(this.saveSVG, 500)); + } + startDebounce() { + this.debounce(this.saveSVG, 500); + } + debounce(fn, timeout) { + return () => { + let timer; + if (timer) { + clearTimeout(timer); + } + timer = setTimeout(() => { + // tslint:disable-next-line:no-unused-expression + fn(this.modeler).then(svg => { + this.encoded = svg; + }); + }, timeout); + }; + } + getEncoded() { + return this.encoded ? this.encoded : ''; + } + saveSVG(modeler) { + return (0,_home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { + try { + const result = yield modeler.saveSVG(); + return result.svg; + } catch (err) { + alert('There was an error saving the SVG.\n' + err); + } + })(); + } + static #_ = this.ɵfac = function ModelerService_Factory(t) { + return new (t || ModelerService)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_initializer_service__WEBPACK_IMPORTED_MODULE_3__.InitializerService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_4__.ElementRegistryService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_5__.IconDictionaryService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_6__.IconSetConfigurationService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_BrowserStorage_storage_service__WEBPACK_IMPORTED_MODULE_7__.StorageService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"]({ + token: ModelerService, + factory: ModelerService.ɵfac, + providedIn: 'root' + }); + } + return ModelerService; +})(); + +/***/ }), + +/***/ 94896: +/*!******************************************************!*\ + !*** ./src/app/Service/Renderer/renderer.service.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ RendererService: () => (/* binding */ RendererService) +/* harmony export */ }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Service/Modeler/modeler.service */ 74676); +/* harmony import */ var src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Service/ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var src_app_Service_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Service/DirtyFlag/dirty-flag.service */ 89791); + + + + +let RendererService = /*#__PURE__*/(() => { + class RendererService { + constructor(modelerService, elementRegistryService, dirtyFlagService) { + this.modelerService = modelerService; + this.elementRegistryService = elementRegistryService; + this.dirtyFlagService = dirtyFlagService; + } + renderStory(domainStory) { + this.modelerService.getModeler().importCustomElements(domainStory); + } + reset() { + this.renderStory([]); + } + importStory(domainStory, configurationChange, config, makeClean = true) { + this.modelerService.restart(config, domainStory); + this.renderStory(domainStory); + this.elementRegistryService.correctInitialize(); + this.modelerService.commandStackChanged(); + this.modelerService.startDebounce(); + if (makeClean) { + this.dirtyFlagService.makeClean(); + } + } + getStory() { + return this.elementRegistryService.createObjectListForDSTDownload().map(c => c.businessObject); + } + static #_ = this.ɵfac = function RendererService_Factory(t) { + return new (t || RendererService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](src_app_Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_0__.ModelerService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_1__.ElementRegistryService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](src_app_Service_DirtyFlag_dirty_flag_service__WEBPACK_IMPORTED_MODULE_2__.DirtyFlagService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ + token: RendererService, + factory: RendererService.ɵfac, + providedIn: 'root' + }); + } + return RendererService; +})(); + +/***/ }), + +/***/ 67820: +/*!********************************************************!*\ + !*** ./src/app/Service/Replay/replay-state.service.ts ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ReplayStateService: () => (/* binding */ ReplayStateService) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); + + +let ReplayStateService = /*#__PURE__*/(() => { + class ReplayStateService { + constructor() { + this.replayOnSubject = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(false); + this.replayOn$ = this.replayOnSubject.asObservable(); + } + setReplayState(state) { + this.replayOnSubject.next(state); + } + getReplayOn() { + return this.replayOnSubject.value; + } + static #_ = this.ɵfac = function ReplayStateService_Factory(t) { + return new (t || ReplayStateService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ + token: ReplayStateService, + factory: ReplayStateService.ɵfac, + providedIn: 'root' + }); + } + return ReplayStateService; +})(); + +/***/ }), + +/***/ 94788: +/*!**************************************************!*\ + !*** ./src/app/Service/Replay/replay.service.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ReplayService: () => (/* binding */ ReplayService) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Domain/Common/constants */ 90816); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Service/Replay/replay-state.service */ 67820); +/* harmony import */ var src_app_Service_DomManipulation_dom_manipulation_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/Service/DomManipulation/dom-manipulation.service */ 63149); +/* harmony import */ var _storyCreator_story_creator_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./storyCreator/story-creator.service */ 24127); +/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/snack-bar */ 93289); + + + + + + + +let ReplayService = /*#__PURE__*/(() => { + class ReplayService { + constructor(replayStateService, domManipulationService, storyCreatorService, snackbar) { + this.replayStateService = replayStateService; + this.domManipulationService = domManipulationService; + this.storyCreatorService = storyCreatorService; + this.snackbar = snackbar; + this.story = []; + this.currentSentence = new rxjs__WEBPACK_IMPORTED_MODULE_4__.BehaviorSubject(-1); + this.maxSentenceNumber = new rxjs__WEBPACK_IMPORTED_MODULE_4__.BehaviorSubject(0); + this.currentSentence$ = this.currentSentence.asObservable(); + this.maxSentenceNumber$ = this.maxSentenceNumber.asObservable(); + } + isReplayable() { + return this.storyCreatorService.traceActivitiesAndCreateStory().length > 0; + } + initializeReplay() { + this.currentSentence.next(1); + this.story = this.storyCreatorService.traceActivitiesAndCreateStory(); + this.maxSentenceNumber.next(this.story.length); + } + getCurrentSentenceNumber() { + return this.currentSentence.value; + } + getMaxSentenceNumber() { + return this.maxSentenceNumber.value; + } + nextSentence() { + if (this.currentSentence.value < this.story.length) { + this.currentSentence.next(this.currentSentence.value + 1); + this.showCurrentSentence(); + } + } + previousSentence() { + if (this.currentSentence.value > 1) { + this.currentSentence.next(this.currentSentence.value - 1); + this.showCurrentSentence(); + } + } + showCurrentSentence() { + this.domManipulationService.showSentence(this.story[this.currentSentence.value - 1], this.currentSentence.value > 1 ? this.story[this.currentSentence.value - 2] : undefined); + } + startReplay() { + this.initializeReplay(); + if (this.story.length > 0) { + const missingSentences = this.storyCreatorService.getMissingSentences(this.story); + if (missingSentences.length === 0) { + this.replayStateService.setReplayState(true); + this.domManipulationService.showSentence(this.story[this.currentSentence.getValue() - 1]); + } else { + const sentence = missingSentences.join(', '); + this.snackbar.open(missingSentences.length === 1 ? `The Domain Story is not complete. Sentence ${sentence} is missing.` : `The Domain Story is not complete. Sentences ${sentence} are missing.`, undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION * 2, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_INFO + }); + } + } else { + this.snackbar.open('You need a Domain Story for replay.', undefined, { + duration: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_DURATION * 2, + panelClass: _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_0__.SNACKBAR_INFO + }); + } + } + stopReplay() { + this.currentSentence.next(-1); + this.maxSentenceNumber.next(0); + this.replayStateService.setReplayState(false); + this.domManipulationService.showAll(); + } + static #_ = this.ɵfac = function ReplayService_Factory(t) { + return new (t || ReplayService)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](src_app_Service_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_1__.ReplayStateService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](src_app_Service_DomManipulation_dom_manipulation_service__WEBPACK_IMPORTED_MODULE_2__.DomManipulationService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_storyCreator_story_creator_service__WEBPACK_IMPORTED_MODULE_3__.StoryCreatorService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_6__.MatSnackBar)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ + token: ReplayService, + factory: ReplayService.ɵfac, + providedIn: 'root' + }); + } + return ReplayService; +})(); + +/***/ }), + +/***/ 24127: +/*!**********************************************************************!*\ + !*** ./src/app/Service/Replay/storyCreator/story-creator.service.ts ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ StoryCreatorService: () => (/* binding */ StoryCreatorService) +/* harmony export */ }); +/* harmony import */ var _Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../Domain/Common/dictionary/dictionary */ 54972); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../ElementRegistry/element-registry.service */ 67613); + + + +let StoryCreatorService = /*#__PURE__*/(() => { + class StoryCreatorService { + constructor(elementRegistryService) { + this.elementRegistryService = elementRegistryService; + } + traceActivitiesAndCreateStory() { + const tracedActivityMap = new _Domain_Common_dictionary_dictionary__WEBPACK_IMPORTED_MODULE_0__.Dictionary(); + const story = []; + const activities = this.elementRegistryService.getActivitiesFromActors(); + const tracedActivityMapKeys = []; + activities.forEach(activity => { + const activityNumber = Number(activity.businessObject.number); // Sometimes the activityNumber is a string for some reason + const tracedItem = tracedActivityMap.get(`${activityNumber}`) ?? []; + if (!tracedActivityMapKeys.includes(activityNumber)) { + tracedActivityMapKeys.push(activityNumber); + } + tracedItem.push(activity); + tracedActivityMap.set(`${activityNumber}`, tracedItem); + }); + let storyIndex = 0; + tracedActivityMapKeys.forEach(key => { + this.createSentence(tracedActivityMap, key, story, storyIndex); + storyIndex++; + }); + this.addGroupsToLastSentence(story); + return story; + } + createSentence(tracedActivityMap, tracedActivityMapKey, story, storyIndex) { + let tracedActivity = tracedActivityMap.get(`${tracedActivityMapKey}`) ?? []; + const sentenceObjects = this.getSentenceObjects(tracedActivity); + const highlightedElements = sentenceObjects.map(t => t.id); + if (storyIndex > 0) { + story[storyIndex - 1].objects.forEach(object => { + if (!sentenceObjects.includes(object)) { + sentenceObjects.push(object); + } + }); + } + story[storyIndex] = { + highlightedObjects: highlightedElements, + objects: sentenceObjects + }; + } + getMissingSentences(story) { + // if the story is empty, no sequence number is missing + if (!story || story.length === 0) { + return []; + } + // collect all sequence numbers of the story + const allActivityNumbersFromActors = story.map(sentence => { + // find all activity numbers of the ActivityBusinessObject + // and returned the highest one + const allActivityNumbers = sentence.objects.map(businessObject => { + if (businessObject.type.includes('activity')) { + const activity = businessObject; + return activity.number ?? 0; + } else { + return 0; + } + }); + return Math.max(...allActivityNumbers); + }); + const highestSequenceNumber = Math.max(...allActivityNumbersFromActors); + const missingSentences = []; + // with a high sequence number like 1_000_000, this could be led + // to long calculation or completely stop from Egon.io + for (let i = 1; i <= highestSequenceNumber; i++) { + if (!allActivityNumbersFromActors.includes(i)) { + missingSentences.push(i); + } + } + return missingSentences; + } + getSentenceObjects(tracedActivity) { + const initialSource = []; + const activities = tracedActivity; + const targetObjects = []; + tracedActivity.forEach(parallelSentence => { + initialSource.push(parallelSentence.source); + const firstTarget = parallelSentence.target; + targetObjects.push(firstTarget); + // check the outgoing activities for each target + for (const checkTarget of targetObjects) { + if (checkTarget.businessObject && !checkTarget.businessObject.type.includes('actor') && checkTarget.outgoing) { + // check the target for each outgoing activity + checkTarget.outgoing.forEach(activity => { + activities.push(activity); + const activityTarget = activity.target; + if (activityTarget && !targetObjects.includes(activityTarget)) { + targetObjects.push(activityTarget); + } + }); + } + } + }); + return initialSource.map(e => e.businessObject).concat(activities.map(a => a.businessObject)).concat(targetObjects.map(t => t.businessObject)); + } + addGroupsToLastSentence(story) { + const groups = this.elementRegistryService.getAllGroups(); + if (groups.length > 0 && story.length > 0) { + story[story.length - 1].objects = story[story.length - 1].objects.concat(groups.map(g => g.businessObject)); + } + } + static #_ = this.ɵfac = function StoryCreatorService_Factory(t) { + return new (t || StoryCreatorService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_1__.ElementRegistryService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ + token: StoryCreatorService, + factory: StoryCreatorService.ɵfac, + providedIn: 'root' + }); + } + return StoryCreatorService; +})(); + +/***/ }), + +/***/ 58124: +/*!******************************************************!*\ + !*** ./src/app/Service/Settings/settings.service.ts ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ SettingsService: () => (/* binding */ SettingsService) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); + + +let SettingsService = /*#__PURE__*/(() => { + class SettingsService { + constructor() { + this.showSettings = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(false); + this.showSettings$ = this.showSettings.asObservable(); + } + close() { + this.showSettings.next(false); + } + open() { + this.showSettings.next(true); + } + static #_ = this.ɵfac = function SettingsService_Factory(t) { + return new (t || SettingsService)(); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ + token: SettingsService, + factory: SettingsService.ɵfac, + providedIn: 'root' + }); + } + return SettingsService; +})(); + +/***/ }), + +/***/ 69672: +/*!************************************************!*\ + !*** ./src/app/Service/Title/title.service.ts ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ TitleService: () => (/* binding */ TitleService) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../environments/environment */ 45312); +/* harmony import */ var _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Domain/Common/constants */ 90816); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _CommandStack_command_stack_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../CommandStack/command-stack.service */ 19381); + + + + + +let TitleService = /*#__PURE__*/(() => { + class TitleService { + constructor(commandStackService) { + this.commandStackService = commandStackService; + this.titleSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_TITLE); + this.descriptionSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_DESCRIPTION); + this.iconSetNameSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_ICON_SET_NAME); + this.showDescriptionSubject = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(true); + this.title$ = this.titleSubject.asObservable(); + this.description$ = this.descriptionSubject.asObservable(); + this.showDescription$ = this.showDescriptionSubject.asObservable(); + this.iconSetName$ = this.iconSetNameSubject.asObservable(); + } + updateTitleAndDescription(title, description, allowUndo) { + if (allowUndo) { + this.fireTitleAndDescriptionUpdate(title, description); + } else { + this.updateTitle(title); + this.updateDescription(description); + } + } + reset() { + this.updateTitleAndDescription(_Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_TITLE, _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_DESCRIPTION, false); + } + updateTitle(inputTitle) { + const title = !inputTitle || inputTitle.trim().length === 0 ? _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_TITLE : inputTitle; + this.titleSubject.next(title); + document.title = title === _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_TITLE ? 'egon.io' : title; + } + updateDescription(description) { + this.descriptionSubject.next(description ?? this.descriptionSubject.value); + } + setShowDescription(show) { + this.showDescriptionSubject.next(show); + } + setIconSetName(name) { + this.iconSetNameSubject.next(name); + } + getTitle() { + return this.titleSubject.value; + } + getDescription() { + return this.descriptionSubject.value; + } + getIconSetName() { + return this.iconSetNameSubject.value; + } + getVersion() { + return _environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.version; + } + hasTitleOrDescription() { + return this.getTitle().trim().length > 0 && this.getTitle() !== _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_TITLE || this.getDescription().trim().length > 0 && this.getDescription() !== _Domain_Common_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_DESCRIPTION; + } + fireTitleAndDescriptionUpdate(newTitle, newDescription) { + const context = { + newTitle, + newDescription + }; + this.commandStackService.execute('story.updateHeadlineAndDescription', context); + } + static #_ = this.ɵfac = function TitleService_Factory(t) { + return new (t || TitleService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_CommandStack_command_stack_service__WEBPACK_IMPORTED_MODULE_2__.CommandStackService)); + }; + static #_2 = this.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: TitleService, + factory: TitleService.ɵfac, + providedIn: 'root' + }); + } + return TitleService; +})(); + +/***/ }), + +/***/ 114: +/*!*****************************************!*\ + !*** ./src/app/Utils/mathExtensions.ts ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Point: () => (/* binding */ Point), +/* harmony export */ angleBetween: () => (/* binding */ angleBetween), +/* harmony export */ degrees: () => (/* binding */ degrees), +/* harmony export */ positionsMatch: () => (/* binding */ positionsMatch) +/* harmony export */ }); + + +// convert rad to deg +function degrees(radians) { + return radians * 180 / Math.PI; +} +// calculate the angle between two points in 2D +function angleBetween(startPoint, endPoint) { + let quadrant; + // determine in which quadrant we are + if (startPoint.x <= endPoint.x) { + if (startPoint.y >= endPoint.y) { + quadrant = 0; + } // upper right quadrant + else { + quadrant = 3; + } // lower right quadrant + } else { + if (startPoint.y >= endPoint.y) { + quadrant = 1; + } // upper left Quadrant + else { + quadrant = 2; + } // lower left quadrant + } + + const adjacent = Math.abs(startPoint.y - endPoint.y); + const opposite = Math.abs(startPoint.x - endPoint.x); + // since the arcus-tangens only gives values between 0 and 90, we have to adjust for the quadrant we are in + if (quadrant === 0) { + return 90 - degrees(Math.atan2(opposite, adjacent)); + } + if (quadrant === 1) { + return 90 + degrees(Math.atan2(opposite, adjacent)); + } + if (quadrant === 2) { + return 270 - degrees(Math.atan2(opposite, adjacent)); + } + if (quadrant === 3) { + return 270 + degrees(Math.atan2(opposite, adjacent)); + } + return undefined; +} +function positionsMatch(width, height, elementX, elementY, clickX, clickY) { + if (clickX > elementX && clickX < elementX + width) { + if (clickY > elementY && clickY < elementY + height) { + return true; + } + } + return false; +} +class Point { + constructor() { + this.y = 0; + this.x = 0; + } +} + +/***/ }), + +/***/ 66107: +/*!************************************!*\ + !*** ./src/app/Utils/sanitizer.ts ***! + \************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ restoreTitleFromFileName: () => (/* binding */ restoreTitleFromFileName), +/* harmony export */ sanitizeForDesktop: () => (/* binding */ sanitizeForDesktop), +/* harmony export */ sanitizeIconName: () => (/* binding */ sanitizeIconName) +/* harmony export */ }); + + +// sanitize user-Input to be Desktop-Filename safe +function sanitizeForDesktop(str) { + const map = { + '/': '', + '\\': '', + ':': '', + '*': '', + '?': '', + '"': '', + '<': '', + '>': '', + '|': '' + }; + const reg = /[/\\:*?"<>|]/gi; + return str ? str.replace(reg, match => map[match]) : ''; +} +function sanitizeIconName(name) { + const map = { + '/': '', + '\\': '', + ':': '', + '*': '', + '?': '', + '"': '', + '<': '', + '>': '', + '|': '', + '(': '', + ')': '', + ' ': '-', + '.': '_' + }; + const reg = /[/\\:*?"<>|() .]/gi; + return name ? name.replace(reg, match => { + return map[match]; + }) : ''; +} +function restoreTitleFromFileName(filename, isSVG) { + let title; + const domainStoryRegex = /_\d+-\d+-\d+( ?_?-?\(\d+\))?(-?\d)?(.dst|.egn)/; + const svgRegex = /_\d+-\d+-\d+( ?_?-?\(\d+\))?(-?\d)?(.dst|.egn).svg/; + const egnSuffix = '.egn'; + const dstSuffix = '.dst'; + const svgSuffix = '.svg'; + let filenameWithoutDateSuffix = filename.replace(isSVG ? svgRegex : domainStoryRegex, ''); + if (filenameWithoutDateSuffix.includes(isSVG ? svgSuffix : dstSuffix)) { + filenameWithoutDateSuffix = filenameWithoutDateSuffix.replace(svgSuffix, '').replace(dstSuffix, '').replace(egnSuffix, ''); + } + title = filenameWithoutDateSuffix; + return title; +} + +/***/ }), + +/***/ 20092: +/*!**********************************!*\ + !*** ./src/app/app.component.ts ***! + \**********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AppComponent: () => (/* binding */ AppComponent) +/* harmony export */ }); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../environments/environment */ 45312); +/* harmony import */ var ngx_color_picker__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ngx-color-picker */ 54743); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var src_app_Service_Settings_settings_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Service/Settings/settings.service */ 58124); +/* harmony import */ var _Service_Title_title_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Service/Title/title.service */ 69672); +/* harmony import */ var _Service_Export_export_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Service/Export/export.service */ 98106); +/* harmony import */ var _Service_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Service/Replay/replay-state.service */ 67820); +/* harmony import */ var _Service_Replay_replay_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Service/Replay/replay.service */ 94788); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var src_app_Presentation_Header_header_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/Presentation/Header/header.component */ 91729); +/* harmony import */ var src_app_Presentation_Settings_settings_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/Presentation/Settings/settings.component */ 1261); +/* harmony import */ var src_app_Presentation_Canvas_modeler_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/Presentation/Canvas/modeler.component */ 29383); + + + + + + + + + + + + + + +function AppComponent_app_settings_2_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](0, "app-settings"); + } +} +let AppComponent = /*#__PURE__*/(() => { + class AppComponent { + constructor(settingsService, titleService, exportService, replayStateService, replayService) { + this.settingsService = settingsService; + this.titleService = titleService; + this.exportService = exportService; + this.replayStateService = replayStateService; + this.version = _environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.version; + this.color = '#000000'; + this.skipNextColorUpdate = false; + // define preset colors that have good contrast on white background and are compatible to EventStorming notation + this.colorBox = ['#FDD835', + // yellow + '#FB8C00', + // orange + '#D32F2F', + // red + '#F48FB1', + // light pink + '#EC407A', + // dark pink + '#8E24AA', + // purple + '#1E88E5', + // blue + '#00ACC1', + // cyan + '#43A047', + // green + '#C0CA33', + // lime + '#9E9E9E', + // grey + '#000000' // black + ]; + + this.showSettings$ = new rxjs__WEBPACK_IMPORTED_MODULE_10__.BehaviorSubject(false); + this.showDescription$ = new rxjs__WEBPACK_IMPORTED_MODULE_10__.BehaviorSubject(true); + document.addEventListener('keydown', e => { + if (e.ctrlKey && e.key === 's') { + e.preventDefault(); + e.stopPropagation(); + if (this.exportService.isDomainStoryExportable()) { + this.exportService.downloadDST(); + } + } + if (e.ctrlKey && e.key === 'l') { + e.preventDefault(); + e.stopPropagation(); + document.getElementById('import')?.click(); + } + if ((e.key === 'ArrowRight' || e.key === 'ArrowUp') && this.replayStateService.getReplayOn()) { + e.preventDefault(); + e.stopPropagation(); + replayService.nextSentence(); + } + if ((e.key === 'ArrowLeft' || e.key === 'ArrowDown') && this.replayStateService.getReplayOn()) { + e.preventDefault(); + e.stopPropagation(); + replayService.previousSentence(); + } + if (e.key === 'Escape') { + e.preventDefault(); + e.stopPropagation(); + this.skipNextColorUpdate = true; + this.colorPicker.closeDialog(); + } + }); + } + ngOnInit() { + this.showDescription$ = this.titleService.showDescription$; + this.showSettings$ = this.settingsService.showSettings$; + document.addEventListener('defaultColor', event => { + const customEvent = event; + this.color = customEvent.detail.color; + }); + document.addEventListener('openColorPicker', () => { + this.colorPicker.openDialog(); + }); + } + onColorChanged(color) { + if (this.skipNextColorUpdate) { + this.skipNextColorUpdate = false; + return; + } + document.dispatchEvent(new CustomEvent('pickedColor', { + detail: { + color: color + } + })); + } + static #_ = this.ɵfac = function AppComponent_Factory(t) { + return new (t || AppComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](src_app_Service_Settings_settings_service__WEBPACK_IMPORTED_MODULE_1__.SettingsService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_2__.TitleService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_Service_Export_export_service__WEBPACK_IMPORTED_MODULE_3__.ExportService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_Service_Replay_replay_state_service__WEBPACK_IMPORTED_MODULE_4__.ReplayStateService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_Service_Replay_replay_service__WEBPACK_IMPORTED_MODULE_5__.ReplayService)); + }; + static #_2 = this.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineComponent"]({ + type: AppComponent, + selectors: [["app-root"]], + viewQuery: function AppComponent_Query(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵviewQuery"](ngx_color_picker__WEBPACK_IMPORTED_MODULE_11__.ColorPickerDirective, 5); + } + if (rf & 2) { + let _t; + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵloadQuery"]()) && (ctx.colorPicker = _t.first); + } + }, + decls: 36, + vars: 40, + consts: [["role", "main", 1, "content"], ["id", "colorPicker", 2, "display", "none", "height", "0", 3, "colorPickerChange", "colorPickerClose", "cpPresetColors", "colorPicker"], [4, "ngIf"], ["src", "./favicon.ico", "height", "24", "alt", "Egon Logo"], ["href", "https://egon.io", "target", "_blank"], ["href", "https://egon.io/changelog", "target", "_blank"], ["src", "./assets/logo/wps-icon.ico", "height", "24", "alt", "WPS Logo"], ["href", "https://www.wps.de/", "target", "_blank"], ["href", "https://www.wps.de/datenschutz/", "target", "_blank"], ["href", "https://www.wps.de/impressum/", "target", "_blank"]], + template: function AppComponent_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 0)(1, "input", 1); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtwoWayListener"]("colorPickerChange", function AppComponent_Template_input_colorPickerChange_1_listener($event) { + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtwoWayBindingSet"](ctx.color, $event) || (ctx.color = $event); + return $event; + }); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("colorPickerClose", function AppComponent_Template_input_colorPickerClose_1_listener($event) { + return ctx.onColorChanged($event); + }); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](2, AppComponent_app_settings_2_Template, 1, 0, "app-settings", 2); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](3, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "div"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](5, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](6, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](7, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](8, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](9, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](10, "app-header"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](11, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](12, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](13, "app-modeler"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](14, "div"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](15, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](16, "async"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](17, "span"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](18, "img", 3); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](19, "a", 4); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](20, " egon.io"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](21, "span"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](22, "version: "); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](23, "a", 5); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](24); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](25, "span"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](26, "by "); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](27, "img", 6); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](28, "a", 7); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](29, "WPS"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](30, "span")(31, "a", 8); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](32, "Privacy"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](33, "span")(34, "a", 9); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](35, "Imprint"); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵstyleProp"]("background", ctx.color); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("cpPresetColors", ctx.colorBox); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtwoWayProperty"]("colorPicker", ctx.color); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](3, 20, ctx.showSettings$)); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("headerAndCanvas", !_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](5, 22, ctx.showSettings$) && _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](6, 24, ctx.showDescription$))("headerAndCanvasCollapsed", !_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](7, 26, ctx.showSettings$) && !_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](8, 28, ctx.showDescription$))("hidden", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](9, 30, ctx.showSettings$)); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("header", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](11, 32, ctx.showDescription$))("headerCollapsed", !_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](12, 34, ctx.showDescription$)); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("logoContainer", !_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](15, 36, ctx.showSettings$))("hidden", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](16, 38, ctx.showSettings$)); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](10); + _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](ctx.version); + } + }, + dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_12__.NgIf, ngx_color_picker__WEBPACK_IMPORTED_MODULE_11__.ColorPickerDirective, src_app_Presentation_Header_header_component__WEBPACK_IMPORTED_MODULE_6__.HeaderComponent, src_app_Presentation_Settings_settings_component__WEBPACK_IMPORTED_MODULE_7__.SettingsComponent, src_app_Presentation_Canvas_modeler_component__WEBPACK_IMPORTED_MODULE_8__.ModelerComponent, _angular_common__WEBPACK_IMPORTED_MODULE_12__.AsyncPipe], + styles: [".content[_ngcontent-%COMP%] {\n height: 100%;\n overflow: hidden;\n}\n\n\n\n.headerAndCanvas[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n display: grid;\n grid-template-rows: min-content auto;\n overflow: hidden;\n}\n\n.headerAndCanvasCollapsed[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n display: grid;\n grid-template-rows: min-content auto;\n overflow: hidden;\n}\n\n.settings[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.header[_ngcontent-%COMP%] {\n display: grid;\n grid-template-rows: min-content 155px;\n}\n\n\n\n.logoContainer[_ngcontent-%COMP%] {\n display: flex;\n position: absolute;\n bottom: 0;\n right: 100px;\n align-items: flex-end;\n}\n.logoContainer[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 16px;\n margin-bottom: 14px;\n align-items: center;\n}\n\n.hidden[_ngcontent-%COMP%] {\n height: 1px;\n width: 1px;\n}\n\n#wrapper[_ngcontent-%COMP%] {\n padding: 16px;\n min-height: 100%;\n height: 100%;\n box-sizing: border-box; \n\n}\n\n#tab-group[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n#tab-group[_ngcontent-%COMP%] mat-tab-body[_ngcontent-%COMP%] {\n flex-grow: 1;\n}\n\n.mat-button-toggle-label-content[_ngcontent-%COMP%] {\n font-size: 10pt !important;\n padding: 0 5px !important;\n line-height: inherit !important;\n}\n\n .mdc-text-field--filled:not(.mdc-text-field--disabled) {\n background-color: white;\n}\n\nspan[_ngcontent-%COMP%] *[_ngcontent-%COMP%] {\n vertical-align: middle;\n}\n\nspan[_ngcontent-%COMP%] {\n height: 24px;\n}"] + }); + } + return AppComponent; +})(); + +/***/ }), + +/***/ 50635: +/*!*******************************!*\ + !*** ./src/app/app.module.ts ***! + \*******************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AppModule: () => (/* binding */ AppModule) +/* harmony export */ }); +/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @angular/platform-browser */ 76098); +/* harmony import */ var _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @angular/material/checkbox */ 63422); +/* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/platform-browser/animations */ 7573); +/* harmony import */ var src_app_Presentation_Header_header_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/Presentation/Header/header.component */ 91729); +/* harmony import */ var src_app_Presentation_Settings_settings_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/Presentation/Settings/settings.component */ 1261); +/* harmony import */ var src_app_app_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/app.component */ 20092); +/* harmony import */ var src_app_Service_Export_export_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/Service/Export/export.service */ 98106); +/* harmony import */ var src_app_Service_Import_import_domain_story_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/Service/Import/import-domain-story.service */ 23779); +/* harmony import */ var src_app_Service_Import_import_repair_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/Service/Import/import-repair.service */ 75158); +/* harmony import */ var src_app_Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/Service/Modeler/modeler.service */ 74676); +/* harmony import */ var src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/Service/Title/title.service */ 69672); +/* harmony import */ var src_app_Service_LabelDictionary_label_dictionary_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/Service/LabelDictionary/label-dictionary.service */ 59783); +/* harmony import */ var src_app_Service_Replay_replay_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/Service/Replay/replay.service */ 94788); +/* harmony import */ var src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/Service/ElementRegistry/element-registry.service */ 67613); +/* harmony import */ var src_app_Service_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/app/Service/IconSetConfiguration/icon-set-configuration.service */ 10200); +/* harmony import */ var src_app_Service_LabelDictionary_mass_naming_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! src/app/Service/LabelDictionary/mass-naming.service */ 37509); +/* harmony import */ var src_app_Presentation_Dialog_info_dialog_info_dialog_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/Presentation/Dialog/info-dialog/info-dialog.component */ 16266); +/* harmony import */ var src_app_Presentation_Dialog_export_dialog_export_dialog_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! src/app/Presentation/Dialog/export-dialog/export-dialog.component */ 97218); +/* harmony import */ var src_app_Presentation_Dialog_activity_dialog_activity_dialog_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! src/app/Presentation/Dialog/activity-dialog/activity-dialog.component */ 63954); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @angular/forms */ 37222); +/* harmony import */ var src_app_Presentation_Dialog_header_dialog_header_dialog_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! src/app/Presentation/Dialog/header-dialog/header-dialog.component */ 21270); +/* harmony import */ var src_app_Service_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! src/app/Service/IconSetConfiguration/icon-dictionary.service */ 93689); +/* harmony import */ var src_app_Presentation_Canvas_modeler_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/Presentation/Canvas/modeler.component */ 29383); +/* harmony import */ var src_app_Modules_settings_module__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! src/app/Modules/settings.module */ 47261); +/* harmony import */ var _Service_Autosave_autosave_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Service/Autosave/autosave.service */ 30534); +/* harmony import */ var _Modules_domain_story_modeler_module_module__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./Modules/domain-story-modeler-module.module */ 76330); +/* harmony import */ var _Presentation_Dialog_label_dictionary_dialog_label_dictionary_dialog_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Presentation/Dialog/label-dictionary-dialog/label-dictionary-dialog.component */ 23958); +/* harmony import */ var _material_module__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./material.module */ 89439); +/* harmony import */ var ngx_color_picker__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ngx-color-picker */ 54743); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @angular/core */ 2978); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +let AppModule = /*#__PURE__*/(() => { + class AppModule { + constructor(autosaveService) { + this.autosaveService = autosaveService; + // autosaveService wird so automatisch initialisiert, auf keinen Fall entfernen! + } + + ngDoBootstrap(app) { + const componentElement = document.createElement('app-root'); + document.body.append(componentElement); + app.bootstrap(src_app_app_component__WEBPACK_IMPORTED_MODULE_2__.AppComponent); + } + static #_ = this.ɵfac = function AppModule_Factory(t) { + return new (t || AppModule)(_angular_core__WEBPACK_IMPORTED_MODULE_24__["ɵɵinject"](_Service_Autosave_autosave_service__WEBPACK_IMPORTED_MODULE_20__.AutosaveService)); + }; + static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_24__["ɵɵdefineNgModule"]({ + type: AppModule + }); + static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_24__["ɵɵdefineInjector"]({ + providers: [_Service_Autosave_autosave_service__WEBPACK_IMPORTED_MODULE_20__.AutosaveService, src_app_Service_Export_export_service__WEBPACK_IMPORTED_MODULE_3__.ExportService, src_app_Service_Import_import_domain_story_service__WEBPACK_IMPORTED_MODULE_4__.ImportDomainStoryService, src_app_Service_Import_import_repair_service__WEBPACK_IMPORTED_MODULE_5__.ImportRepairService, src_app_Service_IconSetConfiguration_icon_dictionary_service__WEBPACK_IMPORTED_MODULE_17__.IconDictionaryService, src_app_Service_Title_title_service__WEBPACK_IMPORTED_MODULE_7__.TitleService, src_app_Service_LabelDictionary_label_dictionary_service__WEBPACK_IMPORTED_MODULE_8__.LabelDictionaryService, src_app_Service_Replay_replay_service__WEBPACK_IMPORTED_MODULE_9__.ReplayService, src_app_Service_ElementRegistry_element_registry_service__WEBPACK_IMPORTED_MODULE_10__.ElementRegistryService, src_app_Service_IconSetConfiguration_icon_set_configuration_service__WEBPACK_IMPORTED_MODULE_11__.IconSetConfigurationService, src_app_Service_Modeler_modeler_service__WEBPACK_IMPORTED_MODULE_6__.ModelerService, src_app_Service_LabelDictionary_mass_naming_service__WEBPACK_IMPORTED_MODULE_12__.MassNamingService, _angular_forms__WEBPACK_IMPORTED_MODULE_25__.UntypedFormBuilder, { + provide: _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_26__.MAT_CHECKBOX_DEFAULT_OPTIONS, + useValue: { + clickAction: 'noop' + } + }], + imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_27__.BrowserModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_28__.NoopAnimationsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_25__.ReactiveFormsModule, src_app_Modules_settings_module__WEBPACK_IMPORTED_MODULE_19__.SettingsModule, _Modules_domain_story_modeler_module_module__WEBPACK_IMPORTED_MODULE_21__.DomainStoryModelerModuleModule, _material_module__WEBPACK_IMPORTED_MODULE_23__.MaterialModule, ngx_color_picker__WEBPACK_IMPORTED_MODULE_29__.ColorPickerModule] + }); + } + return AppModule; +})(); +(function () { + (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_24__["ɵɵsetNgModuleScope"](AppModule, { + declarations: [src_app_Presentation_Header_header_component__WEBPACK_IMPORTED_MODULE_0__.HeaderComponent, src_app_Presentation_Settings_settings_component__WEBPACK_IMPORTED_MODULE_1__.SettingsComponent, src_app_app_component__WEBPACK_IMPORTED_MODULE_2__.AppComponent, src_app_Presentation_Dialog_info_dialog_info_dialog_component__WEBPACK_IMPORTED_MODULE_13__.InfoDialogComponent, src_app_Presentation_Dialog_export_dialog_export_dialog_component__WEBPACK_IMPORTED_MODULE_14__.ExportDialogComponent, src_app_Presentation_Dialog_activity_dialog_activity_dialog_component__WEBPACK_IMPORTED_MODULE_15__.ActivityDialogComponent, src_app_Presentation_Dialog_header_dialog_header_dialog_component__WEBPACK_IMPORTED_MODULE_16__.HeaderDialogComponent, src_app_Presentation_Canvas_modeler_component__WEBPACK_IMPORTED_MODULE_18__.ModelerComponent, _Presentation_Dialog_label_dictionary_dialog_label_dictionary_dialog_component__WEBPACK_IMPORTED_MODULE_22__.LabelDictionaryDialogComponent], + imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_27__.BrowserModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_28__.NoopAnimationsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_25__.ReactiveFormsModule, src_app_Modules_settings_module__WEBPACK_IMPORTED_MODULE_19__.SettingsModule, _Modules_domain_story_modeler_module_module__WEBPACK_IMPORTED_MODULE_21__.DomainStoryModelerModuleModule, _material_module__WEBPACK_IMPORTED_MODULE_23__.MaterialModule, ngx_color_picker__WEBPACK_IMPORTED_MODULE_29__.ColorPickerModule] + }); +})(); + +/***/ }), + +/***/ 89439: +/*!************************************!*\ + !*** ./src/app/material.module.ts ***! + \************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ MaterialModule: () => (/* binding */ MaterialModule) +/* harmony export */ }); +/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/dialog */ 44053); +/* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/form-field */ 29344); +/* harmony import */ var _angular_material_input__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/input */ 92583); +/* harmony import */ var _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/material/toolbar */ 23550); +/* harmony import */ var _angular_material_expansion__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/material/expansion */ 71288); +/* harmony import */ var _angular_material_card__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/card */ 90643); +/* harmony import */ var _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/material/snack-bar */ 93289); +/* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material/button */ 72221); +/* harmony import */ var _angular_material_grid_list__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/grid-list */ 81322); +/* harmony import */ var _angular_material_button_toggle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/button-toggle */ 26470); +/* harmony import */ var _angular_material_list__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material/list */ 93901); +/* harmony import */ var _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/checkbox */ 63422); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); + + + + + + + + + + + + + +let MaterialModule = /*#__PURE__*/(() => { + class MaterialModule { + static #_ = this.ɵfac = function MaterialModule_Factory(t) { + return new (t || MaterialModule)(); + }; + static #_2 = this.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: MaterialModule + }); + static #_3 = this.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ + imports: [_angular_material_button__WEBPACK_IMPORTED_MODULE_1__.MatButtonModule, _angular_material_button_toggle__WEBPACK_IMPORTED_MODULE_2__.MatButtonToggleModule, _angular_material_list__WEBPACK_IMPORTED_MODULE_3__.MatListModule, _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_4__.MatCheckboxModule, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__.MatDialogModule, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__.MatFormFieldModule, _angular_material_grid_list__WEBPACK_IMPORTED_MODULE_7__.MatGridListModule, _angular_material_input__WEBPACK_IMPORTED_MODULE_8__.MatInputModule, _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_9__.MatToolbarModule, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_10__.MatExpansionModule, _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__.MatSnackBarModule, _angular_material_card__WEBPACK_IMPORTED_MODULE_12__.MatCardModule, _angular_material_button__WEBPACK_IMPORTED_MODULE_1__.MatButtonModule, _angular_material_button_toggle__WEBPACK_IMPORTED_MODULE_2__.MatButtonToggleModule, _angular_material_list__WEBPACK_IMPORTED_MODULE_3__.MatListModule, _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_4__.MatCheckboxModule, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__.MatDialogModule, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__.MatFormFieldModule, _angular_material_grid_list__WEBPACK_IMPORTED_MODULE_7__.MatGridListModule, _angular_material_input__WEBPACK_IMPORTED_MODULE_8__.MatInputModule, _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_9__.MatToolbarModule, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_10__.MatExpansionModule, _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__.MatSnackBarModule, _angular_material_card__WEBPACK_IMPORTED_MODULE_12__.MatCardModule] + }); + } + return MaterialModule; +})(); +(function () { + (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](MaterialModule, { + imports: [_angular_material_button__WEBPACK_IMPORTED_MODULE_1__.MatButtonModule, _angular_material_button_toggle__WEBPACK_IMPORTED_MODULE_2__.MatButtonToggleModule, _angular_material_list__WEBPACK_IMPORTED_MODULE_3__.MatListModule, _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_4__.MatCheckboxModule, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__.MatDialogModule, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__.MatFormFieldModule, _angular_material_grid_list__WEBPACK_IMPORTED_MODULE_7__.MatGridListModule, _angular_material_input__WEBPACK_IMPORTED_MODULE_8__.MatInputModule, _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_9__.MatToolbarModule, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_10__.MatExpansionModule, _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__.MatSnackBarModule, _angular_material_card__WEBPACK_IMPORTED_MODULE_12__.MatCardModule], + exports: [_angular_material_button__WEBPACK_IMPORTED_MODULE_1__.MatButtonModule, _angular_material_button_toggle__WEBPACK_IMPORTED_MODULE_2__.MatButtonToggleModule, _angular_material_list__WEBPACK_IMPORTED_MODULE_3__.MatListModule, _angular_material_checkbox__WEBPACK_IMPORTED_MODULE_4__.MatCheckboxModule, _angular_material_dialog__WEBPACK_IMPORTED_MODULE_5__.MatDialogModule, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__.MatFormFieldModule, _angular_material_grid_list__WEBPACK_IMPORTED_MODULE_7__.MatGridListModule, _angular_material_input__WEBPACK_IMPORTED_MODULE_8__.MatInputModule, _angular_material_toolbar__WEBPACK_IMPORTED_MODULE_9__.MatToolbarModule, _angular_material_expansion__WEBPACK_IMPORTED_MODULE_10__.MatExpansionModule, _angular_material_snack_bar__WEBPACK_IMPORTED_MODULE_11__.MatSnackBarModule, _angular_material_card__WEBPACK_IMPORTED_MODULE_12__.MatCardModule] + }); +})(); + +/***/ }), + +/***/ 45312: +/*!*****************************************!*\ + !*** ./src/environments/environment.ts ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ environment: () => (/* binding */ environment) +/* harmony export */ }); +const environment = { + production: true, + version: '2.0.0-beta7' +}; + +/***/ }), + +/***/ 84429: +/*!*********************!*\ + !*** ./src/main.ts ***! + \*********************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ 76098); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app/app.module */ 50635); +/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ 45312); + + + + +if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.production) { + (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.enableProdMode)(); +} +_angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__.platformBrowser().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_0__.AppModule).catch(err => console.error(err)); + +/***/ }), + +/***/ 4149: +/*!******************************************************!*\ + !*** ./node_modules/available-typed-arrays/index.js ***! + \******************************************************/ +/***/ ((module) => { + +"use strict"; + + +var possibleNames = ['BigInt64Array', 'BigUint64Array', 'Float32Array', 'Float64Array', 'Int16Array', 'Int32Array', 'Int8Array', 'Uint16Array', 'Uint32Array', 'Uint8Array', 'Uint8ClampedArray']; +var g = typeof globalThis === 'undefined' ? global : globalThis; +module.exports = function availableTypedArrays() { + var out = []; + for (var i = 0; i < possibleNames.length; i++) { + if (typeof g[possibleNames[i]] === 'function') { + out[out.length] = possibleNames[i]; + } + } + return out; +}; + +/***/ }), + +/***/ 10194: +/*!******************************************************************!*\ + !*** ./node_modules/@angular/animations/fesm2022/animations.mjs ***! + \******************************************************************/ +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ AUTO_STYLE: () => (/* binding */ AUTO_STYLE), +/* harmony export */ AnimationBuilder: () => (/* binding */ AnimationBuilder), +/* harmony export */ AnimationFactory: () => (/* binding */ AnimationFactory), +/* harmony export */ AnimationMetadataType: () => (/* binding */ AnimationMetadataType), +/* harmony export */ NoopAnimationPlayer: () => (/* binding */ NoopAnimationPlayer), +/* harmony export */ animate: () => (/* binding */ animate), +/* harmony export */ animateChild: () => (/* binding */ animateChild), +/* harmony export */ animation: () => (/* binding */ animation), +/* harmony export */ group: () => (/* binding */ group), +/* harmony export */ keyframes: () => (/* binding */ keyframes), +/* harmony export */ query: () => (/* binding */ query), +/* harmony export */ sequence: () => (/* binding */ sequence), +/* harmony export */ stagger: () => (/* binding */ stagger), +/* harmony export */ state: () => (/* binding */ state), +/* harmony export */ style: () => (/* binding */ style), +/* harmony export */ transition: () => (/* binding */ transition), +/* harmony export */ trigger: () => (/* binding */ trigger), +/* harmony export */ useAnimation: () => (/* binding */ useAnimation), +/* harmony export */ "ɵAnimationGroupPlayer": () => (/* binding */ AnimationGroupPlayer), +/* harmony export */ "ɵBrowserAnimationBuilder": () => (/* binding */ BrowserAnimationBuilder), +/* harmony export */ "ɵPRE_STYLE": () => (/* binding */ ɵPRE_STYLE) +/* harmony export */ }); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/** + * @license Angular v17.3.3 + * (c) 2010-2022 Google LLC. https://angular.io/ + * License: MIT + */ + + + + + +/** + * @description Constants for the categories of parameters that can be defined for animations. + * + * A corresponding function defines a set of parameters for each category, and + * collects them into a corresponding `AnimationMetadata` object. + * + * @publicApi + */ +var AnimationMetadataType = /*#__PURE__*/function (AnimationMetadataType) { + /** + * Associates a named animation state with a set of CSS styles. + * See [`state()`](api/animations/state) + */ + AnimationMetadataType[AnimationMetadataType["State"] = 0] = "State"; + /** + * Data for a transition from one animation state to another. + * See `transition()` + */ + AnimationMetadataType[AnimationMetadataType["Transition"] = 1] = "Transition"; + /** + * Contains a set of animation steps. + * See `sequence()` + */ + AnimationMetadataType[AnimationMetadataType["Sequence"] = 2] = "Sequence"; + /** + * Contains a set of animation steps. + * See `{@link animations/group group()}` + */ + AnimationMetadataType[AnimationMetadataType["Group"] = 3] = "Group"; + /** + * Contains an animation step. + * See `animate()` + */ + AnimationMetadataType[AnimationMetadataType["Animate"] = 4] = "Animate"; + /** + * Contains a set of animation steps. + * See `keyframes()` + */ + AnimationMetadataType[AnimationMetadataType["Keyframes"] = 5] = "Keyframes"; + /** + * Contains a set of CSS property-value pairs into a named style. + * See `style()` + */ + AnimationMetadataType[AnimationMetadataType["Style"] = 6] = "Style"; + /** + * Associates an animation with an entry trigger that can be attached to an element. + * See `trigger()` + */ + AnimationMetadataType[AnimationMetadataType["Trigger"] = 7] = "Trigger"; + /** + * Contains a re-usable animation. + * See `animation()` + */ + AnimationMetadataType[AnimationMetadataType["Reference"] = 8] = "Reference"; + /** + * Contains data to use in executing child animations returned by a query. + * See `animateChild()` + */ + AnimationMetadataType[AnimationMetadataType["AnimateChild"] = 9] = "AnimateChild"; + /** + * Contains animation parameters for a re-usable animation. + * See `useAnimation()` + */ + AnimationMetadataType[AnimationMetadataType["AnimateRef"] = 10] = "AnimateRef"; + /** + * Contains child-animation query data. + * See `query()` + */ + AnimationMetadataType[AnimationMetadataType["Query"] = 11] = "Query"; + /** + * Contains data for staggering an animation sequence. + * See `stagger()` + */ + AnimationMetadataType[AnimationMetadataType["Stagger"] = 12] = "Stagger"; + return AnimationMetadataType; +}(AnimationMetadataType || {}); +/** + * Specifies automatic styling. + * + * @publicApi + */ +const AUTO_STYLE = '*'; +/** + * Creates a named animation trigger, containing a list of [`state()`](api/animations/state) + * and `transition()` entries to be evaluated when the expression + * bound to the trigger changes. + * + * @param name An identifying string. + * @param definitions An animation definition object, containing an array of + * [`state()`](api/animations/state) and `transition()` declarations. + * + * @return An object that encapsulates the trigger data. + * + * @usageNotes + * Define an animation trigger in the `animations` section of `@Component` metadata. + * In the template, reference the trigger by name and bind it to a trigger expression that + * evaluates to a defined animation state, using the following format: + * + * `[@triggerName]="expression"` + * + * Animation trigger bindings convert all values to strings, and then match the + * previous and current values against any linked transitions. + * Booleans can be specified as `1` or `true` and `0` or `false`. + * + * ### Usage Example + * + * The following example creates an animation trigger reference based on the provided + * name value. + * The provided animation value is expected to be an array consisting of state and + * transition declarations. + * + * ```typescript + * @Component({ + * selector: "my-component", + * templateUrl: "my-component-tpl.html", + * animations: [ + * trigger("myAnimationTrigger", [ + * state(...), + * state(...), + * transition(...), + * transition(...) + * ]) + * ] + * }) + * class MyComponent { + * myStatusExp = "something"; + * } + * ``` + * + * The template associated with this component makes use of the defined trigger + * by binding to an element within its template code. + * + * ```html + * + *
...
+ * ``` + * + * ### Using an inline function + * The `transition` animation method also supports reading an inline function which can decide + * if its associated animation should be run. + * + * ```typescript + * // this method is run each time the `myAnimationTrigger` trigger value changes. + * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key: + string]: any}): boolean { + * // notice that `element` and `params` are also available here + * return toState == 'yes-please-animate'; + * } + * + * @Component({ + * selector: 'my-component', + * templateUrl: 'my-component-tpl.html', + * animations: [ + * trigger('myAnimationTrigger', [ + * transition(myInlineMatcherFn, [ + * // the animation sequence code + * ]), + * ]) + * ] + * }) + * class MyComponent { + * myStatusExp = "yes-please-animate"; + * } + * ``` + * + * ### Disabling Animations + * When true, the special animation control binding `@.disabled` binding prevents + * all animations from rendering. + * Place the `@.disabled` binding on an element to disable + * animations on the element itself, as well as any inner animation triggers + * within the element. + * + * The following example shows how to use this feature: + * + * ```typescript + * @Component({ + * selector: 'my-component', + * template: ` + *
+ *
+ *
+ * `, + * animations: [ + * trigger("childAnimation", [ + * // ... + * ]) + * ] + * }) + * class MyComponent { + * isDisabled = true; + * exp = '...'; + * } + * ``` + * + * When `@.disabled` is true, it prevents the `@childAnimation` trigger from animating, + * along with any inner animations. + * + * ### Disable animations application-wide + * When an area of the template is set to have animations disabled, + * **all** inner components have their animations disabled as well. + * This means that you can disable all animations for an app + * by placing a host binding set on `@.disabled` on the topmost Angular component. + * + * ```typescript + * import {Component, HostBinding} from '@angular/core'; + * + * @Component({ + * selector: 'app-component', + * templateUrl: 'app.component.html', + * }) + * class AppComponent { + * @HostBinding('@.disabled') + * public animationsDisabled = true; + * } + * ``` + * + * ### Overriding disablement of inner animations + * Despite inner animations being disabled, a parent animation can `query()` + * for inner elements located in disabled areas of the template and still animate + * them if needed. This is also the case for when a sub animation is + * queried by a parent and then later animated using `animateChild()`. + * + * ### Detecting when an animation is disabled + * If a region of the DOM (or the entire application) has its animations disabled, the animation + * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides + * an instance of an `AnimationEvent`. If animations are disabled, + * the `.disabled` flag on the event is true. + * + * @publicApi + */ +function trigger(name, definitions) { + return { + type: AnimationMetadataType.Trigger, + name, + definitions, + options: {} + }; +} +/** + * Defines an animation step that combines styling information with timing information. + * + * @param timings Sets `AnimateTimings` for the parent animation. + * A string in the format "duration [delay] [easing]". + * - Duration and delay are expressed as a number and optional time unit, + * such as "1s" or "10ms" for one second and 10 milliseconds, respectively. + * The default unit is milliseconds. + * - The easing value controls how the animation accelerates and decelerates + * during its runtime. Value is one of `ease`, `ease-in`, `ease-out`, + * `ease-in-out`, or a `cubic-bezier()` function call. + * If not supplied, no easing is applied. + * + * For example, the string "1s 100ms ease-out" specifies a duration of + * 1000 milliseconds, and delay of 100 ms, and the "ease-out" easing style, + * which decelerates near the end of the duration. + * @param styles Sets AnimationStyles for the parent animation. + * A function call to either `style()` or `keyframes()` + * that returns a collection of CSS style entries to be applied to the parent animation. + * When null, uses the styles from the destination state. + * This is useful when describing an animation step that will complete an animation; + * see "Animating to the final state" in `transitions()`. + * @returns An object that encapsulates the animation step. + * + * @usageNotes + * Call within an animation `sequence()`, `{@link animations/group group()}`, or + * `transition()` call to specify an animation step + * that applies given style data to the parent animation for a given amount of time. + * + * ### Syntax Examples + * **Timing examples** + * + * The following examples show various `timings` specifications. + * - `animate(500)` : Duration is 500 milliseconds. + * - `animate("1s")` : Duration is 1000 milliseconds. + * - `animate("100ms 0.5s")` : Duration is 100 milliseconds, delay is 500 milliseconds. + * - `animate("5s ease-in")` : Duration is 5000 milliseconds, easing in. + * - `animate("5s 10ms cubic-bezier(.17,.67,.88,.1)")` : Duration is 5000 milliseconds, delay is 10 + * milliseconds, easing according to a bezier curve. + * + * **Style examples** + * + * The following example calls `style()` to set a single CSS style. + * ```typescript + * animate(500, style({ background: "red" })) + * ``` + * The following example calls `keyframes()` to set a CSS style + * to different values for successive keyframes. + * ```typescript + * animate(500, keyframes( + * [ + * style({ background: "blue" }), + * style({ background: "red" }) + * ]) + * ``` + * + * @publicApi + */ +function animate(timings, styles = null) { + return { + type: AnimationMetadataType.Animate, + styles, + timings + }; +} +/** + * @description Defines a list of animation steps to be run in parallel. + * + * @param steps An array of animation step objects. + * - When steps are defined by `style()` or `animate()` + * function calls, each call within the group is executed instantly. + * - To specify offset styles to be applied at a later time, define steps with + * `keyframes()`, or use `animate()` calls with a delay value. + * For example: + * + * ```typescript + * group([ + * animate("1s", style({ background: "black" })), + * animate("2s", style({ color: "white" })) + * ]) + * ``` + * + * @param options An options object containing a delay and + * developer-defined parameters that provide styling defaults and + * can be overridden on invocation. + * + * @return An object that encapsulates the group data. + * + * @usageNotes + * Grouped animations are useful when a series of styles must be + * animated at different starting times and closed off at different ending times. + * + * When called within a `sequence()` or a + * `transition()` call, does not continue to the next + * instruction until all of the inner animation steps have completed. + * + * @publicApi + */ +function group(steps, options = null) { + return { + type: AnimationMetadataType.Group, + steps, + options + }; +} +/** + * Defines a list of animation steps to be run sequentially, one by one. + * + * @param steps An array of animation step objects. + * - Steps defined by `style()` calls apply the styling data immediately. + * - Steps defined by `animate()` calls apply the styling data over time + * as specified by the timing data. + * + * ```typescript + * sequence([ + * style({ opacity: 0 }), + * animate("1s", style({ opacity: 1 })) + * ]) + * ``` + * + * @param options An options object containing a delay and + * developer-defined parameters that provide styling defaults and + * can be overridden on invocation. + * + * @return An object that encapsulates the sequence data. + * + * @usageNotes + * When you pass an array of steps to a + * `transition()` call, the steps run sequentially by default. + * Compare this to the `{@link animations/group group()}` call, which runs animation steps in + *parallel. + * + * When a sequence is used within a `{@link animations/group group()}` or a `transition()` call, + * execution continues to the next instruction only after each of the inner animation + * steps have completed. + * + * @publicApi + **/ +function sequence(steps, options = null) { + return { + type: AnimationMetadataType.Sequence, + steps, + options + }; +} +/** + * Declares a key/value object containing CSS properties/styles that + * can then be used for an animation [`state`](api/animations/state), within an animation + *`sequence`, or as styling data for calls to `animate()` and `keyframes()`. + * + * @param tokens A set of CSS styles or HTML styles associated with an animation state. + * The value can be any of the following: + * - A key-value style pair associating a CSS property with a value. + * - An array of key-value style pairs. + * - An asterisk (*), to use auto-styling, where styles are derived from the element + * being animated and applied to the animation when it starts. + * + * Auto-styling can be used to define a state that depends on layout or other + * environmental factors. + * + * @return An object that encapsulates the style data. + * + * @usageNotes + * The following examples create animation styles that collect a set of + * CSS property values: + * + * ```typescript + * // string values for CSS properties + * style({ background: "red", color: "blue" }) + * + * // numerical pixel values + * style({ width: 100, height: 0 }) + * ``` + * + * The following example uses auto-styling to allow an element to animate from + * a height of 0 up to its full height: + * + * ``` + * style({ height: 0 }), + * animate("1s", style({ height: "*" })) + * ``` + * + * @publicApi + **/ +function style(tokens) { + return { + type: AnimationMetadataType.Style, + styles: tokens, + offset: null + }; +} +/** + * Declares an animation state within a trigger attached to an element. + * + * @param name One or more names for the defined state in a comma-separated string. + * The following reserved state names can be supplied to define a style for specific use + * cases: + * + * - `void` You can associate styles with this name to be used when + * the element is detached from the application. For example, when an `ngIf` evaluates + * to false, the state of the associated element is void. + * - `*` (asterisk) Indicates the default state. You can associate styles with this name + * to be used as the fallback when the state that is being animated is not declared + * within the trigger. + * + * @param styles A set of CSS styles associated with this state, created using the + * `style()` function. + * This set of styles persists on the element once the state has been reached. + * @param options Parameters that can be passed to the state when it is invoked. + * 0 or more key-value pairs. + * @return An object that encapsulates the new state data. + * + * @usageNotes + * Use the `trigger()` function to register states to an animation trigger. + * Use the `transition()` function to animate between states. + * When a state is active within a component, its associated styles persist on the element, + * even when the animation ends. + * + * @publicApi + **/ +function state(name, styles, options) { + return { + type: AnimationMetadataType.State, + name, + styles, + options + }; +} +/** + * Defines a set of animation styles, associating each style with an optional `offset` value. + * + * @param steps A set of animation styles with optional offset data. + * The optional `offset` value for a style specifies a percentage of the total animation + * time at which that style is applied. + * @returns An object that encapsulates the keyframes data. + * + * @usageNotes + * Use with the `animate()` call. Instead of applying animations + * from the current state + * to the destination state, keyframes describe how each style entry is applied and at what point + * within the animation arc. + * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp). + * + * ### Usage + * + * In the following example, the offset values describe + * when each `backgroundColor` value is applied. The color is red at the start, and changes to + * blue when 20% of the total time has elapsed. + * + * ```typescript + * // the provided offset values + * animate("5s", keyframes([ + * style({ backgroundColor: "red", offset: 0 }), + * style({ backgroundColor: "blue", offset: 0.2 }), + * style({ backgroundColor: "orange", offset: 0.3 }), + * style({ backgroundColor: "black", offset: 1 }) + * ])) + * ``` + * + * If there are no `offset` values specified in the style entries, the offsets + * are calculated automatically. + * + * ```typescript + * animate("5s", keyframes([ + * style({ backgroundColor: "red" }) // offset = 0 + * style({ backgroundColor: "blue" }) // offset = 0.33 + * style({ backgroundColor: "orange" }) // offset = 0.66 + * style({ backgroundColor: "black" }) // offset = 1 + * ])) + *``` + + * @publicApi + */ +function keyframes(steps) { + return { + type: AnimationMetadataType.Keyframes, + steps + }; +} +/** + * Declares an animation transition which is played when a certain specified condition is met. + * + * @param stateChangeExpr A string with a specific format or a function that specifies when the + * animation transition should occur (see [State Change Expression](#state-change-expression)). + * + * @param steps One or more animation objects that represent the animation's instructions. + * + * @param options An options object that can be used to specify a delay for the animation or provide + * custom parameters for it. + * + * @returns An object that encapsulates the transition data. + * + * @usageNotes + * + * ### State Change Expression + * + * The State Change Expression instructs Angular when to run the transition's animations, it can + *either be + * - a string with a specific syntax + * - or a function that compares the previous and current state (value of the expression bound to + * the element's trigger) and returns `true` if the transition should occur or `false` otherwise + * + * The string format can be: + * - `fromState => toState`, which indicates that the transition's animations should occur then the + * expression bound to the trigger's element goes from `fromState` to `toState` + * + * _Example:_ + * ```typescript + * transition('open => closed', animate('.5s ease-out', style({ height: 0 }) )) + * ``` + * + * - `fromState <=> toState`, which indicates that the transition's animations should occur then + * the expression bound to the trigger's element goes from `fromState` to `toState` or vice versa + * + * _Example:_ + * ```typescript * transition('enabled <=> disabled', animate('1s cubic-bezier(0.8,0.3,0,1)')) * ``` * @@ -64566,24 +76049,21 @@ function stagger(timings, animation) { * * @publicApi */ -class AnimationBuilder { - static #_ = this.ɵfac = function AnimationBuilder_Factory(t) { - return new (t || AnimationBuilder)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: AnimationBuilder, - factory: () => (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(BrowserAnimationBuilder))(), - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AnimationBuilder, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'root', - useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(BrowserAnimationBuilder) - }] - }], null, null); +let AnimationBuilder = /*#__PURE__*/(() => { + class AnimationBuilder { + static #_ = this.ɵfac = function AnimationBuilder_Factory(t) { + return new (t || AnimationBuilder)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: AnimationBuilder, + factory: () => (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(BrowserAnimationBuilder))(), + providedIn: 'root' + }); + } + return AnimationBuilder; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * A factory object returned from the @@ -64593,58 +76073,48 @@ class AnimationBuilder { * @publicApi */ class AnimationFactory {} -class BrowserAnimationBuilder extends AnimationBuilder { - constructor(rootRenderer, doc) { - super(); - this.animationModuleType = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ANIMATION_MODULE_TYPE, { - optional: true - }); - this._nextAnimationId = 0; - const typeData = { - id: '0', - encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewEncapsulation.None, - styles: [], - data: { - animation: [] +let BrowserAnimationBuilder = /*#__PURE__*/(() => { + class BrowserAnimationBuilder extends AnimationBuilder { + constructor(rootRenderer, doc) { + super(); + this.animationModuleType = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ANIMATION_MODULE_TYPE, { + optional: true + }); + this._nextAnimationId = 0; + const typeData = { + id: '0', + encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewEncapsulation.None, + styles: [], + data: { + animation: [] + } + }; + this._renderer = rootRenderer.createRenderer(doc.body, typeData); + if (this.animationModuleType === null && !isAnimationRenderer(this._renderer)) { + // We only support AnimationRenderer & DynamicDelegationRenderer for this AnimationBuilder + throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](3600 /* RuntimeErrorCode.BROWSER_ANIMATION_BUILDER_INJECTED_WITHOUT_ANIMATIONS */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Angular detected that the `AnimationBuilder` was injected, but animation support was not enabled. ' + 'Please make sure that you enable animations in your application by calling `provideAnimations()` or `provideAnimationsAsync()` function.'); } - }; - this._renderer = rootRenderer.createRenderer(doc.body, typeData); - if (this.animationModuleType === null && !isAnimationRenderer(this._renderer)) { - // We only support AnimationRenderer & DynamicDelegationRenderer for this AnimationBuilder - throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](3600 /* RuntimeErrorCode.BROWSER_ANIMATION_BUILDER_INJECTED_WITHOUT_ANIMATIONS */, (typeof ngDevMode === 'undefined' || ngDevMode) && 'Angular detected that the `AnimationBuilder` was injected, but animation support was not enabled. ' + 'Please make sure that you enable animations in your application by calling `provideAnimations()` or `provideAnimationsAsync()` function.'); } - } - build(animation) { - const id = this._nextAnimationId; - this._nextAnimationId++; - const entry = Array.isArray(animation) ? sequence(animation) : animation; - issueAnimationCommand(this._renderer, null, id, 'register', [entry]); - return new BrowserAnimationFactory(id, this._renderer); - } - static #_ = this.ɵfac = function BrowserAnimationBuilder_Factory(t) { - return new (t || BrowserAnimationBuilder)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.RendererFactory2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: BrowserAnimationBuilder, - factory: BrowserAnimationBuilder.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BrowserAnimationBuilder, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + build(animation) { + const id = this._nextAnimationId; + this._nextAnimationId++; + const entry = Array.isArray(animation) ? sequence(animation) : animation; + issueAnimationCommand(this._renderer, null, id, 'register', [entry]); + return new BrowserAnimationFactory(id, this._renderer); + } + static #_ = this.ɵfac = function BrowserAnimationBuilder_Factory(t) { + return new (t || BrowserAnimationBuilder)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.RendererFactory2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: BrowserAnimationBuilder, + factory: BrowserAnimationBuilder.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.RendererFactory2 - }, { - type: Document, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }], null); + }); + } + return BrowserAnimationBuilder; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); class BrowserAnimationFactory extends AnimationFactory { constructor(_id, _renderer) { @@ -64992,10 +76462,11 @@ const ɵPRE_STYLE = '!'; */ +//# sourceMappingURL=animations.mjs.map /***/ }), -/***/ 79306: +/***/ 41249: /*!***************************************************************!*\ !*** ./node_modules/@angular/animations/fesm2022/browser.mjs ***! \***************************************************************/ @@ -65026,8 +76497,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "ɵvalidateStyleProperty": () => (/* binding */ validateStyleProperty), /* harmony export */ "ɵvalidateWebAnimatableStyleProperty": () => (/* binding */ validateWebAnimatableStyleProperty) /* harmony export */ }); -/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/animations */ 12015); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); +/* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/animations */ 10194); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); /** * @license Angular v17.3.3 * (c) 2010-2022 Google LLC. https://angular.io/ @@ -65152,7 +76623,7 @@ function transitionFailed(name, errors) { * * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties */ -const ANIMATABLE_PROP_SET = new Set(['-moz-outline-radius', '-moz-outline-radius-bottomleft', '-moz-outline-radius-bottomright', '-moz-outline-radius-topleft', '-moz-outline-radius-topright', '-ms-grid-columns', '-ms-grid-rows', '-webkit-line-clamp', '-webkit-text-fill-color', '-webkit-text-stroke', '-webkit-text-stroke-color', 'accent-color', 'all', 'backdrop-filter', 'background', 'background-color', 'background-position', 'background-size', 'block-size', 'border', 'border-block-end', 'border-block-end-color', 'border-block-end-width', 'border-block-start', 'border-block-start-color', 'border-block-start-width', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-width', 'border-color', 'border-end-end-radius', 'border-end-start-radius', 'border-image-outset', 'border-image-slice', 'border-image-width', 'border-inline-end', 'border-inline-end-color', 'border-inline-end-width', 'border-inline-start', 'border-inline-start-color', 'border-inline-start-width', 'border-left', 'border-left-color', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-width', 'border-start-end-radius', 'border-start-start-radius', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-width', 'border-width', 'bottom', 'box-shadow', 'caret-color', 'clip', 'clip-path', 'color', 'column-count', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-width', 'column-width', 'columns', 'filter', 'flex', 'flex-basis', 'flex-grow', 'flex-shrink', 'font', 'font-size', 'font-size-adjust', 'font-stretch', 'font-variation-settings', 'font-weight', 'gap', 'grid-column-gap', 'grid-gap', 'grid-row-gap', 'grid-template-columns', 'grid-template-rows', 'height', 'inline-size', 'input-security', 'inset', 'inset-block', 'inset-block-end', 'inset-block-start', 'inset-inline', 'inset-inline-end', 'inset-inline-start', 'left', 'letter-spacing', 'line-clamp', 'line-height', 'margin', 'margin-block-end', 'margin-block-start', 'margin-bottom', 'margin-inline-end', 'margin-inline-start', 'margin-left', 'margin-right', 'margin-top', 'mask', 'mask-border', 'mask-position', 'mask-size', 'max-block-size', 'max-height', 'max-inline-size', 'max-lines', 'max-width', 'min-block-size', 'min-height', 'min-inline-size', 'min-width', 'object-position', 'offset', 'offset-anchor', 'offset-distance', 'offset-path', 'offset-position', 'offset-rotate', 'opacity', 'order', 'outline', 'outline-color', 'outline-offset', 'outline-width', 'padding', 'padding-block-end', 'padding-block-start', 'padding-bottom', 'padding-inline-end', 'padding-inline-start', 'padding-left', 'padding-right', 'padding-top', 'perspective', 'perspective-origin', 'right', 'rotate', 'row-gap', 'scale', 'scroll-margin', 'scroll-margin-block', 'scroll-margin-block-end', 'scroll-margin-block-start', 'scroll-margin-bottom', 'scroll-margin-inline', 'scroll-margin-inline-end', 'scroll-margin-inline-start', 'scroll-margin-left', 'scroll-margin-right', 'scroll-margin-top', 'scroll-padding', 'scroll-padding-block', 'scroll-padding-block-end', 'scroll-padding-block-start', 'scroll-padding-bottom', 'scroll-padding-inline', 'scroll-padding-inline-end', 'scroll-padding-inline-start', 'scroll-padding-left', 'scroll-padding-right', 'scroll-padding-top', 'scroll-snap-coordinate', 'scroll-snap-destination', 'scrollbar-color', 'shape-image-threshold', 'shape-margin', 'shape-outside', 'tab-size', 'text-decoration', 'text-decoration-color', 'text-decoration-thickness', 'text-emphasis', 'text-emphasis-color', 'text-indent', 'text-shadow', 'text-underline-offset', 'top', 'transform', 'transform-origin', 'translate', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index', 'zoom']); +const ANIMATABLE_PROP_SET = /*#__PURE__*/new Set(['-moz-outline-radius', '-moz-outline-radius-bottomleft', '-moz-outline-radius-bottomright', '-moz-outline-radius-topleft', '-moz-outline-radius-topright', '-ms-grid-columns', '-ms-grid-rows', '-webkit-line-clamp', '-webkit-text-fill-color', '-webkit-text-stroke', '-webkit-text-stroke-color', 'accent-color', 'all', 'backdrop-filter', 'background', 'background-color', 'background-position', 'background-size', 'block-size', 'border', 'border-block-end', 'border-block-end-color', 'border-block-end-width', 'border-block-start', 'border-block-start-color', 'border-block-start-width', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-width', 'border-color', 'border-end-end-radius', 'border-end-start-radius', 'border-image-outset', 'border-image-slice', 'border-image-width', 'border-inline-end', 'border-inline-end-color', 'border-inline-end-width', 'border-inline-start', 'border-inline-start-color', 'border-inline-start-width', 'border-left', 'border-left-color', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-width', 'border-start-end-radius', 'border-start-start-radius', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-width', 'border-width', 'bottom', 'box-shadow', 'caret-color', 'clip', 'clip-path', 'color', 'column-count', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-width', 'column-width', 'columns', 'filter', 'flex', 'flex-basis', 'flex-grow', 'flex-shrink', 'font', 'font-size', 'font-size-adjust', 'font-stretch', 'font-variation-settings', 'font-weight', 'gap', 'grid-column-gap', 'grid-gap', 'grid-row-gap', 'grid-template-columns', 'grid-template-rows', 'height', 'inline-size', 'input-security', 'inset', 'inset-block', 'inset-block-end', 'inset-block-start', 'inset-inline', 'inset-inline-end', 'inset-inline-start', 'left', 'letter-spacing', 'line-clamp', 'line-height', 'margin', 'margin-block-end', 'margin-block-start', 'margin-bottom', 'margin-inline-end', 'margin-inline-start', 'margin-left', 'margin-right', 'margin-top', 'mask', 'mask-border', 'mask-position', 'mask-size', 'max-block-size', 'max-height', 'max-inline-size', 'max-lines', 'max-width', 'min-block-size', 'min-height', 'min-inline-size', 'min-width', 'object-position', 'offset', 'offset-anchor', 'offset-distance', 'offset-path', 'offset-position', 'offset-rotate', 'opacity', 'order', 'outline', 'outline-color', 'outline-offset', 'outline-width', 'padding', 'padding-block-end', 'padding-block-start', 'padding-bottom', 'padding-inline-end', 'padding-inline-start', 'padding-left', 'padding-right', 'padding-top', 'perspective', 'perspective-origin', 'right', 'rotate', 'row-gap', 'scale', 'scroll-margin', 'scroll-margin-block', 'scroll-margin-block-end', 'scroll-margin-block-start', 'scroll-margin-bottom', 'scroll-margin-inline', 'scroll-margin-inline-end', 'scroll-margin-inline-start', 'scroll-margin-left', 'scroll-margin-right', 'scroll-margin-top', 'scroll-padding', 'scroll-padding-block', 'scroll-padding-block-end', 'scroll-padding-block-start', 'scroll-padding-bottom', 'scroll-padding-inline', 'scroll-padding-inline-end', 'scroll-padding-inline-start', 'scroll-padding-left', 'scroll-padding-right', 'scroll-padding-top', 'scroll-snap-coordinate', 'scroll-snap-destination', 'scrollbar-color', 'shape-image-threshold', 'shape-margin', 'shape-outside', 'tab-size', 'text-decoration', 'text-decoration-color', 'text-decoration-thickness', 'text-emphasis', 'text-emphasis-color', 'text-indent', 'text-shadow', 'text-underline-offset', 'top', 'transform', 'transform-origin', 'translate', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index', 'zoom']); function optimizeGroupPlayer(players) { switch (players.length) { case 0: @@ -65319,64 +76790,65 @@ function hypenatePropsKeys(original) { * * `AnimationDriver` implentation for Noop animations */ -class NoopAnimationDriver { - /** - * @returns Whether `prop` is a valid CSS property - */ - validateStyleProperty(prop) { - return validateStyleProperty(prop); - } - /** - * @deprecated unused - */ - matchesElement(_element, _selector) { - // This method is deprecated and no longer in use so we return false. - return false; - } - /** - * - * @returns Whether elm1 contains elm2. - */ - containsElement(elm1, elm2) { - return containsElement(elm1, elm2); - } - /** - * @returns Rhe parent of the given element or `null` if the element is the `document` - */ - getParentElement(element) { - return getParentElement(element); - } - /** - * @returns The result of the query selector on the element. The array will contain up to 1 item - * if `multi` is `false`. - */ - query(element, selector, multi) { - return invokeQuery(element, selector, multi); - } - /** - * @returns The `defaultValue` or empty string - */ - computeStyle(element, prop, defaultValue) { - return defaultValue || ''; - } - /** - * @returns An `NoopAnimationPlayer` - */ - animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) { - return new _angular_animations__WEBPACK_IMPORTED_MODULE_1__.NoopAnimationPlayer(duration, delay); +let NoopAnimationDriver = /*#__PURE__*/(() => { + class NoopAnimationDriver { + /** + * @returns Whether `prop` is a valid CSS property + */ + validateStyleProperty(prop) { + return validateStyleProperty(prop); + } + /** + * @deprecated unused + */ + matchesElement(_element, _selector) { + // This method is deprecated and no longer in use so we return false. + return false; + } + /** + * + * @returns Whether elm1 contains elm2. + */ + containsElement(elm1, elm2) { + return containsElement(elm1, elm2); + } + /** + * @returns Rhe parent of the given element or `null` if the element is the `document` + */ + getParentElement(element) { + return getParentElement(element); + } + /** + * @returns The result of the query selector on the element. The array will contain up to 1 item + * if `multi` is `false`. + */ + query(element, selector, multi) { + return invokeQuery(element, selector, multi); + } + /** + * @returns The `defaultValue` or empty string + */ + computeStyle(element, prop, defaultValue) { + return defaultValue || ''; + } + /** + * @returns An `NoopAnimationPlayer` + */ + animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) { + return new _angular_animations__WEBPACK_IMPORTED_MODULE_1__.NoopAnimationPlayer(duration, delay); + } + static #_ = this.ɵfac = function NoopAnimationDriver_Factory(t) { + return new (t || NoopAnimationDriver)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: NoopAnimationDriver, + factory: NoopAnimationDriver.ɵfac + }); } - static #_ = this.ɵfac = function NoopAnimationDriver_Factory(t) { - return new (t || NoopAnimationDriver)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: NoopAnimationDriver, - factory: NoopAnimationDriver.ɵfac - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NoopAnimationDriver, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable - }], null, null); + return NoopAnimationDriver; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @publicApi @@ -65385,7 +76857,7 @@ class AnimationDriver { /** * @deprecated Use the NoopAnimationDriver class. */ - static #_ = this.NOOP = new NoopAnimationDriver(); + static #_ = this.NOOP = /*#__PURE__*/new NoopAnimationDriver(); } class AnimationStyleNormalizer {} class NoopAnimationStyleNormalizer { @@ -65516,7 +76988,7 @@ function validateStyleParams(value, options, errors) { }); } } -const PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\s*(.+?)\\s*${SUBSTITUTION_EXPR_END}`, 'g'); +const PARAM_REGEX = /*#__PURE__*/new RegExp(`${SUBSTITUTION_EXPR_START}\\s*(.+?)\\s*${SUBSTITUTION_EXPR_END}`, 'g'); function extractStyleParams(value) { let params = []; if (typeof value === 'string') { @@ -65606,7 +77078,7 @@ function visitDslNode(visitor, node, context) { function computeStyle(element, prop) { return window.getComputedStyle(element)[prop]; } -const DIMENSIONAL_PROP_SET = 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']); +const DIMENSIONAL_PROP_SET = /*#__PURE__*/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 WebAnimationsStyleNormalizer extends AnimationStyleNormalizer { normalizePropertyName(propertyName, errors) { return dashCaseToCamelCase(propertyName); @@ -65701,8 +77173,8 @@ function parseAnimationAlias(alias, errors) { // with the values intact (closure compiler for some reason // removes follow-up lines that add the values outside of // the constructor... -const TRUE_BOOLEAN_VALUES = new Set(['true', '1']); -const FALSE_BOOLEAN_VALUES = new Set(['false', '0']); +const TRUE_BOOLEAN_VALUES = /*#__PURE__*/new Set(['true', '1']); +const FALSE_BOOLEAN_VALUES = /*#__PURE__*/new Set(['false', '0']); function makeLambdaFromStates(lhs, rhs) { const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs); const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs); @@ -65719,7 +77191,7 @@ function makeLambdaFromStates(lhs, rhs) { }; } const SELF_TOKEN = ':self'; -const SELF_TOKEN_REGEX = new RegExp(`s*${SELF_TOKEN}s*,?`, 'g'); +const SELF_TOKEN_REGEX = /*#__PURE__*/new RegExp(`s*${SELF_TOKEN}s*,?`, 'g'); /* * [Validation] * The visitor code below will traverse the animation AST generated by the animation verb functions @@ -66248,9 +77720,9 @@ class ElementInstructionMap { } const ONE_FRAME_IN_MILLISECONDS = 1; const ENTER_TOKEN = ':enter'; -const ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g'); +const ENTER_TOKEN_REGEX = /*#__PURE__*/new RegExp(ENTER_TOKEN, 'g'); const LEAVE_TOKEN = ':leave'; -const LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g'); +const LEAVE_TOKEN_REGEX = /*#__PURE__*/new RegExp(LEAVE_TOKEN, 'g'); /* * The code within this file aims to generate web-animations-compatible keyframes from Angular's * animation DSL code. @@ -67224,7 +78696,7 @@ function balanceProperties(stateMap, key1, key2) { stateMap.set(key1, stateMap.get(key2)); } } -const EMPTY_INSTRUCTION_MAP = new ElementInstructionMap(); +const EMPTY_INSTRUCTION_MAP = /*#__PURE__*/new ElementInstructionMap(); class TimelineAnimationEngine { constructor(bodyNode, _driver, _normalizer) { this.bodyNode = bodyNode; @@ -67404,7 +78876,7 @@ class StateValue { } } const VOID_VALUE = 'void'; -const DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE); +const DEFAULT_STATE_VALUE = /*#__PURE__*/new StateValue(VOID_VALUE); class AnimationTransitionNamespace { constructor(id, hostElement, _engine) { this.id = id; @@ -68916,7 +80388,7 @@ function packageNonAnimatableStyles(element, styles) { * `destroy()` is called then all styles will be removed. */ class SpecialCasedStyles { - static #_ = this.initialStylesByElement = new WeakMap(); + static #_ = this.initialStylesByElement = /*#__PURE__*/new WeakMap(); constructor(_element, _startStyles, _endStyles) { this._element = _element; this._startStyles = _startStyles; @@ -69515,10 +80987,11 @@ class AnimationRendererFactory { */ +//# sourceMappingURL=browser.mjs.map /***/ }), -/***/ 88627: +/***/ 41992: /*!*****************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/a11y.mjs ***! \*****************************************************/ @@ -69564,25 +81037,25 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ isFakeTouchstartFromScreenReader: () => (/* binding */ isFakeTouchstartFromScreenReader), /* harmony export */ removeAriaReferencedId: () => (/* binding */ removeAriaReferencedId) /* harmony export */ }); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 39191); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/platform */ 51338); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 36421); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ 95536); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs */ 13901); -/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/cdk/keycodes */ 64986); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ 61969); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 43396); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 61856); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 24406); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 75117); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 99473); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs/operators */ 79746); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! rxjs/operators */ 65213); -/* harmony import */ var _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/cdk/observers */ 98472); -/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/cdk/coercion */ 79663); -/* harmony import */ var _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/cdk/layout */ 42085); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/platform */ 71857); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 42486); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ 95981); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs */ 20756); +/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/cdk/keycodes */ 76809); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ 37236); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 68887); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 38503); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 93527); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 38486); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 89990); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs/operators */ 73793); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! rxjs/operators */ 76340); +/* harmony import */ var _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/cdk/observers */ 73957); +/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/cdk/coercion */ 61432); +/* harmony import */ var _angular_cdk_layout__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/cdk/layout */ 10814); @@ -69660,208 +81133,198 @@ let nextId = 0; * want to use aria-describedby to further describe themselves without adding additional visual * content. */ -class AriaDescriber { - constructor(_document, - /** - * @deprecated To be turned into a required parameter. - * @breaking-change 14.0.0 - */ - _platform) { - this._platform = _platform; - /** Map of all registered message elements that have been placed into the document. */ - this._messageRegistry = new Map(); - /** Container for all registered messages. */ - this._messagesContainer = null; - /** Unique ID for the service. */ - this._id = `${nextId++}`; - this._document = _document; - this._id = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_ID) + '-' + nextId++; - } - describe(hostElement, message, role) { - if (!this._canBeDescribed(hostElement, message)) { - return; +let AriaDescriber = /*#__PURE__*/(() => { + class AriaDescriber { + constructor(_document, + /** + * @deprecated To be turned into a required parameter. + * @breaking-change 14.0.0 + */ + _platform) { + this._platform = _platform; + /** Map of all registered message elements that have been placed into the document. */ + this._messageRegistry = new Map(); + /** Container for all registered messages. */ + this._messagesContainer = null; + /** Unique ID for the service. */ + this._id = `${nextId++}`; + this._document = _document; + this._id = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_ID) + '-' + nextId++; + } + describe(hostElement, message, role) { + if (!this._canBeDescribed(hostElement, message)) { + return; + } + const key = getKey(message, role); + if (typeof message !== 'string') { + // We need to ensure that the element has an ID. + setMessageId(message, this._id); + this._messageRegistry.set(key, { + messageElement: message, + referenceCount: 0 + }); + } else if (!this._messageRegistry.has(key)) { + this._createMessageElement(message, role); + } + if (!this._isElementDescribedByMessage(hostElement, key)) { + this._addMessageReference(hostElement, key); + } + } + removeDescription(hostElement, message, role) { + if (!message || !this._isElementNode(hostElement)) { + return; + } + const key = getKey(message, role); + if (this._isElementDescribedByMessage(hostElement, key)) { + this._removeMessageReference(hostElement, key); + } + // If the message is a string, it means that it's one that we created for the + // consumer so we can remove it safely, otherwise we should leave it in place. + if (typeof message === 'string') { + const registeredMessage = this._messageRegistry.get(key); + if (registeredMessage && registeredMessage.referenceCount === 0) { + this._deleteMessageElement(key); + } + } + if (this._messagesContainer?.childNodes.length === 0) { + this._messagesContainer.remove(); + this._messagesContainer = null; + } + } + /** Unregisters all created message elements and removes the message container. */ + ngOnDestroy() { + const describedElements = this._document.querySelectorAll(`[${CDK_DESCRIBEDBY_HOST_ATTRIBUTE}="${this._id}"]`); + for (let i = 0; i < describedElements.length; i++) { + this._removeCdkDescribedByReferenceIds(describedElements[i]); + describedElements[i].removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE); + } + this._messagesContainer?.remove(); + this._messagesContainer = null; + this._messageRegistry.clear(); } - const key = getKey(message, role); - if (typeof message !== 'string') { - // We need to ensure that the element has an ID. - setMessageId(message, this._id); - this._messageRegistry.set(key, { - messageElement: message, + /** + * Creates a new element in the visually hidden message container element with the message + * as its content and adds it to the message registry. + */ + _createMessageElement(message, role) { + const messageElement = this._document.createElement('div'); + setMessageId(messageElement, this._id); + messageElement.textContent = message; + if (role) { + messageElement.setAttribute('role', role); + } + this._createMessagesContainer(); + this._messagesContainer.appendChild(messageElement); + this._messageRegistry.set(getKey(message, role), { + messageElement, referenceCount: 0 }); - } else if (!this._messageRegistry.has(key)) { - this._createMessageElement(message, role); } - if (!this._isElementDescribedByMessage(hostElement, key)) { - this._addMessageReference(hostElement, key); + /** Deletes the message element from the global messages container. */ + _deleteMessageElement(key) { + this._messageRegistry.get(key)?.messageElement?.remove(); + this._messageRegistry.delete(key); } - } - removeDescription(hostElement, message, role) { - if (!message || !this._isElementNode(hostElement)) { - return; + /** Creates the global container for all aria-describedby messages. */ + _createMessagesContainer() { + if (this._messagesContainer) { + return; + } + const containerClassName = 'cdk-describedby-message-container'; + const serverContainers = this._document.querySelectorAll(`.${containerClassName}[platform="server"]`); + for (let i = 0; i < serverContainers.length; i++) { + // When going from the server to the client, we may end up in a situation where there's + // already a container on the page, but we don't have a reference to it. Clear the + // old container so we don't get duplicates. Doing this, instead of emptying the previous + // container, should be slightly faster. + serverContainers[i].remove(); + } + const messagesContainer = this._document.createElement('div'); + // We add `visibility: hidden` in order to prevent text in this container from + // being searchable by the browser's Ctrl + F functionality. + // Screen-readers will still read the description for elements with aria-describedby even + // when the description element is not visible. + messagesContainer.style.visibility = 'hidden'; + // Even though we use `visibility: hidden`, we still apply `cdk-visually-hidden` so that + // the description element doesn't impact page layout. + messagesContainer.classList.add(containerClassName); + messagesContainer.classList.add('cdk-visually-hidden'); + // @breaking-change 14.0.0 Remove null check for `_platform`. + if (this._platform && !this._platform.isBrowser) { + messagesContainer.setAttribute('platform', 'server'); + } + this._document.body.appendChild(messagesContainer); + this._messagesContainer = messagesContainer; + } + /** Removes all cdk-describedby messages that are hosted through the element. */ + _removeCdkDescribedByReferenceIds(element) { + // Remove all aria-describedby reference IDs that are prefixed by CDK_DESCRIBEDBY_ID_PREFIX + const originalReferenceIds = getAriaReferenceIds(element, 'aria-describedby').filter(id => id.indexOf(CDK_DESCRIBEDBY_ID_PREFIX) != 0); + element.setAttribute('aria-describedby', originalReferenceIds.join(' ')); } - const key = getKey(message, role); - if (this._isElementDescribedByMessage(hostElement, key)) { - this._removeMessageReference(hostElement, key); + /** + * Adds a message reference to the element using aria-describedby and increments the registered + * message's reference count. + */ + _addMessageReference(element, key) { + const registeredMessage = this._messageRegistry.get(key); + // Add the aria-describedby reference and set the + // describedby_host attribute to mark the element. + addAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id); + element.setAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE, this._id); + registeredMessage.referenceCount++; } - // If the message is a string, it means that it's one that we created for the - // consumer so we can remove it safely, otherwise we should leave it in place. - if (typeof message === 'string') { + /** + * Removes a message reference from the element using aria-describedby + * and decrements the registered message's reference count. + */ + _removeMessageReference(element, key) { const registeredMessage = this._messageRegistry.get(key); - if (registeredMessage && registeredMessage.referenceCount === 0) { - this._deleteMessageElement(key); - } + registeredMessage.referenceCount--; + removeAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id); + element.removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE); } - if (this._messagesContainer?.childNodes.length === 0) { - this._messagesContainer.remove(); - this._messagesContainer = null; + /** Returns true if the element has been described by the provided message ID. */ + _isElementDescribedByMessage(element, key) { + const referenceIds = getAriaReferenceIds(element, 'aria-describedby'); + const registeredMessage = this._messageRegistry.get(key); + const messageId = registeredMessage && registeredMessage.messageElement.id; + return !!messageId && referenceIds.indexOf(messageId) != -1; } - } - /** Unregisters all created message elements and removes the message container. */ - ngOnDestroy() { - const describedElements = this._document.querySelectorAll(`[${CDK_DESCRIBEDBY_HOST_ATTRIBUTE}="${this._id}"]`); - for (let i = 0; i < describedElements.length; i++) { - this._removeCdkDescribedByReferenceIds(describedElements[i]); - describedElements[i].removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE); + /** Determines whether a message can be described on a particular element. */ + _canBeDescribed(element, message) { + if (!this._isElementNode(element)) { + return false; + } + if (message && typeof message === 'object') { + // We'd have to make some assumptions about the description element's text, if the consumer + // passed in an element. Assume that if an element is passed in, the consumer has verified + // that it can be used as a description. + return true; + } + const trimmedMessage = message == null ? '' : `${message}`.trim(); + const ariaLabel = element.getAttribute('aria-label'); + // We shouldn't set descriptions if they're exactly the same as the `aria-label` of the + // element, because screen readers will end up reading out the same text twice in a row. + return trimmedMessage ? !ariaLabel || ariaLabel.trim() !== trimmedMessage : false; } - this._messagesContainer?.remove(); - this._messagesContainer = null; - this._messageRegistry.clear(); - } - /** - * Creates a new element in the visually hidden message container element with the message - * as its content and adds it to the message registry. - */ - _createMessageElement(message, role) { - const messageElement = this._document.createElement('div'); - setMessageId(messageElement, this._id); - messageElement.textContent = message; - if (role) { - messageElement.setAttribute('role', role); + /** Checks whether a node is an Element node. */ + _isElementNode(element) { + return element.nodeType === this._document.ELEMENT_NODE; } - this._createMessagesContainer(); - this._messagesContainer.appendChild(messageElement); - this._messageRegistry.set(getKey(message, role), { - messageElement, - referenceCount: 0 + static #_ = this.ɵfac = function AriaDescriber_Factory(t) { + return new (t || AriaDescriber)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: AriaDescriber, + factory: AriaDescriber.ɵfac, + providedIn: 'root' }); } - /** Deletes the message element from the global messages container. */ - _deleteMessageElement(key) { - this._messageRegistry.get(key)?.messageElement?.remove(); - this._messageRegistry.delete(key); - } - /** Creates the global container for all aria-describedby messages. */ - _createMessagesContainer() { - if (this._messagesContainer) { - return; - } - const containerClassName = 'cdk-describedby-message-container'; - const serverContainers = this._document.querySelectorAll(`.${containerClassName}[platform="server"]`); - for (let i = 0; i < serverContainers.length; i++) { - // When going from the server to the client, we may end up in a situation where there's - // already a container on the page, but we don't have a reference to it. Clear the - // old container so we don't get duplicates. Doing this, instead of emptying the previous - // container, should be slightly faster. - serverContainers[i].remove(); - } - const messagesContainer = this._document.createElement('div'); - // We add `visibility: hidden` in order to prevent text in this container from - // being searchable by the browser's Ctrl + F functionality. - // Screen-readers will still read the description for elements with aria-describedby even - // when the description element is not visible. - messagesContainer.style.visibility = 'hidden'; - // Even though we use `visibility: hidden`, we still apply `cdk-visually-hidden` so that - // the description element doesn't impact page layout. - messagesContainer.classList.add(containerClassName); - messagesContainer.classList.add('cdk-visually-hidden'); - // @breaking-change 14.0.0 Remove null check for `_platform`. - if (this._platform && !this._platform.isBrowser) { - messagesContainer.setAttribute('platform', 'server'); - } - this._document.body.appendChild(messagesContainer); - this._messagesContainer = messagesContainer; - } - /** Removes all cdk-describedby messages that are hosted through the element. */ - _removeCdkDescribedByReferenceIds(element) { - // Remove all aria-describedby reference IDs that are prefixed by CDK_DESCRIBEDBY_ID_PREFIX - const originalReferenceIds = getAriaReferenceIds(element, 'aria-describedby').filter(id => id.indexOf(CDK_DESCRIBEDBY_ID_PREFIX) != 0); - element.setAttribute('aria-describedby', originalReferenceIds.join(' ')); - } - /** - * Adds a message reference to the element using aria-describedby and increments the registered - * message's reference count. - */ - _addMessageReference(element, key) { - const registeredMessage = this._messageRegistry.get(key); - // Add the aria-describedby reference and set the - // describedby_host attribute to mark the element. - addAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id); - element.setAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE, this._id); - registeredMessage.referenceCount++; - } - /** - * Removes a message reference from the element using aria-describedby - * and decrements the registered message's reference count. - */ - _removeMessageReference(element, key) { - const registeredMessage = this._messageRegistry.get(key); - registeredMessage.referenceCount--; - removeAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id); - element.removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE); - } - /** Returns true if the element has been described by the provided message ID. */ - _isElementDescribedByMessage(element, key) { - const referenceIds = getAriaReferenceIds(element, 'aria-describedby'); - const registeredMessage = this._messageRegistry.get(key); - const messageId = registeredMessage && registeredMessage.messageElement.id; - return !!messageId && referenceIds.indexOf(messageId) != -1; - } - /** Determines whether a message can be described on a particular element. */ - _canBeDescribed(element, message) { - if (!this._isElementNode(element)) { - return false; - } - if (message && typeof message === 'object') { - // We'd have to make some assumptions about the description element's text, if the consumer - // passed in an element. Assume that if an element is passed in, the consumer has verified - // that it can be used as a description. - return true; - } - const trimmedMessage = message == null ? '' : `${message}`.trim(); - const ariaLabel = element.getAttribute('aria-label'); - // We shouldn't set descriptions if they're exactly the same as the `aria-label` of the - // element, because screen readers will end up reading out the same text twice in a row. - return trimmedMessage ? !ariaLabel || ariaLabel.trim() !== trimmedMessage : false; - } - /** Checks whether a node is an Element node. */ - _isElementNode(element) { - return element.nodeType === this._document.ELEMENT_NODE; - } - static #_ = this.ɵfac = function AriaDescriber_Factory(t) { - return new (t || AriaDescriber)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: AriaDescriber, - factory: AriaDescriber.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AriaDescriber, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'root' - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }, { - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform - }], null); + return AriaDescriber; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Gets a key that can be used to look messages up in the registry. */ function getKey(message, role) { @@ -70282,130 +81745,126 @@ class IsFocusableConfig { * Utility for checking the interactivity of an element, such as whether it is focusable or * tabbable. */ -class InteractivityChecker { - constructor(_platform) { - this._platform = _platform; - } - /** - * Gets whether an element is disabled. - * - * @param element Element to be checked. - * @returns Whether the element is disabled. - */ - isDisabled(element) { - // This does not capture some cases, such as a non-form control with a disabled attribute or - // a form control inside of a disabled form, but should capture the most common cases. - return element.hasAttribute('disabled'); - } - /** - * Gets whether an element is visible for the purposes of interactivity. - * - * This will capture states like `display: none` and `visibility: hidden`, but not things like - * being clipped by an `overflow: hidden` parent or being outside the viewport. - * - * @returns Whether the element is visible. - */ - isVisible(element) { - return hasGeometry(element) && getComputedStyle(element).visibility === 'visible'; - } - /** - * Gets whether an element can be reached via Tab key. - * Assumes that the element has already been checked with isFocusable. - * - * @param element Element to be checked. - * @returns Whether the element is tabbable. - */ - isTabbable(element) { - // Nothing is tabbable on the server 😎 - if (!this._platform.isBrowser) { - return false; +let InteractivityChecker = /*#__PURE__*/(() => { + class InteractivityChecker { + constructor(_platform) { + this._platform = _platform; } - const frameElement = getFrameElement(getWindow(element)); - if (frameElement) { - // Frame elements inherit their tabindex onto all child elements. - if (getTabIndexValue(frameElement) === -1) { + /** + * Gets whether an element is disabled. + * + * @param element Element to be checked. + * @returns Whether the element is disabled. + */ + isDisabled(element) { + // This does not capture some cases, such as a non-form control with a disabled attribute or + // a form control inside of a disabled form, but should capture the most common cases. + return element.hasAttribute('disabled'); + } + /** + * Gets whether an element is visible for the purposes of interactivity. + * + * This will capture states like `display: none` and `visibility: hidden`, but not things like + * being clipped by an `overflow: hidden` parent or being outside the viewport. + * + * @returns Whether the element is visible. + */ + isVisible(element) { + return hasGeometry(element) && getComputedStyle(element).visibility === 'visible'; + } + /** + * Gets whether an element can be reached via Tab key. + * Assumes that the element has already been checked with isFocusable. + * + * @param element Element to be checked. + * @returns Whether the element is tabbable. + */ + isTabbable(element) { + // Nothing is tabbable on the server 😎 + if (!this._platform.isBrowser) { return false; } - // Browsers disable tabbing to an element inside of an invisible frame. - if (!this.isVisible(frameElement)) { - return false; + const frameElement = getFrameElement(getWindow(element)); + if (frameElement) { + // Frame elements inherit their tabindex onto all child elements. + if (getTabIndexValue(frameElement) === -1) { + return false; + } + // Browsers disable tabbing to an element inside of an invisible frame. + if (!this.isVisible(frameElement)) { + return false; + } } - } - let nodeName = element.nodeName.toLowerCase(); - let tabIndexValue = getTabIndexValue(element); - if (element.hasAttribute('contenteditable')) { - return tabIndexValue !== -1; - } - if (nodeName === 'iframe' || nodeName === 'object') { - // The frame or object's content may be tabbable depending on the content, but it's - // not possibly to reliably detect the content of the frames. We always consider such - // elements as non-tabbable. - return false; - } - // In iOS, the browser only considers some specific elements as tabbable. - if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) { - return false; - } - if (nodeName === 'audio') { - // Audio elements without controls enabled are never tabbable, regardless - // of the tabindex attribute explicitly being set. - if (!element.hasAttribute('controls')) { + let nodeName = element.nodeName.toLowerCase(); + let tabIndexValue = getTabIndexValue(element); + if (element.hasAttribute('contenteditable')) { + return tabIndexValue !== -1; + } + if (nodeName === 'iframe' || nodeName === 'object') { + // The frame or object's content may be tabbable depending on the content, but it's + // not possibly to reliably detect the content of the frames. We always consider such + // elements as non-tabbable. return false; } - // Audio elements with controls are by default tabbable unless the - // tabindex attribute is set to `-1` explicitly. - return tabIndexValue !== -1; - } - if (nodeName === 'video') { - // For all video elements, if the tabindex attribute is set to `-1`, the video - // is not tabbable. Note: We cannot rely on the default `HTMLElement.tabIndex` - // property as that one is set to `-1` in Chrome, Edge and Safari v13.1. The - // tabindex attribute is the source of truth here. - if (tabIndexValue === -1) { + // In iOS, the browser only considers some specific elements as tabbable. + if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) { return false; } - // If the tabindex is explicitly set, and not `-1` (as per check before), the - // video element is always tabbable (regardless of whether it has controls or not). - if (tabIndexValue !== null) { - return true; + if (nodeName === 'audio') { + // Audio elements without controls enabled are never tabbable, regardless + // of the tabindex attribute explicitly being set. + if (!element.hasAttribute('controls')) { + return false; + } + // Audio elements with controls are by default tabbable unless the + // tabindex attribute is set to `-1` explicitly. + return tabIndexValue !== -1; } - // Otherwise (when no explicit tabindex is set), a video is only tabbable if it - // has controls enabled. Firefox is special as videos are always tabbable regardless - // of whether there are controls or not. - return this._platform.FIREFOX || element.hasAttribute('controls'); + if (nodeName === 'video') { + // For all video elements, if the tabindex attribute is set to `-1`, the video + // is not tabbable. Note: We cannot rely on the default `HTMLElement.tabIndex` + // property as that one is set to `-1` in Chrome, Edge and Safari v13.1. The + // tabindex attribute is the source of truth here. + if (tabIndexValue === -1) { + return false; + } + // If the tabindex is explicitly set, and not `-1` (as per check before), the + // video element is always tabbable (regardless of whether it has controls or not). + if (tabIndexValue !== null) { + return true; + } + // Otherwise (when no explicit tabindex is set), a video is only tabbable if it + // has controls enabled. Firefox is special as videos are always tabbable regardless + // of whether there are controls or not. + return this._platform.FIREFOX || element.hasAttribute('controls'); + } + return element.tabIndex >= 0; } - return element.tabIndex >= 0; - } - /** - * Gets whether an element can be focused by the user. - * - * @param element Element to be checked. - * @param config The config object with options to customize this method's behavior - * @returns Whether the element is focusable. - */ - isFocusable(element, config) { - // Perform checks in order of left to most expensive. - // Again, naive approach that does not capture many edge cases and browser quirks. - return isPotentiallyFocusable(element) && !this.isDisabled(element) && (config?.ignoreVisibility || this.isVisible(element)); - } - static #_ = this.ɵfac = function InteractivityChecker_Factory(t) { - return new (t || InteractivityChecker)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: InteractivityChecker, - factory: InteractivityChecker.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](InteractivityChecker, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + /** + * Gets whether an element can be focused by the user. + * + * @param element Element to be checked. + * @param config The config object with options to customize this method's behavior + * @returns Whether the element is focusable. + */ + isFocusable(element, config) { + // Perform checks in order of left to most expensive. + // Again, naive approach that does not capture many edge cases and browser quirks. + return isPotentiallyFocusable(element) && !this.isDisabled(element) && (config?.ignoreVisibility || this.isVisible(element)); + } + static #_ = this.ɵfac = function InteractivityChecker_Factory(t) { + return new (t || InteractivityChecker)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: InteractivityChecker, + factory: InteractivityChecker.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform - }], null); + }); + } + return InteractivityChecker; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Returns the frame element from a window object. Since browsers like MS Edge throw errors if @@ -70745,154 +82204,113 @@ class FocusTrap { /** * Factory that allows easy instantiation of focus traps. */ -class FocusTrapFactory { - constructor(_checker, _ngZone, _document) { - this._checker = _checker; - this._ngZone = _ngZone; - this._document = _document; - } - /** - * Creates a focus-trapped region around the given element. - * @param element The element around which focus will be trapped. - * @param deferCaptureElements Defers the creation of focus-capturing elements to be done - * manually by the user. - * @returns The created focus trap instance. - */ - create(element, deferCaptureElements = false) { - return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements); - } - static #_ = this.ɵfac = function FocusTrapFactory_Factory(t) { - return new (t || FocusTrapFactory)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](InteractivityChecker), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: FocusTrapFactory, - factory: FocusTrapFactory.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FocusTrapFactory, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ +let FocusTrapFactory = /*#__PURE__*/(() => { + class FocusTrapFactory { + constructor(_checker, _ngZone, _document) { + this._checker = _checker; + this._ngZone = _ngZone; + this._document = _document; + } + /** + * Creates a focus-trapped region around the given element. + * @param element The element around which focus will be trapped. + * @param deferCaptureElements Defers the creation of focus-capturing elements to be done + * manually by the user. + * @returns The created focus trap instance. + */ + create(element, deferCaptureElements = false) { + return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements); + } + static #_ = this.ɵfac = function FocusTrapFactory_Factory(t) { + return new (t || FocusTrapFactory)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](InteractivityChecker), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: FocusTrapFactory, + factory: FocusTrapFactory.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: InteractivityChecker - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }], null); + }); + } + return FocusTrapFactory; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Directive for trapping focus within a region. */ -class CdkTrapFocus { - /** Whether the focus trap is active. */ - get enabled() { - return this.focusTrap?.enabled || false; - } - set enabled(value) { - if (this.focusTrap) { - this.focusTrap.enabled = value; +let CdkTrapFocus = /*#__PURE__*/(() => { + class CdkTrapFocus { + /** Whether the focus trap is active. */ + get enabled() { + return this.focusTrap?.enabled || false; } - } - constructor(_elementRef, _focusTrapFactory, - /** - * @deprecated No longer being used. To be removed. - * @breaking-change 13.0.0 - */ - _document) { - this._elementRef = _elementRef; - this._focusTrapFactory = _focusTrapFactory; - /** Previously focused element to restore focus to upon destroy when using autoCapture. */ - this._previouslyFocusedElement = null; - const platform = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform); - if (platform.isBrowser) { - this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true); - } - } - ngOnDestroy() { - this.focusTrap?.destroy(); - // If we stored a previously focused element when using autoCapture, return focus to that - // element now that the trapped region is being destroyed. - if (this._previouslyFocusedElement) { - this._previouslyFocusedElement.focus(); + set enabled(value) { + if (this.focusTrap) { + this.focusTrap.enabled = value; + } + } + constructor(_elementRef, _focusTrapFactory, + /** + * @deprecated No longer being used. To be removed. + * @breaking-change 13.0.0 + */ + _document) { + this._elementRef = _elementRef; + this._focusTrapFactory = _focusTrapFactory; + /** Previously focused element to restore focus to upon destroy when using autoCapture. */ this._previouslyFocusedElement = null; + const platform = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform); + if (platform.isBrowser) { + this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true); + } } - } - ngAfterContentInit() { - this.focusTrap?.attachAnchors(); - if (this.autoCapture) { - this._captureFocus(); + ngOnDestroy() { + this.focusTrap?.destroy(); + // If we stored a previously focused element when using autoCapture, return focus to that + // element now that the trapped region is being destroyed. + if (this._previouslyFocusedElement) { + this._previouslyFocusedElement.focus(); + this._previouslyFocusedElement = null; + } } - } - ngDoCheck() { - if (this.focusTrap && !this.focusTrap.hasAttached()) { - this.focusTrap.attachAnchors(); + ngAfterContentInit() { + this.focusTrap?.attachAnchors(); + if (this.autoCapture) { + this._captureFocus(); + } } - } - ngOnChanges(changes) { - const autoCaptureChange = changes['autoCapture']; - if (autoCaptureChange && !autoCaptureChange.firstChange && this.autoCapture && this.focusTrap?.hasAttached()) { - this._captureFocus(); + ngDoCheck() { + if (this.focusTrap && !this.focusTrap.hasAttached()) { + this.focusTrap.attachAnchors(); + } } + ngOnChanges(changes) { + const autoCaptureChange = changes['autoCapture']; + if (autoCaptureChange && !autoCaptureChange.firstChange && this.autoCapture && this.focusTrap?.hasAttached()) { + this._captureFocus(); + } + } + _captureFocus() { + this._previouslyFocusedElement = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getFocusedElementPierceShadowDom)(); + this.focusTrap?.focusInitialElementWhenReady(); + } + static #_ = this.ɵfac = function CdkTrapFocus_Factory(t) { + return new (t || CdkTrapFocus)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](FocusTrapFactory), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkTrapFocus, + selectors: [["", "cdkTrapFocus", ""]], + inputs: { + enabled: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkTrapFocus", "enabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], + autoCapture: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkTrapFocusAutoCapture", "autoCapture", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute] + }, + exportAs: ["cdkTrapFocus"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] + }); } - _captureFocus() { - this._previouslyFocusedElement = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getFocusedElementPierceShadowDom)(); - this.focusTrap?.focusInitialElementWhenReady(); - } - static #_ = this.ɵfac = function CdkTrapFocus_Factory(t) { - return new (t || CdkTrapFocus)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](FocusTrapFactory), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkTrapFocus, - selectors: [["", "cdkTrapFocus", ""]], - inputs: { - enabled: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkTrapFocus", "enabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], - autoCapture: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkTrapFocusAutoCapture", "autoCapture", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute] - }, - exportAs: ["cdkTrapFocus"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkTrapFocus, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkTrapFocus]', - exportAs: 'cdkTrapFocus', - standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: FocusTrapFactory - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }], { - enabled: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - alias: 'cdkTrapFocus', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }], - autoCapture: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - alias: 'cdkTrapFocusAutoCapture', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }] - }); + return CdkTrapFocus; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -70938,7 +82356,7 @@ class ConfigurableFocusTrap extends FocusTrap { } /** The injection token used to specify the inert strategy. */ -const FOCUS_TRAP_INERT_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('FOCUS_TRAP_INERT_STRATEGY'); +const FOCUS_TRAP_INERT_STRATEGY = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('FOCUS_TRAP_INERT_STRATEGY'); /** * Lightweight FocusTrapInertStrategy that adds a document focus event @@ -70995,118 +82413,94 @@ class EventListenerFocusTrapInertStrategy { } /** Injectable that ensures only the most recently enabled FocusTrap is active. */ -class FocusTrapManager { - constructor() { - // A stack of the FocusTraps on the page. Only the FocusTrap at the - // top of the stack is active. - this._focusTrapStack = []; - } - /** - * Disables the FocusTrap at the top of the stack, and then pushes - * the new FocusTrap onto the stack. - */ - register(focusTrap) { - // Dedupe focusTraps that register multiple times. - this._focusTrapStack = this._focusTrapStack.filter(ft => ft !== focusTrap); - let stack = this._focusTrapStack; - if (stack.length) { - stack[stack.length - 1]._disable(); +let FocusTrapManager = /*#__PURE__*/(() => { + class FocusTrapManager { + constructor() { + // A stack of the FocusTraps on the page. Only the FocusTrap at the + // top of the stack is active. + this._focusTrapStack = []; } - stack.push(focusTrap); - focusTrap._enable(); - } - /** - * Removes the FocusTrap from the stack, and activates the - * FocusTrap that is the new top of the stack. - */ - deregister(focusTrap) { - focusTrap._disable(); - const stack = this._focusTrapStack; - const i = stack.indexOf(focusTrap); - if (i !== -1) { - stack.splice(i, 1); + /** + * Disables the FocusTrap at the top of the stack, and then pushes + * the new FocusTrap onto the stack. + */ + register(focusTrap) { + // Dedupe focusTraps that register multiple times. + this._focusTrapStack = this._focusTrapStack.filter(ft => ft !== focusTrap); + let stack = this._focusTrapStack; if (stack.length) { - stack[stack.length - 1]._enable(); + stack[stack.length - 1]._disable(); } + stack.push(focusTrap); + focusTrap._enable(); } - } - static #_ = this.ɵfac = function FocusTrapManager_Factory(t) { - return new (t || FocusTrapManager)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: FocusTrapManager, - factory: FocusTrapManager.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FocusTrapManager, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + /** + * Removes the FocusTrap from the stack, and activates the + * FocusTrap that is the new top of the stack. + */ + deregister(focusTrap) { + focusTrap._disable(); + const stack = this._focusTrapStack; + const i = stack.indexOf(focusTrap); + if (i !== -1) { + stack.splice(i, 1); + if (stack.length) { + stack[stack.length - 1]._enable(); + } + } + } + static #_ = this.ɵfac = function FocusTrapManager_Factory(t) { + return new (t || FocusTrapManager)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: FocusTrapManager, + factory: FocusTrapManager.ɵfac, providedIn: 'root' - }] - }], null, null); + }); + } + return FocusTrapManager; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Factory that allows easy instantiation of configurable focus traps. */ -class ConfigurableFocusTrapFactory { - constructor(_checker, _ngZone, _focusTrapManager, _document, _inertStrategy) { - this._checker = _checker; - this._ngZone = _ngZone; - this._focusTrapManager = _focusTrapManager; - this._document = _document; - // TODO split up the strategies into different modules, similar to DateAdapter. - this._inertStrategy = _inertStrategy || new EventListenerFocusTrapInertStrategy(); - } - create(element, config = { - defer: false - }) { - let configObject; - if (typeof config === 'boolean') { - configObject = { - defer: config - }; - } else { - configObject = config; +let ConfigurableFocusTrapFactory = /*#__PURE__*/(() => { + class ConfigurableFocusTrapFactory { + constructor(_checker, _ngZone, _focusTrapManager, _document, _inertStrategy) { + this._checker = _checker; + this._ngZone = _ngZone; + this._focusTrapManager = _focusTrapManager; + this._document = _document; + // TODO split up the strategies into different modules, similar to DateAdapter. + this._inertStrategy = _inertStrategy || new EventListenerFocusTrapInertStrategy(); + } + create(element, config = { + defer: false + }) { + let configObject; + if (typeof config === 'boolean') { + configObject = { + defer: config + }; + } else { + configObject = config; + } + return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject); } - return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject); - } - static #_ = this.ɵfac = function ConfigurableFocusTrapFactory_Factory(t) { - return new (t || ConfigurableFocusTrapFactory)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](InteractivityChecker), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](FocusTrapManager), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](FOCUS_TRAP_INERT_STRATEGY, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: ConfigurableFocusTrapFactory, - factory: ConfigurableFocusTrapFactory.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ConfigurableFocusTrapFactory, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + static #_ = this.ɵfac = function ConfigurableFocusTrapFactory_Factory(t) { + return new (t || ConfigurableFocusTrapFactory)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](InteractivityChecker), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](FocusTrapManager), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](FOCUS_TRAP_INERT_STRATEGY, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: ConfigurableFocusTrapFactory, + factory: ConfigurableFocusTrapFactory.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: InteractivityChecker - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: FocusTrapManager - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [FOCUS_TRAP_INERT_STRATEGY] - }] - }], null); + }); + } + return ConfigurableFocusTrapFactory; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Gets whether an event could be a faked `mousedown` event dispatched by a screen reader. */ @@ -71132,7 +82526,7 @@ function isFakeTouchstartFromScreenReader(event) { * Injectable options for the InputModalityDetector. These are shallowly merged with the default * options. */ -const INPUT_MODALITY_DETECTOR_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('cdk-input-modality-detector-options'); +const INPUT_MODALITY_DETECTOR_OPTIONS = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('cdk-input-modality-detector-options'); /** * Default options for the InputModalityDetector. * @@ -71164,7 +82558,7 @@ const TOUCH_BUFFER_MS = 650; * Event listener options that enable capturing and also mark the listener as passive if the browser * supports it. */ -const modalityEventListenerOptions = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.normalizePassiveListenerOptions)({ +const modalityEventListenerOptions = /*#__PURE__*/(0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.normalizePassiveListenerOptions)({ passive: true, capture: true }); @@ -71182,132 +82576,112 @@ const modalityEventListenerOptions = (0,_angular_cdk_platform__WEBPACK_IMPORTED_ * update the input modality to keyboard, but in general this service's behavior is largely * undefined. */ -class InputModalityDetector { - /** The most recently detected input modality. */ - get mostRecentModality() { - return this._modality.value; - } - constructor(_platform, ngZone, document, options) { - this._platform = _platform; - /** - * The most recently detected input modality event target. Is null if no input modality has been - * detected or if the associated event target is null for some unknown reason. - */ - this._mostRecentTarget = null; - /** The underlying BehaviorSubject that emits whenever an input modality is detected. */ - this._modality = new rxjs__WEBPACK_IMPORTED_MODULE_11__.BehaviorSubject(null); - /** - * The timestamp of the last touch input modality. Used to determine whether mousedown events - * should be attributed to mouse or touch. - */ - this._lastTouchMs = 0; - /** - * Handles keydown events. Must be an arrow function in order to preserve the context when it gets - * bound. - */ - this._onKeydown = event => { - // If this is one of the keys we should ignore, then ignore it and don't update the input - // modality to keyboard. - if (this._options?.ignoreKeys?.some(keyCode => keyCode === event.keyCode)) { - return; - } - this._modality.next('keyboard'); - this._mostRecentTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); - }; - /** - * Handles mousedown events. Must be an arrow function in order to preserve the context when it - * gets bound. - */ - this._onMousedown = event => { - // Touches trigger both touch and mouse events, so we need to distinguish between mouse events - // that were triggered via mouse vs touch. To do so, check if the mouse event occurs closely - // after the previous touch event. - if (Date.now() - this._lastTouchMs < TOUCH_BUFFER_MS) { - return; - } - // Fake mousedown events are fired by some screen readers when controls are activated by the - // screen reader. Attribute them to keyboard input modality. - this._modality.next(isFakeMousedownFromScreenReader(event) ? 'keyboard' : 'mouse'); - this._mostRecentTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); - }; - /** - * Handles touchstart events. Must be an arrow function in order to preserve the context when it - * gets bound. - */ - this._onTouchstart = event => { - // Same scenario as mentioned in _onMousedown, but on touch screen devices, fake touchstart - // events are fired. Again, attribute to keyboard input modality. - if (isFakeTouchstartFromScreenReader(event)) { +let InputModalityDetector = /*#__PURE__*/(() => { + class InputModalityDetector { + /** The most recently detected input modality. */ + get mostRecentModality() { + return this._modality.value; + } + constructor(_platform, ngZone, document, options) { + this._platform = _platform; + /** + * The most recently detected input modality event target. Is null if no input modality has been + * detected or if the associated event target is null for some unknown reason. + */ + this._mostRecentTarget = null; + /** The underlying BehaviorSubject that emits whenever an input modality is detected. */ + this._modality = new rxjs__WEBPACK_IMPORTED_MODULE_11__.BehaviorSubject(null); + /** + * The timestamp of the last touch input modality. Used to determine whether mousedown events + * should be attributed to mouse or touch. + */ + this._lastTouchMs = 0; + /** + * Handles keydown events. Must be an arrow function in order to preserve the context when it gets + * bound. + */ + this._onKeydown = event => { + // If this is one of the keys we should ignore, then ignore it and don't update the input + // modality to keyboard. + if (this._options?.ignoreKeys?.some(keyCode => keyCode === event.keyCode)) { + return; + } this._modality.next('keyboard'); - return; + this._mostRecentTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); + }; + /** + * Handles mousedown events. Must be an arrow function in order to preserve the context when it + * gets bound. + */ + this._onMousedown = event => { + // Touches trigger both touch and mouse events, so we need to distinguish between mouse events + // that were triggered via mouse vs touch. To do so, check if the mouse event occurs closely + // after the previous touch event. + if (Date.now() - this._lastTouchMs < TOUCH_BUFFER_MS) { + return; + } + // Fake mousedown events are fired by some screen readers when controls are activated by the + // screen reader. Attribute them to keyboard input modality. + this._modality.next(isFakeMousedownFromScreenReader(event) ? 'keyboard' : 'mouse'); + this._mostRecentTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); + }; + /** + * Handles touchstart events. Must be an arrow function in order to preserve the context when it + * gets bound. + */ + this._onTouchstart = event => { + // Same scenario as mentioned in _onMousedown, but on touch screen devices, fake touchstart + // events are fired. Again, attribute to keyboard input modality. + if (isFakeTouchstartFromScreenReader(event)) { + this._modality.next('keyboard'); + return; + } + // Store the timestamp of this touch event, as it's used to distinguish between mouse events + // triggered via mouse vs touch. + this._lastTouchMs = Date.now(); + this._modality.next('touch'); + this._mostRecentTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); + }; + this._options = { + ...INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS, + ...options + }; + // Skip the first emission as it's null. + this.modalityDetected = this._modality.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.skip)(1)); + this.modalityChanged = this.modalityDetected.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.distinctUntilChanged)()); + // If we're not in a browser, this service should do nothing, as there's no relevant input + // modality to detect. + if (_platform.isBrowser) { + ngZone.runOutsideAngular(() => { + document.addEventListener('keydown', this._onKeydown, modalityEventListenerOptions); + document.addEventListener('mousedown', this._onMousedown, modalityEventListenerOptions); + document.addEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions); + }); } - // Store the timestamp of this touch event, as it's used to distinguish between mouse events - // triggered via mouse vs touch. - this._lastTouchMs = Date.now(); - this._modality.next('touch'); - this._mostRecentTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); - }; - this._options = { - ...INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS, - ...options - }; - // Skip the first emission as it's null. - this.modalityDetected = this._modality.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.skip)(1)); - this.modalityChanged = this.modalityDetected.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.distinctUntilChanged)()); - // If we're not in a browser, this service should do nothing, as there's no relevant input - // modality to detect. - if (_platform.isBrowser) { - ngZone.runOutsideAngular(() => { - document.addEventListener('keydown', this._onKeydown, modalityEventListenerOptions); - document.addEventListener('mousedown', this._onMousedown, modalityEventListenerOptions); - document.addEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions); - }); } - } - ngOnDestroy() { - this._modality.complete(); - if (this._platform.isBrowser) { - document.removeEventListener('keydown', this._onKeydown, modalityEventListenerOptions); - document.removeEventListener('mousedown', this._onMousedown, modalityEventListenerOptions); - document.removeEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions); + ngOnDestroy() { + this._modality.complete(); + if (this._platform.isBrowser) { + document.removeEventListener('keydown', this._onKeydown, modalityEventListenerOptions); + document.removeEventListener('mousedown', this._onMousedown, modalityEventListenerOptions); + document.removeEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions); + } } - } - static #_ = this.ɵfac = function InputModalityDetector_Factory(t) { - return new (t || InputModalityDetector)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](INPUT_MODALITY_DETECTOR_OPTIONS, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: InputModalityDetector, - factory: InputModalityDetector.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](InputModalityDetector, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + static #_ = this.ɵfac = function InputModalityDetector_Factory(t) { + return new (t || InputModalityDetector)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](INPUT_MODALITY_DETECTOR_OPTIONS, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: InputModalityDetector, + factory: InputModalityDetector.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: Document, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [INPUT_MODALITY_DETECTOR_OPTIONS] - }] - }], null); + }); + } + return InputModalityDetector; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); -const LIVE_ANNOUNCER_ELEMENT_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('liveAnnouncerElement', { +const LIVE_ANNOUNCER_ELEMENT_TOKEN = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('liveAnnouncerElement', { providedIn: 'root', factory: LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY }); @@ -71316,248 +82690,200 @@ function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY() { return null; } /** Injection token that can be used to configure the default options for the LiveAnnouncer. */ -const LIVE_ANNOUNCER_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('LIVE_ANNOUNCER_DEFAULT_OPTIONS'); +const LIVE_ANNOUNCER_DEFAULT_OPTIONS = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('LIVE_ANNOUNCER_DEFAULT_OPTIONS'); let uniqueIds = 0; -class LiveAnnouncer { - constructor(elementToken, _ngZone, _document, _defaultOptions) { - this._ngZone = _ngZone; - this._defaultOptions = _defaultOptions; - // We inject the live element and document as `any` because the constructor signature cannot - // reference browser globals (HTMLElement, Document) on non-browser environments, since having - // a class decorator causes TypeScript to preserve the constructor signature types. - this._document = _document; - this._liveElement = elementToken || this._createLiveElement(); - } - announce(message, ...args) { - const defaultOptions = this._defaultOptions; - let politeness; - let duration; - if (args.length === 1 && typeof args[0] === 'number') { - duration = args[0]; - } else { - [politeness, duration] = args; - } - this.clear(); - clearTimeout(this._previousTimeout); - if (!politeness) { - politeness = defaultOptions && defaultOptions.politeness ? defaultOptions.politeness : 'polite'; - } - if (duration == null && defaultOptions) { - duration = defaultOptions.duration; - } - // TODO: ensure changing the politeness works on all environments we support. - this._liveElement.setAttribute('aria-live', politeness); - if (this._liveElement.id) { - this._exposeAnnouncerToModals(this._liveElement.id); - } - // This 100ms timeout is necessary for some browser + screen-reader combinations: - // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout. - // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a - // second time without clearing and then using a non-zero delay. - // (using JAWS 17 at time of this writing). - return this._ngZone.runOutsideAngular(() => { - if (!this._currentPromise) { - this._currentPromise = new Promise(resolve => this._currentResolve = resolve); +let LiveAnnouncer = /*#__PURE__*/(() => { + class LiveAnnouncer { + constructor(elementToken, _ngZone, _document, _defaultOptions) { + this._ngZone = _ngZone; + this._defaultOptions = _defaultOptions; + // We inject the live element and document as `any` because the constructor signature cannot + // reference browser globals (HTMLElement, Document) on non-browser environments, since having + // a class decorator causes TypeScript to preserve the constructor signature types. + this._document = _document; + this._liveElement = elementToken || this._createLiveElement(); + } + announce(message, ...args) { + const defaultOptions = this._defaultOptions; + let politeness; + let duration; + if (args.length === 1 && typeof args[0] === 'number') { + duration = args[0]; + } else { + [politeness, duration] = args; } + this.clear(); clearTimeout(this._previousTimeout); - this._previousTimeout = setTimeout(() => { - this._liveElement.textContent = message; - if (typeof duration === 'number') { - this._previousTimeout = setTimeout(() => this.clear(), duration); - } - // For some reason in tests this can be undefined - // Probably related to ZoneJS and every other thing that patches browser APIs in tests - this._currentResolve?.(); - this._currentPromise = this._currentResolve = undefined; - }, 100); - return this._currentPromise; + if (!politeness) { + politeness = defaultOptions && defaultOptions.politeness ? defaultOptions.politeness : 'polite'; + } + if (duration == null && defaultOptions) { + duration = defaultOptions.duration; + } + // TODO: ensure changing the politeness works on all environments we support. + this._liveElement.setAttribute('aria-live', politeness); + if (this._liveElement.id) { + this._exposeAnnouncerToModals(this._liveElement.id); + } + // This 100ms timeout is necessary for some browser + screen-reader combinations: + // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout. + // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a + // second time without clearing and then using a non-zero delay. + // (using JAWS 17 at time of this writing). + return this._ngZone.runOutsideAngular(() => { + if (!this._currentPromise) { + this._currentPromise = new Promise(resolve => this._currentResolve = resolve); + } + clearTimeout(this._previousTimeout); + this._previousTimeout = setTimeout(() => { + this._liveElement.textContent = message; + if (typeof duration === 'number') { + this._previousTimeout = setTimeout(() => this.clear(), duration); + } + // For some reason in tests this can be undefined + // Probably related to ZoneJS and every other thing that patches browser APIs in tests + this._currentResolve?.(); + this._currentPromise = this._currentResolve = undefined; + }, 100); + return this._currentPromise; + }); + } + /** + * Clears the current text from the announcer element. Can be used to prevent + * screen readers from reading the text out again while the user is going + * through the page landmarks. + */ + clear() { + if (this._liveElement) { + this._liveElement.textContent = ''; + } + } + ngOnDestroy() { + clearTimeout(this._previousTimeout); + this._liveElement?.remove(); + this._liveElement = null; + this._currentResolve?.(); + this._currentPromise = this._currentResolve = undefined; + } + _createLiveElement() { + const elementClass = 'cdk-live-announcer-element'; + const previousElements = this._document.getElementsByClassName(elementClass); + const liveEl = this._document.createElement('div'); + // Remove any old containers. This can happen when coming in from a server-side-rendered page. + for (let i = 0; i < previousElements.length; i++) { + previousElements[i].remove(); + } + liveEl.classList.add(elementClass); + liveEl.classList.add('cdk-visually-hidden'); + liveEl.setAttribute('aria-atomic', 'true'); + liveEl.setAttribute('aria-live', 'polite'); + liveEl.id = `cdk-live-announcer-${uniqueIds++}`; + this._document.body.appendChild(liveEl); + return liveEl; + } + /** + * Some browsers won't expose the accessibility node of the live announcer element if there is an + * `aria-modal` and the live announcer is outside of it. This method works around the issue by + * pointing the `aria-owns` of all modals to the live announcer element. + */ + _exposeAnnouncerToModals(id) { + // TODO(http://github.com/angular/components/issues/26853): consider de-duplicating this with + // the `SnakBarContainer` and other usages. + // + // Note that the selector here is limited to CDK overlays at the moment in order to reduce the + // section of the DOM we need to look through. This should cover all the cases we support, but + // the selector can be expanded if it turns out to be too narrow. + const modals = this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'); + for (let i = 0; i < modals.length; i++) { + const modal = modals[i]; + const ariaOwns = modal.getAttribute('aria-owns'); + if (!ariaOwns) { + modal.setAttribute('aria-owns', id); + } else if (ariaOwns.indexOf(id) === -1) { + modal.setAttribute('aria-owns', ariaOwns + ' ' + id); + } + } + } + static #_ = this.ɵfac = function LiveAnnouncer_Factory(t) { + return new (t || LiveAnnouncer)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](LIVE_ANNOUNCER_ELEMENT_TOKEN, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](LIVE_ANNOUNCER_DEFAULT_OPTIONS, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: LiveAnnouncer, + factory: LiveAnnouncer.ɵfac, + providedIn: 'root' }); } - /** - * Clears the current text from the announcer element. Can be used to prevent - * screen readers from reading the text out again while the user is going - * through the page landmarks. - */ - clear() { - if (this._liveElement) { - this._liveElement.textContent = ''; - } - } - ngOnDestroy() { - clearTimeout(this._previousTimeout); - this._liveElement?.remove(); - this._liveElement = null; - this._currentResolve?.(); - this._currentPromise = this._currentResolve = undefined; - } - _createLiveElement() { - const elementClass = 'cdk-live-announcer-element'; - const previousElements = this._document.getElementsByClassName(elementClass); - const liveEl = this._document.createElement('div'); - // Remove any old containers. This can happen when coming in from a server-side-rendered page. - for (let i = 0; i < previousElements.length; i++) { - previousElements[i].remove(); - } - liveEl.classList.add(elementClass); - liveEl.classList.add('cdk-visually-hidden'); - liveEl.setAttribute('aria-atomic', 'true'); - liveEl.setAttribute('aria-live', 'polite'); - liveEl.id = `cdk-live-announcer-${uniqueIds++}`; - this._document.body.appendChild(liveEl); - return liveEl; - } - /** - * Some browsers won't expose the accessibility node of the live announcer element if there is an - * `aria-modal` and the live announcer is outside of it. This method works around the issue by - * pointing the `aria-owns` of all modals to the live announcer element. - */ - _exposeAnnouncerToModals(id) { - // TODO(http://github.com/angular/components/issues/26853): consider de-duplicating this with - // the `SnakBarContainer` and other usages. - // - // Note that the selector here is limited to CDK overlays at the moment in order to reduce the - // section of the DOM we need to look through. This should cover all the cases we support, but - // the selector can be expanded if it turns out to be too narrow. - const modals = this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'); - for (let i = 0; i < modals.length; i++) { - const modal = modals[i]; - const ariaOwns = modal.getAttribute('aria-owns'); - if (!ariaOwns) { - modal.setAttribute('aria-owns', id); - } else if (ariaOwns.indexOf(id) === -1) { - modal.setAttribute('aria-owns', ariaOwns + ' ' + id); - } - } - } - static #_ = this.ɵfac = function LiveAnnouncer_Factory(t) { - return new (t || LiveAnnouncer)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](LIVE_ANNOUNCER_ELEMENT_TOKEN, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](LIVE_ANNOUNCER_DEFAULT_OPTIONS, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: LiveAnnouncer, - factory: LiveAnnouncer.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LiveAnnouncer, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'root' - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [LIVE_ANNOUNCER_ELEMENT_TOKEN] - }] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [LIVE_ANNOUNCER_DEFAULT_OPTIONS] - }] - }], null); + return LiveAnnouncer; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility * with a wider range of browsers and screen readers. */ -class CdkAriaLive { - /** The aria-live politeness level to use when announcing messages. */ - get politeness() { - return this._politeness; - } - set politeness(value) { - this._politeness = value === 'off' || value === 'assertive' ? value : 'polite'; - if (this._politeness === 'off') { - if (this._subscription) { - this._subscription.unsubscribe(); - this._subscription = null; - } - } else if (!this._subscription) { - this._subscription = this._ngZone.runOutsideAngular(() => { - return this._contentObserver.observe(this._elementRef).subscribe(() => { - // Note that we use textContent here, rather than innerText, in order to avoid a reflow. - const elementText = this._elementRef.nativeElement.textContent; - // The `MutationObserver` fires also for attribute - // changes which we don't want to announce. - if (elementText !== this._previousAnnouncedText) { - this._liveAnnouncer.announce(elementText, this._politeness, this.duration); - this._previousAnnouncedText = elementText; - } +let CdkAriaLive = /*#__PURE__*/(() => { + class CdkAriaLive { + /** The aria-live politeness level to use when announcing messages. */ + get politeness() { + return this._politeness; + } + set politeness(value) { + this._politeness = value === 'off' || value === 'assertive' ? value : 'polite'; + if (this._politeness === 'off') { + if (this._subscription) { + this._subscription.unsubscribe(); + this._subscription = null; + } + } else if (!this._subscription) { + this._subscription = this._ngZone.runOutsideAngular(() => { + return this._contentObserver.observe(this._elementRef).subscribe(() => { + // Note that we use textContent here, rather than innerText, in order to avoid a reflow. + const elementText = this._elementRef.nativeElement.textContent; + // The `MutationObserver` fires also for attribute + // changes which we don't want to announce. + if (elementText !== this._previousAnnouncedText) { + this._liveAnnouncer.announce(elementText, this._politeness, this.duration); + this._previousAnnouncedText = elementText; + } + }); }); - }); + } } - } - constructor(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) { - this._elementRef = _elementRef; - this._liveAnnouncer = _liveAnnouncer; - this._contentObserver = _contentObserver; - this._ngZone = _ngZone; - this._politeness = 'polite'; - } - ngOnDestroy() { - if (this._subscription) { - this._subscription.unsubscribe(); + constructor(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) { + this._elementRef = _elementRef; + this._liveAnnouncer = _liveAnnouncer; + this._contentObserver = _contentObserver; + this._ngZone = _ngZone; + this._politeness = 'polite'; } - } - static #_ = this.ɵfac = function CdkAriaLive_Factory(t) { - return new (t || CdkAriaLive)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](LiveAnnouncer), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_observers__WEBPACK_IMPORTED_MODULE_14__.ContentObserver), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkAriaLive, - selectors: [["", "cdkAriaLive", ""]], - inputs: { - politeness: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "cdkAriaLive", "politeness"], - duration: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "cdkAriaLiveDuration", "duration"] - }, - exportAs: ["cdkAriaLive"], - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkAriaLive, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkAriaLive]', - exportAs: 'cdkAriaLive', + ngOnDestroy() { + if (this._subscription) { + this._subscription.unsubscribe(); + } + } + static #_ = this.ɵfac = function CdkAriaLive_Factory(t) { + return new (t || CdkAriaLive)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](LiveAnnouncer), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_observers__WEBPACK_IMPORTED_MODULE_14__.ContentObserver), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkAriaLive, + selectors: [["", "cdkAriaLive", ""]], + inputs: { + politeness: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "cdkAriaLive", "politeness"], + duration: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "cdkAriaLiveDuration", "duration"] + }, + exportAs: ["cdkAriaLive"], standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: LiveAnnouncer - }, { - type: _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_14__.ContentObserver - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }], { - politeness: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: ['cdkAriaLive'] - }], - duration: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: ['cdkAriaLiveDuration'] - }] - }); + }); + } + return CdkAriaLive; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Detection mode used for attributing the origin of a focus event. */ -var FocusMonitorDetectionMode; -(function (FocusMonitorDetectionMode) { +var FocusMonitorDetectionMode = /*#__PURE__*/function (FocusMonitorDetectionMode) { /** * Any mousedown, keydown, or touchstart event that happened in the previous * tick or the current tick will be used to assign a focus event's origin (to @@ -71569,405 +82895,382 @@ var FocusMonitorDetectionMode; * mousedown, keydown, or touchstart event, no matter how long ago it occurred. */ FocusMonitorDetectionMode[FocusMonitorDetectionMode["EVENTUAL"] = 1] = "EVENTUAL"; -})(FocusMonitorDetectionMode || (FocusMonitorDetectionMode = {})); + return FocusMonitorDetectionMode; +}(FocusMonitorDetectionMode || {}); /** InjectionToken for FocusMonitorOptions. */ -const FOCUS_MONITOR_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('cdk-focus-monitor-default-options'); +const FOCUS_MONITOR_DEFAULT_OPTIONS = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('cdk-focus-monitor-default-options'); /** * Event listener options that enable capturing and also * mark the listener as passive if the browser supports it. */ -const captureEventListenerOptions = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.normalizePassiveListenerOptions)({ +const captureEventListenerOptions = /*#__PURE__*/(0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.normalizePassiveListenerOptions)({ passive: true, capture: true }); /** Monitors mouse and keyboard events to determine the cause of focus events. */ -class FocusMonitor { - constructor(_ngZone, _platform, _inputModalityDetector, /** @breaking-change 11.0.0 make document required */ - document, options) { - this._ngZone = _ngZone; - this._platform = _platform; - this._inputModalityDetector = _inputModalityDetector; - /** The focus origin that the next focus event is a result of. */ - this._origin = null; - /** Whether the window has just been focused. */ - this._windowFocused = false; +let FocusMonitor = /*#__PURE__*/(() => { + class FocusMonitor { + constructor(_ngZone, _platform, _inputModalityDetector, /** @breaking-change 11.0.0 make document required */ + document, options) { + this._ngZone = _ngZone; + this._platform = _platform; + this._inputModalityDetector = _inputModalityDetector; + /** The focus origin that the next focus event is a result of. */ + this._origin = null; + /** Whether the window has just been focused. */ + this._windowFocused = false; + /** + * Whether the origin was determined via a touch interaction. Necessary as properly attributing + * focus events to touch interactions requires special logic. + */ + this._originFromTouchInteraction = false; + /** Map of elements being monitored to their info. */ + this._elementInfo = new Map(); + /** The number of elements currently being monitored. */ + this._monitoredElementCount = 0; + /** + * Keeps track of the root nodes to which we've currently bound a focus/blur handler, + * as well as the number of monitored elements that they contain. We have to treat focus/blur + * handlers differently from the rest of the events, because the browser won't emit events + * to the document when focus moves inside of a shadow root. + */ + this._rootNodeFocusListenerCount = new Map(); + /** + * Event listener for `focus` events on the window. + * Needs to be an arrow function in order to preserve the context when it gets bound. + */ + this._windowFocusListener = () => { + // Make a note of when the window regains focus, so we can + // restore the origin info for the focused element. + this._windowFocused = true; + this._windowFocusTimeoutId = window.setTimeout(() => this._windowFocused = false); + }; + /** Subject for stopping our InputModalityDetector subscription. */ + this._stopInputModalityDetector = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); + /** + * Event listener for `focus` and 'blur' events on the document. + * Needs to be an arrow function in order to preserve the context when it gets bound. + */ + this._rootNodeFocusAndBlurListener = event => { + const target = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); + // We need to walk up the ancestor chain in order to support `checkChildren`. + for (let element = target; element; element = element.parentElement) { + if (event.type === 'focus') { + this._onFocus(event, element); + } else { + this._onBlur(event, element); + } + } + }; + this._document = document; + this._detectionMode = options?.detectionMode || FocusMonitorDetectionMode.IMMEDIATE; + } + monitor(element, checkChildren = false) { + const nativeElement = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_15__.coerceElement)(element); + // Do nothing if we're not on the browser platform or the passed in node isn't an element. + if (!this._platform.isBrowser || nativeElement.nodeType !== 1) { + // Note: we don't want the observable to emit at all so we don't pass any parameters. + return (0,rxjs__WEBPACK_IMPORTED_MODULE_16__.of)(); + } + // If the element is inside the shadow DOM, we need to bind our focus/blur listeners to + // the shadow root, rather than the `document`, because the browser won't emit focus events + // to the `document`, if focus is moving within the same shadow root. + const rootNode = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getShadowRoot)(nativeElement) || this._getDocument(); + const cachedInfo = this._elementInfo.get(nativeElement); + // Check if we're already monitoring this element. + if (cachedInfo) { + if (checkChildren) { + // TODO(COMP-318): this can be problematic, because it'll turn all non-checkChildren + // observers into ones that behave as if `checkChildren` was turned on. We need a more + // robust solution. + cachedInfo.checkChildren = true; + } + return cachedInfo.subject; + } + // Create monitored element info. + const info = { + checkChildren: checkChildren, + subject: new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(), + rootNode + }; + this._elementInfo.set(nativeElement, info); + this._registerGlobalListeners(info); + return info.subject; + } + stopMonitoring(element) { + const nativeElement = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_15__.coerceElement)(element); + const elementInfo = this._elementInfo.get(nativeElement); + if (elementInfo) { + elementInfo.subject.complete(); + this._setClasses(nativeElement); + this._elementInfo.delete(nativeElement); + this._removeGlobalListeners(elementInfo); + } + } + focusVia(element, origin, options) { + const nativeElement = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_15__.coerceElement)(element); + const focusedElement = this._getDocument().activeElement; + // If the element is focused already, calling `focus` again won't trigger the event listener + // which means that the focus classes won't be updated. If that's the case, update the classes + // directly without waiting for an event. + if (nativeElement === focusedElement) { + this._getClosestElementsInfo(nativeElement).forEach(([currentElement, info]) => this._originChanged(currentElement, origin, info)); + } else { + this._setOrigin(origin); + // `focus` isn't available on the server + if (typeof nativeElement.focus === 'function') { + nativeElement.focus(options); + } + } + } + ngOnDestroy() { + this._elementInfo.forEach((_info, element) => this.stopMonitoring(element)); + } + /** Access injected document if available or fallback to global document reference */ + _getDocument() { + return this._document || document; + } + /** Use defaultView of injected document if available or fallback to global window reference */ + _getWindow() { + const doc = this._getDocument(); + return doc.defaultView || window; + } + _getFocusOrigin(focusEventTarget) { + if (this._origin) { + // If the origin was realized via a touch interaction, we need to perform additional checks + // to determine whether the focus origin should be attributed to touch or program. + if (this._originFromTouchInteraction) { + return this._shouldBeAttributedToTouch(focusEventTarget) ? 'touch' : 'program'; + } else { + return this._origin; + } + } + // If the window has just regained focus, we can restore the most recent origin from before the + // window blurred. Otherwise, we've reached the point where we can't identify the source of the + // focus. This typically means one of two things happened: + // + // 1) The element was programmatically focused, or + // 2) The element was focused via screen reader navigation (which generally doesn't fire + // events). + // + // Because we can't distinguish between these two cases, we default to setting `program`. + if (this._windowFocused && this._lastFocusOrigin) { + return this._lastFocusOrigin; + } + // If the interaction is coming from an input label, we consider it a mouse interactions. + // This is a special case where focus moves on `click`, rather than `mousedown` which breaks + // our detection, because all our assumptions are for `mousedown`. We need to handle this + // special case, because it's very common for checkboxes and radio buttons. + if (focusEventTarget && this._isLastInteractionFromInputLabel(focusEventTarget)) { + return 'mouse'; + } + return 'program'; + } /** - * Whether the origin was determined via a touch interaction. Necessary as properly attributing - * focus events to touch interactions requires special logic. + * Returns whether the focus event should be attributed to touch. Recall that in IMMEDIATE mode, a + * touch origin isn't immediately reset at the next tick (see _setOrigin). This means that when we + * handle a focus event following a touch interaction, we need to determine whether (1) the focus + * event was directly caused by the touch interaction or (2) the focus event was caused by a + * subsequent programmatic focus call triggered by the touch interaction. + * @param focusEventTarget The target of the focus event under examination. */ - this._originFromTouchInteraction = false; - /** Map of elements being monitored to their info. */ - this._elementInfo = new Map(); - /** The number of elements currently being monitored. */ - this._monitoredElementCount = 0; + _shouldBeAttributedToTouch(focusEventTarget) { + // Please note that this check is not perfect. Consider the following edge case: + // + //
+ //
+ //
+ // + // Suppose there is a FocusMonitor in IMMEDIATE mode attached to #parent. When the user touches + // #child, #parent is programmatically focused. This code will attribute the focus to touch + // instead of program. This is a relatively minor edge-case that can be worked around by using + // focusVia(parent, 'program') to focus #parent. + return this._detectionMode === FocusMonitorDetectionMode.EVENTUAL || !!focusEventTarget?.contains(this._inputModalityDetector._mostRecentTarget); + } /** - * Keeps track of the root nodes to which we've currently bound a focus/blur handler, - * as well as the number of monitored elements that they contain. We have to treat focus/blur - * handlers differently from the rest of the events, because the browser won't emit events - * to the document when focus moves inside of a shadow root. + * Sets the focus classes on the element based on the given focus origin. + * @param element The element to update the classes on. + * @param origin The focus origin. */ - this._rootNodeFocusListenerCount = new Map(); + _setClasses(element, origin) { + element.classList.toggle('cdk-focused', !!origin); + element.classList.toggle('cdk-touch-focused', origin === 'touch'); + element.classList.toggle('cdk-keyboard-focused', origin === 'keyboard'); + element.classList.toggle('cdk-mouse-focused', origin === 'mouse'); + element.classList.toggle('cdk-program-focused', origin === 'program'); + } /** - * Event listener for `focus` events on the window. - * Needs to be an arrow function in order to preserve the context when it gets bound. + * Updates the focus origin. If we're using immediate detection mode, we schedule an async + * function to clear the origin at the end of a timeout. The duration of the timeout depends on + * the origin being set. + * @param origin The origin to set. + * @param isFromInteraction Whether we are setting the origin from an interaction event. */ - this._windowFocusListener = () => { - // Make a note of when the window regains focus, so we can - // restore the origin info for the focused element. - this._windowFocused = true; - this._windowFocusTimeoutId = window.setTimeout(() => this._windowFocused = false); - }; - /** Subject for stopping our InputModalityDetector subscription. */ - this._stopInputModalityDetector = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); + _setOrigin(origin, isFromInteraction = false) { + this._ngZone.runOutsideAngular(() => { + this._origin = origin; + this._originFromTouchInteraction = origin === 'touch' && isFromInteraction; + // If we're in IMMEDIATE mode, reset the origin at the next tick (or in `TOUCH_BUFFER_MS` ms + // for a touch event). We reset the origin at the next tick because Firefox focuses one tick + // after the interaction event. We wait `TOUCH_BUFFER_MS` ms before resetting the origin for + // a touch event because when a touch event is fired, the associated focus event isn't yet in + // the event queue. Before doing so, clear any pending timeouts. + if (this._detectionMode === FocusMonitorDetectionMode.IMMEDIATE) { + clearTimeout(this._originTimeoutId); + const ms = this._originFromTouchInteraction ? TOUCH_BUFFER_MS : 1; + this._originTimeoutId = setTimeout(() => this._origin = null, ms); + } + }); + } /** - * Event listener for `focus` and 'blur' events on the document. - * Needs to be an arrow function in order to preserve the context when it gets bound. + * Handles focus events on a registered element. + * @param event The focus event. + * @param element The monitored element. */ - this._rootNodeFocusAndBlurListener = event => { - const target = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); - // We need to walk up the ancestor chain in order to support `checkChildren`. - for (let element = target; element; element = element.parentElement) { - if (event.type === 'focus') { - this._onFocus(event, element); - } else { - this._onBlur(event, element); - } - } - }; - this._document = document; - this._detectionMode = options?.detectionMode || FocusMonitorDetectionMode.IMMEDIATE; - } - monitor(element, checkChildren = false) { - const nativeElement = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_15__.coerceElement)(element); - // Do nothing if we're not on the browser platform or the passed in node isn't an element. - if (!this._platform.isBrowser || nativeElement.nodeType !== 1) { - // Note: we don't want the observable to emit at all so we don't pass any parameters. - return (0,rxjs__WEBPACK_IMPORTED_MODULE_16__.of)(); - } - // If the element is inside the shadow DOM, we need to bind our focus/blur listeners to - // the shadow root, rather than the `document`, because the browser won't emit focus events - // to the `document`, if focus is moving within the same shadow root. - const rootNode = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getShadowRoot)(nativeElement) || this._getDocument(); - const cachedInfo = this._elementInfo.get(nativeElement); - // Check if we're already monitoring this element. - if (cachedInfo) { - if (checkChildren) { - // TODO(COMP-318): this can be problematic, because it'll turn all non-checkChildren - // observers into ones that behave as if `checkChildren` was turned on. We need a more - // robust solution. - cachedInfo.checkChildren = true; - } - return cachedInfo.subject; - } - // Create monitored element info. - const info = { - checkChildren: checkChildren, - subject: new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(), - rootNode - }; - this._elementInfo.set(nativeElement, info); - this._registerGlobalListeners(info); - return info.subject; - } - stopMonitoring(element) { - const nativeElement = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_15__.coerceElement)(element); - const elementInfo = this._elementInfo.get(nativeElement); - if (elementInfo) { - elementInfo.subject.complete(); - this._setClasses(nativeElement); - this._elementInfo.delete(nativeElement); - this._removeGlobalListeners(elementInfo); - } - } - focusVia(element, origin, options) { - const nativeElement = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_15__.coerceElement)(element); - const focusedElement = this._getDocument().activeElement; - // If the element is focused already, calling `focus` again won't trigger the event listener - // which means that the focus classes won't be updated. If that's the case, update the classes - // directly without waiting for an event. - if (nativeElement === focusedElement) { - this._getClosestElementsInfo(nativeElement).forEach(([currentElement, info]) => this._originChanged(currentElement, origin, info)); - } else { - this._setOrigin(origin); - // `focus` isn't available on the server - if (typeof nativeElement.focus === 'function') { - nativeElement.focus(options); + _onFocus(event, element) { + // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent + // focus event affecting the monitored element. If we want to use the origin of the first event + // instead we should check for the cdk-focused class here and return if the element already has + // it. (This only matters for elements that have includesChildren = true). + // If we are not counting child-element-focus as focused, make sure that the event target is the + // monitored element itself. + const elementInfo = this._elementInfo.get(element); + const focusEventTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); + if (!elementInfo || !elementInfo.checkChildren && element !== focusEventTarget) { + return; } + this._originChanged(element, this._getFocusOrigin(focusEventTarget), elementInfo); } - } - ngOnDestroy() { - this._elementInfo.forEach((_info, element) => this.stopMonitoring(element)); - } - /** Access injected document if available or fallback to global document reference */ - _getDocument() { - return this._document || document; - } - /** Use defaultView of injected document if available or fallback to global window reference */ - _getWindow() { - const doc = this._getDocument(); - return doc.defaultView || window; - } - _getFocusOrigin(focusEventTarget) { - if (this._origin) { - // If the origin was realized via a touch interaction, we need to perform additional checks - // to determine whether the focus origin should be attributed to touch or program. - if (this._originFromTouchInteraction) { - return this._shouldBeAttributedToTouch(focusEventTarget) ? 'touch' : 'program'; - } else { - return this._origin; + /** + * Handles blur events on a registered element. + * @param event The blur event. + * @param element The monitored element. + */ + _onBlur(event, element) { + // If we are counting child-element-focus as focused, make sure that we aren't just blurring in + // order to focus another child of the monitored element. + const elementInfo = this._elementInfo.get(element); + if (!elementInfo || elementInfo.checkChildren && event.relatedTarget instanceof Node && element.contains(event.relatedTarget)) { + return; } + this._setClasses(element); + this._emitOrigin(elementInfo, null); } - // If the window has just regained focus, we can restore the most recent origin from before the - // window blurred. Otherwise, we've reached the point where we can't identify the source of the - // focus. This typically means one of two things happened: - // - // 1) The element was programmatically focused, or - // 2) The element was focused via screen reader navigation (which generally doesn't fire - // events). - // - // Because we can't distinguish between these two cases, we default to setting `program`. - if (this._windowFocused && this._lastFocusOrigin) { - return this._lastFocusOrigin; + _emitOrigin(info, origin) { + if (info.subject.observers.length) { + this._ngZone.run(() => info.subject.next(origin)); + } } - // If the interaction is coming from an input label, we consider it a mouse interactions. - // This is a special case where focus moves on `click`, rather than `mousedown` which breaks - // our detection, because all our assumptions are for `mousedown`. We need to handle this - // special case, because it's very common for checkboxes and radio buttons. - if (focusEventTarget && this._isLastInteractionFromInputLabel(focusEventTarget)) { - return 'mouse'; + _registerGlobalListeners(elementInfo) { + if (!this._platform.isBrowser) { + return; + } + const rootNode = elementInfo.rootNode; + const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode) || 0; + if (!rootNodeFocusListeners) { + this._ngZone.runOutsideAngular(() => { + rootNode.addEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions); + rootNode.addEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions); + }); + } + this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners + 1); + // Register global listeners when first element is monitored. + if (++this._monitoredElementCount === 1) { + // Note: we listen to events in the capture phase so we + // can detect them even if the user stops propagation. + this._ngZone.runOutsideAngular(() => { + const window = this._getWindow(); + window.addEventListener('focus', this._windowFocusListener); + }); + // The InputModalityDetector is also just a collection of global listeners. + this._inputModalityDetector.modalityDetected.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.takeUntil)(this._stopInputModalityDetector)).subscribe(modality => { + this._setOrigin(modality, true /* isFromInteraction */); + }); + } } - return 'program'; - } - /** - * Returns whether the focus event should be attributed to touch. Recall that in IMMEDIATE mode, a - * touch origin isn't immediately reset at the next tick (see _setOrigin). This means that when we - * handle a focus event following a touch interaction, we need to determine whether (1) the focus - * event was directly caused by the touch interaction or (2) the focus event was caused by a - * subsequent programmatic focus call triggered by the touch interaction. - * @param focusEventTarget The target of the focus event under examination. - */ - _shouldBeAttributedToTouch(focusEventTarget) { - // Please note that this check is not perfect. Consider the following edge case: - // - //
- //
- //
- // - // Suppose there is a FocusMonitor in IMMEDIATE mode attached to #parent. When the user touches - // #child, #parent is programmatically focused. This code will attribute the focus to touch - // instead of program. This is a relatively minor edge-case that can be worked around by using - // focusVia(parent, 'program') to focus #parent. - return this._detectionMode === FocusMonitorDetectionMode.EVENTUAL || !!focusEventTarget?.contains(this._inputModalityDetector._mostRecentTarget); - } - /** - * Sets the focus classes on the element based on the given focus origin. - * @param element The element to update the classes on. - * @param origin The focus origin. - */ - _setClasses(element, origin) { - element.classList.toggle('cdk-focused', !!origin); - element.classList.toggle('cdk-touch-focused', origin === 'touch'); - element.classList.toggle('cdk-keyboard-focused', origin === 'keyboard'); - element.classList.toggle('cdk-mouse-focused', origin === 'mouse'); - element.classList.toggle('cdk-program-focused', origin === 'program'); - } - /** - * Updates the focus origin. If we're using immediate detection mode, we schedule an async - * function to clear the origin at the end of a timeout. The duration of the timeout depends on - * the origin being set. - * @param origin The origin to set. - * @param isFromInteraction Whether we are setting the origin from an interaction event. - */ - _setOrigin(origin, isFromInteraction = false) { - this._ngZone.runOutsideAngular(() => { - this._origin = origin; - this._originFromTouchInteraction = origin === 'touch' && isFromInteraction; - // If we're in IMMEDIATE mode, reset the origin at the next tick (or in `TOUCH_BUFFER_MS` ms - // for a touch event). We reset the origin at the next tick because Firefox focuses one tick - // after the interaction event. We wait `TOUCH_BUFFER_MS` ms before resetting the origin for - // a touch event because when a touch event is fired, the associated focus event isn't yet in - // the event queue. Before doing so, clear any pending timeouts. - if (this._detectionMode === FocusMonitorDetectionMode.IMMEDIATE) { + + _removeGlobalListeners(elementInfo) { + const rootNode = elementInfo.rootNode; + if (this._rootNodeFocusListenerCount.has(rootNode)) { + const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode); + if (rootNodeFocusListeners > 1) { + this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners - 1); + } else { + rootNode.removeEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions); + rootNode.removeEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions); + this._rootNodeFocusListenerCount.delete(rootNode); + } + } + // Unregister global listeners when last element is unmonitored. + if (! --this._monitoredElementCount) { + const window = this._getWindow(); + window.removeEventListener('focus', this._windowFocusListener); + // Equivalently, stop our InputModalityDetector subscription. + this._stopInputModalityDetector.next(); + // Clear timeouts for all potentially pending timeouts to prevent the leaks. + clearTimeout(this._windowFocusTimeoutId); clearTimeout(this._originTimeoutId); - const ms = this._originFromTouchInteraction ? TOUCH_BUFFER_MS : 1; - this._originTimeoutId = setTimeout(() => this._origin = null, ms); } - }); - } - /** - * Handles focus events on a registered element. - * @param event The focus event. - * @param element The monitored element. - */ - _onFocus(event, element) { - // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent - // focus event affecting the monitored element. If we want to use the origin of the first event - // instead we should check for the cdk-focused class here and return if the element already has - // it. (This only matters for elements that have includesChildren = true). - // If we are not counting child-element-focus as focused, make sure that the event target is the - // monitored element itself. - const elementInfo = this._elementInfo.get(element); - const focusEventTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getEventTarget)(event); - if (!elementInfo || !elementInfo.checkChildren && element !== focusEventTarget) { - return; } - this._originChanged(element, this._getFocusOrigin(focusEventTarget), elementInfo); - } - /** - * Handles blur events on a registered element. - * @param event The blur event. - * @param element The monitored element. - */ - _onBlur(event, element) { - // If we are counting child-element-focus as focused, make sure that we aren't just blurring in - // order to focus another child of the monitored element. - const elementInfo = this._elementInfo.get(element); - if (!elementInfo || elementInfo.checkChildren && event.relatedTarget instanceof Node && element.contains(event.relatedTarget)) { - return; - } - this._setClasses(element); - this._emitOrigin(elementInfo, null); - } - _emitOrigin(info, origin) { - if (info.subject.observers.length) { - this._ngZone.run(() => info.subject.next(origin)); + /** Updates all the state on an element once its focus origin has changed. */ + _originChanged(element, origin, elementInfo) { + this._setClasses(element, origin); + this._emitOrigin(elementInfo, origin); + this._lastFocusOrigin = origin; } - } - _registerGlobalListeners(elementInfo) { - if (!this._platform.isBrowser) { - return; - } - const rootNode = elementInfo.rootNode; - const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode) || 0; - if (!rootNodeFocusListeners) { - this._ngZone.runOutsideAngular(() => { - rootNode.addEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions); - rootNode.addEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions); - }); - } - this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners + 1); - // Register global listeners when first element is monitored. - if (++this._monitoredElementCount === 1) { - // Note: we listen to events in the capture phase so we - // can detect them even if the user stops propagation. - this._ngZone.runOutsideAngular(() => { - const window = this._getWindow(); - window.addEventListener('focus', this._windowFocusListener); - }); - // The InputModalityDetector is also just a collection of global listeners. - this._inputModalityDetector.modalityDetected.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.takeUntil)(this._stopInputModalityDetector)).subscribe(modality => { - this._setOrigin(modality, true /* isFromInteraction */); + /** + * Collects the `MonitoredElementInfo` of a particular element and + * all of its ancestors that have enabled `checkChildren`. + * @param element Element from which to start the search. + */ + _getClosestElementsInfo(element) { + const results = []; + this._elementInfo.forEach((info, currentElement) => { + if (currentElement === element || info.checkChildren && currentElement.contains(element)) { + results.push([currentElement, info]); + } }); + return results; } - } - - _removeGlobalListeners(elementInfo) { - const rootNode = elementInfo.rootNode; - if (this._rootNodeFocusListenerCount.has(rootNode)) { - const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode); - if (rootNodeFocusListeners > 1) { - this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners - 1); - } else { - rootNode.removeEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions); - rootNode.removeEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions); - this._rootNodeFocusListenerCount.delete(rootNode); - } - } - // Unregister global listeners when last element is unmonitored. - if (! --this._monitoredElementCount) { - const window = this._getWindow(); - window.removeEventListener('focus', this._windowFocusListener); - // Equivalently, stop our InputModalityDetector subscription. - this._stopInputModalityDetector.next(); - // Clear timeouts for all potentially pending timeouts to prevent the leaks. - clearTimeout(this._windowFocusTimeoutId); - clearTimeout(this._originTimeoutId); - } - } - /** Updates all the state on an element once its focus origin has changed. */ - _originChanged(element, origin, elementInfo) { - this._setClasses(element, origin); - this._emitOrigin(elementInfo, origin); - this._lastFocusOrigin = origin; - } - /** - * Collects the `MonitoredElementInfo` of a particular element and - * all of its ancestors that have enabled `checkChildren`. - * @param element Element from which to start the search. - */ - _getClosestElementsInfo(element) { - const results = []; - this._elementInfo.forEach((info, currentElement) => { - if (currentElement === element || info.checkChildren && currentElement.contains(element)) { - results.push([currentElement, info]); + /** + * Returns whether an interaction is likely to have come from the user clicking the `label` of + * an `input` or `textarea` in order to focus it. + * @param focusEventTarget Target currently receiving focus. + */ + _isLastInteractionFromInputLabel(focusEventTarget) { + const { + _mostRecentTarget: mostRecentTarget, + mostRecentModality + } = this._inputModalityDetector; + // If the last interaction used the mouse on an element contained by one of the labels + // of an `input`/`textarea` that is currently focused, it is very likely that the + // user redirected focus using the label. + if (mostRecentModality !== 'mouse' || !mostRecentTarget || mostRecentTarget === focusEventTarget || focusEventTarget.nodeName !== 'INPUT' && focusEventTarget.nodeName !== 'TEXTAREA' || focusEventTarget.disabled) { + return false; } - }); - return results; - } - /** - * Returns whether an interaction is likely to have come from the user clicking the `label` of - * an `input` or `textarea` in order to focus it. - * @param focusEventTarget Target currently receiving focus. - */ - _isLastInteractionFromInputLabel(focusEventTarget) { - const { - _mostRecentTarget: mostRecentTarget, - mostRecentModality - } = this._inputModalityDetector; - // If the last interaction used the mouse on an element contained by one of the labels - // of an `input`/`textarea` that is currently focused, it is very likely that the - // user redirected focus using the label. - if (mostRecentModality !== 'mouse' || !mostRecentTarget || mostRecentTarget === focusEventTarget || focusEventTarget.nodeName !== 'INPUT' && focusEventTarget.nodeName !== 'TEXTAREA' || focusEventTarget.disabled) { - return false; - } - const labels = focusEventTarget.labels; - if (labels) { - for (let i = 0; i < labels.length; i++) { - if (labels[i].contains(mostRecentTarget)) { - return true; + const labels = focusEventTarget.labels; + if (labels) { + for (let i = 0; i < labels.length; i++) { + if (labels[i].contains(mostRecentTarget)) { + return true; + } } } + return false; } - return false; - } - static #_ = this.ɵfac = function FocusMonitor_Factory(t) { - return new (t || FocusMonitor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](InputModalityDetector), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](FOCUS_MONITOR_DEFAULT_OPTIONS, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: FocusMonitor, - factory: FocusMonitor.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FocusMonitor, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + static #_ = this.ɵfac = function FocusMonitor_Factory(t) { + return new (t || FocusMonitor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](InputModalityDetector), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](FOCUS_MONITOR_DEFAULT_OPTIONS, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: FocusMonitor, + factory: FocusMonitor.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform - }, { - type: InputModalityDetector - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [FOCUS_MONITOR_DEFAULT_OPTIONS] - }] - }], null); + }); + } + return FocusMonitor; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Directive that determines how a particular element was focused (via keyboard, mouse, touch, or @@ -71978,68 +83281,56 @@ class FocusMonitor { * focused. * 2) cdkMonitorSubtreeFocus: considers an element focused if it or any of its children are focused. */ -class CdkMonitorFocus { - constructor(_elementRef, _focusMonitor) { - this._elementRef = _elementRef; - this._focusMonitor = _focusMonitor; - this._focusOrigin = null; - this.cdkFocusChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - } - get focusOrigin() { - return this._focusOrigin; - } - ngAfterViewInit() { - const element = this._elementRef.nativeElement; - this._monitorSubscription = this._focusMonitor.monitor(element, element.nodeType === 1 && element.hasAttribute('cdkMonitorSubtreeFocus')).subscribe(origin => { - this._focusOrigin = origin; - this.cdkFocusChange.emit(origin); - }); - } - ngOnDestroy() { - this._focusMonitor.stopMonitoring(this._elementRef); - if (this._monitorSubscription) { - this._monitorSubscription.unsubscribe(); +let CdkMonitorFocus = /*#__PURE__*/(() => { + class CdkMonitorFocus { + constructor(_elementRef, _focusMonitor) { + this._elementRef = _elementRef; + this._focusMonitor = _focusMonitor; + this._focusOrigin = null; + this.cdkFocusChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); } - } - static #_ = this.ɵfac = function CdkMonitorFocus_Factory(t) { - return new (t || CdkMonitorFocus)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](FocusMonitor)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkMonitorFocus, - selectors: [["", "cdkMonitorElementFocus", ""], ["", "cdkMonitorSubtreeFocus", ""]], - outputs: { - cdkFocusChange: "cdkFocusChange" - }, - exportAs: ["cdkMonitorFocus"], - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkMonitorFocus, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]', - exportAs: 'cdkMonitorFocus', + get focusOrigin() { + return this._focusOrigin; + } + ngAfterViewInit() { + const element = this._elementRef.nativeElement; + this._monitorSubscription = this._focusMonitor.monitor(element, element.nodeType === 1 && element.hasAttribute('cdkMonitorSubtreeFocus')).subscribe(origin => { + this._focusOrigin = origin; + this.cdkFocusChange.emit(origin); + }); + } + ngOnDestroy() { + this._focusMonitor.stopMonitoring(this._elementRef); + if (this._monitorSubscription) { + this._monitorSubscription.unsubscribe(); + } + } + static #_ = this.ɵfac = function CdkMonitorFocus_Factory(t) { + return new (t || CdkMonitorFocus)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](FocusMonitor)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkMonitorFocus, + selectors: [["", "cdkMonitorElementFocus", ""], ["", "cdkMonitorSubtreeFocus", ""]], + outputs: { + cdkFocusChange: "cdkFocusChange" + }, + exportAs: ["cdkMonitorFocus"], standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: FocusMonitor - }], { - cdkFocusChange: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output - }] - }); + }); + } + return CdkMonitorFocus; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Set of possible high-contrast mode backgrounds. */ -var HighContrastMode; -(function (HighContrastMode) { +var HighContrastMode = /*#__PURE__*/function (HighContrastMode) { HighContrastMode[HighContrastMode["NONE"] = 0] = "NONE"; HighContrastMode[HighContrastMode["BLACK_ON_WHITE"] = 1] = "BLACK_ON_WHITE"; HighContrastMode[HighContrastMode["WHITE_ON_BLACK"] = 2] = "WHITE_ON_BLACK"; -})(HighContrastMode || (HighContrastMode = {})); + return HighContrastMode; +}(HighContrastMode || {}); /** CSS class applied to the document body when in black-on-white high-contrast mode. */ const BLACK_ON_WHITE_CSS_CLASS = 'cdk-high-contrast-black-on-white'; /** CSS class applied to the document body when in white-on-black high-contrast mode. */ @@ -72057,118 +83348,103 @@ const HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS = 'cdk-high-contrast-active'; * Mode. This service does not detect high-contrast mode as added by the Chrome "High Contrast" * browser extension. */ -class HighContrastModeDetector { - constructor(_platform, document) { - this._platform = _platform; - this._document = document; - this._breakpointSubscription = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_18__.BreakpointObserver).observe('(forced-colors: active)').subscribe(() => { - if (this._hasCheckedHighContrastMode) { - this._hasCheckedHighContrastMode = false; - this._applyBodyHighContrastModeCssClasses(); +let HighContrastModeDetector = /*#__PURE__*/(() => { + class HighContrastModeDetector { + constructor(_platform, document) { + this._platform = _platform; + this._document = document; + this._breakpointSubscription = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_cdk_layout__WEBPACK_IMPORTED_MODULE_18__.BreakpointObserver).observe('(forced-colors: active)').subscribe(() => { + if (this._hasCheckedHighContrastMode) { + this._hasCheckedHighContrastMode = false; + this._applyBodyHighContrastModeCssClasses(); + } + }); + } + /** Gets the current high-contrast-mode for the page. */ + getHighContrastMode() { + if (!this._platform.isBrowser) { + return HighContrastMode.NONE; + } + // Create a test element with an arbitrary background-color that is neither black nor + // white; high-contrast mode will coerce the color to either black or white. Also ensure that + // appending the test element to the DOM does not affect layout by absolutely positioning it + const testElement = this._document.createElement('div'); + testElement.style.backgroundColor = 'rgb(1,2,3)'; + testElement.style.position = 'absolute'; + this._document.body.appendChild(testElement); + // Get the computed style for the background color, collapsing spaces to normalize between + // browsers. Once we get this color, we no longer need the test element. Access the `window` + // via the document so we can fake it in tests. Note that we have extra null checks, because + // this logic will likely run during app bootstrap and throwing can break the entire app. + const documentWindow = this._document.defaultView || window; + const computedStyle = documentWindow && documentWindow.getComputedStyle ? documentWindow.getComputedStyle(testElement) : null; + const computedColor = (computedStyle && computedStyle.backgroundColor || '').replace(/ /g, ''); + testElement.remove(); + switch (computedColor) { + // Pre Windows 11 dark theme. + case 'rgb(0,0,0)': + // Windows 11 dark themes. + case 'rgb(45,50,54)': + case 'rgb(32,32,32)': + return HighContrastMode.WHITE_ON_BLACK; + // Pre Windows 11 light theme. + case 'rgb(255,255,255)': + // Windows 11 light theme. + case 'rgb(255,250,239)': + return HighContrastMode.BLACK_ON_WHITE; } - }); - } - /** Gets the current high-contrast-mode for the page. */ - getHighContrastMode() { - if (!this._platform.isBrowser) { return HighContrastMode.NONE; } - // Create a test element with an arbitrary background-color that is neither black nor - // white; high-contrast mode will coerce the color to either black or white. Also ensure that - // appending the test element to the DOM does not affect layout by absolutely positioning it - const testElement = this._document.createElement('div'); - testElement.style.backgroundColor = 'rgb(1,2,3)'; - testElement.style.position = 'absolute'; - this._document.body.appendChild(testElement); - // Get the computed style for the background color, collapsing spaces to normalize between - // browsers. Once we get this color, we no longer need the test element. Access the `window` - // via the document so we can fake it in tests. Note that we have extra null checks, because - // this logic will likely run during app bootstrap and throwing can break the entire app. - const documentWindow = this._document.defaultView || window; - const computedStyle = documentWindow && documentWindow.getComputedStyle ? documentWindow.getComputedStyle(testElement) : null; - const computedColor = (computedStyle && computedStyle.backgroundColor || '').replace(/ /g, ''); - testElement.remove(); - switch (computedColor) { - // Pre Windows 11 dark theme. - case 'rgb(0,0,0)': - // Windows 11 dark themes. - case 'rgb(45,50,54)': - case 'rgb(32,32,32)': - return HighContrastMode.WHITE_ON_BLACK; - // Pre Windows 11 light theme. - case 'rgb(255,255,255)': - // Windows 11 light theme. - case 'rgb(255,250,239)': - return HighContrastMode.BLACK_ON_WHITE; - } - return HighContrastMode.NONE; - } - ngOnDestroy() { - this._breakpointSubscription.unsubscribe(); - } - /** Applies CSS classes indicating high-contrast mode to document body (browser-only). */ - _applyBodyHighContrastModeCssClasses() { - if (!this._hasCheckedHighContrastMode && this._platform.isBrowser && this._document.body) { - const bodyClasses = this._document.body.classList; - bodyClasses.remove(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS); - this._hasCheckedHighContrastMode = true; - const mode = this.getHighContrastMode(); - if (mode === HighContrastMode.BLACK_ON_WHITE) { - bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS); - } else if (mode === HighContrastMode.WHITE_ON_BLACK) { - bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS); - } - } - } - static #_ = this.ɵfac = function HighContrastModeDetector_Factory(t) { - return new (t || HighContrastModeDetector)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: HighContrastModeDetector, - factory: HighContrastModeDetector.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HighContrastModeDetector, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + ngOnDestroy() { + this._breakpointSubscription.unsubscribe(); + } + /** Applies CSS classes indicating high-contrast mode to document body (browser-only). */ + _applyBodyHighContrastModeCssClasses() { + if (!this._hasCheckedHighContrastMode && this._platform.isBrowser && this._document.body) { + const bodyClasses = this._document.body.classList; + bodyClasses.remove(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS); + this._hasCheckedHighContrastMode = true; + const mode = this.getHighContrastMode(); + if (mode === HighContrastMode.BLACK_ON_WHITE) { + bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS); + } else if (mode === HighContrastMode.WHITE_ON_BLACK) { + bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS); + } + } + } + static #_ = this.ɵfac = function HighContrastModeDetector_Factory(t) { + return new (t || HighContrastModeDetector)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: HighContrastModeDetector, + factory: HighContrastModeDetector.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }], null); + }); + } + return HighContrastModeDetector; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); -class A11yModule { - constructor(highContrastModeDetector) { - highContrastModeDetector._applyBodyHighContrastModeCssClasses(); +let A11yModule = /*#__PURE__*/(() => { + class A11yModule { + constructor(highContrastModeDetector) { + highContrastModeDetector._applyBodyHighContrastModeCssClasses(); + } + static #_ = this.ɵfac = function A11yModule_Factory(t) { + return new (t || A11yModule)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](HighContrastModeDetector)); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: A11yModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ + imports: [_angular_cdk_observers__WEBPACK_IMPORTED_MODULE_14__.ObserversModule] + }); } - static #_ = this.ɵfac = function A11yModule_Factory(t) { - return new (t || A11yModule)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](HighContrastModeDetector)); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: A11yModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ - imports: [_angular_cdk_observers__WEBPACK_IMPORTED_MODULE_14__.ObserversModule] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](A11yModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{ - imports: [_angular_cdk_observers__WEBPACK_IMPORTED_MODULE_14__.ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], - exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] - }] - }], () => [{ - type: HighContrastModeDetector - }], null); + return A11yModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -72176,10 +83452,11 @@ class A11yModule { */ +//# sourceMappingURL=a11y.mjs.map /***/ }), -/***/ 78143: +/***/ 56098: /*!**********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/accordion.mjs ***! \**********************************************************/ @@ -72193,10 +83470,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ CdkAccordionItem: () => (/* binding */ CdkAccordionItem), /* harmony export */ CdkAccordionModule: () => (/* binding */ CdkAccordionModule) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/collections */ 77774); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 36421); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/collections */ 52067); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 42486); @@ -72209,75 +83486,60 @@ let nextId$1 = 0; * as alternative token to the actual `CdkAccordion` class which could cause unnecessary * retention of the class and its directive metadata. */ -const CDK_ACCORDION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('CdkAccordion'); +const CDK_ACCORDION = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('CdkAccordion'); /** * Directive whose purpose is to manage the expanded state of CdkAccordionItem children. */ -class CdkAccordion { - constructor() { - /** Emits when the state of the accordion changes */ - this._stateChanges = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - /** Stream that emits true/false when openAll/closeAll is triggered. */ - this._openCloseAllActions = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - /** A readonly id value to use for unique selection coordination. */ - this.id = `cdk-accordion-${nextId$1++}`; - /** Whether the accordion should allow multiple expanded accordion items simultaneously. */ - this.multi = false; - } - /** Opens all enabled accordion items in an accordion where multi is enabled. */ - openAll() { - if (this.multi) { - this._openCloseAllActions.next(true); - } - } - /** Closes all enabled accordion items. */ - closeAll() { - this._openCloseAllActions.next(false); - } - ngOnChanges(changes) { - this._stateChanges.next(changes); - } - ngOnDestroy() { - this._stateChanges.complete(); - this._openCloseAllActions.complete(); - } - static #_ = this.ɵfac = function CdkAccordion_Factory(t) { - return new (t || CdkAccordion)(); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkAccordion, - selectors: [["cdk-accordion"], ["", "cdkAccordion", ""]], - inputs: { - multi: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "multi", "multi", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute] - }, - exportAs: ["cdkAccordion"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: CDK_ACCORDION, - useExisting: CdkAccordion - }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkAccordion, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: 'cdk-accordion, [cdkAccordion]', - exportAs: 'cdkAccordion', - providers: [{ +let CdkAccordion = /*#__PURE__*/(() => { + class CdkAccordion { + constructor() { + /** Emits when the state of the accordion changes */ + this._stateChanges = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + /** Stream that emits true/false when openAll/closeAll is triggered. */ + this._openCloseAllActions = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + /** A readonly id value to use for unique selection coordination. */ + this.id = `cdk-accordion-${nextId$1++}`; + /** Whether the accordion should allow multiple expanded accordion items simultaneously. */ + this.multi = false; + } + /** Opens all enabled accordion items in an accordion where multi is enabled. */ + openAll() { + if (this.multi) { + this._openCloseAllActions.next(true); + } + } + /** Closes all enabled accordion items. */ + closeAll() { + this._openCloseAllActions.next(false); + } + ngOnChanges(changes) { + this._stateChanges.next(changes); + } + ngOnDestroy() { + this._stateChanges.complete(); + this._openCloseAllActions.complete(); + } + static #_ = this.ɵfac = function CdkAccordion_Factory(t) { + return new (t || CdkAccordion)(); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkAccordion, + selectors: [["cdk-accordion"], ["", "cdkAccordion", ""]], + inputs: { + multi: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "multi", "multi", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute] + }, + exportAs: ["cdkAccordion"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: CDK_ACCORDION, useExisting: CdkAccordion - }], - standalone: true - }] - }], null, { - multi: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }] - }); + }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] + }); + } + return CdkAccordion; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Used to generate unique ID for each accordion item. */ @@ -72286,202 +83548,149 @@ let nextId = 0; * An basic directive expected to be extended and decorated as a component. Sets up all * events and attributes needed to be managed by a CdkAccordion parent. */ -class CdkAccordionItem { - /** Whether the AccordionItem is expanded. */ - get expanded() { - return this._expanded; - } - set expanded(expanded) { - // Only emit events and update the internal value if the value changes. - if (this._expanded !== expanded) { - this._expanded = expanded; - this.expandedChange.emit(expanded); - if (expanded) { - this.opened.emit(); - /** - * In the unique selection dispatcher, the id parameter is the id of the CdkAccordionItem, - * the name value is the id of the accordion. - */ - const accordionId = this.accordion ? this.accordion.id : this.id; - this._expansionDispatcher.notify(this.id, accordionId); - } else { - this.closed.emit(); +let CdkAccordionItem = /*#__PURE__*/(() => { + class CdkAccordionItem { + /** Whether the AccordionItem is expanded. */ + get expanded() { + return this._expanded; + } + set expanded(expanded) { + // Only emit events and update the internal value if the value changes. + if (this._expanded !== expanded) { + this._expanded = expanded; + this.expandedChange.emit(expanded); + if (expanded) { + this.opened.emit(); + /** + * In the unique selection dispatcher, the id parameter is the id of the CdkAccordionItem, + * the name value is the id of the accordion. + */ + const accordionId = this.accordion ? this.accordion.id : this.id; + this._expansionDispatcher.notify(this.id, accordionId); + } else { + this.closed.emit(); + } + // Ensures that the animation will run when the value is set outside of an `@Input`. + // This includes cases like the open, close and toggle methods. + this._changeDetectorRef.markForCheck(); } - // Ensures that the animation will run when the value is set outside of an `@Input`. - // This includes cases like the open, close and toggle methods. - this._changeDetectorRef.markForCheck(); } - } - constructor(accordion, _changeDetectorRef, _expansionDispatcher) { - this.accordion = accordion; - this._changeDetectorRef = _changeDetectorRef; - this._expansionDispatcher = _expansionDispatcher; - /** Subscription to openAll/closeAll events. */ - this._openCloseAllSubscription = rxjs__WEBPACK_IMPORTED_MODULE_2__.Subscription.EMPTY; - /** Event emitted every time the AccordionItem is closed. */ - this.closed = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - /** Event emitted every time the AccordionItem is opened. */ - this.opened = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - /** Event emitted when the AccordionItem is destroyed. */ - this.destroyed = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - /** - * Emits whenever the expanded state of the accordion changes. - * Primarily used to facilitate two-way binding. - * @docs-private - */ - this.expandedChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - /** The unique AccordionItem id. */ - this.id = `cdk-accordion-child-${nextId++}`; - this._expanded = false; - /** Whether the AccordionItem is disabled. */ - this.disabled = false; - /** Unregister function for _expansionDispatcher. */ - this._removeUniqueSelectionListener = () => {}; - this._removeUniqueSelectionListener = _expansionDispatcher.listen((id, accordionId) => { - if (this.accordion && !this.accordion.multi && this.accordion.id === accordionId && this.id !== id) { - this.expanded = false; + constructor(accordion, _changeDetectorRef, _expansionDispatcher) { + this.accordion = accordion; + this._changeDetectorRef = _changeDetectorRef; + this._expansionDispatcher = _expansionDispatcher; + /** Subscription to openAll/closeAll events. */ + this._openCloseAllSubscription = rxjs__WEBPACK_IMPORTED_MODULE_2__.Subscription.EMPTY; + /** Event emitted every time the AccordionItem is closed. */ + this.closed = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + /** Event emitted every time the AccordionItem is opened. */ + this.opened = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + /** Event emitted when the AccordionItem is destroyed. */ + this.destroyed = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + /** + * Emits whenever the expanded state of the accordion changes. + * Primarily used to facilitate two-way binding. + * @docs-private + */ + this.expandedChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + /** The unique AccordionItem id. */ + this.id = `cdk-accordion-child-${nextId++}`; + this._expanded = false; + /** Whether the AccordionItem is disabled. */ + this.disabled = false; + /** Unregister function for _expansionDispatcher. */ + this._removeUniqueSelectionListener = () => {}; + this._removeUniqueSelectionListener = _expansionDispatcher.listen((id, accordionId) => { + if (this.accordion && !this.accordion.multi && this.accordion.id === accordionId && this.id !== id) { + this.expanded = false; + } + }); + // When an accordion item is hosted in an accordion, subscribe to open/close events. + if (this.accordion) { + this._openCloseAllSubscription = this._subscribeToOpenCloseAllActions(); + } + } + /** Emits an event for the accordion item being destroyed. */ + ngOnDestroy() { + this.opened.complete(); + this.closed.complete(); + this.destroyed.emit(); + this.destroyed.complete(); + this._removeUniqueSelectionListener(); + this._openCloseAllSubscription.unsubscribe(); + } + /** Toggles the expanded state of the accordion item. */ + toggle() { + if (!this.disabled) { + this.expanded = !this.expanded; } - }); - // When an accordion item is hosted in an accordion, subscribe to open/close events. - if (this.accordion) { - this._openCloseAllSubscription = this._subscribeToOpenCloseAllActions(); } - } - /** Emits an event for the accordion item being destroyed. */ - ngOnDestroy() { - this.opened.complete(); - this.closed.complete(); - this.destroyed.emit(); - this.destroyed.complete(); - this._removeUniqueSelectionListener(); - this._openCloseAllSubscription.unsubscribe(); - } - /** Toggles the expanded state of the accordion item. */ - toggle() { - if (!this.disabled) { - this.expanded = !this.expanded; - } - } - /** Sets the expanded state of the accordion item to false. */ - close() { - if (!this.disabled) { - this.expanded = false; - } - } - /** Sets the expanded state of the accordion item to true. */ - open() { - if (!this.disabled) { - this.expanded = true; + /** Sets the expanded state of the accordion item to false. */ + close() { + if (!this.disabled) { + this.expanded = false; + } } - } - _subscribeToOpenCloseAllActions() { - return this.accordion._openCloseAllActions.subscribe(expanded => { - // Only change expanded state if item is enabled + /** Sets the expanded state of the accordion item to true. */ + open() { if (!this.disabled) { - this.expanded = expanded; + this.expanded = true; } - }); - } - static #_ = this.ɵfac = function CdkAccordionItem_Factory(t) { - return new (t || CdkAccordionItem)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](CDK_ACCORDION, 12), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_3__.UniqueSelectionDispatcher)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkAccordionItem, - selectors: [["cdk-accordion-item"], ["", "cdkAccordionItem", ""]], - inputs: { - expanded: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "expanded", "expanded", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], - disabled: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "disabled", "disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute] - }, - outputs: { - closed: "closed", - opened: "opened", - destroyed: "destroyed", - expandedChange: "expandedChange" - }, - exportAs: ["cdkAccordionItem"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([ - // Provide `CDK_ACCORDION` as undefined to prevent nested accordion items from - // registering to the same accordion. - { - provide: CDK_ACCORDION, - useValue: undefined - }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkAccordionItem, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: 'cdk-accordion-item, [cdkAccordionItem]', - exportAs: 'cdkAccordionItem', - providers: [ + } + _subscribeToOpenCloseAllActions() { + return this.accordion._openCloseAllActions.subscribe(expanded => { + // Only change expanded state if item is enabled + if (!this.disabled) { + this.expanded = expanded; + } + }); + } + static #_ = this.ɵfac = function CdkAccordionItem_Factory(t) { + return new (t || CdkAccordionItem)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](CDK_ACCORDION, 12), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_3__.UniqueSelectionDispatcher)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkAccordionItem, + selectors: [["cdk-accordion-item"], ["", "cdkAccordionItem", ""]], + inputs: { + expanded: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "expanded", "expanded", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], + disabled: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "disabled", "disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute] + }, + outputs: { + closed: "closed", + opened: "opened", + destroyed: "destroyed", + expandedChange: "expandedChange" + }, + exportAs: ["cdkAccordionItem"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([ // Provide `CDK_ACCORDION` as undefined to prevent nested accordion items from // registering to the same accordion. { provide: CDK_ACCORDION, useValue: undefined - }], - standalone: true - }] - }], () => [{ - type: CdkAccordion, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [CDK_ACCORDION] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf - }] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef - }, { - type: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_3__.UniqueSelectionDispatcher - }], { - closed: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output - }], - opened: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output - }], - destroyed: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output - }], - expandedChange: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output - }], - expanded: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }], - disabled: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }] - }); + }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"]] + }); + } + return CdkAccordionItem; })(); -class CdkAccordionModule { - static #_ = this.ɵfac = function CdkAccordionModule_Factory(t) { - return new (t || CdkAccordionModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: CdkAccordionModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkAccordionModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{ - imports: [CdkAccordion, CdkAccordionItem], - exports: [CdkAccordion, CdkAccordionItem] - }] - }], null, null); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; +})(); +let CdkAccordionModule = /*#__PURE__*/(() => { + class CdkAccordionModule { + static #_ = this.ɵfac = function CdkAccordionModule_Factory(t) { + return new (t || CdkAccordionModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: CdkAccordionModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); + } + return CdkAccordionModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -72489,10 +83698,11 @@ class CdkAccordionModule { */ +//# sourceMappingURL=accordion.mjs.map /***/ }), -/***/ 457: +/***/ 3126: /*!*****************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/bidi.mjs ***! \*****************************************************/ @@ -72506,8 +83716,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ Dir: () => (/* binding */ Dir), /* harmony export */ Directionality: () => (/* binding */ Directionality) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 39191); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 56610); @@ -72527,7 +83737,7 @@ __webpack_require__.r(__webpack_exports__); * * @docs-private */ -const DIR_DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('cdk-dir-doc', { +const DIR_DOCUMENT = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('cdk-dir-doc', { providedIn: 'root', factory: DIR_DOCUMENT_FACTORY }); @@ -72550,45 +83760,35 @@ function _resolveDirectionality(rawValue) { * The directionality (LTR / RTL) context for the application (or a subtree of it). * Exposes the current direction and a stream of direction changes. */ -class Directionality { - constructor(_document) { - /** The current 'ltr' or 'rtl' value. */ - this.value = 'ltr'; - /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */ - this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - if (_document) { - const bodyDir = _document.body ? _document.body.dir : null; - const htmlDir = _document.documentElement ? _document.documentElement.dir : null; - this.value = _resolveDirectionality(bodyDir || htmlDir || 'ltr'); +let Directionality = /*#__PURE__*/(() => { + class Directionality { + constructor(_document) { + /** The current 'ltr' or 'rtl' value. */ + this.value = 'ltr'; + /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */ + this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + if (_document) { + const bodyDir = _document.body ? _document.body.dir : null; + const htmlDir = _document.documentElement ? _document.documentElement.dir : null; + this.value = _resolveDirectionality(bodyDir || htmlDir || 'ltr'); + } } - } - ngOnDestroy() { - this.change.complete(); - } - static #_ = this.ɵfac = function Directionality_Factory(t) { - return new (t || Directionality)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](DIR_DOCUMENT, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: Directionality, - factory: Directionality.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Directionality, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + ngOnDestroy() { + this.change.complete(); + } + static #_ = this.ɵfac = function Directionality_Factory(t) { + return new (t || Directionality)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](DIR_DOCUMENT, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: Directionality, + factory: Directionality.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [DIR_DOCUMENT] - }] - }], null); + }); + } + return Directionality; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -72597,109 +83797,87 @@ class Directionality { * Provides itself as Directionality such that descendant directives only need to ever inject * Directionality to get the closest direction. */ -class Dir { - constructor() { - /** Normalized direction that accounts for invalid/unsupported values. */ - this._dir = 'ltr'; - /** Whether the `value` has been set to its initial value. */ - this._isInitialized = false; - /** Event emitted when the direction changes. */ - this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - } - /** @docs-private */ - get dir() { - return this._dir; - } - set dir(value) { - const previousValue = this._dir; - // Note: `_resolveDirectionality` resolves the language based on the browser's language, - // whereas the browser does it based on the content of the element. Since doing so based - // on the content can be expensive, for now we're doing the simpler matching. - this._dir = _resolveDirectionality(value); - this._rawDir = value; - if (previousValue !== this._dir && this._isInitialized) { - this.change.emit(this._dir); +let Dir = /*#__PURE__*/(() => { + class Dir { + constructor() { + /** Normalized direction that accounts for invalid/unsupported values. */ + this._dir = 'ltr'; + /** Whether the `value` has been set to its initial value. */ + this._isInitialized = false; + /** Event emitted when the direction changes. */ + this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + } + /** @docs-private */ + get dir() { + return this._dir; + } + set dir(value) { + const previousValue = this._dir; + // Note: `_resolveDirectionality` resolves the language based on the browser's language, + // whereas the browser does it based on the content of the element. Since doing so based + // on the content can be expensive, for now we're doing the simpler matching. + this._dir = _resolveDirectionality(value); + this._rawDir = value; + if (previousValue !== this._dir && this._isInitialized) { + this.change.emit(this._dir); + } + } + /** Current layout direction of the element. */ + get value() { + return this.dir; + } + /** Initialize once default value has been set. */ + ngAfterContentInit() { + this._isInitialized = true; } - } - /** Current layout direction of the element. */ - get value() { - return this.dir; - } - /** Initialize once default value has been set. */ - ngAfterContentInit() { - this._isInitialized = true; - } - ngOnDestroy() { - this.change.complete(); - } - static #_ = this.ɵfac = function Dir_Factory(t) { - return new (t || Dir)(); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: Dir, - selectors: [["", "dir", ""]], - hostVars: 1, - hostBindings: function Dir_HostBindings(rf, ctx) { - if (rf & 2) { - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("dir", ctx._rawDir); - } - }, - inputs: { - dir: "dir" - }, - outputs: { - change: "dirChange" - }, - exportAs: ["dir"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: Directionality, - useExisting: Dir - }])] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Dir, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[dir]', - providers: [{ + ngOnDestroy() { + this.change.complete(); + } + static #_ = this.ɵfac = function Dir_Factory(t) { + return new (t || Dir)(); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: Dir, + selectors: [["", "dir", ""]], + hostVars: 1, + hostBindings: function Dir_HostBindings(rf, ctx) { + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("dir", ctx._rawDir); + } + }, + inputs: { + dir: "dir" + }, + outputs: { + change: "dirChange" + }, + exportAs: ["dir"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: Directionality, useExisting: Dir - }], - host: { - '[attr.dir]': '_rawDir' - }, - exportAs: 'dir', - standalone: true - }] - }], null, { - change: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output, - args: ['dirChange'] - }], - dir: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + }])] + }); + } + return Dir; })(); -class BidiModule { - static #_ = this.ɵfac = function BidiModule_Factory(t) { - return new (t || BidiModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: BidiModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BidiModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{ - imports: [Dir], - exports: [Dir] - }] - }], null, null); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; +})(); +let BidiModule = /*#__PURE__*/(() => { + class BidiModule { + static #_ = this.ɵfac = function BidiModule_Factory(t) { + return new (t || BidiModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: BidiModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); + } + return BidiModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -72707,10 +83885,11 @@ class BidiModule { */ +//# sourceMappingURL=bidi.mjs.map /***/ }), -/***/ 64953: +/***/ 79876: /*!****************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/cdk.mjs ***! \****************************************************/ @@ -72721,16 +83900,17 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ VERSION: () => (/* binding */ VERSION) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); /** Current version of the Angular Component Development Kit. */ -const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('17.3.3'); +const VERSION = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('17.3.3'); +//# sourceMappingURL=cdk.mjs.map /***/ }), -/***/ 79663: +/***/ 61432: /*!*********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/coercion.mjs ***! \*********************************************************/ @@ -72747,7 +83927,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ coerceNumberProperty: () => (/* binding */ coerceNumberProperty), /* harmony export */ coerceStringArray: () => (/* binding */ coerceStringArray) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); /** Coerces a data-bound value (typically a string) to a boolean. */ @@ -72818,10 +83998,11 @@ function coerceStringArray(value, separator = /\s+/) { return result; } +//# sourceMappingURL=coercion.mjs.map /***/ }), -/***/ 77774: +/***/ 52067: /*!************************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/collections.mjs ***! \************************************************************/ @@ -72841,11 +84022,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ getMultipleValuesInSingleSelectionError: () => (/* binding */ getMultipleValuesInSingleSelectionError), /* harmony export */ isDataSource: () => (/* binding */ isDataSource) /* harmony export */ }); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 60381); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 59918); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 13901); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 96623); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 29086); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 92319); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 20756); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2978); @@ -72872,8 +84053,7 @@ class ArrayDataSource extends DataSource { } /** Indicates how a view was changed by a {@link _ViewRepeater}. */ -var _ViewRepeaterOperation; -(function (_ViewRepeaterOperation) { +var _ViewRepeaterOperation = /*#__PURE__*/function (_ViewRepeaterOperation) { /** The content of an existing view was replaced with another item. */ _ViewRepeaterOperation[_ViewRepeaterOperation["REPLACED"] = 0] = "REPLACED"; /** A new view was created with `createEmbeddedView`. */ @@ -72882,12 +84062,13 @@ var _ViewRepeaterOperation; _ViewRepeaterOperation[_ViewRepeaterOperation["MOVED"] = 2] = "MOVED"; /** A view was detached from the view container. */ _ViewRepeaterOperation[_ViewRepeaterOperation["REMOVED"] = 3] = "REMOVED"; -})(_ViewRepeaterOperation || (_ViewRepeaterOperation = {})); + return _ViewRepeaterOperation; +}(_ViewRepeaterOperation || {}); /** * Injection token for {@link _ViewRepeater}. This token is for use by Angular Material only. * @docs-private */ -const _VIEW_REPEATER_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_3__.InjectionToken('_ViewRepeater'); +const _VIEW_REPEATER_STRATEGY = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_3__.InjectionToken('_ViewRepeater'); /** * A repeater that destroys views when they are removed from a @@ -73266,51 +84447,49 @@ function getMultipleValuesInSingleSelectionError() { * This service does not *store* any IDs and names because they may change at any time, so it is * less error-prone if they are simply passed through when the events occur. */ -class UniqueSelectionDispatcher { - constructor() { - this._listeners = []; - } - /** - * Notify other items that selection for the given name has been set. - * @param id ID of the item. - * @param name Name of the item. - */ - notify(id, name) { - for (let listener of this._listeners) { - listener(id, name); +let UniqueSelectionDispatcher = /*#__PURE__*/(() => { + class UniqueSelectionDispatcher { + constructor() { + this._listeners = []; } - } - /** - * Listen for future changes to item selection. - * @return Function used to deregister listener - */ - listen(listener) { - this._listeners.push(listener); - return () => { - this._listeners = this._listeners.filter(registered => { - return listener !== registered; - }); + /** + * Notify other items that selection for the given name has been set. + * @param id ID of the item. + * @param name Name of the item. + */ + notify(id, name) { + for (let listener of this._listeners) { + listener(id, name); + } + } + /** + * Listen for future changes to item selection. + * @return Function used to deregister listener + */ + listen(listener) { + this._listeners.push(listener); + return () => { + this._listeners = this._listeners.filter(registered => { + return listener !== registered; + }); + }; + } + ngOnDestroy() { + this._listeners = []; + } + static #_ = this.ɵfac = function UniqueSelectionDispatcher_Factory(t) { + return new (t || UniqueSelectionDispatcher)(); }; - } - ngOnDestroy() { - this._listeners = []; - } - static #_ = this.ɵfac = function UniqueSelectionDispatcher_Factory(t) { - return new (t || UniqueSelectionDispatcher)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ - token: UniqueSelectionDispatcher, - factory: UniqueSelectionDispatcher.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵsetClassMetadata"](UniqueSelectionDispatcher, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_3__.Injectable, - args: [{ + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ + token: UniqueSelectionDispatcher, + factory: UniqueSelectionDispatcher.ɵfac, providedIn: 'root' - }] - }], null, null); + }); + } + return UniqueSelectionDispatcher; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -73318,10 +84497,11 @@ class UniqueSelectionDispatcher { */ +//# sourceMappingURL=collections.mjs.map /***/ }), -/***/ 11987: +/***/ 12556: /*!*******************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/dialog.mjs ***! \*******************************************************/ @@ -73342,18 +84522,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ DialogRef: () => (/* binding */ DialogRef), /* harmony export */ throwDialogContentAlreadyAttachedError: () => (/* binding */ throwDialogContentAlreadyAttachedError) /* harmony export */ }); -/* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/a11y */ 88627); -/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/overlay */ 43181); -/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/platform */ 51338); -/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/portal */ 63965); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 39191); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/cdk/keycodes */ 64986); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs */ 78210); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ 13901); -/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/cdk/bidi */ 457); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 56816); +/* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/a11y */ 41992); +/* harmony import */ var _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/overlay */ 24212); +/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/platform */ 71857); +/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/portal */ 96810); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/cdk/keycodes */ 76809); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs */ 68001); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ 20756); +/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/cdk/bidi */ 3126); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 20965); @@ -73438,342 +84618,291 @@ function throwDialogContentAlreadyAttachedError() { * Internal component that wraps user-provided dialog content. * @docs-private */ -class CdkDialogContainer extends _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.BasePortalOutlet { - constructor(_elementRef, _focusTrapFactory, _document, _config, _interactivityChecker, _ngZone, _overlayRef, _focusMonitor) { - super(); - this._elementRef = _elementRef; - this._focusTrapFactory = _focusTrapFactory; - this._config = _config; - this._interactivityChecker = _interactivityChecker; - this._ngZone = _ngZone; - this._overlayRef = _overlayRef; - this._focusMonitor = _focusMonitor; - this._platform = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform); - /** The class that traps and manages focus within the dialog. */ - this._focusTrap = null; - /** Element that was focused before the dialog was opened. Save this to restore upon close. */ - this._elementFocusedBeforeDialogWasOpened = null; +let CdkDialogContainer = /*#__PURE__*/(() => { + class CdkDialogContainer extends _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.BasePortalOutlet { + constructor(_elementRef, _focusTrapFactory, _document, _config, _interactivityChecker, _ngZone, _overlayRef, _focusMonitor) { + super(); + this._elementRef = _elementRef; + this._focusTrapFactory = _focusTrapFactory; + this._config = _config; + this._interactivityChecker = _interactivityChecker; + this._ngZone = _ngZone; + this._overlayRef = _overlayRef; + this._focusMonitor = _focusMonitor; + this._platform = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__.Platform); + /** The class that traps and manages focus within the dialog. */ + this._focusTrap = null; + /** Element that was focused before the dialog was opened. Save this to restore upon close. */ + this._elementFocusedBeforeDialogWasOpened = null; + /** + * Type of interaction that led to the dialog being closed. This is used to determine + * whether the focus style will be applied when returning focus to its original location + * after the dialog is closed. + */ + this._closeInteractionType = null; + /** + * Queue of the IDs of the dialog's label element, based on their definition order. The first + * ID will be used as the `aria-labelledby` value. We use a queue here to handle the case + * where there are two or more titles in the DOM at a time and the first one is destroyed while + * the rest are present. + */ + this._ariaLabelledByQueue = []; + this._changeDetectorRef = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.ChangeDetectorRef); + /** + * Attaches a DOM portal to the dialog container. + * @param portal Portal to be attached. + * @deprecated To be turned into a method. + * @breaking-change 10.0.0 + */ + this.attachDomPortal = portal => { + if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) { + throwDialogContentAlreadyAttachedError(); + } + const result = this._portalOutlet.attachDomPortal(portal); + this._contentAttached(); + return result; + }; + this._document = _document; + if (this._config.ariaLabelledBy) { + this._ariaLabelledByQueue.push(this._config.ariaLabelledBy); + } + } + _addAriaLabelledBy(id) { + this._ariaLabelledByQueue.push(id); + this._changeDetectorRef.markForCheck(); + } + _removeAriaLabelledBy(id) { + const index = this._ariaLabelledByQueue.indexOf(id); + if (index > -1) { + this._ariaLabelledByQueue.splice(index, 1); + this._changeDetectorRef.markForCheck(); + } + } + _contentAttached() { + this._initializeFocusTrap(); + this._handleBackdropClicks(); + this._captureInitialFocus(); + } /** - * Type of interaction that led to the dialog being closed. This is used to determine - * whether the focus style will be applied when returning focus to its original location - * after the dialog is closed. + * Can be used by child classes to customize the initial focus + * capturing behavior (e.g. if it's tied to an animation). */ - this._closeInteractionType = null; + _captureInitialFocus() { + this._trapFocus(); + } + ngOnDestroy() { + this._restoreFocus(); + } /** - * Queue of the IDs of the dialog's label element, based on their definition order. The first - * ID will be used as the `aria-labelledby` value. We use a queue here to handle the case - * where there are two or more titles in the DOM at a time and the first one is destroyed while - * the rest are present. + * Attach a ComponentPortal as content to this dialog container. + * @param portal Portal to be attached as the dialog content. */ - this._ariaLabelledByQueue = []; - this._changeDetectorRef = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.ChangeDetectorRef); + attachComponentPortal(portal) { + if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) { + throwDialogContentAlreadyAttachedError(); + } + const result = this._portalOutlet.attachComponentPortal(portal); + this._contentAttached(); + return result; + } /** - * Attaches a DOM portal to the dialog container. - * @param portal Portal to be attached. - * @deprecated To be turned into a method. - * @breaking-change 10.0.0 + * Attach a TemplatePortal as content to this dialog container. + * @param portal Portal to be attached as the dialog content. */ - this.attachDomPortal = portal => { + attachTemplatePortal(portal) { if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) { throwDialogContentAlreadyAttachedError(); } - const result = this._portalOutlet.attachDomPortal(portal); + const result = this._portalOutlet.attachTemplatePortal(portal); this._contentAttached(); return result; - }; - this._document = _document; - if (this._config.ariaLabelledBy) { - this._ariaLabelledByQueue.push(this._config.ariaLabelledBy); - } - } - _addAriaLabelledBy(id) { - this._ariaLabelledByQueue.push(id); - this._changeDetectorRef.markForCheck(); - } - _removeAriaLabelledBy(id) { - const index = this._ariaLabelledByQueue.indexOf(id); - if (index > -1) { - this._ariaLabelledByQueue.splice(index, 1); - this._changeDetectorRef.markForCheck(); - } - } - _contentAttached() { - this._initializeFocusTrap(); - this._handleBackdropClicks(); - this._captureInitialFocus(); - } - /** - * Can be used by child classes to customize the initial focus - * capturing behavior (e.g. if it's tied to an animation). - */ - _captureInitialFocus() { - this._trapFocus(); - } - ngOnDestroy() { - this._restoreFocus(); - } - /** - * Attach a ComponentPortal as content to this dialog container. - * @param portal Portal to be attached as the dialog content. - */ - attachComponentPortal(portal) { - if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throwDialogContentAlreadyAttachedError(); } - const result = this._portalOutlet.attachComponentPortal(portal); - this._contentAttached(); - return result; - } - /** - * Attach a TemplatePortal as content to this dialog container. - * @param portal Portal to be attached as the dialog content. - */ - attachTemplatePortal(portal) { - if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throwDialogContentAlreadyAttachedError(); - } - const result = this._portalOutlet.attachTemplatePortal(portal); - this._contentAttached(); - return result; - } - // TODO(crisbeto): this shouldn't be exposed, but there are internal references to it. - /** Captures focus if it isn't already inside the dialog. */ - _recaptureFocus() { - if (!this._containsFocus()) { - this._trapFocus(); - } - } - /** - * Focuses the provided element. If the element is not focusable, it will add a tabIndex - * attribute to forcefully focus it. The attribute is removed after focus is moved. - * @param element The element to focus. - */ - _forceFocus(element, options) { - if (!this._interactivityChecker.isFocusable(element)) { - element.tabIndex = -1; - // The tabindex attribute should be removed to avoid navigating to that element again - this._ngZone.runOutsideAngular(() => { - const callback = () => { - element.removeEventListener('blur', callback); - element.removeEventListener('mousedown', callback); - element.removeAttribute('tabindex'); - }; - element.addEventListener('blur', callback); - element.addEventListener('mousedown', callback); - }); - } - element.focus(options); - } - /** - * Focuses the first element that matches the given selector within the focus trap. - * @param selector The CSS selector for the element to set focus to. - */ - _focusByCssSelector(selector, options) { - let elementToFocus = this._elementRef.nativeElement.querySelector(selector); - if (elementToFocus) { - this._forceFocus(elementToFocus, options); + // TODO(crisbeto): this shouldn't be exposed, but there are internal references to it. + /** Captures focus if it isn't already inside the dialog. */ + _recaptureFocus() { + if (!this._containsFocus()) { + this._trapFocus(); + } } - } - /** - * Moves the focus inside the focus trap. When autoFocus is not set to 'dialog', if focus - * cannot be moved then focus will go to the dialog container. - */ - _trapFocus() { - const element = this._elementRef.nativeElement; - // If were to attempt to focus immediately, then the content of the dialog would not yet be - // ready in instances where change detection has to run first. To deal with this, we simply - // wait for the microtask queue to be empty when setting focus when autoFocus isn't set to - // dialog. If the element inside the dialog can't be focused, then the container is focused - // so the user can't tab into other elements behind it. - switch (this._config.autoFocus) { - case false: - case 'dialog': - // Ensure that focus is on the dialog container. It's possible that a different - // component tried to move focus while the open animation was running. See: - // https://github.com/angular/components/issues/16215. Note that we only want to do this - // if the focus isn't inside the dialog already, because it's possible that the consumer - // turned off `autoFocus` in order to move focus themselves. - if (!this._containsFocus()) { - element.focus(); - } - break; - case true: - case 'first-tabbable': - this._focusTrap?.focusInitialElementWhenReady().then(focusedSuccessfully => { - // If we weren't able to find a focusable element in the dialog, then focus the dialog - // container instead. - if (!focusedSuccessfully) { - this._focusDialogContainer(); - } + /** + * Focuses the provided element. If the element is not focusable, it will add a tabIndex + * attribute to forcefully focus it. The attribute is removed after focus is moved. + * @param element The element to focus. + */ + _forceFocus(element, options) { + if (!this._interactivityChecker.isFocusable(element)) { + element.tabIndex = -1; + // The tabindex attribute should be removed to avoid navigating to that element again + this._ngZone.runOutsideAngular(() => { + const callback = () => { + element.removeEventListener('blur', callback); + element.removeEventListener('mousedown', callback); + element.removeAttribute('tabindex'); + }; + element.addEventListener('blur', callback); + element.addEventListener('mousedown', callback); }); - break; - case 'first-heading': - this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]'); - break; - default: - this._focusByCssSelector(this._config.autoFocus); - break; + } + element.focus(options); } - } - /** Restores focus to the element that was focused before the dialog opened. */ - _restoreFocus() { - const focusConfig = this._config.restoreFocus; - let focusTargetElement = null; - if (typeof focusConfig === 'string') { - focusTargetElement = this._document.querySelector(focusConfig); - } else if (typeof focusConfig === 'boolean') { - focusTargetElement = focusConfig ? this._elementFocusedBeforeDialogWasOpened : null; - } else if (focusConfig) { - focusTargetElement = focusConfig; + /** + * Focuses the first element that matches the given selector within the focus trap. + * @param selector The CSS selector for the element to set focus to. + */ + _focusByCssSelector(selector, options) { + let elementToFocus = this._elementRef.nativeElement.querySelector(selector); + if (elementToFocus) { + this._forceFocus(elementToFocus, options); + } } - // We need the extra check, because IE can set the `activeElement` to null in some cases. - if (this._config.restoreFocus && focusTargetElement && typeof focusTargetElement.focus === 'function') { - const activeElement = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getFocusedElementPierceShadowDom)(); + /** + * Moves the focus inside the focus trap. When autoFocus is not set to 'dialog', if focus + * cannot be moved then focus will go to the dialog container. + */ + _trapFocus() { const element = this._elementRef.nativeElement; - // Make sure that focus is still inside the dialog or is on the body (usually because a - // non-focusable element like the backdrop was clicked) before moving it. It's possible that - // the consumer moved it themselves before the animation was done, in which case we shouldn't - // do anything. - if (!activeElement || activeElement === this._document.body || activeElement === element || element.contains(activeElement)) { - if (this._focusMonitor) { - this._focusMonitor.focusVia(focusTargetElement, this._closeInteractionType); - this._closeInteractionType = null; - } else { - focusTargetElement.focus(); + // If were to attempt to focus immediately, then the content of the dialog would not yet be + // ready in instances where change detection has to run first. To deal with this, we simply + // wait for the microtask queue to be empty when setting focus when autoFocus isn't set to + // dialog. If the element inside the dialog can't be focused, then the container is focused + // so the user can't tab into other elements behind it. + switch (this._config.autoFocus) { + case false: + case 'dialog': + // Ensure that focus is on the dialog container. It's possible that a different + // component tried to move focus while the open animation was running. See: + // https://github.com/angular/components/issues/16215. Note that we only want to do this + // if the focus isn't inside the dialog already, because it's possible that the consumer + // turned off `autoFocus` in order to move focus themselves. + if (!this._containsFocus()) { + element.focus(); + } + break; + case true: + case 'first-tabbable': + this._focusTrap?.focusInitialElementWhenReady().then(focusedSuccessfully => { + // If we weren't able to find a focusable element in the dialog, then focus the dialog + // container instead. + if (!focusedSuccessfully) { + this._focusDialogContainer(); + } + }); + break; + case 'first-heading': + this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]'); + break; + default: + this._focusByCssSelector(this._config.autoFocus); + break; + } + } + /** Restores focus to the element that was focused before the dialog opened. */ + _restoreFocus() { + const focusConfig = this._config.restoreFocus; + let focusTargetElement = null; + if (typeof focusConfig === 'string') { + focusTargetElement = this._document.querySelector(focusConfig); + } else if (typeof focusConfig === 'boolean') { + focusTargetElement = focusConfig ? this._elementFocusedBeforeDialogWasOpened : null; + } else if (focusConfig) { + focusTargetElement = focusConfig; + } + // We need the extra check, because IE can set the `activeElement` to null in some cases. + if (this._config.restoreFocus && focusTargetElement && typeof focusTargetElement.focus === 'function') { + const activeElement = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getFocusedElementPierceShadowDom)(); + const element = this._elementRef.nativeElement; + // Make sure that focus is still inside the dialog or is on the body (usually because a + // non-focusable element like the backdrop was clicked) before moving it. It's possible that + // the consumer moved it themselves before the animation was done, in which case we shouldn't + // do anything. + if (!activeElement || activeElement === this._document.body || activeElement === element || element.contains(activeElement)) { + if (this._focusMonitor) { + this._focusMonitor.focusVia(focusTargetElement, this._closeInteractionType); + this._closeInteractionType = null; + } else { + focusTargetElement.focus(); + } } } + if (this._focusTrap) { + this._focusTrap.destroy(); + } } - if (this._focusTrap) { - this._focusTrap.destroy(); + /** Focuses the dialog container. */ + _focusDialogContainer() { + // Note that there is no focus method when rendering on the server. + if (this._elementRef.nativeElement.focus) { + this._elementRef.nativeElement.focus(); + } } - } - /** Focuses the dialog container. */ - _focusDialogContainer() { - // Note that there is no focus method when rendering on the server. - if (this._elementRef.nativeElement.focus) { - this._elementRef.nativeElement.focus(); + /** Returns whether focus is inside the dialog. */ + _containsFocus() { + const element = this._elementRef.nativeElement; + const activeElement = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getFocusedElementPierceShadowDom)(); + return element === activeElement || element.contains(activeElement); } - } - /** Returns whether focus is inside the dialog. */ - _containsFocus() { - const element = this._elementRef.nativeElement; - const activeElement = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getFocusedElementPierceShadowDom)(); - return element === activeElement || element.contains(activeElement); - } - /** Sets up the focus trap. */ - _initializeFocusTrap() { - if (this._platform.isBrowser) { - this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement); - // Save the previously focused element. This element will be re-focused - // when the dialog closes. - if (this._document) { - this._elementFocusedBeforeDialogWasOpened = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getFocusedElementPierceShadowDom)(); + /** Sets up the focus trap. */ + _initializeFocusTrap() { + if (this._platform.isBrowser) { + this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement); + // Save the previously focused element. This element will be re-focused + // when the dialog closes. + if (this._document) { + this._elementFocusedBeforeDialogWasOpened = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_2__._getFocusedElementPierceShadowDom)(); + } } } - } - /** Sets up the listener that handles clicks on the dialog backdrop. */ - _handleBackdropClicks() { - // Clicking on the backdrop will move focus out of dialog. - // Recapture it if closing via the backdrop is disabled. - this._overlayRef.backdropClick().subscribe(() => { - if (this._config.disableClose) { - this._recaptureFocus(); - } - }); - } - static #_ = this.ɵfac = function CdkDialogContainer_Factory(t) { - return new (t || CdkDialogContainer)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.FocusTrapFactory), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_4__.DOCUMENT, 8), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](DialogConfig), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.InteractivityChecker), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.FocusMonitor)); - }; - static #_2 = this.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ - type: CdkDialogContainer, - selectors: [["cdk-dialog-container"]], - viewQuery: function CdkDialogContainer_Query(rf, ctx) { - if (rf & 1) { - _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.CdkPortalOutlet, 7); - } - if (rf & 2) { - let _t; - _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx._portalOutlet = _t.first); - } - }, - hostAttrs: ["tabindex", "-1", 1, "cdk-dialog-container"], - hostVars: 6, - hostBindings: function CdkDialogContainer_HostBindings(rf, ctx) { - if (rf & 2) { - _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("id", ctx._config.id || null)("role", ctx._config.role)("aria-modal", ctx._config.ariaModal)("aria-labelledby", ctx._config.ariaLabel ? null : ctx._ariaLabelledByQueue[0])("aria-label", ctx._config.ariaLabel)("aria-describedby", ctx._config.ariaDescribedBy || null); - } - }, - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵStandaloneFeature"]], - decls: 1, - vars: 0, - consts: [["cdkPortalOutlet", ""]], - template: function CdkDialogContainer_Template(rf, ctx) { - if (rf & 1) { - _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CdkDialogContainer_ng_template_0_Template, 0, 0, "ng-template", 0); - } - }, - dependencies: [_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.CdkPortalOutlet], - styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"], - encapsulation: 2 - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](CdkDialogContainer, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component, - args: [{ - selector: 'cdk-dialog-container', - encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ViewEncapsulation.None, - changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ChangeDetectionStrategy.Default, + /** Sets up the listener that handles clicks on the dialog backdrop. */ + _handleBackdropClicks() { + // Clicking on the backdrop will move focus out of dialog. + // Recapture it if closing via the backdrop is disabled. + this._overlayRef.backdropClick().subscribe(() => { + if (this._config.disableClose) { + this._recaptureFocus(); + } + }); + } + static #_ = this.ɵfac = function CdkDialogContainer_Factory(t) { + return new (t || CdkDialogContainer)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.FocusTrapFactory), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_4__.DOCUMENT, 8), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](DialogConfig), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.InteractivityChecker), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.FocusMonitor)); + }; + static #_2 = this.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ + type: CdkDialogContainer, + selectors: [["cdk-dialog-container"]], + viewQuery: function CdkDialogContainer_Query(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.CdkPortalOutlet, 7); + } + if (rf & 2) { + let _t; + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx._portalOutlet = _t.first); + } + }, + hostAttrs: ["tabindex", "-1", 1, "cdk-dialog-container"], + hostVars: 6, + hostBindings: function CdkDialogContainer_HostBindings(rf, ctx) { + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("id", ctx._config.id || null)("role", ctx._config.role)("aria-modal", ctx._config.ariaModal)("aria-labelledby", ctx._config.ariaLabel ? null : ctx._ariaLabelledByQueue[0])("aria-label", ctx._config.ariaLabel)("aria-describedby", ctx._config.ariaDescribedBy || null); + } + }, standalone: true, - imports: [_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.CdkPortalOutlet], - host: { - 'class': 'cdk-dialog-container', - 'tabindex': '-1', - '[attr.id]': '_config.id || null', - '[attr.role]': '_config.role', - '[attr.aria-modal]': '_config.ariaModal', - '[attr.aria-labelledby]': '_config.ariaLabel ? null : _ariaLabelledByQueue[0]', - '[attr.aria-label]': '_config.ariaLabel', - '[attr.aria-describedby]': '_config.ariaDescribedBy || null' + features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵStandaloneFeature"]], + decls: 1, + vars: 0, + consts: [["cdkPortalOutlet", ""]], + template: function CdkDialogContainer_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CdkDialogContainer_ng_template_0_Template, 0, 0, "ng-template", 0); + } }, - template: "\n", - styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"] - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef - }, { - type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.FocusTrapFactory - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.DOCUMENT] - }] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject, - args: [DialogConfig] - }] - }, { - type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.InteractivityChecker - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone - }, { - type: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayRef - }, { - type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.FocusMonitor - }], { - _portalOutlet: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ViewChild, - args: [_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.CdkPortalOutlet, { - static: true - }] - }] - }); + dependencies: [_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.CdkPortalOutlet], + styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"], + encapsulation: 2 + }); + } + return CdkDialogContainer; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -73860,7 +84989,7 @@ class DialogRef { } /** Injection token for the Dialog's ScrollStrategy. */ -const DIALOG_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('DialogScrollStrategy', { +const DIALOG_SCROLL_STRATEGY = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('DialogScrollStrategy', { providedIn: 'root', factory: () => { const overlay = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.Overlay); @@ -73868,9 +84997,9 @@ const DIALOG_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.In } }); /** Injection token for the Dialog's Data. */ -const DIALOG_DATA = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('DialogData'); +const DIALOG_DATA = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('DialogData'); /** Injection token that can be used to provide default options for the dialog module. */ -const DEFAULT_DIALOG_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('DefaultDialogConfig'); +const DEFAULT_DIALOG_CONFIG = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('DefaultDialogConfig'); /** * @docs-private * @deprecated No longer used. To be removed. @@ -73892,308 +85021,279 @@ const DIALOG_SCROLL_STRATEGY_PROVIDER = { /** Unique id for the created dialog. */ let uniqueId = 0; -class Dialog { - /** Keeps track of the currently-open dialogs. */ - get openDialogs() { - return this._parentDialog ? this._parentDialog.openDialogs : this._openDialogsAtThisLevel; - } - /** Stream that emits when a dialog has been opened. */ - get afterOpened() { - return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpenedAtThisLevel; - } - constructor(_overlay, _injector, _defaultOptions, _parentDialog, _overlayContainer, scrollStrategy) { - this._overlay = _overlay; - this._injector = _injector; - this._defaultOptions = _defaultOptions; - this._parentDialog = _parentDialog; - this._overlayContainer = _overlayContainer; - this._openDialogsAtThisLevel = []; - this._afterAllClosedAtThisLevel = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject(); - this._afterOpenedAtThisLevel = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject(); - this._ariaHiddenElements = new Map(); +let Dialog = /*#__PURE__*/(() => { + class Dialog { + /** Keeps track of the currently-open dialogs. */ + get openDialogs() { + return this._parentDialog ? this._parentDialog.openDialogs : this._openDialogsAtThisLevel; + } + /** Stream that emits when a dialog has been opened. */ + get afterOpened() { + return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpenedAtThisLevel; + } + constructor(_overlay, _injector, _defaultOptions, _parentDialog, _overlayContainer, scrollStrategy) { + this._overlay = _overlay; + this._injector = _injector; + this._defaultOptions = _defaultOptions; + this._parentDialog = _parentDialog; + this._overlayContainer = _overlayContainer; + this._openDialogsAtThisLevel = []; + this._afterAllClosedAtThisLevel = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject(); + this._afterOpenedAtThisLevel = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject(); + this._ariaHiddenElements = new Map(); + /** + * Stream that emits when all open dialog have finished closing. + * Will emit on subscribe if there are no open dialogs to begin with. + */ + this.afterAllClosed = (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.defer)(() => this.openDialogs.length ? this._getAfterAllClosed() : this._getAfterAllClosed().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.startWith)(undefined))); + this._scrollStrategy = scrollStrategy; + } + open(componentOrTemplateRef, config) { + const defaults = this._defaultOptions || new DialogConfig(); + config = { + ...defaults, + ...config + }; + config.id = config.id || `cdk-dialog-${uniqueId++}`; + if (config.id && this.getDialogById(config.id) && (typeof ngDevMode === 'undefined' || ngDevMode)) { + throw Error(`Dialog with id "${config.id}" exists already. The dialog id must be unique.`); + } + const overlayConfig = this._getOverlayConfig(config); + const overlayRef = this._overlay.create(overlayConfig); + const dialogRef = new DialogRef(overlayRef, config); + const dialogContainer = this._attachContainer(overlayRef, dialogRef, config); + dialogRef.containerInstance = dialogContainer; + this._attachDialogContent(componentOrTemplateRef, dialogRef, dialogContainer, config); + // If this is the first dialog that we're opening, hide all the non-overlay content. + if (!this.openDialogs.length) { + this._hideNonDialogContentFromAssistiveTechnology(); + } + this.openDialogs.push(dialogRef); + dialogRef.closed.subscribe(() => this._removeOpenDialog(dialogRef, true)); + this.afterOpened.next(dialogRef); + return dialogRef; + } /** - * Stream that emits when all open dialog have finished closing. - * Will emit on subscribe if there are no open dialogs to begin with. + * Closes all of the currently-open dialogs. */ - this.afterAllClosed = (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.defer)(() => this.openDialogs.length ? this._getAfterAllClosed() : this._getAfterAllClosed().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.startWith)(undefined))); - this._scrollStrategy = scrollStrategy; - } - open(componentOrTemplateRef, config) { - const defaults = this._defaultOptions || new DialogConfig(); - config = { - ...defaults, - ...config - }; - config.id = config.id || `cdk-dialog-${uniqueId++}`; - if (config.id && this.getDialogById(config.id) && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error(`Dialog with id "${config.id}" exists already. The dialog id must be unique.`); - } - const overlayConfig = this._getOverlayConfig(config); - const overlayRef = this._overlay.create(overlayConfig); - const dialogRef = new DialogRef(overlayRef, config); - const dialogContainer = this._attachContainer(overlayRef, dialogRef, config); - dialogRef.containerInstance = dialogContainer; - this._attachDialogContent(componentOrTemplateRef, dialogRef, dialogContainer, config); - // If this is the first dialog that we're opening, hide all the non-overlay content. - if (!this.openDialogs.length) { - this._hideNonDialogContentFromAssistiveTechnology(); - } - this.openDialogs.push(dialogRef); - dialogRef.closed.subscribe(() => this._removeOpenDialog(dialogRef, true)); - this.afterOpened.next(dialogRef); - return dialogRef; - } - /** - * Closes all of the currently-open dialogs. - */ - closeAll() { - reverseForEach(this.openDialogs, dialog => dialog.close()); - } - /** - * Finds an open dialog by its id. - * @param id ID to use when looking up the dialog. - */ - getDialogById(id) { - return this.openDialogs.find(dialog => dialog.id === id); - } - ngOnDestroy() { - // Make one pass over all the dialogs that need to be untracked, but should not be closed. We - // want to stop tracking the open dialog even if it hasn't been closed, because the tracking - // determines when `aria-hidden` is removed from elements outside the dialog. - reverseForEach(this._openDialogsAtThisLevel, dialog => { - // Check for `false` specifically since we want `undefined` to be interpreted as `true`. - if (dialog.config.closeOnDestroy === false) { - this._removeOpenDialog(dialog, false); - } - }); - // Make a second pass and close the remaining dialogs. We do this second pass in order to - // correctly dispatch the `afterAllClosed` event in case we have a mixed array of dialogs - // that should be closed and dialogs that should not. - reverseForEach(this._openDialogsAtThisLevel, dialog => dialog.close()); - this._afterAllClosedAtThisLevel.complete(); - this._afterOpenedAtThisLevel.complete(); - this._openDialogsAtThisLevel = []; - } - /** - * Creates an overlay config from a dialog config. - * @param config The dialog configuration. - * @returns The overlay configuration. - */ - _getOverlayConfig(config) { - const state = new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayConfig({ - positionStrategy: config.positionStrategy || this._overlay.position().global().centerHorizontally().centerVertically(), - scrollStrategy: config.scrollStrategy || this._scrollStrategy(), - panelClass: config.panelClass, - hasBackdrop: config.hasBackdrop, - direction: config.direction, - minWidth: config.minWidth, - minHeight: config.minHeight, - maxWidth: config.maxWidth, - maxHeight: config.maxHeight, - width: config.width, - height: config.height, - disposeOnNavigation: config.closeOnNavigation - }); - if (config.backdropClass) { - state.backdropClass = config.backdropClass; - } - return state; - } - /** - * Attaches a dialog container to a dialog's already-created overlay. - * @param overlay Reference to the dialog's underlying overlay. - * @param config The dialog configuration. - * @returns A promise resolving to a ComponentRef for the attached container. - */ - _attachContainer(overlay, dialogRef, config) { - const userInjector = config.injector || config.viewContainerRef?.injector; - const providers = [{ - provide: DialogConfig, - useValue: config - }, { - provide: DialogRef, - useValue: dialogRef - }, { - provide: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayRef, - useValue: overlay - }]; - let containerType; - if (config.container) { - if (typeof config.container === 'function') { - containerType = config.container; - } else { - containerType = config.container.type; - providers.push(...config.container.providers(config)); + closeAll() { + reverseForEach(this.openDialogs, dialog => dialog.close()); + } + /** + * Finds an open dialog by its id. + * @param id ID to use when looking up the dialog. + */ + getDialogById(id) { + return this.openDialogs.find(dialog => dialog.id === id); + } + ngOnDestroy() { + // Make one pass over all the dialogs that need to be untracked, but should not be closed. We + // want to stop tracking the open dialog even if it hasn't been closed, because the tracking + // determines when `aria-hidden` is removed from elements outside the dialog. + reverseForEach(this._openDialogsAtThisLevel, dialog => { + // Check for `false` specifically since we want `undefined` to be interpreted as `true`. + if (dialog.config.closeOnDestroy === false) { + this._removeOpenDialog(dialog, false); + } + }); + // Make a second pass and close the remaining dialogs. We do this second pass in order to + // correctly dispatch the `afterAllClosed` event in case we have a mixed array of dialogs + // that should be closed and dialogs that should not. + reverseForEach(this._openDialogsAtThisLevel, dialog => dialog.close()); + this._afterAllClosedAtThisLevel.complete(); + this._afterOpenedAtThisLevel.complete(); + this._openDialogsAtThisLevel = []; + } + /** + * Creates an overlay config from a dialog config. + * @param config The dialog configuration. + * @returns The overlay configuration. + */ + _getOverlayConfig(config) { + const state = new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayConfig({ + positionStrategy: config.positionStrategy || this._overlay.position().global().centerHorizontally().centerVertically(), + scrollStrategy: config.scrollStrategy || this._scrollStrategy(), + panelClass: config.panelClass, + hasBackdrop: config.hasBackdrop, + direction: config.direction, + minWidth: config.minWidth, + minHeight: config.minHeight, + maxWidth: config.maxWidth, + maxHeight: config.maxHeight, + width: config.width, + height: config.height, + disposeOnNavigation: config.closeOnNavigation + }); + if (config.backdropClass) { + state.backdropClass = config.backdropClass; } - } else { - containerType = CdkDialogContainer; + return state; } - const containerPortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.ComponentPortal(containerType, config.viewContainerRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector.create({ - parent: userInjector || this._injector, - providers - }), config.componentFactoryResolver); - const containerRef = overlay.attach(containerPortal); - return containerRef.instance; - } - /** - * Attaches the user-provided component to the already-created dialog container. - * @param componentOrTemplateRef The type of component being loaded into the dialog, - * or a TemplateRef to instantiate as the content. - * @param dialogRef Reference to the dialog being opened. - * @param dialogContainer Component that is going to wrap the dialog content. - * @param config Configuration used to open the dialog. - */ - _attachDialogContent(componentOrTemplateRef, dialogRef, dialogContainer, config) { - if (componentOrTemplateRef instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__.TemplateRef) { - const injector = this._createInjector(config, dialogRef, dialogContainer, undefined); - let context = { - $implicit: config.data, - dialogRef - }; - if (config.templateContext) { - context = { - ...context, - ...(typeof config.templateContext === 'function' ? config.templateContext() : config.templateContext) - }; + /** + * Attaches a dialog container to a dialog's already-created overlay. + * @param overlay Reference to the dialog's underlying overlay. + * @param config The dialog configuration. + * @returns A promise resolving to a ComponentRef for the attached container. + */ + _attachContainer(overlay, dialogRef, config) { + const userInjector = config.injector || config.viewContainerRef?.injector; + const providers = [{ + provide: DialogConfig, + useValue: config + }, { + provide: DialogRef, + useValue: dialogRef + }, { + provide: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayRef, + useValue: overlay + }]; + let containerType; + if (config.container) { + if (typeof config.container === 'function') { + containerType = config.container; + } else { + containerType = config.container.type; + providers.push(...config.container.providers(config)); + } + } else { + containerType = CdkDialogContainer; } - dialogContainer.attachTemplatePortal(new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.TemplatePortal(componentOrTemplateRef, null, context, injector)); - } else { - const injector = this._createInjector(config, dialogRef, dialogContainer, this._injector); - const contentRef = dialogContainer.attachComponentPortal(new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.ComponentPortal(componentOrTemplateRef, config.viewContainerRef, injector, config.componentFactoryResolver)); - dialogRef.componentRef = contentRef; - dialogRef.componentInstance = contentRef.instance; + const containerPortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.ComponentPortal(containerType, config.viewContainerRef, _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector.create({ + parent: userInjector || this._injector, + providers + }), config.componentFactoryResolver); + const containerRef = overlay.attach(containerPortal); + return containerRef.instance; } - } - /** - * Creates a custom injector to be used inside the dialog. This allows a component loaded inside - * of a dialog to close itself and, optionally, to return a value. - * @param config Config object that is used to construct the dialog. - * @param dialogRef Reference to the dialog being opened. - * @param dialogContainer Component that is going to wrap the dialog content. - * @param fallbackInjector Injector to use as a fallback when a lookup fails in the custom - * dialog injector, if the user didn't provide a custom one. - * @returns The custom injector that can be used inside the dialog. - */ - _createInjector(config, dialogRef, dialogContainer, fallbackInjector) { - const userInjector = config.injector || config.viewContainerRef?.injector; - const providers = [{ - provide: DIALOG_DATA, - useValue: config.data - }, { - provide: DialogRef, - useValue: dialogRef - }]; - if (config.providers) { - if (typeof config.providers === 'function') { - providers.push(...config.providers(dialogRef, config, dialogContainer)); + /** + * Attaches the user-provided component to the already-created dialog container. + * @param componentOrTemplateRef The type of component being loaded into the dialog, + * or a TemplateRef to instantiate as the content. + * @param dialogRef Reference to the dialog being opened. + * @param dialogContainer Component that is going to wrap the dialog content. + * @param config Configuration used to open the dialog. + */ + _attachDialogContent(componentOrTemplateRef, dialogRef, dialogContainer, config) { + if (componentOrTemplateRef instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__.TemplateRef) { + const injector = this._createInjector(config, dialogRef, dialogContainer, undefined); + let context = { + $implicit: config.data, + dialogRef + }; + if (config.templateContext) { + context = { + ...context, + ...(typeof config.templateContext === 'function' ? config.templateContext() : config.templateContext) + }; + } + dialogContainer.attachTemplatePortal(new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.TemplatePortal(componentOrTemplateRef, null, context, injector)); } else { - providers.push(...config.providers); + const injector = this._createInjector(config, dialogRef, dialogContainer, this._injector); + const contentRef = dialogContainer.attachComponentPortal(new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.ComponentPortal(componentOrTemplateRef, config.viewContainerRef, injector, config.componentFactoryResolver)); + dialogRef.componentRef = contentRef; + dialogRef.componentInstance = contentRef.instance; } } - if (config.direction && (!userInjector || !userInjector.get(_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__.Directionality, null, { - optional: true - }))) { - providers.push({ - provide: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__.Directionality, - useValue: { - value: config.direction, - change: (0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)() + /** + * Creates a custom injector to be used inside the dialog. This allows a component loaded inside + * of a dialog to close itself and, optionally, to return a value. + * @param config Config object that is used to construct the dialog. + * @param dialogRef Reference to the dialog being opened. + * @param dialogContainer Component that is going to wrap the dialog content. + * @param fallbackInjector Injector to use as a fallback when a lookup fails in the custom + * dialog injector, if the user didn't provide a custom one. + * @returns The custom injector that can be used inside the dialog. + */ + _createInjector(config, dialogRef, dialogContainer, fallbackInjector) { + const userInjector = config.injector || config.viewContainerRef?.injector; + const providers = [{ + provide: DIALOG_DATA, + useValue: config.data + }, { + provide: DialogRef, + useValue: dialogRef + }]; + if (config.providers) { + if (typeof config.providers === 'function') { + providers.push(...config.providers(dialogRef, config, dialogContainer)); + } else { + providers.push(...config.providers); } + } + if (config.direction && (!userInjector || !userInjector.get(_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__.Directionality, null, { + optional: true + }))) { + providers.push({ + provide: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_10__.Directionality, + useValue: { + value: config.direction, + change: (0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)() + } + }); + } + return _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector.create({ + parent: userInjector || fallbackInjector, + providers }); } - return _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector.create({ - parent: userInjector || fallbackInjector, - providers - }); - } - /** - * Removes a dialog from the array of open dialogs. - * @param dialogRef Dialog to be removed. - * @param emitEvent Whether to emit an event if this is the last dialog. - */ - _removeOpenDialog(dialogRef, emitEvent) { - const index = this.openDialogs.indexOf(dialogRef); - if (index > -1) { - this.openDialogs.splice(index, 1); - // If all the dialogs were closed, remove/restore the `aria-hidden` - // to a the siblings and emit to the `afterAllClosed` stream. - if (!this.openDialogs.length) { - this._ariaHiddenElements.forEach((previousValue, element) => { - if (previousValue) { - element.setAttribute('aria-hidden', previousValue); - } else { - element.removeAttribute('aria-hidden'); + /** + * Removes a dialog from the array of open dialogs. + * @param dialogRef Dialog to be removed. + * @param emitEvent Whether to emit an event if this is the last dialog. + */ + _removeOpenDialog(dialogRef, emitEvent) { + const index = this.openDialogs.indexOf(dialogRef); + if (index > -1) { + this.openDialogs.splice(index, 1); + // If all the dialogs were closed, remove/restore the `aria-hidden` + // to a the siblings and emit to the `afterAllClosed` stream. + if (!this.openDialogs.length) { + this._ariaHiddenElements.forEach((previousValue, element) => { + if (previousValue) { + element.setAttribute('aria-hidden', previousValue); + } else { + element.removeAttribute('aria-hidden'); + } + }); + this._ariaHiddenElements.clear(); + if (emitEvent) { + this._getAfterAllClosed().next(); } - }); - this._ariaHiddenElements.clear(); - if (emitEvent) { - this._getAfterAllClosed().next(); } } } - } - /** Hides all of the content that isn't an overlay from assistive technology. */ - _hideNonDialogContentFromAssistiveTechnology() { - const overlayContainer = this._overlayContainer.getContainerElement(); - // Ensure that the overlay container is attached to the DOM. - if (overlayContainer.parentElement) { - const siblings = overlayContainer.parentElement.children; - for (let i = siblings.length - 1; i > -1; i--) { - const sibling = siblings[i]; - if (sibling !== overlayContainer && sibling.nodeName !== 'SCRIPT' && sibling.nodeName !== 'STYLE' && !sibling.hasAttribute('aria-live')) { - this._ariaHiddenElements.set(sibling, sibling.getAttribute('aria-hidden')); - sibling.setAttribute('aria-hidden', 'true'); + /** Hides all of the content that isn't an overlay from assistive technology. */ + _hideNonDialogContentFromAssistiveTechnology() { + const overlayContainer = this._overlayContainer.getContainerElement(); + // Ensure that the overlay container is attached to the DOM. + if (overlayContainer.parentElement) { + const siblings = overlayContainer.parentElement.children; + for (let i = siblings.length - 1; i > -1; i--) { + const sibling = siblings[i]; + if (sibling !== overlayContainer && sibling.nodeName !== 'SCRIPT' && sibling.nodeName !== 'STYLE' && !sibling.hasAttribute('aria-live')) { + this._ariaHiddenElements.set(sibling, sibling.getAttribute('aria-hidden')); + sibling.setAttribute('aria-hidden', 'true'); + } } } } - } - _getAfterAllClosed() { - const parent = this._parentDialog; - return parent ? parent._getAfterAllClosed() : this._afterAllClosedAtThisLevel; - } - static #_ = this.ɵfac = function Dialog_Factory(t) { - return new (t || Dialog)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.Overlay), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](DEFAULT_DIALOG_CONFIG, 8), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](Dialog, 12), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayContainer), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](DIALOG_SCROLL_STRATEGY)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ - token: Dialog, - factory: Dialog.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](Dialog, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable, - args: [{ + _getAfterAllClosed() { + const parent = this._parentDialog; + return parent ? parent._getAfterAllClosed() : this._afterAllClosedAtThisLevel; + } + static #_ = this.ɵfac = function Dialog_Factory(t) { + return new (t || Dialog)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.Overlay), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](DEFAULT_DIALOG_CONFIG, 8), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](Dialog, 12), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayContainer), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](DIALOG_SCROLL_STRATEGY)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ + token: Dialog, + factory: Dialog.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.Overlay - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector - }, { - type: DialogConfig, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject, - args: [DEFAULT_DIALOG_CONFIG] - }] - }, { - type: Dialog, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.SkipSelf - }] - }, { - type: _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayContainer - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject, - args: [DIALOG_SCROLL_STRATEGY] - }] - }], null); + }); + } + return Dialog; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Executes a callback against all elements in an array while iterating in reverse. @@ -74205,33 +85305,26 @@ function reverseForEach(items, callback) { callback(items[i]); } } -class DialogModule { - static #_ = this.ɵfac = function DialogModule_Factory(t) { - return new (t || DialogModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ - type: DialogModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ - providers: [Dialog], - imports: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayModule, _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.PortalModule, _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.A11yModule, - // Re-export the PortalModule so that people extending the `CdkDialogContainer` - // don't have to remember to import it or be faced with an unhelpful error. - _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.PortalModule] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DialogModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule, - args: [{ - imports: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayModule, _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.PortalModule, _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.A11yModule, CdkDialogContainer], - exports: [ +let DialogModule = /*#__PURE__*/(() => { + class DialogModule { + static #_ = this.ɵfac = function DialogModule_Factory(t) { + return new (t || DialogModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ + type: DialogModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ + providers: [Dialog], + imports: [_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_5__.OverlayModule, _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.PortalModule, _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_3__.A11yModule, // Re-export the PortalModule so that people extending the `CdkDialogContainer` // don't have to remember to import it or be faced with an unhelpful error. - _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.PortalModule, CdkDialogContainer], - providers: [Dialog] - }] - }], null, null); + _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__.PortalModule] + }); + } + return DialogModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -74239,10 +85332,11 @@ class DialogModule { */ +//# sourceMappingURL=dialog.mjs.map /***/ }), -/***/ 64986: +/***/ 76809: /*!*********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/keycodes.mjs ***! \*********************************************************/ @@ -74508,10 +85602,11 @@ function hasModifierKey(event, ...modifiers) { */ +//# sourceMappingURL=keycodes.mjs.map /***/ }), -/***/ 42085: +/***/ 10814: /*!*******************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/layout.mjs ***! \*******************************************************/ @@ -74525,93 +85620,81 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ LayoutModule: () => (/* binding */ LayoutModule), /* harmony export */ MediaMatcher: () => (/* binding */ MediaMatcher) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/coercion */ 79663); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 11640); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 36812); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ 64517); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 75117); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 99473); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 43396); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 24406); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 56816); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 65213); -/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/platform */ 51338); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/coercion */ 61432); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 199); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 6753); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ 99406); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 38486); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 89990); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 68887); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 93527); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 20965); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 76340); +/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/platform */ 71857); -class LayoutModule { - static #_ = this.ɵfac = function LayoutModule_Factory(t) { - return new (t || LayoutModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: LayoutModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LayoutModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{}] - }], null, null); +let LayoutModule = /*#__PURE__*/(() => { + class LayoutModule { + static #_ = this.ɵfac = function LayoutModule_Factory(t) { + return new (t || LayoutModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: LayoutModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); + } + return LayoutModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Global registry for all dynamically-created, injected media queries. */ -const mediaQueriesForWebkitCompatibility = new Set(); +const mediaQueriesForWebkitCompatibility = /*#__PURE__*/new Set(); /** Style tag that holds all of the dynamically-created media queries. */ let mediaQueryStyleNode; /** A utility for calling matchMedia queries. */ -class MediaMatcher { - constructor(_platform, _nonce) { - this._platform = _platform; - this._nonce = _nonce; - this._matchMedia = this._platform.isBrowser && window.matchMedia ? - // matchMedia is bound to the window scope intentionally as it is an illegal invocation to - // call it from a different scope. - window.matchMedia.bind(window) : noopMatchMedia; - } - /** - * Evaluates the given media query and returns the native MediaQueryList from which results - * can be retrieved. - * Confirms the layout engine will trigger for the selector query provided and returns the - * MediaQueryList for the query provided. - */ - matchMedia(query) { - if (this._platform.WEBKIT || this._platform.BLINK) { - createEmptyStyleRule(query, this._nonce); +let MediaMatcher = /*#__PURE__*/(() => { + class MediaMatcher { + constructor(_platform, _nonce) { + this._platform = _platform; + this._nonce = _nonce; + this._matchMedia = this._platform.isBrowser && window.matchMedia ? + // matchMedia is bound to the window scope intentionally as it is an illegal invocation to + // call it from a different scope. + window.matchMedia.bind(window) : noopMatchMedia; } - return this._matchMedia(query); - } - static #_ = this.ɵfac = function MediaMatcher_Factory(t) { - return new (t || MediaMatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.CSP_NONCE, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: MediaMatcher, - factory: MediaMatcher.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MediaMatcher, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + /** + * Evaluates the given media query and returns the native MediaQueryList from which results + * can be retrieved. + * Confirms the layout engine will trigger for the selector query provided and returns the + * MediaQueryList for the query provided. + */ + matchMedia(query) { + if (this._platform.WEBKIT || this._platform.BLINK) { + createEmptyStyleRule(query, this._nonce); + } + return this._matchMedia(query); + } + static #_ = this.ɵfac = function MediaMatcher_Factory(t) { + return new (t || MediaMatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.CSP_NONCE, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: MediaMatcher, + factory: MediaMatcher.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.CSP_NONCE] - }] - }], null); + }); + } + return MediaMatcher; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Creates an empty stylesheet that is used to work around browser inconsistencies related to @@ -74656,109 +85739,103 @@ function noopMatchMedia(query) { } /** Utility for checking the matching state of @media queries. */ -class BreakpointObserver { - constructor(_mediaMatcher, _zone) { - this._mediaMatcher = _mediaMatcher; - this._zone = _zone; - /** A map of all media queries currently being listened for. */ - this._queries = new Map(); - /** A subject for all other observables to takeUntil based on. */ - this._destroySubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject(); - } - /** Completes the active subject, signalling to all other observables to complete. */ - ngOnDestroy() { - this._destroySubject.next(); - this._destroySubject.complete(); - } - /** - * Whether one or more media queries match the current viewport size. - * @param value One or more media queries to check. - * @returns Whether any of the media queries match. - */ - isMatched(value) { - const queries = splitQueries((0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceArray)(value)); - return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches); - } - /** - * Gets an observable of results for the given queries that will emit new results for any changes - * in matching of the given queries. - * @param value One or more media queries to check. - * @returns A stream of matches for the given queries. - */ - observe(value) { - const queries = splitQueries((0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceArray)(value)); - const observables = queries.map(query => this._registerQuery(query).observable); - let stateObservable = (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.combineLatest)(observables); - // Emit the first state immediately, and then debounce the subsequent emissions. - stateObservable = (0,rxjs__WEBPACK_IMPORTED_MODULE_5__.concat)(stateObservable.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.take)(1)), stateObservable.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.skip)(1), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.debounceTime)(0))); - return stateObservable.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.map)(breakpointStates => { - const response = { - matches: false, - breakpoints: {} - }; - breakpointStates.forEach(({ - matches, - query - }) => { - response.matches = response.matches || matches; - response.breakpoints[query] = matches; - }); - return response; - })); - } - /** Registers a specific query to be listened for. */ - _registerQuery(query) { - // Only set up a new MediaQueryList if it is not already being listened for. - if (this._queries.has(query)) { - return this._queries.get(query); - } - const mql = this._mediaMatcher.matchMedia(query); - // Create callback for match changes and add it is as a listener. - const queryObservable = new rxjs__WEBPACK_IMPORTED_MODULE_10__.Observable(observer => { - // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed - // back into the zone because matchMedia is only included in Zone.js by loading the - // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not - // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js - // patches it. - const handler = e => this._zone.run(() => observer.next(e)); - mql.addListener(handler); - return () => { - mql.removeListener(handler); +let BreakpointObserver = /*#__PURE__*/(() => { + class BreakpointObserver { + constructor(_mediaMatcher, _zone) { + this._mediaMatcher = _mediaMatcher; + this._zone = _zone; + /** A map of all media queries currently being listened for. */ + this._queries = new Map(); + /** A subject for all other observables to takeUntil based on. */ + this._destroySubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject(); + } + /** Completes the active subject, signalling to all other observables to complete. */ + ngOnDestroy() { + this._destroySubject.next(); + this._destroySubject.complete(); + } + /** + * Whether one or more media queries match the current viewport size. + * @param value One or more media queries to check. + * @returns Whether any of the media queries match. + */ + isMatched(value) { + const queries = splitQueries((0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceArray)(value)); + return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches); + } + /** + * Gets an observable of results for the given queries that will emit new results for any changes + * in matching of the given queries. + * @param value One or more media queries to check. + * @returns A stream of matches for the given queries. + */ + observe(value) { + const queries = splitQueries((0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceArray)(value)); + const observables = queries.map(query => this._registerQuery(query).observable); + let stateObservable = (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.combineLatest)(observables); + // Emit the first state immediately, and then debounce the subsequent emissions. + stateObservable = (0,rxjs__WEBPACK_IMPORTED_MODULE_5__.concat)(stateObservable.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.take)(1)), stateObservable.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.skip)(1), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.debounceTime)(0))); + return stateObservable.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.map)(breakpointStates => { + const response = { + matches: false, + breakpoints: {} + }; + breakpointStates.forEach(({ + matches, + query + }) => { + response.matches = response.matches || matches; + response.breakpoints[query] = matches; + }); + return response; + })); + } + /** Registers a specific query to be listened for. */ + _registerQuery(query) { + // Only set up a new MediaQueryList if it is not already being listened for. + if (this._queries.has(query)) { + return this._queries.get(query); + } + const mql = this._mediaMatcher.matchMedia(query); + // Create callback for match changes and add it is as a listener. + const queryObservable = new rxjs__WEBPACK_IMPORTED_MODULE_10__.Observable(observer => { + // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed + // back into the zone because matchMedia is only included in Zone.js by loading the + // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not + // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js + // patches it. + const handler = e => this._zone.run(() => observer.next(e)); + mql.addListener(handler); + return () => { + mql.removeListener(handler); + }; + }).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.startWith)(mql), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.map)(({ + matches + }) => ({ + query, + matches + })), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.takeUntil)(this._destroySubject)); + // Add the MediaQueryList to the set of queries. + const output = { + observable: queryObservable, + mql }; - }).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.startWith)(mql), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.map)(({ - matches - }) => ({ - query, - matches - })), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.takeUntil)(this._destroySubject)); - // Add the MediaQueryList to the set of queries. - const output = { - observable: queryObservable, - mql - }; - this._queries.set(query, output); - return output; - } - static #_ = this.ɵfac = function BreakpointObserver_Factory(t) { - return new (t || BreakpointObserver)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](MediaMatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: BreakpointObserver, - factory: BreakpointObserver.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BreakpointObserver, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + this._queries.set(query, output); + return output; + } + static #_ = this.ɵfac = function BreakpointObserver_Factory(t) { + return new (t || BreakpointObserver)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](MediaMatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: BreakpointObserver, + factory: BreakpointObserver.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: MediaMatcher - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }], null); + }); + } + return BreakpointObserver; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Split each query string into separate query strings if two queries are provided as comma @@ -74792,10 +85869,11 @@ const Breakpoints = { */ +//# sourceMappingURL=layout.mjs.map /***/ }), -/***/ 98472: +/***/ 73957: /*!**********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/observers.mjs ***! \**********************************************************/ @@ -74809,11 +85887,11 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ MutationObserverFactory: () => (/* binding */ MutationObserverFactory), /* harmony export */ ObserversModule: () => (/* binding */ ObserversModule) /* harmony export */ }); -/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/coercion */ 79663); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 64517); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 43396); +/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/coercion */ 61432); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 99406); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 68887); @@ -74824,242 +85902,207 @@ __webpack_require__.r(__webpack_exports__); * Factory that creates a new MutationObserver and allows us to stub it out in unit tests. * @docs-private */ -class MutationObserverFactory { - create(callback) { - return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback); - } - static #_ = this.ɵfac = function MutationObserverFactory_Factory(t) { - return new (t || MutationObserverFactory)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: MutationObserverFactory, - factory: MutationObserverFactory.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MutationObserverFactory, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ +let MutationObserverFactory = /*#__PURE__*/(() => { + class MutationObserverFactory { + create(callback) { + return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback); + } + static #_ = this.ɵfac = function MutationObserverFactory_Factory(t) { + return new (t || MutationObserverFactory)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: MutationObserverFactory, + factory: MutationObserverFactory.ɵfac, providedIn: 'root' - }] - }], null, null); -})(); -/** An injectable service that allows watching elements for changes to their content. */ -class ContentObserver { - constructor(_mutationObserverFactory) { - this._mutationObserverFactory = _mutationObserverFactory; - /** Keeps track of the existing MutationObservers so they can be reused. */ - this._observedElements = new Map(); - } - ngOnDestroy() { - this._observedElements.forEach((_, element) => this._cleanupObserver(element)); - } - observe(elementOrRef) { - const element = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__.coerceElement)(elementOrRef); - return new rxjs__WEBPACK_IMPORTED_MODULE_2__.Observable(observer => { - const stream = this._observeElement(element); - const subscription = stream.subscribe(observer); - return () => { - subscription.unsubscribe(); - this._unobserveElement(element); - }; }); } - /** - * Observes the given element by using the existing MutationObserver if available, or creating a - * new one if not. - */ - _observeElement(element) { - if (!this._observedElements.has(element)) { - const stream = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); - const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations)); - if (observer) { - observer.observe(element, { - characterData: true, - childList: true, - subtree: true + return MutationObserverFactory; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; +})(); +/** An injectable service that allows watching elements for changes to their content. */ +let ContentObserver = /*#__PURE__*/(() => { + class ContentObserver { + constructor(_mutationObserverFactory) { + this._mutationObserverFactory = _mutationObserverFactory; + /** Keeps track of the existing MutationObservers so they can be reused. */ + this._observedElements = new Map(); + } + ngOnDestroy() { + this._observedElements.forEach((_, element) => this._cleanupObserver(element)); + } + observe(elementOrRef) { + const element = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__.coerceElement)(elementOrRef); + return new rxjs__WEBPACK_IMPORTED_MODULE_2__.Observable(observer => { + const stream = this._observeElement(element); + const subscription = stream.subscribe(observer); + return () => { + subscription.unsubscribe(); + this._unobserveElement(element); + }; + }); + } + /** + * Observes the given element by using the existing MutationObserver if available, or creating a + * new one if not. + */ + _observeElement(element) { + if (!this._observedElements.has(element)) { + const stream = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); + const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations)); + if (observer) { + observer.observe(element, { + characterData: true, + childList: true, + subtree: true + }); + } + this._observedElements.set(element, { + observer, + stream, + count: 1 }); + } else { + this._observedElements.get(element).count++; } - this._observedElements.set(element, { - observer, - stream, - count: 1 - }); - } else { - this._observedElements.get(element).count++; + return this._observedElements.get(element).stream; } - return this._observedElements.get(element).stream; - } - /** - * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is - * observing this element. - */ - _unobserveElement(element) { - if (this._observedElements.has(element)) { - this._observedElements.get(element).count--; - if (!this._observedElements.get(element).count) { - this._cleanupObserver(element); + /** + * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is + * observing this element. + */ + _unobserveElement(element) { + if (this._observedElements.has(element)) { + this._observedElements.get(element).count--; + if (!this._observedElements.get(element).count) { + this._cleanupObserver(element); + } } } - } - /** Clean up the underlying MutationObserver for the specified element. */ - _cleanupObserver(element) { - if (this._observedElements.has(element)) { - const { - observer, - stream - } = this._observedElements.get(element); - if (observer) { - observer.disconnect(); + /** Clean up the underlying MutationObserver for the specified element. */ + _cleanupObserver(element) { + if (this._observedElements.has(element)) { + const { + observer, + stream + } = this._observedElements.get(element); + if (observer) { + observer.disconnect(); + } + stream.complete(); + this._observedElements.delete(element); } - stream.complete(); - this._observedElements.delete(element); } - } - static #_ = this.ɵfac = function ContentObserver_Factory(t) { - return new (t || ContentObserver)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](MutationObserverFactory)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: ContentObserver, - factory: ContentObserver.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ContentObserver, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + static #_ = this.ɵfac = function ContentObserver_Factory(t) { + return new (t || ContentObserver)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](MutationObserverFactory)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: ContentObserver, + factory: ContentObserver.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: MutationObserverFactory - }], null); + }); + } + return ContentObserver; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Directive that triggers a callback whenever the content of * its associated element has changed. */ -class CdkObserveContent { - /** - * Whether observing content is disabled. This option can be used - * to disconnect the underlying MutationObserver until it is needed. - */ - get disabled() { - return this._disabled; - } - set disabled(value) { - this._disabled = value; - this._disabled ? this._unsubscribe() : this._subscribe(); - } - /** Debounce interval for emitting the changes. */ - get debounce() { - return this._debounce; - } - set debounce(value) { - this._debounce = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__.coerceNumberProperty)(value); - this._subscribe(); - } - constructor(_contentObserver, _elementRef, _ngZone) { - this._contentObserver = _contentObserver; - this._elementRef = _elementRef; - this._ngZone = _ngZone; - /** Event emitted for each change in the element's content. */ - this.event = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - this._disabled = false; - this._currentSubscription = null; - } - ngAfterContentInit() { - if (!this._currentSubscription && !this.disabled) { +let CdkObserveContent = /*#__PURE__*/(() => { + class CdkObserveContent { + /** + * Whether observing content is disabled. This option can be used + * to disconnect the underlying MutationObserver until it is needed. + */ + get disabled() { + return this._disabled; + } + set disabled(value) { + this._disabled = value; + this._disabled ? this._unsubscribe() : this._subscribe(); + } + /** Debounce interval for emitting the changes. */ + get debounce() { + return this._debounce; + } + set debounce(value) { + this._debounce = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_1__.coerceNumberProperty)(value); this._subscribe(); } - } - ngOnDestroy() { - this._unsubscribe(); - } - _subscribe() { - this._unsubscribe(); - const stream = this._contentObserver.observe(this._elementRef); - // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone. - // Consider brining it back inside the zone next time we're making breaking changes. - // Bringing it back inside can cause things like infinite change detection loops and changed - // after checked errors if people's code isn't handling it properly. - this._ngZone.runOutsideAngular(() => { - this._currentSubscription = (this.debounce ? stream.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.debounceTime)(this.debounce)) : stream).subscribe(this.event); + constructor(_contentObserver, _elementRef, _ngZone) { + this._contentObserver = _contentObserver; + this._elementRef = _elementRef; + this._ngZone = _ngZone; + /** Event emitted for each change in the element's content. */ + this.event = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + this._disabled = false; + this._currentSubscription = null; + } + ngAfterContentInit() { + if (!this._currentSubscription && !this.disabled) { + this._subscribe(); + } + } + ngOnDestroy() { + this._unsubscribe(); + } + _subscribe() { + this._unsubscribe(); + const stream = this._contentObserver.observe(this._elementRef); + // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone. + // Consider brining it back inside the zone next time we're making breaking changes. + // Bringing it back inside can cause things like infinite change detection loops and changed + // after checked errors if people's code isn't handling it properly. + this._ngZone.runOutsideAngular(() => { + this._currentSubscription = (this.debounce ? stream.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.debounceTime)(this.debounce)) : stream).subscribe(this.event); + }); + } + _unsubscribe() { + this._currentSubscription?.unsubscribe(); + } + static #_ = this.ɵfac = function CdkObserveContent_Factory(t) { + return new (t || CdkObserveContent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ContentObserver), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkObserveContent, + selectors: [["", "cdkObserveContent", ""]], + inputs: { + disabled: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkObserveContentDisabled", "disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], + debounce: "debounce" + }, + outputs: { + event: "cdkObserveContent" + }, + exportAs: ["cdkObserveContent"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"]] }); } - _unsubscribe() { - this._currentSubscription?.unsubscribe(); - } - static #_ = this.ɵfac = function CdkObserveContent_Factory(t) { - return new (t || CdkObserveContent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ContentObserver), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkObserveContent, - selectors: [["", "cdkObserveContent", ""]], - inputs: { - disabled: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkObserveContentDisabled", "disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], - debounce: "debounce" - }, - outputs: { - event: "cdkObserveContent" - }, - exportAs: ["cdkObserveContent"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkObserveContent, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkObserveContent]', - exportAs: 'cdkObserveContent', - standalone: true - }] - }], () => [{ - type: ContentObserver - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }], { - event: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output, - args: ['cdkObserveContent'] - }], - disabled: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - alias: 'cdkObserveContentDisabled', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }], - debounce: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + return CdkObserveContent; })(); -class ObserversModule { - static #_ = this.ɵfac = function ObserversModule_Factory(t) { - return new (t || ObserversModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: ObserversModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ - providers: [MutationObserverFactory] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ObserversModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{ - imports: [CdkObserveContent], - exports: [CdkObserveContent], +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; +})(); +let ObserversModule = /*#__PURE__*/(() => { + class ObserversModule { + static #_ = this.ɵfac = function ObserversModule_Factory(t) { + return new (t || ObserversModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: ObserversModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ providers: [MutationObserverFactory] - }] - }], null, null); + }); + } + return ObserversModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -75067,10 +86110,11 @@ class ObserversModule { */ +//# sourceMappingURL=observers.mjs.map /***/ }), -/***/ 36792: +/***/ 54893: /*!******************************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/observers/private.mjs ***! \******************************************************************/ @@ -75081,12 +86125,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ SharedResizeObserver: () => (/* binding */ SharedResizeObserver) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 64517); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 61856); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 95840); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 65213); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 99406); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 38503); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 76661); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 76340); @@ -75166,56 +86210,54 @@ class SingleBoxSharedResizeObserver { * later calls to `observe` with a different box type from influencing the events dispatched to * earlier calls. */ -class SharedResizeObserver { - constructor() { - /** Map of box type to shared resize observer. */ - this._observers = new Map(); - /** The Angular zone. */ - this._ngZone = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgZone); - if (typeof ResizeObserver !== 'undefined' && (typeof ngDevMode === 'undefined' || ngDevMode)) { - this._ngZone.runOutsideAngular(() => { - window.addEventListener('error', loopLimitExceededErrorHandler); - }); - } - } - ngOnDestroy() { - for (const [, observer] of this._observers) { - observer.destroy(); +let SharedResizeObserver = /*#__PURE__*/(() => { + class SharedResizeObserver { + constructor() { + /** Map of box type to shared resize observer. */ + this._observers = new Map(); + /** The Angular zone. */ + this._ngZone = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgZone); + if (typeof ResizeObserver !== 'undefined' && (typeof ngDevMode === 'undefined' || ngDevMode)) { + this._ngZone.runOutsideAngular(() => { + window.addEventListener('error', loopLimitExceededErrorHandler); + }); + } } - this._observers.clear(); - if (typeof ResizeObserver !== 'undefined' && (typeof ngDevMode === 'undefined' || ngDevMode)) { - window.removeEventListener('error', loopLimitExceededErrorHandler); + ngOnDestroy() { + for (const [, observer] of this._observers) { + observer.destroy(); + } + this._observers.clear(); + if (typeof ResizeObserver !== 'undefined' && (typeof ngDevMode === 'undefined' || ngDevMode)) { + window.removeEventListener('error', loopLimitExceededErrorHandler); + } } - } - /** - * Gets a stream of resize events for the given target element and box type. - * @param target The element to observe for resizes. - * @param options Options to pass to the `ResizeObserver` - * @return The stream of resize events for the element. - */ - observe(target, options) { - const box = options?.box || 'content-box'; - if (!this._observers.has(box)) { - this._observers.set(box, new SingleBoxSharedResizeObserver(box)); + /** + * Gets a stream of resize events for the given target element and box type. + * @param target The element to observe for resizes. + * @param options Options to pass to the `ResizeObserver` + * @return The stream of resize events for the element. + */ + observe(target, options) { + const box = options?.box || 'content-box'; + if (!this._observers.has(box)) { + this._observers.set(box, new SingleBoxSharedResizeObserver(box)); + } + return this._observers.get(box).observe(target); } - return this._observers.get(box).observe(target); - } - static #_ = this.ɵfac = function SharedResizeObserver_Factory(t) { - return new (t || SharedResizeObserver)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ - token: SharedResizeObserver, - factory: SharedResizeObserver.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵsetClassMetadata"](SharedResizeObserver, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_5__.Injectable, - args: [{ + static #_ = this.ɵfac = function SharedResizeObserver_Factory(t) { + return new (t || SharedResizeObserver)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ + token: SharedResizeObserver, + factory: SharedResizeObserver.ɵfac, providedIn: 'root' - }] - }], () => [], null); + }); + } + return SharedResizeObserver; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -75223,10 +86265,11 @@ class SharedResizeObserver { */ +//# sourceMappingURL=private.mjs.map /***/ }), -/***/ 43181: +/***/ 24212: /*!********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/overlay.mjs ***! \********************************************************/ @@ -75264,21 +86307,21 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ validateHorizontalPosition: () => (/* binding */ validateHorizontalPosition), /* harmony export */ validateVerticalPosition: () => (/* binding */ validateVerticalPosition) /* harmony export */ }); -/* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/scrolling */ 73172); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 39191); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/coercion */ 79663); -/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/platform */ 51338); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 61856); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 75117); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 65213); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rxjs/operators */ 92348); -/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/cdk/bidi */ 457); -/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/cdk/portal */ 63965); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 36421); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ 870); -/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/cdk/keycodes */ 64986); +/* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/scrolling */ 41381); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/coercion */ 61432); +/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/cdk/platform */ 71857); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 38503); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 38486); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 76340); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rxjs/operators */ 17049); +/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/cdk/bidi */ 3126); +/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/cdk/portal */ 96810); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 42486); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ 52489); +/* harmony import */ var _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/cdk/keycodes */ 76809); @@ -75295,7 +86338,7 @@ __webpack_require__.r(__webpack_exports__); -const scrollBehaviorSupported = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.supportsScrollBehavior)(); +const scrollBehaviorSupported = /*#__PURE__*/(0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.supportsScrollBehavior)(); /** * Strategy that will prevent the user from scrolling while the overlay is visible. */ @@ -75547,56 +86590,42 @@ class RepositionScrollStrategy { * Users can provide a custom value for `ScrollStrategyOptions` to replace the default * behaviors. This class primarily acts as a factory for ScrollStrategy instances. */ -class ScrollStrategyOptions { - constructor(_scrollDispatcher, _viewportRuler, _ngZone, document) { - this._scrollDispatcher = _scrollDispatcher; - this._viewportRuler = _viewportRuler; - this._ngZone = _ngZone; - /** Do nothing on scroll. */ - this.noop = () => new NoopScrollStrategy(); - /** - * Close the overlay as soon as the user scrolls. - * @param config Configuration to be used inside the scroll strategy. - */ - this.close = config => new CloseScrollStrategy(this._scrollDispatcher, this._ngZone, this._viewportRuler, config); - /** Block scrolling. */ - this.block = () => new BlockScrollStrategy(this._viewportRuler, this._document); - /** - * Update the overlay's position on scroll. - * @param config Configuration to be used inside the scroll strategy. - * Allows debouncing the reposition calls. - */ - this.reposition = config => new RepositionScrollStrategy(this._scrollDispatcher, this._viewportRuler, this._ngZone, config); - this._document = document; - } - static #_ = this.ɵfac = function ScrollStrategyOptions_Factory(t) { - return new (t || ScrollStrategyOptions)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ViewportRuler), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: ScrollStrategyOptions, - factory: ScrollStrategyOptions.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](ScrollStrategyOptions, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ +let ScrollStrategyOptions = /*#__PURE__*/(() => { + class ScrollStrategyOptions { + constructor(_scrollDispatcher, _viewportRuler, _ngZone, document) { + this._scrollDispatcher = _scrollDispatcher; + this._viewportRuler = _viewportRuler; + this._ngZone = _ngZone; + /** Do nothing on scroll. */ + this.noop = () => new NoopScrollStrategy(); + /** + * Close the overlay as soon as the user scrolls. + * @param config Configuration to be used inside the scroll strategy. + */ + this.close = config => new CloseScrollStrategy(this._scrollDispatcher, this._ngZone, this._viewportRuler, config); + /** Block scrolling. */ + this.block = () => new BlockScrollStrategy(this._viewportRuler, this._document); + /** + * Update the overlay's position on scroll. + * @param config Configuration to be used inside the scroll strategy. + * Allows debouncing the reposition calls. + */ + this.reposition = config => new RepositionScrollStrategy(this._scrollDispatcher, this._viewportRuler, this._ngZone, config); + this._document = document; + } + static #_ = this.ɵfac = function ScrollStrategyOptions_Factory(t) { + return new (t || ScrollStrategyOptions)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ViewportRuler), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: ScrollStrategyOptions, + factory: ScrollStrategyOptions.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollDispatcher - }, { - type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ViewportRuler - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT] - }] - }], null); + }); + } + return ScrollStrategyOptions; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Initial configuration used when creating an overlay. */ @@ -75714,54 +86743,46 @@ function validateHorizontalPosition(property, value) { * if any. It maintains a list of attached overlays to determine best suited overlay based * on event target and order of overlay opens. */ -class BaseOverlayDispatcher { - constructor(document) { - /** Currently attached overlays in the order they were attached. */ - this._attachedOverlays = []; - this._document = document; - } - ngOnDestroy() { - this.detach(); - } - /** Add a new overlay to the list of attached overlay refs. */ - add(overlayRef) { - // Ensure that we don't get the same overlay multiple times. - this.remove(overlayRef); - this._attachedOverlays.push(overlayRef); - } - /** Remove an overlay from the list of attached overlay refs. */ - remove(overlayRef) { - const index = this._attachedOverlays.indexOf(overlayRef); - if (index > -1) { - this._attachedOverlays.splice(index, 1); +let BaseOverlayDispatcher = /*#__PURE__*/(() => { + class BaseOverlayDispatcher { + constructor(document) { + /** Currently attached overlays in the order they were attached. */ + this._attachedOverlays = []; + this._document = document; } - // Remove the global listener once there are no more overlays. - if (this._attachedOverlays.length === 0) { + ngOnDestroy() { this.detach(); } - } - static #_ = this.ɵfac = function BaseOverlayDispatcher_Factory(t) { - return new (t || BaseOverlayDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: BaseOverlayDispatcher, - factory: BaseOverlayDispatcher.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](BaseOverlayDispatcher, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ + /** Add a new overlay to the list of attached overlay refs. */ + add(overlayRef) { + // Ensure that we don't get the same overlay multiple times. + this.remove(overlayRef); + this._attachedOverlays.push(overlayRef); + } + /** Remove an overlay from the list of attached overlay refs. */ + remove(overlayRef) { + const index = this._attachedOverlays.indexOf(overlayRef); + if (index > -1) { + this._attachedOverlays.splice(index, 1); + } + // Remove the global listener once there are no more overlays. + if (this._attachedOverlays.length === 0) { + this.detach(); + } + } + static #_ = this.ɵfac = function BaseOverlayDispatcher_Factory(t) { + return new (t || BaseOverlayDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: BaseOverlayDispatcher, + factory: BaseOverlayDispatcher.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT] - }] - }], null); + }); + } + return BaseOverlayDispatcher; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -75769,82 +86790,69 @@ class BaseOverlayDispatcher { * if any. It maintains a list of attached overlays to determine best suited overlay based * on event target and order of overlay opens. */ -class OverlayKeyboardDispatcher extends BaseOverlayDispatcher { - constructor(document, /** @breaking-change 14.0.0 _ngZone will be required. */ - _ngZone) { - super(document); - this._ngZone = _ngZone; - /** Keyboard event listener that will be attached to the body. */ - this._keydownListener = event => { - const overlays = this._attachedOverlays; - for (let i = overlays.length - 1; i > -1; i--) { - // Dispatch the keydown event to the top overlay which has subscribers to its keydown events. - // We want to target the most recent overlay, rather than trying to match where the event came - // from, because some components might open an overlay, but keep focus on a trigger element - // (e.g. for select and autocomplete). We skip overlays without keydown event subscriptions, - // because we don't want overlays that don't handle keyboard events to block the ones below - // them that do. - if (overlays[i]._keydownEvents.observers.length > 0) { - const keydownEvents = overlays[i]._keydownEvents; - /** @breaking-change 14.0.0 _ngZone will be required. */ - if (this._ngZone) { - this._ngZone.run(() => keydownEvents.next(event)); - } else { - keydownEvents.next(event); +let OverlayKeyboardDispatcher = /*#__PURE__*/(() => { + class OverlayKeyboardDispatcher extends BaseOverlayDispatcher { + constructor(document, /** @breaking-change 14.0.0 _ngZone will be required. */ + _ngZone) { + super(document); + this._ngZone = _ngZone; + /** Keyboard event listener that will be attached to the body. */ + this._keydownListener = event => { + const overlays = this._attachedOverlays; + for (let i = overlays.length - 1; i > -1; i--) { + // Dispatch the keydown event to the top overlay which has subscribers to its keydown events. + // We want to target the most recent overlay, rather than trying to match where the event came + // from, because some components might open an overlay, but keep focus on a trigger element + // (e.g. for select and autocomplete). We skip overlays without keydown event subscriptions, + // because we don't want overlays that don't handle keyboard events to block the ones below + // them that do. + if (overlays[i]._keydownEvents.observers.length > 0) { + const keydownEvents = overlays[i]._keydownEvents; + /** @breaking-change 14.0.0 _ngZone will be required. */ + if (this._ngZone) { + this._ngZone.run(() => keydownEvents.next(event)); + } else { + keydownEvents.next(event); + } + break; } - break; } + }; + } + /** Add a new overlay to the list of attached overlay refs. */ + add(overlayRef) { + super.add(overlayRef); + // Lazily start dispatcher once first overlay is added + if (!this._isAttached) { + /** @breaking-change 14.0.0 _ngZone will be required. */ + if (this._ngZone) { + this._ngZone.runOutsideAngular(() => this._document.body.addEventListener('keydown', this._keydownListener)); + } else { + this._document.body.addEventListener('keydown', this._keydownListener); + } + this._isAttached = true; } - }; - } - /** Add a new overlay to the list of attached overlay refs. */ - add(overlayRef) { - super.add(overlayRef); - // Lazily start dispatcher once first overlay is added - if (!this._isAttached) { - /** @breaking-change 14.0.0 _ngZone will be required. */ - if (this._ngZone) { - this._ngZone.runOutsideAngular(() => this._document.body.addEventListener('keydown', this._keydownListener)); - } else { - this._document.body.addEventListener('keydown', this._keydownListener); - } - this._isAttached = true; } - } - /** Detaches the global keyboard event listener. */ - detach() { - if (this._isAttached) { - this._document.body.removeEventListener('keydown', this._keydownListener); - this._isAttached = false; + /** Detaches the global keyboard event listener. */ + detach() { + if (this._isAttached) { + this._document.body.removeEventListener('keydown', this._keydownListener); + this._isAttached = false; + } } - } - static #_ = this.ɵfac = function OverlayKeyboardDispatcher_Factory(t) { - return new (t || OverlayKeyboardDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: OverlayKeyboardDispatcher, - factory: OverlayKeyboardDispatcher.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](OverlayKeyboardDispatcher, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ + static #_ = this.ɵfac = function OverlayKeyboardDispatcher_Factory(t) { + return new (t || OverlayKeyboardDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: OverlayKeyboardDispatcher, + factory: OverlayKeyboardDispatcher.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT] - }] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Optional - }] - }], null); + }); + } + return OverlayKeyboardDispatcher; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -75852,219 +86860,194 @@ class OverlayKeyboardDispatcher extends BaseOverlayDispatcher { * if any. It maintains a list of attached overlays to determine best suited overlay based * on event target and order of overlay opens. */ -class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher { - constructor(document, _platform, /** @breaking-change 14.0.0 _ngZone will be required. */ - _ngZone) { - super(document); - this._platform = _platform; - this._ngZone = _ngZone; - this._cursorStyleIsSet = false; - /** Store pointerdown event target to track origin of click. */ - this._pointerDownListener = event => { - this._pointerDownEventTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__._getEventTarget)(event); - }; - /** Click event listener that will be attached to the body propagate phase. */ - this._clickListener = event => { - const target = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__._getEventTarget)(event); - // In case of a click event, we want to check the origin of the click - // (e.g. in case where a user starts a click inside the overlay and - // releases the click outside of it). - // This is done by using the event target of the preceding pointerdown event. - // Every click event caused by a pointer device has a preceding pointerdown - // event, unless the click was programmatically triggered (e.g. in a unit test). - const origin = event.type === 'click' && this._pointerDownEventTarget ? this._pointerDownEventTarget : target; - // Reset the stored pointerdown event target, to avoid having it interfere - // in subsequent events. - this._pointerDownEventTarget = null; - // We copy the array because the original may be modified asynchronously if the - // outsidePointerEvents listener decides to detach overlays resulting in index errors inside - // the for loop. - const overlays = this._attachedOverlays.slice(); - // Dispatch the mouse event to the top overlay which has subscribers to its mouse events. - // We want to target all overlays for which the click could be considered as outside click. - // As soon as we reach an overlay for which the click is not outside click we break off - // the loop. - for (let i = overlays.length - 1; i > -1; i--) { - const overlayRef = overlays[i]; - if (overlayRef._outsidePointerEvents.observers.length < 1 || !overlayRef.hasAttached()) { - continue; - } - // If it's a click inside the overlay, just break - we should do nothing - // If it's an outside click (both origin and target of the click) dispatch the mouse event, - // and proceed with the next overlay - if (overlayRef.overlayElement.contains(target) || overlayRef.overlayElement.contains(origin)) { - break; +let OverlayOutsideClickDispatcher = /*#__PURE__*/(() => { + class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher { + constructor(document, _platform, /** @breaking-change 14.0.0 _ngZone will be required. */ + _ngZone) { + super(document); + this._platform = _platform; + this._ngZone = _ngZone; + this._cursorStyleIsSet = false; + /** Store pointerdown event target to track origin of click. */ + this._pointerDownListener = event => { + this._pointerDownEventTarget = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__._getEventTarget)(event); + }; + /** Click event listener that will be attached to the body propagate phase. */ + this._clickListener = event => { + const target = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__._getEventTarget)(event); + // In case of a click event, we want to check the origin of the click + // (e.g. in case where a user starts a click inside the overlay and + // releases the click outside of it). + // This is done by using the event target of the preceding pointerdown event. + // Every click event caused by a pointer device has a preceding pointerdown + // event, unless the click was programmatically triggered (e.g. in a unit test). + const origin = event.type === 'click' && this._pointerDownEventTarget ? this._pointerDownEventTarget : target; + // Reset the stored pointerdown event target, to avoid having it interfere + // in subsequent events. + this._pointerDownEventTarget = null; + // We copy the array because the original may be modified asynchronously if the + // outsidePointerEvents listener decides to detach overlays resulting in index errors inside + // the for loop. + const overlays = this._attachedOverlays.slice(); + // Dispatch the mouse event to the top overlay which has subscribers to its mouse events. + // We want to target all overlays for which the click could be considered as outside click. + // As soon as we reach an overlay for which the click is not outside click we break off + // the loop. + for (let i = overlays.length - 1; i > -1; i--) { + const overlayRef = overlays[i]; + if (overlayRef._outsidePointerEvents.observers.length < 1 || !overlayRef.hasAttached()) { + continue; + } + // If it's a click inside the overlay, just break - we should do nothing + // If it's an outside click (both origin and target of the click) dispatch the mouse event, + // and proceed with the next overlay + if (overlayRef.overlayElement.contains(target) || overlayRef.overlayElement.contains(origin)) { + break; + } + const outsidePointerEvents = overlayRef._outsidePointerEvents; + /** @breaking-change 14.0.0 _ngZone will be required. */ + if (this._ngZone) { + this._ngZone.run(() => outsidePointerEvents.next(event)); + } else { + outsidePointerEvents.next(event); + } } - const outsidePointerEvents = overlayRef._outsidePointerEvents; + }; + } + /** Add a new overlay to the list of attached overlay refs. */ + add(overlayRef) { + super.add(overlayRef); + // Safari on iOS does not generate click events for non-interactive + // elements. However, we want to receive a click for any element outside + // the overlay. We can force a "clickable" state by setting + // `cursor: pointer` on the document body. See: + // https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event#Safari_Mobile + // https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html + if (!this._isAttached) { + const body = this._document.body; /** @breaking-change 14.0.0 _ngZone will be required. */ if (this._ngZone) { - this._ngZone.run(() => outsidePointerEvents.next(event)); + this._ngZone.runOutsideAngular(() => this._addEventListeners(body)); } else { - outsidePointerEvents.next(event); + this._addEventListeners(body); } + // click event is not fired on iOS. To make element "clickable" we are + // setting the cursor to pointer + if (this._platform.IOS && !this._cursorStyleIsSet) { + this._cursorOriginalValue = body.style.cursor; + body.style.cursor = 'pointer'; + this._cursorStyleIsSet = true; + } + this._isAttached = true; } - }; - } - /** Add a new overlay to the list of attached overlay refs. */ - add(overlayRef) { - super.add(overlayRef); - // Safari on iOS does not generate click events for non-interactive - // elements. However, we want to receive a click for any element outside - // the overlay. We can force a "clickable" state by setting - // `cursor: pointer` on the document body. See: - // https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event#Safari_Mobile - // https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html - if (!this._isAttached) { - const body = this._document.body; - /** @breaking-change 14.0.0 _ngZone will be required. */ - if (this._ngZone) { - this._ngZone.runOutsideAngular(() => this._addEventListeners(body)); - } else { - this._addEventListeners(body); - } - // click event is not fired on iOS. To make element "clickable" we are - // setting the cursor to pointer - if (this._platform.IOS && !this._cursorStyleIsSet) { - this._cursorOriginalValue = body.style.cursor; - body.style.cursor = 'pointer'; - this._cursorStyleIsSet = true; - } - this._isAttached = true; } - } - /** Detaches the global keyboard event listener. */ - detach() { - if (this._isAttached) { - const body = this._document.body; - body.removeEventListener('pointerdown', this._pointerDownListener, true); - body.removeEventListener('click', this._clickListener, true); - body.removeEventListener('auxclick', this._clickListener, true); - body.removeEventListener('contextmenu', this._clickListener, true); - if (this._platform.IOS && this._cursorStyleIsSet) { - body.style.cursor = this._cursorOriginalValue; - this._cursorStyleIsSet = false; + /** Detaches the global keyboard event listener. */ + detach() { + if (this._isAttached) { + const body = this._document.body; + body.removeEventListener('pointerdown', this._pointerDownListener, true); + body.removeEventListener('click', this._clickListener, true); + body.removeEventListener('auxclick', this._clickListener, true); + body.removeEventListener('contextmenu', this._clickListener, true); + if (this._platform.IOS && this._cursorStyleIsSet) { + body.style.cursor = this._cursorOriginalValue; + this._cursorStyleIsSet = false; + } + this._isAttached = false; } - this._isAttached = false; } - } - _addEventListeners(body) { - body.addEventListener('pointerdown', this._pointerDownListener, true); - body.addEventListener('click', this._clickListener, true); - body.addEventListener('auxclick', this._clickListener, true); - body.addEventListener('contextmenu', this._clickListener, true); - } - static #_ = this.ɵfac = function OverlayOutsideClickDispatcher_Factory(t) { - return new (t || OverlayOutsideClickDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: OverlayOutsideClickDispatcher, - factory: OverlayOutsideClickDispatcher.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](OverlayOutsideClickDispatcher, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ + _addEventListeners(body) { + body.addEventListener('pointerdown', this._pointerDownListener, true); + body.addEventListener('click', this._clickListener, true); + body.addEventListener('auxclick', this._clickListener, true); + body.addEventListener('contextmenu', this._clickListener, true); + } + static #_ = this.ɵfac = function OverlayOutsideClickDispatcher_Factory(t) { + return new (t || OverlayOutsideClickDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: OverlayOutsideClickDispatcher, + factory: OverlayOutsideClickDispatcher.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT] - }] - }, { - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Optional - }] - }], null); + }); + } + return OverlayOutsideClickDispatcher; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Container inside which all overlays will render. */ -class OverlayContainer { - constructor(document, _platform) { - this._platform = _platform; - this._document = document; - } - ngOnDestroy() { - this._containerElement?.remove(); - } - /** - * This method returns the overlay container element. It will lazily - * create the element the first time it is called to facilitate using - * the container in non-browser environments. - * @returns the container element - */ - getContainerElement() { - if (!this._containerElement) { - this._createContainer(); - } - return this._containerElement; - } - /** - * Create the overlay container element, which is simply a div - * with the 'cdk-overlay-container' class on the document body. - */ - _createContainer() { - const containerClass = 'cdk-overlay-container'; - // TODO(crisbeto): remove the testing check once we have an overlay testing - // module or Angular starts tearing down the testing `NgModule`. See: - // https://github.com/angular/angular/issues/18831 - if (this._platform.isBrowser || (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__._isTestEnvironment)()) { - const oppositePlatformContainers = this._document.querySelectorAll(`.${containerClass}[platform="server"], ` + `.${containerClass}[platform="test"]`); - // Remove any old containers from the opposite platform. - // This can happen when transitioning from the server to the client. - for (let i = 0; i < oppositePlatformContainers.length; i++) { - oppositePlatformContainers[i].remove(); - } - } - const container = this._document.createElement('div'); - container.classList.add(containerClass); - // A long time ago we kept adding new overlay containers whenever a new app was instantiated, - // but at some point we added logic which clears the duplicate ones in order to avoid leaks. - // The new logic was a little too aggressive since it was breaking some legitimate use cases. - // To mitigate the problem we made it so that only containers from a different platform are - // cleared, but the side-effect was that people started depending on the overly-aggressive - // logic to clean up their tests for them. Until we can introduce an overlay-specific testing - // module which does the cleanup, we try to detect that we're in a test environment and we - // always clear the container. See #17006. - // TODO(crisbeto): remove the test environment check once we have an overlay testing module. - if ((0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__._isTestEnvironment)()) { - container.setAttribute('platform', 'test'); - } else if (!this._platform.isBrowser) { - container.setAttribute('platform', 'server'); - } - this._document.body.appendChild(container); - this._containerElement = container; - } - static #_ = this.ɵfac = function OverlayContainer_Factory(t) { - return new (t || OverlayContainer)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: OverlayContainer, - factory: OverlayContainer.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](OverlayContainer, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ +let OverlayContainer = /*#__PURE__*/(() => { + class OverlayContainer { + constructor(document, _platform) { + this._platform = _platform; + this._document = document; + } + ngOnDestroy() { + this._containerElement?.remove(); + } + /** + * This method returns the overlay container element. It will lazily + * create the element the first time it is called to facilitate using + * the container in non-browser environments. + * @returns the container element + */ + getContainerElement() { + if (!this._containerElement) { + this._createContainer(); + } + return this._containerElement; + } + /** + * Create the overlay container element, which is simply a div + * with the 'cdk-overlay-container' class on the document body. + */ + _createContainer() { + const containerClass = 'cdk-overlay-container'; + // TODO(crisbeto): remove the testing check once we have an overlay testing + // module or Angular starts tearing down the testing `NgModule`. See: + // https://github.com/angular/angular/issues/18831 + if (this._platform.isBrowser || (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__._isTestEnvironment)()) { + const oppositePlatformContainers = this._document.querySelectorAll(`.${containerClass}[platform="server"], ` + `.${containerClass}[platform="test"]`); + // Remove any old containers from the opposite platform. + // This can happen when transitioning from the server to the client. + for (let i = 0; i < oppositePlatformContainers.length; i++) { + oppositePlatformContainers[i].remove(); + } + } + const container = this._document.createElement('div'); + container.classList.add(containerClass); + // A long time ago we kept adding new overlay containers whenever a new app was instantiated, + // but at some point we added logic which clears the duplicate ones in order to avoid leaks. + // The new logic was a little too aggressive since it was breaking some legitimate use cases. + // To mitigate the problem we made it so that only containers from a different platform are + // cleared, but the side-effect was that people started depending on the overly-aggressive + // logic to clean up their tests for them. Until we can introduce an overlay-specific testing + // module which does the cleanup, we try to detect that we're in a test environment and we + // always clear the container. See #17006. + // TODO(crisbeto): remove the test environment check once we have an overlay testing module. + if ((0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__._isTestEnvironment)()) { + container.setAttribute('platform', 'test'); + } else if (!this._platform.isBrowser) { + container.setAttribute('platform', 'server'); + } + this._document.body.appendChild(container); + this._containerElement = container; + } + static #_ = this.ɵfac = function OverlayContainer_Factory(t) { + return new (t || OverlayContainer)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: OverlayContainer, + factory: OverlayContainer.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT] - }] - }, { - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform - }], null); + }); + } + return OverlayContainer; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -77735,54 +88718,40 @@ class GlobalPositionStrategy { } /** Builder for overlay position strategy. */ -class OverlayPositionBuilder { - constructor(_viewportRuler, _document, _platform, _overlayContainer) { - this._viewportRuler = _viewportRuler; - this._document = _document; - this._platform = _platform; - this._overlayContainer = _overlayContainer; - } - /** - * Creates a global position strategy. - */ - global() { - return new GlobalPositionStrategy(); - } - /** - * Creates a flexible position strategy. - * @param origin Origin relative to which to position the overlay. - */ - flexibleConnectedTo(origin) { - return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer); - } - static #_ = this.ɵfac = function OverlayPositionBuilder_Factory(t) { - return new (t || OverlayPositionBuilder)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ViewportRuler), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayContainer)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: OverlayPositionBuilder, - factory: OverlayPositionBuilder.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](OverlayPositionBuilder, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ +let OverlayPositionBuilder = /*#__PURE__*/(() => { + class OverlayPositionBuilder { + constructor(_viewportRuler, _document, _platform, _overlayContainer) { + this._viewportRuler = _viewportRuler; + this._document = _document; + this._platform = _platform; + this._overlayContainer = _overlayContainer; + } + /** + * Creates a global position strategy. + */ + global() { + return new GlobalPositionStrategy(); + } + /** + * Creates a flexible position strategy. + * @param origin Origin relative to which to position the overlay. + */ + flexibleConnectedTo(origin) { + return new FlexibleConnectedPositionStrategy(origin, this._viewportRuler, this._document, this._platform, this._overlayContainer); + } + static #_ = this.ɵfac = function OverlayPositionBuilder_Factory(t) { + return new (t || OverlayPositionBuilder)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ViewportRuler), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayContainer)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: OverlayPositionBuilder, + factory: OverlayPositionBuilder.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ViewportRuler - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT] - }] - }, { - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform - }, { - type: OverlayContainer - }], null); + }); + } + return OverlayPositionBuilder; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Next overlay unique ID. */ @@ -77797,127 +88766,91 @@ let nextUniqueId = 0; * * An overlay *is* a PortalOutlet, so any kind of Portal can be loaded into one. */ -class Overlay { - constructor( /** Scrolling strategies that can be used when creating an overlay. */ - scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location, _outsideClickDispatcher, _animationsModuleType) { - this.scrollStrategies = scrollStrategies; - this._overlayContainer = _overlayContainer; - this._componentFactoryResolver = _componentFactoryResolver; - this._positionBuilder = _positionBuilder; - this._keyboardDispatcher = _keyboardDispatcher; - this._injector = _injector; - this._ngZone = _ngZone; - this._document = _document; - this._directionality = _directionality; - this._location = _location; - this._outsideClickDispatcher = _outsideClickDispatcher; - this._animationsModuleType = _animationsModuleType; - } - /** - * Creates an overlay. - * @param config Configuration applied to the overlay. - * @returns Reference to the created overlay. - */ - create(config) { - const host = this._createHostElement(); - const pane = this._createPaneElement(host); - const portalOutlet = this._createPortalOutlet(pane); - const overlayConfig = new OverlayConfig(config); - overlayConfig.direction = overlayConfig.direction || this._directionality.value; - return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location, this._outsideClickDispatcher, this._animationsModuleType === 'NoopAnimations'); - } - /** - * Gets a position builder that can be used, via fluent API, - * to construct and configure a position strategy. - * @returns An overlay position builder. - */ - position() { - return this._positionBuilder; - } - /** - * Creates the DOM element for an overlay and appends it to the overlay container. - * @returns Newly-created pane element - */ - _createPaneElement(host) { - const pane = this._document.createElement('div'); - pane.id = `cdk-overlay-${nextUniqueId++}`; - pane.classList.add('cdk-overlay-pane'); - host.appendChild(pane); - return pane; - } - /** - * Creates the host element that wraps around an overlay - * and can be used for advanced positioning. - * @returns Newly-create host element. - */ - _createHostElement() { - const host = this._document.createElement('div'); - this._overlayContainer.getContainerElement().appendChild(host); - return host; - } - /** - * Create a DomPortalOutlet into which the overlay content can be loaded. - * @param pane The DOM element to turn into a portal outlet. - * @returns A portal outlet for the given DOM element. - */ - _createPortalOutlet(pane) { - // We have to resolve the ApplicationRef later in order to allow people - // to use overlay-based providers during app initialization. - if (!this._appRef) { - this._appRef = this._injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_4__.ApplicationRef); +let Overlay = /*#__PURE__*/(() => { + class Overlay { + constructor( /** Scrolling strategies that can be used when creating an overlay. */ + scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location, _outsideClickDispatcher, _animationsModuleType) { + this.scrollStrategies = scrollStrategies; + this._overlayContainer = _overlayContainer; + this._componentFactoryResolver = _componentFactoryResolver; + this._positionBuilder = _positionBuilder; + this._keyboardDispatcher = _keyboardDispatcher; + this._injector = _injector; + this._ngZone = _ngZone; + this._document = _document; + this._directionality = _directionality; + this._location = _location; + this._outsideClickDispatcher = _outsideClickDispatcher; + this._animationsModuleType = _animationsModuleType; } - return new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__.DomPortalOutlet(pane, this._componentFactoryResolver, this._appRef, this._injector, this._document); - } - static #_ = this.ɵfac = function Overlay_Factory(t) { - return new (t || Overlay)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](ScrollStrategyOptions), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayContainer), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ComponentFactoryResolver), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayPositionBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayKeyboardDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.Location), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayOutsideClickDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ANIMATION_MODULE_TYPE, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: Overlay, - factory: Overlay.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](Overlay, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ + /** + * Creates an overlay. + * @param config Configuration applied to the overlay. + * @returns Reference to the created overlay. + */ + create(config) { + const host = this._createHostElement(); + const pane = this._createPaneElement(host); + const portalOutlet = this._createPortalOutlet(pane); + const overlayConfig = new OverlayConfig(config); + overlayConfig.direction = overlayConfig.direction || this._directionality.value; + return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location, this._outsideClickDispatcher, this._animationsModuleType === 'NoopAnimations'); + } + /** + * Gets a position builder that can be used, via fluent API, + * to construct and configure a position strategy. + * @returns An overlay position builder. + */ + position() { + return this._positionBuilder; + } + /** + * Creates the DOM element for an overlay and appends it to the overlay container. + * @returns Newly-created pane element + */ + _createPaneElement(host) { + const pane = this._document.createElement('div'); + pane.id = `cdk-overlay-${nextUniqueId++}`; + pane.classList.add('cdk-overlay-pane'); + host.appendChild(pane); + return pane; + } + /** + * Creates the host element that wraps around an overlay + * and can be used for advanced positioning. + * @returns Newly-create host element. + */ + _createHostElement() { + const host = this._document.createElement('div'); + this._overlayContainer.getContainerElement().appendChild(host); + return host; + } + /** + * Create a DomPortalOutlet into which the overlay content can be loaded. + * @param pane The DOM element to turn into a portal outlet. + * @returns A portal outlet for the given DOM element. + */ + _createPortalOutlet(pane) { + // We have to resolve the ApplicationRef later in order to allow people + // to use overlay-based providers during app initialization. + if (!this._appRef) { + this._appRef = this._injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_4__.ApplicationRef); + } + return new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__.DomPortalOutlet(pane, this._componentFactoryResolver, this._appRef, this._injector, this._document); + } + static #_ = this.ɵfac = function Overlay_Factory(t) { + return new (t || Overlay)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](ScrollStrategyOptions), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayContainer), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ComponentFactoryResolver), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayPositionBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayKeyboardDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.Location), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](OverlayOutsideClickDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ANIMATION_MODULE_TYPE, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: Overlay, + factory: Overlay.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: ScrollStrategyOptions - }, { - type: OverlayContainer - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.ComponentFactoryResolver - }, { - type: OverlayPositionBuilder - }, { - type: OverlayKeyboardDispatcher - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injector - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT] - }] - }, { - type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality - }, { - type: _angular_common__WEBPACK_IMPORTED_MODULE_5__.Location - }, { - type: OverlayOutsideClickDispatcher - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_4__.ANIMATION_MODULE_TYPE] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Optional - }] - }], null); + }); + } + return Overlay; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Default set of positions for the overlay. Follows the behavior of a dropdown. */ @@ -77943,7 +88876,7 @@ const defaultPositionList = [{ overlayY: 'top' }]; /** Injection token that determines the scroll handling while the connected overlay is open. */ -const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.InjectionToken('cdk-connected-overlay-scroll-strategy', { +const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_4__.InjectionToken('cdk-connected-overlay-scroll-strategy', { providedIn: 'root', factory: () => { const overlay = (0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.inject)(Overlay); @@ -77954,448 +88887,296 @@ const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTE * Directive applied to an element to make it usable as an origin for an Overlay using a * ConnectedPositionStrategy. */ -class CdkOverlayOrigin { - constructor( /** Reference to the element on which the directive is applied. */ - elementRef) { - this.elementRef = elementRef; - } - static #_ = this.ɵfac = function CdkOverlayOrigin_Factory(t) { - return new (t || CdkOverlayOrigin)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ - type: CdkOverlayOrigin, - selectors: [["", "cdk-overlay-origin", ""], ["", "overlay-origin", ""], ["", "cdkOverlayOrigin", ""]], - exportAs: ["cdkOverlayOrigin"], - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](CdkOverlayOrigin, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Directive, - args: [{ - selector: '[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]', - exportAs: 'cdkOverlayOrigin', +let CdkOverlayOrigin = /*#__PURE__*/(() => { + class CdkOverlayOrigin { + constructor( /** Reference to the element on which the directive is applied. */ + elementRef) { + this.elementRef = elementRef; + } + static #_ = this.ɵfac = function CdkOverlayOrigin_Factory(t) { + return new (t || CdkOverlayOrigin)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ + type: CdkOverlayOrigin, + selectors: [["", "cdk-overlay-origin", ""], ["", "overlay-origin", ""], ["", "cdkOverlayOrigin", ""]], + exportAs: ["cdkOverlayOrigin"], standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef - }], null); + }); + } + return CdkOverlayOrigin; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Directive to facilitate declarative creation of an * Overlay using a FlexibleConnectedPositionStrategy. */ -class CdkConnectedOverlay { - /** The offset in pixels for the overlay connection point on the x-axis */ - get offsetX() { - return this._offsetX; - } - set offsetX(offsetX) { - this._offsetX = offsetX; - if (this._position) { - this._updatePositionStrategy(this._position); - } - } - /** The offset in pixels for the overlay connection point on the y-axis */ - get offsetY() { - return this._offsetY; - } - set offsetY(offsetY) { - this._offsetY = offsetY; - if (this._position) { - this._updatePositionStrategy(this._position); - } - } - /** Whether the overlay should be disposed of when the user goes backwards/forwards in history. */ - get disposeOnNavigation() { - return this._disposeOnNavigation; - } - set disposeOnNavigation(value) { - this._disposeOnNavigation = value; - } - // TODO(jelbourn): inputs for size, scroll behavior, animation, etc. - constructor(_overlay, templateRef, viewContainerRef, scrollStrategyFactory, _dir) { - this._overlay = _overlay; - this._dir = _dir; - this._backdropSubscription = rxjs__WEBPACK_IMPORTED_MODULE_7__.Subscription.EMPTY; - this._attachSubscription = rxjs__WEBPACK_IMPORTED_MODULE_7__.Subscription.EMPTY; - this._detachSubscription = rxjs__WEBPACK_IMPORTED_MODULE_7__.Subscription.EMPTY; - this._positionSubscription = rxjs__WEBPACK_IMPORTED_MODULE_7__.Subscription.EMPTY; - this._disposeOnNavigation = false; - this._ngZone = (0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone); - /** Margin between the overlay and the viewport edges. */ - this.viewportMargin = 0; - /** Whether the overlay is open. */ - this.open = false; - /** Whether the overlay can be closed by user interaction. */ - this.disableClose = false; - /** Whether or not the overlay should attach a backdrop. */ - this.hasBackdrop = false; - /** Whether or not the overlay should be locked when scrolling. */ - this.lockPosition = false; - /** Whether the overlay's width and height can be constrained to fit within the viewport. */ - this.flexibleDimensions = false; - /** Whether the overlay can grow after the initial open when flexible positioning is turned on. */ - this.growAfterOpen = false; - /** Whether the overlay can be pushed on-screen if none of the provided positions fit. */ - this.push = false; - /** Event emitted when the backdrop is clicked. */ - this.backdropClick = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); - /** Event emitted when the position has changed. */ - this.positionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); - /** Event emitted when the overlay has been attached. */ - this.attach = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); - /** Event emitted when the overlay has been detached. */ - this.detach = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); - /** Emits when there are keyboard events that are targeted at the overlay. */ - this.overlayKeydown = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); - /** Emits when there are mouse outside click events that are targeted at the overlay. */ - this.overlayOutsideClick = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); - this._templatePortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__.TemplatePortal(templateRef, viewContainerRef); - this._scrollStrategyFactory = scrollStrategyFactory; - this.scrollStrategy = this._scrollStrategyFactory(); - } - /** The associated overlay reference. */ - get overlayRef() { - return this._overlayRef; - } - /** The element's layout direction. */ - get dir() { - return this._dir ? this._dir.value : 'ltr'; - } - ngOnDestroy() { - this._attachSubscription.unsubscribe(); - this._detachSubscription.unsubscribe(); - this._backdropSubscription.unsubscribe(); - this._positionSubscription.unsubscribe(); - if (this._overlayRef) { - this._overlayRef.dispose(); - } - } - ngOnChanges(changes) { - if (this._position) { - this._updatePositionStrategy(this._position); - this._overlayRef.updateSize({ - width: this.width, - minWidth: this.minWidth, - height: this.height, - minHeight: this.minHeight - }); - if (changes['origin'] && this.open) { - this._position.apply(); +let CdkConnectedOverlay = /*#__PURE__*/(() => { + class CdkConnectedOverlay { + /** The offset in pixels for the overlay connection point on the x-axis */ + get offsetX() { + return this._offsetX; + } + set offsetX(offsetX) { + this._offsetX = offsetX; + if (this._position) { + this._updatePositionStrategy(this._position); + } + } + /** The offset in pixels for the overlay connection point on the y-axis */ + get offsetY() { + return this._offsetY; + } + set offsetY(offsetY) { + this._offsetY = offsetY; + if (this._position) { + this._updatePositionStrategy(this._position); + } + } + /** Whether the overlay should be disposed of when the user goes backwards/forwards in history. */ + get disposeOnNavigation() { + return this._disposeOnNavigation; + } + set disposeOnNavigation(value) { + this._disposeOnNavigation = value; + } + // TODO(jelbourn): inputs for size, scroll behavior, animation, etc. + constructor(_overlay, templateRef, viewContainerRef, scrollStrategyFactory, _dir) { + this._overlay = _overlay; + this._dir = _dir; + this._backdropSubscription = rxjs__WEBPACK_IMPORTED_MODULE_7__.Subscription.EMPTY; + this._attachSubscription = rxjs__WEBPACK_IMPORTED_MODULE_7__.Subscription.EMPTY; + this._detachSubscription = rxjs__WEBPACK_IMPORTED_MODULE_7__.Subscription.EMPTY; + this._positionSubscription = rxjs__WEBPACK_IMPORTED_MODULE_7__.Subscription.EMPTY; + this._disposeOnNavigation = false; + this._ngZone = (0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone); + /** Margin between the overlay and the viewport edges. */ + this.viewportMargin = 0; + /** Whether the overlay is open. */ + this.open = false; + /** Whether the overlay can be closed by user interaction. */ + this.disableClose = false; + /** Whether or not the overlay should attach a backdrop. */ + this.hasBackdrop = false; + /** Whether or not the overlay should be locked when scrolling. */ + this.lockPosition = false; + /** Whether the overlay's width and height can be constrained to fit within the viewport. */ + this.flexibleDimensions = false; + /** Whether the overlay can grow after the initial open when flexible positioning is turned on. */ + this.growAfterOpen = false; + /** Whether the overlay can be pushed on-screen if none of the provided positions fit. */ + this.push = false; + /** Event emitted when the backdrop is clicked. */ + this.backdropClick = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); + /** Event emitted when the position has changed. */ + this.positionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); + /** Event emitted when the overlay has been attached. */ + this.attach = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); + /** Event emitted when the overlay has been detached. */ + this.detach = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); + /** Emits when there are keyboard events that are targeted at the overlay. */ + this.overlayKeydown = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); + /** Emits when there are mouse outside click events that are targeted at the overlay. */ + this.overlayOutsideClick = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); + this._templatePortal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__.TemplatePortal(templateRef, viewContainerRef); + this._scrollStrategyFactory = scrollStrategyFactory; + this.scrollStrategy = this._scrollStrategyFactory(); + } + /** The associated overlay reference. */ + get overlayRef() { + return this._overlayRef; + } + /** The element's layout direction. */ + get dir() { + return this._dir ? this._dir.value : 'ltr'; + } + ngOnDestroy() { + this._attachSubscription.unsubscribe(); + this._detachSubscription.unsubscribe(); + this._backdropSubscription.unsubscribe(); + this._positionSubscription.unsubscribe(); + if (this._overlayRef) { + this._overlayRef.dispose(); + } + } + ngOnChanges(changes) { + if (this._position) { + this._updatePositionStrategy(this._position); + this._overlayRef.updateSize({ + width: this.width, + minWidth: this.minWidth, + height: this.height, + minHeight: this.minHeight + }); + if (changes['origin'] && this.open) { + this._position.apply(); + } } - } - if (changes['open']) { - this.open ? this._attachOverlay() : this._detachOverlay(); - } - } - /** Creates an overlay */ - _createOverlay() { - if (!this.positions || !this.positions.length) { - this.positions = defaultPositionList; - } - const overlayRef = this._overlayRef = this._overlay.create(this._buildConfig()); - this._attachSubscription = overlayRef.attachments().subscribe(() => this.attach.emit()); - this._detachSubscription = overlayRef.detachments().subscribe(() => this.detach.emit()); - overlayRef.keydownEvents().subscribe(event => { - this.overlayKeydown.next(event); - if (event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_13__.ESCAPE && !this.disableClose && !(0,_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_13__.hasModifierKey)(event)) { - event.preventDefault(); - this._detachOverlay(); + if (changes['open']) { + this.open ? this._attachOverlay() : this._detachOverlay(); } - }); - this._overlayRef.outsidePointerEvents().subscribe(event => { - this.overlayOutsideClick.next(event); - }); - } - /** Builds the overlay config based on the directive's inputs */ - _buildConfig() { - const positionStrategy = this._position = this.positionStrategy || this._createPositionStrategy(); - const overlayConfig = new OverlayConfig({ - direction: this._dir, - positionStrategy, - scrollStrategy: this.scrollStrategy, - hasBackdrop: this.hasBackdrop, - disposeOnNavigation: this.disposeOnNavigation - }); - if (this.width || this.width === 0) { - overlayConfig.width = this.width; } - if (this.height || this.height === 0) { - overlayConfig.height = this.height; - } - if (this.minWidth || this.minWidth === 0) { - overlayConfig.minWidth = this.minWidth; + /** Creates an overlay */ + _createOverlay() { + if (!this.positions || !this.positions.length) { + this.positions = defaultPositionList; + } + const overlayRef = this._overlayRef = this._overlay.create(this._buildConfig()); + this._attachSubscription = overlayRef.attachments().subscribe(() => this.attach.emit()); + this._detachSubscription = overlayRef.detachments().subscribe(() => this.detach.emit()); + overlayRef.keydownEvents().subscribe(event => { + this.overlayKeydown.next(event); + if (event.keyCode === _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_13__.ESCAPE && !this.disableClose && !(0,_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_13__.hasModifierKey)(event)) { + event.preventDefault(); + this._detachOverlay(); + } + }); + this._overlayRef.outsidePointerEvents().subscribe(event => { + this.overlayOutsideClick.next(event); + }); } - if (this.minHeight || this.minHeight === 0) { - overlayConfig.minHeight = this.minHeight; + /** Builds the overlay config based on the directive's inputs */ + _buildConfig() { + const positionStrategy = this._position = this.positionStrategy || this._createPositionStrategy(); + const overlayConfig = new OverlayConfig({ + direction: this._dir, + positionStrategy, + scrollStrategy: this.scrollStrategy, + hasBackdrop: this.hasBackdrop, + disposeOnNavigation: this.disposeOnNavigation + }); + if (this.width || this.width === 0) { + overlayConfig.width = this.width; + } + if (this.height || this.height === 0) { + overlayConfig.height = this.height; + } + if (this.minWidth || this.minWidth === 0) { + overlayConfig.minWidth = this.minWidth; + } + if (this.minHeight || this.minHeight === 0) { + overlayConfig.minHeight = this.minHeight; + } + if (this.backdropClass) { + overlayConfig.backdropClass = this.backdropClass; + } + if (this.panelClass) { + overlayConfig.panelClass = this.panelClass; + } + return overlayConfig; } - if (this.backdropClass) { - overlayConfig.backdropClass = this.backdropClass; + /** Updates the state of a position strategy, based on the values of the directive inputs. */ + _updatePositionStrategy(positionStrategy) { + const positions = this.positions.map(currentPosition => ({ + originX: currentPosition.originX, + originY: currentPosition.originY, + overlayX: currentPosition.overlayX, + overlayY: currentPosition.overlayY, + offsetX: currentPosition.offsetX || this.offsetX, + offsetY: currentPosition.offsetY || this.offsetY, + panelClass: currentPosition.panelClass || undefined + })); + return positionStrategy.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(positions).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector); } - if (this.panelClass) { - overlayConfig.panelClass = this.panelClass; + /** Returns the position strategy of the overlay to be set on the overlay config */ + _createPositionStrategy() { + const strategy = this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin()); + this._updatePositionStrategy(strategy); + return strategy; } - return overlayConfig; - } - /** Updates the state of a position strategy, based on the values of the directive inputs. */ - _updatePositionStrategy(positionStrategy) { - const positions = this.positions.map(currentPosition => ({ - originX: currentPosition.originX, - originY: currentPosition.originY, - overlayX: currentPosition.overlayX, - overlayY: currentPosition.overlayY, - offsetX: currentPosition.offsetX || this.offsetX, - offsetY: currentPosition.offsetY || this.offsetY, - panelClass: currentPosition.panelClass || undefined - })); - return positionStrategy.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(positions).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector); - } - /** Returns the position strategy of the overlay to be set on the overlay config */ - _createPositionStrategy() { - const strategy = this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin()); - this._updatePositionStrategy(strategy); - return strategy; - } - _getFlexibleConnectedPositionStrategyOrigin() { - if (this.origin instanceof CdkOverlayOrigin) { - return this.origin.elementRef; - } else { - return this.origin; - } - } - /** Attaches the overlay and subscribes to backdrop clicks if backdrop exists */ - _attachOverlay() { - if (!this._overlayRef) { - this._createOverlay(); - } else { - // Update the overlay size, in case the directive's inputs have changed - this._overlayRef.getConfig().hasBackdrop = this.hasBackdrop; + _getFlexibleConnectedPositionStrategyOrigin() { + if (this.origin instanceof CdkOverlayOrigin) { + return this.origin.elementRef; + } else { + return this.origin; + } } - if (!this._overlayRef.hasAttached()) { - this._overlayRef.attach(this._templatePortal); + /** Attaches the overlay and subscribes to backdrop clicks if backdrop exists */ + _attachOverlay() { + if (!this._overlayRef) { + this._createOverlay(); + } else { + // Update the overlay size, in case the directive's inputs have changed + this._overlayRef.getConfig().hasBackdrop = this.hasBackdrop; + } + if (!this._overlayRef.hasAttached()) { + this._overlayRef.attach(this._templatePortal); + } + if (this.hasBackdrop) { + this._backdropSubscription = this._overlayRef.backdropClick().subscribe(event => { + this.backdropClick.emit(event); + }); + } else { + this._backdropSubscription.unsubscribe(); + } + this._positionSubscription.unsubscribe(); + // Only subscribe to `positionChanges` if requested, because putting + // together all the information for it can be expensive. + if (this.positionChange.observers.length > 0) { + this._positionSubscription = this._position.positionChanges.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.takeWhile)(() => this.positionChange.observers.length > 0)).subscribe(position => { + this._ngZone.run(() => this.positionChange.emit(position)); + if (this.positionChange.observers.length === 0) { + this._positionSubscription.unsubscribe(); + } + }); + } } - if (this.hasBackdrop) { - this._backdropSubscription = this._overlayRef.backdropClick().subscribe(event => { - this.backdropClick.emit(event); - }); - } else { + /** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */ + _detachOverlay() { + if (this._overlayRef) { + this._overlayRef.detach(); + } this._backdropSubscription.unsubscribe(); + this._positionSubscription.unsubscribe(); } - this._positionSubscription.unsubscribe(); - // Only subscribe to `positionChanges` if requested, because putting - // together all the information for it can be expensive. - if (this.positionChange.observers.length > 0) { - this._positionSubscription = this._position.positionChanges.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.takeWhile)(() => this.positionChange.observers.length > 0)).subscribe(position => { - this._ngZone.run(() => this.positionChange.emit(position)); - if (this.positionChange.observers.length === 0) { - this._positionSubscription.unsubscribe(); - } - }); - } - } - /** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */ - _detachOverlay() { - if (this._overlayRef) { - this._overlayRef.detach(); - } - this._backdropSubscription.unsubscribe(); - this._positionSubscription.unsubscribe(); + static #_ = this.ɵfac = function CdkConnectedOverlay_Factory(t) { + return new (t || CdkConnectedOverlay)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](Overlay), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ + type: CdkConnectedOverlay, + selectors: [["", "cdk-connected-overlay", ""], ["", "connected-overlay", ""], ["", "cdkConnectedOverlay", ""]], + inputs: { + origin: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayOrigin", "origin"], + positions: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayPositions", "positions"], + positionStrategy: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayPositionStrategy", "positionStrategy"], + offsetX: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayOffsetX", "offsetX"], + offsetY: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayOffsetY", "offsetY"], + width: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayWidth", "width"], + height: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayHeight", "height"], + minWidth: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayMinWidth", "minWidth"], + minHeight: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayMinHeight", "minHeight"], + backdropClass: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayBackdropClass", "backdropClass"], + panelClass: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayPanelClass", "panelClass"], + viewportMargin: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayViewportMargin", "viewportMargin"], + scrollStrategy: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayScrollStrategy", "scrollStrategy"], + open: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayOpen", "open"], + disableClose: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayDisableClose", "disableClose"], + transformOriginSelector: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayTransformOriginOn", "transformOriginSelector"], + hasBackdrop: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayHasBackdrop", "hasBackdrop", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], + lockPosition: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayLockPosition", "lockPosition", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], + flexibleDimensions: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayFlexibleDimensions", "flexibleDimensions", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], + growAfterOpen: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayGrowAfterOpen", "growAfterOpen", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], + push: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayPush", "push", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], + disposeOnNavigation: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayDisposeOnNavigation", "disposeOnNavigation", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute] + }, + outputs: { + backdropClick: "backdropClick", + positionChange: "positionChange", + attach: "attach", + detach: "detach", + overlayKeydown: "overlayKeydown", + overlayOutsideClick: "overlayOutsideClick" + }, + exportAs: ["cdkConnectedOverlay"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵNgOnChangesFeature"]] + }); } - static #_ = this.ɵfac = function CdkConnectedOverlay_Factory(t) { - return new (t || CdkConnectedOverlay)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](Overlay), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ - type: CdkConnectedOverlay, - selectors: [["", "cdk-connected-overlay", ""], ["", "connected-overlay", ""], ["", "cdkConnectedOverlay", ""]], - inputs: { - origin: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayOrigin", "origin"], - positions: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayPositions", "positions"], - positionStrategy: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayPositionStrategy", "positionStrategy"], - offsetX: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayOffsetX", "offsetX"], - offsetY: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayOffsetY", "offsetY"], - width: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayWidth", "width"], - height: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayHeight", "height"], - minWidth: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayMinWidth", "minWidth"], - minHeight: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayMinHeight", "minHeight"], - backdropClass: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayBackdropClass", "backdropClass"], - panelClass: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayPanelClass", "panelClass"], - viewportMargin: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayViewportMargin", "viewportMargin"], - scrollStrategy: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayScrollStrategy", "scrollStrategy"], - open: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayOpen", "open"], - disableClose: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayDisableClose", "disableClose"], - transformOriginSelector: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkConnectedOverlayTransformOriginOn", "transformOriginSelector"], - hasBackdrop: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayHasBackdrop", "hasBackdrop", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], - lockPosition: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayLockPosition", "lockPosition", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], - flexibleDimensions: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayFlexibleDimensions", "flexibleDimensions", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], - growAfterOpen: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayGrowAfterOpen", "growAfterOpen", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], - push: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayPush", "push", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], - disposeOnNavigation: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkConnectedOverlayDisposeOnNavigation", "disposeOnNavigation", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute] - }, - outputs: { - backdropClick: "backdropClick", - positionChange: "positionChange", - attach: "attach", - detach: "detach", - overlayKeydown: "overlayKeydown", - overlayOutsideClick: "overlayOutsideClick" - }, - exportAs: ["cdkConnectedOverlay"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵNgOnChangesFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](CdkConnectedOverlay, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Directive, - args: [{ - selector: '[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]', - exportAs: 'cdkConnectedOverlay', - standalone: true - }] - }], () => [{ - type: Overlay - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.TemplateRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.ViewContainerRef - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY] - }] - }, { - type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Optional - }] - }], { - origin: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayOrigin'] - }], - positions: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayPositions'] - }], - positionStrategy: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayPositionStrategy'] - }], - offsetX: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayOffsetX'] - }], - offsetY: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayOffsetY'] - }], - width: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayWidth'] - }], - height: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayHeight'] - }], - minWidth: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayMinWidth'] - }], - minHeight: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayMinHeight'] - }], - backdropClass: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayBackdropClass'] - }], - panelClass: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayPanelClass'] - }], - viewportMargin: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayViewportMargin'] - }], - scrollStrategy: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayScrollStrategy'] - }], - open: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayOpen'] - }], - disableClose: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayDisableClose'] - }], - transformOriginSelector: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkConnectedOverlayTransformOriginOn'] - }], - hasBackdrop: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: [{ - alias: 'cdkConnectedOverlayHasBackdrop', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute - }] - }], - lockPosition: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: [{ - alias: 'cdkConnectedOverlayLockPosition', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute - }] - }], - flexibleDimensions: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: [{ - alias: 'cdkConnectedOverlayFlexibleDimensions', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute - }] - }], - growAfterOpen: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: [{ - alias: 'cdkConnectedOverlayGrowAfterOpen', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute - }] - }], - push: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: [{ - alias: 'cdkConnectedOverlayPush', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute - }] - }], - disposeOnNavigation: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: [{ - alias: 'cdkConnectedOverlayDisposeOnNavigation', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute - }] - }], - backdropClick: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Output - }], - positionChange: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Output - }], - attach: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Output - }], - detach: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Output - }], - overlayKeydown: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Output - }], - overlayOutsideClick: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Output - }] - }); + return CdkConnectedOverlay; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @docs-private */ function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) { @@ -78407,27 +89188,23 @@ const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = { deps: [Overlay], useFactory: CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY }; -class OverlayModule { - static #_ = this.ɵfac = function OverlayModule_Factory(t) { - return new (t || OverlayModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ - type: OverlayModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ - providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER], - imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__.PortalModule, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollingModule, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollingModule] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](OverlayModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule, - args: [{ - imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__.PortalModule, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollingModule, CdkConnectedOverlay, CdkOverlayOrigin], - exports: [CdkConnectedOverlay, CdkOverlayOrigin, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollingModule], - providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER] - }] - }], null, null); +let OverlayModule = /*#__PURE__*/(() => { + class OverlayModule { + static #_ = this.ɵfac = function OverlayModule_Factory(t) { + return new (t || OverlayModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ + type: OverlayModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ + providers: [Overlay, CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER], + imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_11__.PortalModule, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollingModule, _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_0__.ScrollingModule] + }); + } + return OverlayModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -78437,86 +89214,76 @@ class OverlayModule { * * Should be provided in the root component. */ -class FullscreenOverlayContainer extends OverlayContainer { - constructor(_document, platform) { - super(_document, platform); - } - ngOnDestroy() { - super.ngOnDestroy(); - if (this._fullScreenEventName && this._fullScreenListener) { - this._document.removeEventListener(this._fullScreenEventName, this._fullScreenListener); +let FullscreenOverlayContainer = /*#__PURE__*/(() => { + class FullscreenOverlayContainer extends OverlayContainer { + constructor(_document, platform) { + super(_document, platform); } - } - _createContainer() { - super._createContainer(); - this._adjustParentForFullscreenChange(); - this._addFullscreenChangeListener(() => this._adjustParentForFullscreenChange()); - } - _adjustParentForFullscreenChange() { - if (!this._containerElement) { - return; + ngOnDestroy() { + super.ngOnDestroy(); + if (this._fullScreenEventName && this._fullScreenListener) { + this._document.removeEventListener(this._fullScreenEventName, this._fullScreenListener); + } } - const fullscreenElement = this.getFullscreenElement(); - const parent = fullscreenElement || this._document.body; - parent.appendChild(this._containerElement); - } - _addFullscreenChangeListener(fn) { - const eventName = this._getEventName(); - if (eventName) { - if (this._fullScreenListener) { - this._document.removeEventListener(eventName, this._fullScreenListener); + _createContainer() { + super._createContainer(); + this._adjustParentForFullscreenChange(); + this._addFullscreenChangeListener(() => this._adjustParentForFullscreenChange()); + } + _adjustParentForFullscreenChange() { + if (!this._containerElement) { + return; } - this._document.addEventListener(eventName, fn); - this._fullScreenListener = fn; + const fullscreenElement = this.getFullscreenElement(); + const parent = fullscreenElement || this._document.body; + parent.appendChild(this._containerElement); } - } - _getEventName() { - if (!this._fullScreenEventName) { - const _document = this._document; - if (_document.fullscreenEnabled) { - this._fullScreenEventName = 'fullscreenchange'; - } else if (_document.webkitFullscreenEnabled) { - this._fullScreenEventName = 'webkitfullscreenchange'; - } else if (_document.mozFullScreenEnabled) { - this._fullScreenEventName = 'mozfullscreenchange'; - } else if (_document.msFullscreenEnabled) { - this._fullScreenEventName = 'MSFullscreenChange'; + _addFullscreenChangeListener(fn) { + const eventName = this._getEventName(); + if (eventName) { + if (this._fullScreenListener) { + this._document.removeEventListener(eventName, this._fullScreenListener); + } + this._document.addEventListener(eventName, fn); + this._fullScreenListener = fn; } } - return this._fullScreenEventName; - } - /** - * When the page is put into fullscreen mode, a specific element is specified. - * Only that element and its children are visible when in fullscreen mode. - */ - getFullscreenElement() { - const _document = this._document; - return _document.fullscreenElement || _document.webkitFullscreenElement || _document.mozFullScreenElement || _document.msFullscreenElement || null; - } - static #_ = this.ɵfac = function FullscreenOverlayContainer_Factory(t) { - return new (t || FullscreenOverlayContainer)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: FullscreenOverlayContainer, - factory: FullscreenOverlayContainer.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](FullscreenOverlayContainer, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ + _getEventName() { + if (!this._fullScreenEventName) { + const _document = this._document; + if (_document.fullscreenEnabled) { + this._fullScreenEventName = 'fullscreenchange'; + } else if (_document.webkitFullscreenEnabled) { + this._fullScreenEventName = 'webkitfullscreenchange'; + } else if (_document.mozFullScreenEnabled) { + this._fullScreenEventName = 'mozfullscreenchange'; + } else if (_document.msFullscreenEnabled) { + this._fullScreenEventName = 'MSFullscreenChange'; + } + } + return this._fullScreenEventName; + } + /** + * When the page is put into fullscreen mode, a specific element is specified. + * Only that element and its children are visible when in fullscreen mode. + */ + getFullscreenElement() { + const _document = this._document; + return _document.fullscreenElement || _document.webkitFullscreenElement || _document.mozFullScreenElement || _document.msFullscreenElement || null; + } + static #_ = this.ɵfac = function FullscreenOverlayContainer_Factory(t) { + return new (t || FullscreenOverlayContainer)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: FullscreenOverlayContainer, + factory: FullscreenOverlayContainer.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT] - }] - }, { - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_1__.Platform - }], null); + }); + } + return FullscreenOverlayContainer; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -78524,10 +89291,11 @@ class FullscreenOverlayContainer extends OverlayContainer { */ +//# sourceMappingURL=overlay.mjs.map /***/ }), -/***/ 51338: +/***/ 71857: /*!*********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/platform.mjs ***! \*********************************************************/ @@ -78550,8 +89318,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ supportsPassiveEventListeners: () => (/* binding */ supportsPassiveEventListeners), /* harmony export */ supportsScrollBehavior: () => (/* binding */ supportsScrollBehavior) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ 39191); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ 56610); @@ -78573,79 +89341,71 @@ try { * Service to detect the current platform by comparing the userAgent strings and * checking browser-specific global properties. */ -class Platform { - constructor(_platformId) { - this._platformId = _platformId; - // We want to use the Angular platform check because if the Document is shimmed - // without the navigator, the following checks will fail. This is preferred because - // sometimes the Document may be shimmed without the user's knowledge or intention - /** Whether the Angular application is being rendered in the browser. */ - this.isBrowser = this._platformId ? (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(this._platformId) : typeof document === 'object' && !!document; - /** Whether the current browser is Microsoft Edge. */ - this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent); - /** Whether the current rendering engine is Microsoft Trident. */ - this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent); - // EdgeHTML and Trident mock Blink specific things and need to be excluded from this check. - /** Whether the current rendering engine is Blink. */ - this.BLINK = this.isBrowser && !!(window.chrome || hasV8BreakIterator) && typeof CSS !== 'undefined' && !this.EDGE && !this.TRIDENT; - // Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to - // ensure that Webkit runs standalone and is not used as another engine's base. - /** Whether the current rendering engine is WebKit. */ - this.WEBKIT = this.isBrowser && /AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && !this.EDGE && !this.TRIDENT; - /** Whether the current platform is Apple iOS. */ - this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) && !('MSStream' in window); - // It's difficult to detect the plain Gecko engine, because most of the browsers identify - // them self as Gecko-like browsers and modify the userAgent's according to that. - // Since we only cover one explicit Firefox case, we can simply check for Firefox - // instead of having an unstable check for Gecko. - /** Whether the current browser is Firefox. */ - this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent); - /** Whether the current platform is Android. */ - // Trident on mobile adds the android platform to the userAgent to trick detections. - this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT; - // Safari browsers will include the Safari keyword in their userAgent. Some browsers may fake - // this and just place the Safari keyword in the userAgent. To be more safe about Safari every - // Safari browser should also use Webkit as its layout engine. - /** Whether the current browser is Safari. */ - this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT; - } - static #_ = this.ɵfac = function Platform_Factory(t) { - return new (t || Platform)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ - token: Platform, - factory: Platform.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](Platform, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable, - args: [{ +let Platform = /*#__PURE__*/(() => { + class Platform { + constructor(_platformId) { + this._platformId = _platformId; + // We want to use the Angular platform check because if the Document is shimmed + // without the navigator, the following checks will fail. This is preferred because + // sometimes the Document may be shimmed without the user's knowledge or intention + /** Whether the Angular application is being rendered in the browser. */ + this.isBrowser = this._platformId ? (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(this._platformId) : typeof document === 'object' && !!document; + /** Whether the current browser is Microsoft Edge. */ + this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent); + /** Whether the current rendering engine is Microsoft Trident. */ + this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent); + // EdgeHTML and Trident mock Blink specific things and need to be excluded from this check. + /** Whether the current rendering engine is Blink. */ + this.BLINK = this.isBrowser && !!(window.chrome || hasV8BreakIterator) && typeof CSS !== 'undefined' && !this.EDGE && !this.TRIDENT; + // Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to + // ensure that Webkit runs standalone and is not used as another engine's base. + /** Whether the current rendering engine is WebKit. */ + this.WEBKIT = this.isBrowser && /AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && !this.EDGE && !this.TRIDENT; + /** Whether the current platform is Apple iOS. */ + this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) && !('MSStream' in window); + // It's difficult to detect the plain Gecko engine, because most of the browsers identify + // them self as Gecko-like browsers and modify the userAgent's according to that. + // Since we only cover one explicit Firefox case, we can simply check for Firefox + // instead of having an unstable check for Gecko. + /** Whether the current browser is Firefox. */ + this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent); + /** Whether the current platform is Android. */ + // Trident on mobile adds the android platform to the userAgent to trick detections. + this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT; + // Safari browsers will include the Safari keyword in their userAgent. Some browsers may fake + // this and just place the Safari keyword in the userAgent. To be more safe about Safari every + // Safari browser should also use Webkit as its layout engine. + /** Whether the current browser is Safari. */ + this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT; + } + static #_ = this.ɵfac = function Platform_Factory(t) { + return new (t || Platform)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ + token: Platform, + factory: Platform.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: Object, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID] - }] - }], null); + }); + } + return Platform; })(); -class PlatformModule { - static #_ = this.ɵfac = function PlatformModule_Factory(t) { - return new (t || PlatformModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ - type: PlatformModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({}); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](PlatformModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule, - args: [{}] - }], null, null); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; +})(); +let PlatformModule = /*#__PURE__*/(() => { + class PlatformModule { + static #_ = this.ɵfac = function PlatformModule_Factory(t) { + return new (t || PlatformModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ + type: PlatformModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({}); + } + return PlatformModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Cached result Set of input types support by the current browser. */ @@ -78707,8 +89467,7 @@ function normalizePassiveListenerOptions(options) { } /** The possible ways the browser may handle the horizontal scroll axis in RTL languages. */ -var RtlScrollAxisType; -(function (RtlScrollAxisType) { +var RtlScrollAxisType = /*#__PURE__*/function (RtlScrollAxisType) { /** * scrollLeft is 0 when scrolled all the way left and (scrollWidth - clientWidth) when scrolled * all the way right. @@ -78724,7 +89483,8 @@ var RtlScrollAxisType; * all the way right. */ RtlScrollAxisType[RtlScrollAxisType["INVERTED"] = 2] = "INVERTED"; -})(RtlScrollAxisType || (RtlScrollAxisType = {})); + return RtlScrollAxisType; +}(RtlScrollAxisType || {}); /** Cached result of the way the browser handles the horizontal scroll axis in RTL mode. */ let rtlScrollAxisType; /** Cached result of the check that indicates whether the browser supports scroll behaviors. */ @@ -78866,10 +89626,11 @@ function _isTestEnvironment() { */ +//# sourceMappingURL=platform.mjs.map /***/ }), -/***/ 63965: +/***/ 96810: /*!*******************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/portal.mjs ***! \*******************************************************/ @@ -78893,8 +89654,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ TemplatePortal: () => (/* binding */ TemplatePortal), /* harmony export */ TemplatePortalDirective: () => (/* binding */ TemplatePortalDirective) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 39191); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 56610); @@ -79264,70 +90025,54 @@ class DomPortalHost extends DomPortalOutlet {} * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal, * the directive instance itself can be attached to a host, enabling declarative use of portals. */ -class CdkPortal extends TemplatePortal { - constructor(templateRef, viewContainerRef) { - super(templateRef, viewContainerRef); +let CdkPortal = /*#__PURE__*/(() => { + class CdkPortal extends TemplatePortal { + constructor(templateRef, viewContainerRef) { + super(templateRef, viewContainerRef); + } + static #_ = this.ɵfac = function CdkPortal_Factory(t) { + return new (t || CdkPortal)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkPortal, + selectors: [["", "cdkPortal", ""]], + exportAs: ["cdkPortal"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] + }); } - static #_ = this.ɵfac = function CdkPortal_Factory(t) { - return new (t || CdkPortal)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkPortal, - selectors: [["", "cdkPortal", ""]], - exportAs: ["cdkPortal"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkPortal, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkPortal]', - exportAs: 'cdkPortal', - standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }], null); + return CdkPortal; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @deprecated Use `CdkPortal` instead. * @breaking-change 9.0.0 */ -class TemplatePortalDirective extends CdkPortal { - static #_ = this.ɵfac = /* @__PURE__ */(() => { - let ɵTemplatePortalDirective_BaseFactory; - return function TemplatePortalDirective_Factory(t) { - return (ɵTemplatePortalDirective_BaseFactory || (ɵTemplatePortalDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](TemplatePortalDirective)))(t || TemplatePortalDirective); - }; - })(); - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: TemplatePortalDirective, - selectors: [["", "cdk-portal", ""], ["", "portal", ""]], - exportAs: ["cdkPortal"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: CdkPortal, - useExisting: TemplatePortalDirective - }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TemplatePortalDirective, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdk-portal], [portal]', - exportAs: 'cdkPortal', - providers: [{ +let TemplatePortalDirective = /*#__PURE__*/(() => { + class TemplatePortalDirective extends CdkPortal { + static #_ = this.ɵfac = /* @__PURE__ */(() => { + let ɵTemplatePortalDirective_BaseFactory; + return function TemplatePortalDirective_Factory(t) { + return (ɵTemplatePortalDirective_BaseFactory || (ɵTemplatePortalDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](TemplatePortalDirective)))(t || TemplatePortalDirective); + }; + })(); + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: TemplatePortalDirective, + selectors: [["", "cdk-portal", ""], ["", "portal", ""]], + exportAs: ["cdkPortal"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: CdkPortal, useExisting: TemplatePortalDirective - }], - standalone: true - }] - }], null, null); + }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] + }); + } + return TemplatePortalDirective; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be @@ -79336,236 +90081,199 @@ class TemplatePortalDirective extends CdkPortal { * Usage: * `` */ -class CdkPortalOutlet extends BasePortalOutlet { - constructor(_componentFactoryResolver, _viewContainerRef, - /** - * @deprecated `_document` parameter to be made required. - * @breaking-change 9.0.0 - */ - _document) { - super(); - this._componentFactoryResolver = _componentFactoryResolver; - this._viewContainerRef = _viewContainerRef; - /** Whether the portal component is initialized. */ - this._isInitialized = false; - /** Emits when a portal is attached to the outlet. */ - this.attached = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); +let CdkPortalOutlet = /*#__PURE__*/(() => { + class CdkPortalOutlet extends BasePortalOutlet { + constructor(_componentFactoryResolver, _viewContainerRef, /** - * Attaches the given DomPortal to this PortalHost by moving all of the portal content into it. - * @param portal Portal to be attached. - * @deprecated To be turned into a method. - * @breaking-change 10.0.0 + * @deprecated `_document` parameter to be made required. + * @breaking-change 9.0.0 */ - this.attachDomPortal = portal => { - // @breaking-change 9.0.0 Remove check and error once the - // `_document` constructor parameter is required. - if (!this._document && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error('Cannot attach DOM portal without _document constructor parameter'); + _document) { + super(); + this._componentFactoryResolver = _componentFactoryResolver; + this._viewContainerRef = _viewContainerRef; + /** Whether the portal component is initialized. */ + this._isInitialized = false; + /** Emits when a portal is attached to the outlet. */ + this.attached = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + /** + * Attaches the given DomPortal to this PortalHost by moving all of the portal content into it. + * @param portal Portal to be attached. + * @deprecated To be turned into a method. + * @breaking-change 10.0.0 + */ + this.attachDomPortal = portal => { + // @breaking-change 9.0.0 Remove check and error once the + // `_document` constructor parameter is required. + if (!this._document && (typeof ngDevMode === 'undefined' || ngDevMode)) { + throw Error('Cannot attach DOM portal without _document constructor parameter'); + } + const element = portal.element; + if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) { + throw Error('DOM portal content must be attached to a parent node.'); + } + // Anchor used to save the element's previous position so + // that we can restore it when the portal is detached. + const anchorNode = this._document.createComment('dom-portal'); + portal.setAttachedHost(this); + element.parentNode.insertBefore(anchorNode, element); + this._getRootNode().appendChild(element); + this._attachedPortal = portal; + super.setDisposeFn(() => { + if (anchorNode.parentNode) { + anchorNode.parentNode.replaceChild(element, anchorNode); + } + }); + }; + this._document = _document; + } + /** Portal associated with the Portal outlet. */ + get portal() { + return this._attachedPortal; + } + set portal(portal) { + // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have + // run. This handles the cases where the user might do something like `
` + // and attach a portal programmatically in the parent component. When Angular does the first CD + // round, it will fire the setter with empty string, causing the user's content to be cleared. + if (this.hasAttached() && !portal && !this._isInitialized) { + return; } - const element = portal.element; - if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error('DOM portal content must be attached to a parent node.'); + if (this.hasAttached()) { + super.detach(); } - // Anchor used to save the element's previous position so - // that we can restore it when the portal is detached. - const anchorNode = this._document.createComment('dom-portal'); - portal.setAttachedHost(this); - element.parentNode.insertBefore(anchorNode, element); - this._getRootNode().appendChild(element); - this._attachedPortal = portal; - super.setDisposeFn(() => { - if (anchorNode.parentNode) { - anchorNode.parentNode.replaceChild(element, anchorNode); - } - }); - }; - this._document = _document; - } - /** Portal associated with the Portal outlet. */ - get portal() { - return this._attachedPortal; - } - set portal(portal) { - // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have - // run. This handles the cases where the user might do something like `
` - // and attach a portal programmatically in the parent component. When Angular does the first CD - // round, it will fire the setter with empty string, causing the user's content to be cleared. - if (this.hasAttached() && !portal && !this._isInitialized) { - return; + if (portal) { + super.attach(portal); + } + this._attachedPortal = portal || null; } - if (this.hasAttached()) { - super.detach(); + /** Component or view reference that is attached to the portal. */ + get attachedRef() { + return this._attachedRef; } - if (portal) { - super.attach(portal); + ngOnInit() { + this._isInitialized = true; } - this._attachedPortal = portal || null; - } - /** Component or view reference that is attached to the portal. */ - get attachedRef() { - return this._attachedRef; - } - ngOnInit() { - this._isInitialized = true; - } - ngOnDestroy() { - super.dispose(); - this._attachedRef = this._attachedPortal = null; - } - /** - * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver. - * - * @param portal Portal to be attached to the portal outlet. - * @returns Reference to the created component. - */ - attachComponentPortal(portal) { - portal.setAttachedHost(this); - // If the portal specifies an origin, use that as the logical location of the component - // in the application tree. Otherwise use the location of this PortalOutlet. - const viewContainerRef = portal.viewContainerRef != null ? portal.viewContainerRef : this._viewContainerRef; - const resolver = portal.componentFactoryResolver || this._componentFactoryResolver; - const componentFactory = resolver.resolveComponentFactory(portal.component); - const ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector, portal.projectableNodes || undefined); - // If we're using a view container that's different from the injected one (e.g. when the portal - // specifies its own) we need to move the component into the outlet, otherwise it'll be rendered - // inside of the alternate view container. - if (viewContainerRef !== this._viewContainerRef) { - this._getRootNode().appendChild(ref.hostView.rootNodes[0]); - } - super.setDisposeFn(() => ref.destroy()); - this._attachedPortal = portal; - this._attachedRef = ref; - this.attached.emit(ref); - return ref; - } - /** - * Attach the given TemplatePortal to this PortalHost as an embedded View. - * @param portal Portal to be attached. - * @returns Reference to the created embedded view. - */ - attachTemplatePortal(portal) { - portal.setAttachedHost(this); - const viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context, { - injector: portal.injector + ngOnDestroy() { + super.dispose(); + this._attachedRef = this._attachedPortal = null; + } + /** + * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver. + * + * @param portal Portal to be attached to the portal outlet. + * @returns Reference to the created component. + */ + attachComponentPortal(portal) { + portal.setAttachedHost(this); + // If the portal specifies an origin, use that as the logical location of the component + // in the application tree. Otherwise use the location of this PortalOutlet. + const viewContainerRef = portal.viewContainerRef != null ? portal.viewContainerRef : this._viewContainerRef; + const resolver = portal.componentFactoryResolver || this._componentFactoryResolver; + const componentFactory = resolver.resolveComponentFactory(portal.component); + const ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector, portal.projectableNodes || undefined); + // If we're using a view container that's different from the injected one (e.g. when the portal + // specifies its own) we need to move the component into the outlet, otherwise it'll be rendered + // inside of the alternate view container. + if (viewContainerRef !== this._viewContainerRef) { + this._getRootNode().appendChild(ref.hostView.rootNodes[0]); + } + super.setDisposeFn(() => ref.destroy()); + this._attachedPortal = portal; + this._attachedRef = ref; + this.attached.emit(ref); + return ref; + } + /** + * Attach the given TemplatePortal to this PortalHost as an embedded View. + * @param portal Portal to be attached. + * @returns Reference to the created embedded view. + */ + attachTemplatePortal(portal) { + portal.setAttachedHost(this); + const viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context, { + injector: portal.injector + }); + super.setDisposeFn(() => this._viewContainerRef.clear()); + this._attachedPortal = portal; + this._attachedRef = viewRef; + this.attached.emit(viewRef); + return viewRef; + } + /** Gets the root node of the portal outlet. */ + _getRootNode() { + const nativeElement = this._viewContainerRef.element.nativeElement; + // The directive could be set on a template which will result in a comment + // node being the root. Use the comment's parent node if that is the case. + return nativeElement.nodeType === nativeElement.ELEMENT_NODE ? nativeElement : nativeElement.parentNode; + } + static #_ = this.ɵfac = function CdkPortalOutlet_Factory(t) { + return new (t || CdkPortalOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ComponentFactoryResolver), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkPortalOutlet, + selectors: [["", "cdkPortalOutlet", ""]], + inputs: { + portal: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "cdkPortalOutlet", "portal"] + }, + outputs: { + attached: "attached" + }, + exportAs: ["cdkPortalOutlet"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] }); - super.setDisposeFn(() => this._viewContainerRef.clear()); - this._attachedPortal = portal; - this._attachedRef = viewRef; - this.attached.emit(viewRef); - return viewRef; } - /** Gets the root node of the portal outlet. */ - _getRootNode() { - const nativeElement = this._viewContainerRef.element.nativeElement; - // The directive could be set on a template which will result in a comment - // node being the root. Use the comment's parent node if that is the case. - return nativeElement.nodeType === nativeElement.ELEMENT_NODE ? nativeElement : nativeElement.parentNode; - } - static #_ = this.ɵfac = function CdkPortalOutlet_Factory(t) { - return new (t || CdkPortalOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ComponentFactoryResolver), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkPortalOutlet, - selectors: [["", "cdkPortalOutlet", ""]], - inputs: { - portal: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "cdkPortalOutlet", "portal"] - }, - outputs: { - attached: "attached" - }, - exportAs: ["cdkPortalOutlet"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkPortalOutlet, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkPortalOutlet]', - exportAs: 'cdkPortalOutlet', - standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ComponentFactoryResolver - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.DOCUMENT] - }] - }], { - portal: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: ['cdkPortalOutlet'] - }], - attached: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output - }] - }); + return CdkPortalOutlet; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @deprecated Use `CdkPortalOutlet` instead. * @breaking-change 9.0.0 */ -class PortalHostDirective extends CdkPortalOutlet { - static #_ = this.ɵfac = /* @__PURE__ */(() => { - let ɵPortalHostDirective_BaseFactory; - return function PortalHostDirective_Factory(t) { - return (ɵPortalHostDirective_BaseFactory || (ɵPortalHostDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](PortalHostDirective)))(t || PortalHostDirective); - }; - })(); - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: PortalHostDirective, - selectors: [["", "cdkPortalHost", ""], ["", "portalHost", ""]], - inputs: { - portal: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "cdkPortalHost", "portal"] - }, - exportAs: ["cdkPortalHost"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: CdkPortalOutlet, - useExisting: PortalHostDirective - }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PortalHostDirective, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkPortalHost], [portalHost]', - exportAs: 'cdkPortalHost', - inputs: [{ - name: 'portal', - alias: 'cdkPortalHost' - }], - providers: [{ +let PortalHostDirective = /*#__PURE__*/(() => { + class PortalHostDirective extends CdkPortalOutlet { + static #_ = this.ɵfac = /* @__PURE__ */(() => { + let ɵPortalHostDirective_BaseFactory; + return function PortalHostDirective_Factory(t) { + return (ɵPortalHostDirective_BaseFactory || (ɵPortalHostDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](PortalHostDirective)))(t || PortalHostDirective); + }; + })(); + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: PortalHostDirective, + selectors: [["", "cdkPortalHost", ""], ["", "portalHost", ""]], + inputs: { + portal: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "cdkPortalHost", "portal"] + }, + exportAs: ["cdkPortalHost"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: CdkPortalOutlet, useExisting: PortalHostDirective - }], - standalone: true - }] - }], null, null); + }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] + }); + } + return PortalHostDirective; })(); -class PortalModule { - static #_ = this.ɵfac = function PortalModule_Factory(t) { - return new (t || PortalModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: PortalModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PortalModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{ - imports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], - exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] - }] - }], null, null); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; +})(); +let PortalModule = /*#__PURE__*/(() => { + class PortalModule { + static #_ = this.ɵfac = function PortalModule_Factory(t) { + return new (t || PortalModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: PortalModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); + } + return PortalModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -79594,10 +90302,11 @@ class PortalInjector { */ +//# sourceMappingURL=portal.mjs.map /***/ }), -/***/ 73172: +/***/ 41381: /*!**********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/scrolling.mjs ***! \**********************************************************/ @@ -79624,28 +90333,28 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ ViewportRuler: () => (/* binding */ ViewportRuler), /* harmony export */ _fixedSizeVirtualScrollStrategyFactory: () => (/* binding */ _fixedSizeVirtualScrollStrategyFactory) /* harmony export */ }); -/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/coercion */ 79663); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 13901); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 64517); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs */ 47066); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs */ 97757); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rxjs */ 45351); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs */ 36421); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! rxjs */ 59918); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 79746); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 71654); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 61856); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 65213); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs/operators */ 56816); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! rxjs/operators */ 23246); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! rxjs/operators */ 21082); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! rxjs/operators */ 95840); -/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/cdk/platform */ 51338); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ 39191); -/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/cdk/bidi */ 457); -/* harmony import */ var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/cdk/collections */ 77774); +/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/coercion */ 61432); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 20756); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 99406); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs */ 98129); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs */ 63854); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rxjs */ 41828); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs */ 42486); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! rxjs */ 92319); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 73793); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 25271); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 38503); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 76340); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs/operators */ 20965); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! rxjs/operators */ 27769); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! rxjs/operators */ 72831); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! rxjs/operators */ 76661); +/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/cdk/platform */ 71857); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ 56610); +/* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/cdk/bidi */ 3126); +/* harmony import */ var _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/cdk/collections */ 52067); @@ -79662,7 +90371,7 @@ __webpack_require__.r(__webpack_exports__); /** The injection token used to specify the virtual scrolling strategy. */ const _c0 = ["contentWrapper"]; const _c1 = ["*"]; -const VIRTUAL_SCROLL_STRATEGY = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('VIRTUAL_SCROLL_STRATEGY'); +const VIRTUAL_SCROLL_STRATEGY = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('VIRTUAL_SCROLL_STRATEGY'); /** Virtual scrolling strategy for lists with items of known fixed size. */ class FixedSizeVirtualScrollStrategy { @@ -79804,85 +90513,67 @@ function _fixedSizeVirtualScrollStrategyFactory(fixedSizeDir) { return fixedSizeDir._scrollStrategy; } /** A virtual scroll strategy that supports fixed-size items. */ -class CdkFixedSizeVirtualScroll { - constructor() { - this._itemSize = 20; - this._minBufferPx = 100; - this._maxBufferPx = 200; - /** The scroll strategy used by this directive. */ - this._scrollStrategy = new FixedSizeVirtualScrollStrategy(this.itemSize, this.minBufferPx, this.maxBufferPx); - } - /** The size of the items in the list (in pixels). */ - get itemSize() { - return this._itemSize; - } - set itemSize(value) { - this._itemSize = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value); - } - /** - * The minimum amount of buffer rendered beyond the viewport (in pixels). - * If the amount of buffer dips below this number, more items will be rendered. Defaults to 100px. - */ - get minBufferPx() { - return this._minBufferPx; - } - set minBufferPx(value) { - this._minBufferPx = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value); - } - /** - * The number of pixels worth of buffer to render for when rendering new items. Defaults to 200px. - */ - get maxBufferPx() { - return this._maxBufferPx; - } - set maxBufferPx(value) { - this._maxBufferPx = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value); - } - ngOnChanges() { - this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx); - } - static #_ = this.ɵfac = function CdkFixedSizeVirtualScroll_Factory(t) { - return new (t || CdkFixedSizeVirtualScroll)(); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkFixedSizeVirtualScroll, - selectors: [["cdk-virtual-scroll-viewport", "itemSize", ""]], - inputs: { - itemSize: "itemSize", - minBufferPx: "minBufferPx", - maxBufferPx: "maxBufferPx" - }, - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: VIRTUAL_SCROLL_STRATEGY, - useFactory: _fixedSizeVirtualScrollStrategyFactory, - deps: [(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => CdkFixedSizeVirtualScroll)] - }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkFixedSizeVirtualScroll, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: 'cdk-virtual-scroll-viewport[itemSize]', +let CdkFixedSizeVirtualScroll = /*#__PURE__*/(() => { + class CdkFixedSizeVirtualScroll { + constructor() { + this._itemSize = 20; + this._minBufferPx = 100; + this._maxBufferPx = 200; + /** The scroll strategy used by this directive. */ + this._scrollStrategy = new FixedSizeVirtualScrollStrategy(this.itemSize, this.minBufferPx, this.maxBufferPx); + } + /** The size of the items in the list (in pixels). */ + get itemSize() { + return this._itemSize; + } + set itemSize(value) { + this._itemSize = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value); + } + /** + * The minimum amount of buffer rendered beyond the viewport (in pixels). + * If the amount of buffer dips below this number, more items will be rendered. Defaults to 100px. + */ + get minBufferPx() { + return this._minBufferPx; + } + set minBufferPx(value) { + this._minBufferPx = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value); + } + /** + * The number of pixels worth of buffer to render for when rendering new items. Defaults to 200px. + */ + get maxBufferPx() { + return this._maxBufferPx; + } + set maxBufferPx(value) { + this._maxBufferPx = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value); + } + ngOnChanges() { + this._scrollStrategy.updateItemAndBufferSize(this.itemSize, this.minBufferPx, this.maxBufferPx); + } + static #_ = this.ɵfac = function CdkFixedSizeVirtualScroll_Factory(t) { + return new (t || CdkFixedSizeVirtualScroll)(); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkFixedSizeVirtualScroll, + selectors: [["cdk-virtual-scroll-viewport", "itemSize", ""]], + inputs: { + itemSize: "itemSize", + minBufferPx: "minBufferPx", + maxBufferPx: "maxBufferPx" + }, standalone: true, - providers: [{ + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: VIRTUAL_SCROLL_STRATEGY, useFactory: _fixedSizeVirtualScrollStrategyFactory, deps: [(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => CdkFixedSizeVirtualScroll)] - }] - }] - }], null, { - itemSize: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - minBufferPx: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - maxBufferPx: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] + }); + } + return CdkFixedSizeVirtualScroll; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Time in ms to throttle the scrolling events by default. */ @@ -79891,161 +90582,147 @@ const DEFAULT_SCROLL_TIME = 20; * Service contained all registered Scrollable references and emits an event when any one of the * Scrollable references emit a scrolled event. */ -class ScrollDispatcher { - constructor(_ngZone, _platform, document) { - this._ngZone = _ngZone; - this._platform = _platform; - /** Subject for notifying that a registered scrollable reference element has been scrolled. */ - this._scrolled = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - /** Keeps track of the global `scroll` and `resize` subscriptions. */ - this._globalSubscription = null; - /** Keeps track of the amount of subscriptions to `scrolled`. Used for cleaning up afterwards. */ - this._scrolledCount = 0; +let ScrollDispatcher = /*#__PURE__*/(() => { + class ScrollDispatcher { + constructor(_ngZone, _platform, document) { + this._ngZone = _ngZone; + this._platform = _platform; + /** Subject for notifying that a registered scrollable reference element has been scrolled. */ + this._scrolled = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + /** Keeps track of the global `scroll` and `resize` subscriptions. */ + this._globalSubscription = null; + /** Keeps track of the amount of subscriptions to `scrolled`. Used for cleaning up afterwards. */ + this._scrolledCount = 0; + /** + * Map of all the scrollable references that are registered with the service and their + * scroll event subscriptions. + */ + this.scrollContainers = new Map(); + this._document = document; + } /** - * Map of all the scrollable references that are registered with the service and their - * scroll event subscriptions. + * Registers a scrollable instance with the service and listens for its scrolled events. When the + * scrollable is scrolled, the service emits the event to its scrolled observable. + * @param scrollable Scrollable instance to be registered. */ - this.scrollContainers = new Map(); - this._document = document; - } - /** - * Registers a scrollable instance with the service and listens for its scrolled events. When the - * scrollable is scrolled, the service emits the event to its scrolled observable. - * @param scrollable Scrollable instance to be registered. - */ - register(scrollable) { - if (!this.scrollContainers.has(scrollable)) { - this.scrollContainers.set(scrollable, scrollable.elementScrolled().subscribe(() => this._scrolled.next(scrollable))); + register(scrollable) { + if (!this.scrollContainers.has(scrollable)) { + this.scrollContainers.set(scrollable, scrollable.elementScrolled().subscribe(() => this._scrolled.next(scrollable))); + } } - } - /** - * De-registers a Scrollable reference and unsubscribes from its scroll event observable. - * @param scrollable Scrollable instance to be deregistered. - */ - deregister(scrollable) { - const scrollableReference = this.scrollContainers.get(scrollable); - if (scrollableReference) { - scrollableReference.unsubscribe(); - this.scrollContainers.delete(scrollable); + /** + * De-registers a Scrollable reference and unsubscribes from its scroll event observable. + * @param scrollable Scrollable instance to be deregistered. + */ + deregister(scrollable) { + const scrollableReference = this.scrollContainers.get(scrollable); + if (scrollableReference) { + scrollableReference.unsubscribe(); + this.scrollContainers.delete(scrollable); + } } - } - /** - * Returns an observable that emits an event whenever any of the registered Scrollable - * references (or window, document, or body) fire a scrolled event. Can provide a time in ms - * to override the default "throttle" time. - * - * **Note:** in order to avoid hitting change detection for every scroll event, - * all of the events emitted from this stream will be run outside the Angular zone. - * If you need to update any data bindings as a result of a scroll event, you have - * to run the callback using `NgZone.run`. - */ - scrolled(auditTimeInMs = DEFAULT_SCROLL_TIME) { - if (!this._platform.isBrowser) { - return (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.of)(); + /** + * Returns an observable that emits an event whenever any of the registered Scrollable + * references (or window, document, or body) fire a scrolled event. Can provide a time in ms + * to override the default "throttle" time. + * + * **Note:** in order to avoid hitting change detection for every scroll event, + * all of the events emitted from this stream will be run outside the Angular zone. + * If you need to update any data bindings as a result of a scroll event, you have + * to run the callback using `NgZone.run`. + */ + scrolled(auditTimeInMs = DEFAULT_SCROLL_TIME) { + if (!this._platform.isBrowser) { + return (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.of)(); + } + return new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => { + if (!this._globalSubscription) { + this._addGlobalListener(); + } + // In the case of a 0ms delay, use an observable without auditTime + // since it does add a perceptible delay in processing overhead. + const subscription = auditTimeInMs > 0 ? this._scrolled.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.auditTime)(auditTimeInMs)).subscribe(observer) : this._scrolled.subscribe(observer); + this._scrolledCount++; + return () => { + subscription.unsubscribe(); + this._scrolledCount--; + if (!this._scrolledCount) { + this._removeGlobalListener(); + } + }; + }); } - return new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => { - if (!this._globalSubscription) { - this._addGlobalListener(); - } - // In the case of a 0ms delay, use an observable without auditTime - // since it does add a perceptible delay in processing overhead. - const subscription = auditTimeInMs > 0 ? this._scrolled.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.auditTime)(auditTimeInMs)).subscribe(observer) : this._scrolled.subscribe(observer); - this._scrolledCount++; - return () => { - subscription.unsubscribe(); - this._scrolledCount--; - if (!this._scrolledCount) { - this._removeGlobalListener(); + ngOnDestroy() { + this._removeGlobalListener(); + this.scrollContainers.forEach((_, container) => this.deregister(container)); + this._scrolled.complete(); + } + /** + * Returns an observable that emits whenever any of the + * scrollable ancestors of an element are scrolled. + * @param elementOrElementRef Element whose ancestors to listen for. + * @param auditTimeInMs Time to throttle the scroll events. + */ + ancestorScrolled(elementOrElementRef, auditTimeInMs) { + const ancestors = this.getAncestorScrollContainers(elementOrElementRef); + return this.scrolled(auditTimeInMs).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.filter)(target => { + return !target || ancestors.indexOf(target) > -1; + })); + } + /** Returns all registered Scrollables that contain the provided element. */ + getAncestorScrollContainers(elementOrElementRef) { + const scrollingContainers = []; + this.scrollContainers.forEach((_subscription, scrollable) => { + if (this._scrollableContainsElement(scrollable, elementOrElementRef)) { + scrollingContainers.push(scrollable); } - }; - }); - } - ngOnDestroy() { - this._removeGlobalListener(); - this.scrollContainers.forEach((_, container) => this.deregister(container)); - this._scrolled.complete(); - } - /** - * Returns an observable that emits whenever any of the - * scrollable ancestors of an element are scrolled. - * @param elementOrElementRef Element whose ancestors to listen for. - * @param auditTimeInMs Time to throttle the scroll events. - */ - ancestorScrolled(elementOrElementRef, auditTimeInMs) { - const ancestors = this.getAncestorScrollContainers(elementOrElementRef); - return this.scrolled(auditTimeInMs).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.filter)(target => { - return !target || ancestors.indexOf(target) > -1; - })); - } - /** Returns all registered Scrollables that contain the provided element. */ - getAncestorScrollContainers(elementOrElementRef) { - const scrollingContainers = []; - this.scrollContainers.forEach((_subscription, scrollable) => { - if (this._scrollableContainsElement(scrollable, elementOrElementRef)) { - scrollingContainers.push(scrollable); - } - }); - return scrollingContainers; - } - /** Use defaultView of injected document if available or fallback to global window reference */ - _getWindow() { - return this._document.defaultView || window; - } - /** Returns true if the element is contained within the provided Scrollable. */ - _scrollableContainsElement(scrollable, elementOrElementRef) { - let element = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceElement)(elementOrElementRef); - let scrollableElement = scrollable.getElementRef().nativeElement; - // Traverse through the element parents until we reach null, checking if any of the elements - // are the scrollable's element. - do { - if (element == scrollableElement) { - return true; + }); + return scrollingContainers; + } + /** Use defaultView of injected document if available or fallback to global window reference */ + _getWindow() { + return this._document.defaultView || window; + } + /** Returns true if the element is contained within the provided Scrollable. */ + _scrollableContainsElement(scrollable, elementOrElementRef) { + let element = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceElement)(elementOrElementRef); + let scrollableElement = scrollable.getElementRef().nativeElement; + // Traverse through the element parents until we reach null, checking if any of the elements + // are the scrollable's element. + do { + if (element == scrollableElement) { + return true; + } + } while (element = element.parentElement); + return false; + } + /** Sets up the global scroll listeners. */ + _addGlobalListener() { + this._globalSubscription = this._ngZone.runOutsideAngular(() => { + const window = this._getWindow(); + return (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.fromEvent)(window.document, 'scroll').subscribe(() => this._scrolled.next()); + }); + } + /** Cleans up the global scroll listener. */ + _removeGlobalListener() { + if (this._globalSubscription) { + this._globalSubscription.unsubscribe(); + this._globalSubscription = null; } - } while (element = element.parentElement); - return false; - } - /** Sets up the global scroll listeners. */ - _addGlobalListener() { - this._globalSubscription = this._ngZone.runOutsideAngular(() => { - const window = this._getWindow(); - return (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.fromEvent)(window.document, 'scroll').subscribe(() => this._scrolled.next()); - }); - } - /** Cleans up the global scroll listener. */ - _removeGlobalListener() { - if (this._globalSubscription) { - this._globalSubscription.unsubscribe(); - this._globalSubscription = null; } - } - static #_ = this.ɵfac = function ScrollDispatcher_Factory(t) { - return new (t || ScrollDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_10__.DOCUMENT, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: ScrollDispatcher, - factory: ScrollDispatcher.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ScrollDispatcher, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + static #_ = this.ɵfac = function ScrollDispatcher_Factory(t) { + return new (t || ScrollDispatcher)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_10__.DOCUMENT, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: ScrollDispatcher, + factory: ScrollDispatcher.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.Platform - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_10__.DOCUMENT] - }] - }], null); + }); + } + return ScrollDispatcher; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -80053,163 +90730,149 @@ class ScrollDispatcher { * ScrollDispatcher service to include itself as part of its collection of scrolling events that it * can be listened to through the service. */ -class CdkScrollable { - constructor(elementRef, scrollDispatcher, ngZone, dir) { - this.elementRef = elementRef; - this.scrollDispatcher = scrollDispatcher; - this.ngZone = ngZone; - this.dir = dir; - this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - this._elementScrolled = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => this.ngZone.runOutsideAngular(() => (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.fromEvent)(this.elementRef.nativeElement, 'scroll').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._destroyed)).subscribe(observer))); - } - ngOnInit() { - this.scrollDispatcher.register(this); - } - ngOnDestroy() { - this.scrollDispatcher.deregister(this); - this._destroyed.next(); - this._destroyed.complete(); - } - /** Returns observable that emits when a scroll event is fired on the host element. */ - elementScrolled() { - return this._elementScrolled; - } - /** Gets the ElementRef for the viewport. */ - getElementRef() { - return this.elementRef; - } - /** - * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo - * method, since browsers are not consistent about what scrollLeft means in RTL. For this method - * left and right always refer to the left and right side of the scrolling container irrespective - * of the layout direction. start and end refer to left and right in an LTR context and vice-versa - * in an RTL context. - * @param options specified the offsets to scroll to. - */ - scrollTo(options) { - const el = this.elementRef.nativeElement; - const isRtl = this.dir && this.dir.value == 'rtl'; - // Rewrite start & end offsets as right or left offsets. - if (options.left == null) { - options.left = isRtl ? options.end : options.start; +let CdkScrollable = /*#__PURE__*/(() => { + class CdkScrollable { + constructor(elementRef, scrollDispatcher, ngZone, dir) { + this.elementRef = elementRef; + this.scrollDispatcher = scrollDispatcher; + this.ngZone = ngZone; + this.dir = dir; + this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + this._elementScrolled = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => this.ngZone.runOutsideAngular(() => (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.fromEvent)(this.elementRef.nativeElement, 'scroll').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._destroyed)).subscribe(observer))); } - if (options.right == null) { - options.right = isRtl ? options.start : options.end; - } - // Rewrite the bottom offset as a top offset. - if (options.bottom != null) { - options.top = el.scrollHeight - el.clientHeight - options.bottom; - } - // Rewrite the right offset as a left offset. - if (isRtl && (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() != _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.NORMAL) { - if (options.left != null) { - options.right = el.scrollWidth - el.clientWidth - options.left; - } - if ((0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.INVERTED) { - options.left = options.right; - } else if ((0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.NEGATED) { - options.left = options.right ? -options.right : options.right; - } - } else { - if (options.right != null) { - options.left = el.scrollWidth - el.clientWidth - options.right; - } - } - this._applyScrollToOptions(options); - } - _applyScrollToOptions(options) { - const el = this.elementRef.nativeElement; - if ((0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.supportsScrollBehavior)()) { - el.scrollTo(options); - } else { - if (options.top != null) { - el.scrollTop = options.top; - } - if (options.left != null) { - el.scrollLeft = options.left; - } + ngOnInit() { + this.scrollDispatcher.register(this); } - } - /** - * Measures the scroll offset relative to the specified edge of the viewport. This method can be - * used instead of directly checking scrollLeft or scrollTop, since browsers are not consistent - * about what scrollLeft means in RTL. The values returned by this method are normalized such that - * left and right always refer to the left and right side of the scrolling container irrespective - * of the layout direction. start and end refer to left and right in an LTR context and vice-versa - * in an RTL context. - * @param from The edge to measure from. - */ - measureScrollOffset(from) { - const LEFT = 'left'; - const RIGHT = 'right'; - const el = this.elementRef.nativeElement; - if (from == 'top') { - return el.scrollTop; + ngOnDestroy() { + this.scrollDispatcher.deregister(this); + this._destroyed.next(); + this._destroyed.complete(); } - if (from == 'bottom') { - return el.scrollHeight - el.clientHeight - el.scrollTop; + /** Returns observable that emits when a scroll event is fired on the host element. */ + elementScrolled() { + return this._elementScrolled; } - // Rewrite start & end as left or right offsets. - const isRtl = this.dir && this.dir.value == 'rtl'; - if (from == 'start') { - from = isRtl ? RIGHT : LEFT; - } else if (from == 'end') { - from = isRtl ? LEFT : RIGHT; + /** Gets the ElementRef for the viewport. */ + getElementRef() { + return this.elementRef; } - if (isRtl && (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.INVERTED) { - // For INVERTED, scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and - // 0 when scrolled all the way right. - if (from == LEFT) { - return el.scrollWidth - el.clientWidth - el.scrollLeft; + /** + * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo + * method, since browsers are not consistent about what scrollLeft means in RTL. For this method + * left and right always refer to the left and right side of the scrolling container irrespective + * of the layout direction. start and end refer to left and right in an LTR context and vice-versa + * in an RTL context. + * @param options specified the offsets to scroll to. + */ + scrollTo(options) { + const el = this.elementRef.nativeElement; + const isRtl = this.dir && this.dir.value == 'rtl'; + // Rewrite start & end offsets as right or left offsets. + if (options.left == null) { + options.left = isRtl ? options.end : options.start; + } + if (options.right == null) { + options.right = isRtl ? options.start : options.end; + } + // Rewrite the bottom offset as a top offset. + if (options.bottom != null) { + options.top = el.scrollHeight - el.clientHeight - options.bottom; + } + // Rewrite the right offset as a left offset. + if (isRtl && (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() != _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.NORMAL) { + if (options.left != null) { + options.right = el.scrollWidth - el.clientWidth - options.left; + } + if ((0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.INVERTED) { + options.left = options.right; + } else if ((0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.NEGATED) { + options.left = options.right ? -options.right : options.right; + } } else { - return el.scrollLeft; + if (options.right != null) { + options.left = el.scrollWidth - el.clientWidth - options.right; + } } - } else if (isRtl && (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.NEGATED) { - // For NEGATED, scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and - // 0 when scrolled all the way right. - if (from == LEFT) { - return el.scrollLeft + el.scrollWidth - el.clientWidth; + this._applyScrollToOptions(options); + } + _applyScrollToOptions(options) { + const el = this.elementRef.nativeElement; + if ((0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.supportsScrollBehavior)()) { + el.scrollTo(options); } else { - return -el.scrollLeft; + if (options.top != null) { + el.scrollTop = options.top; + } + if (options.left != null) { + el.scrollLeft = options.left; + } } - } else { - // For NORMAL, as well as non-RTL contexts, scrollLeft is 0 when scrolled all the way left and - // (scrollWidth - clientWidth) when scrolled all the way right. - if (from == LEFT) { - return el.scrollLeft; + } + /** + * Measures the scroll offset relative to the specified edge of the viewport. This method can be + * used instead of directly checking scrollLeft or scrollTop, since browsers are not consistent + * about what scrollLeft means in RTL. The values returned by this method are normalized such that + * left and right always refer to the left and right side of the scrolling container irrespective + * of the layout direction. start and end refer to left and right in an LTR context and vice-versa + * in an RTL context. + * @param from The edge to measure from. + */ + measureScrollOffset(from) { + const LEFT = 'left'; + const RIGHT = 'right'; + const el = this.elementRef.nativeElement; + if (from == 'top') { + return el.scrollTop; + } + if (from == 'bottom') { + return el.scrollHeight - el.clientHeight - el.scrollTop; + } + // Rewrite start & end as left or right offsets. + const isRtl = this.dir && this.dir.value == 'rtl'; + if (from == 'start') { + from = isRtl ? RIGHT : LEFT; + } else if (from == 'end') { + from = isRtl ? LEFT : RIGHT; + } + if (isRtl && (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.INVERTED) { + // For INVERTED, scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and + // 0 when scrolled all the way right. + if (from == LEFT) { + return el.scrollWidth - el.clientWidth - el.scrollLeft; + } else { + return el.scrollLeft; + } + } else if (isRtl && (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.getRtlScrollAxisType)() == _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.RtlScrollAxisType.NEGATED) { + // For NEGATED, scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and + // 0 when scrolled all the way right. + if (from == LEFT) { + return el.scrollLeft + el.scrollWidth - el.clientWidth; + } else { + return -el.scrollLeft; + } } else { - return el.scrollWidth - el.clientWidth - el.scrollLeft; + // For NORMAL, as well as non-RTL contexts, scrollLeft is 0 when scrolled all the way left and + // (scrollWidth - clientWidth) when scrolled all the way right. + if (from == LEFT) { + return el.scrollLeft; + } else { + return el.scrollWidth - el.clientWidth - el.scrollLeft; + } } } - } - static #_ = this.ɵfac = function CdkScrollable_Factory(t) { - return new (t || CdkScrollable)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkScrollable, - selectors: [["", "cdk-scrollable", ""], ["", "cdkScrollable", ""]], - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkScrollable, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdk-scrollable], [cdkScrollable]', + static #_ = this.ɵfac = function CdkScrollable_Factory(t) { + return new (t || CdkScrollable)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkScrollable, + selectors: [["", "cdk-scrollable", ""], ["", "cdkScrollable", ""]], standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: ScrollDispatcher - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }] - }], null); + }); + } + return CdkScrollable; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Time in ms to throttle the resize events by default. */ @@ -80218,196 +90881,172 @@ const DEFAULT_RESIZE_TIME = 20; * Simple utility for getting the bounds of the browser viewport. * @docs-private */ -class ViewportRuler { - constructor(_platform, ngZone, document) { - this._platform = _platform; - /** Stream of viewport change events. */ - this._change = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - /** Event listener that will be used to handle the viewport change events. */ - this._changeListener = event => { - this._change.next(event); - }; - this._document = document; - ngZone.runOutsideAngular(() => { - if (_platform.isBrowser) { +let ViewportRuler = /*#__PURE__*/(() => { + class ViewportRuler { + constructor(_platform, ngZone, document) { + this._platform = _platform; + /** Stream of viewport change events. */ + this._change = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + /** Event listener that will be used to handle the viewport change events. */ + this._changeListener = event => { + this._change.next(event); + }; + this._document = document; + ngZone.runOutsideAngular(() => { + if (_platform.isBrowser) { + const window = this._getWindow(); + // Note that bind the events ourselves, rather than going through something like RxJS's + // `fromEvent` so that we can ensure that they're bound outside of the NgZone. + window.addEventListener('resize', this._changeListener); + window.addEventListener('orientationchange', this._changeListener); + } + // Clear the cached position so that the viewport is re-measured next time it is required. + // We don't need to keep track of the subscription, because it is completed on destroy. + this.change().subscribe(() => this._viewportSize = null); + }); + } + ngOnDestroy() { + if (this._platform.isBrowser) { const window = this._getWindow(); - // Note that bind the events ourselves, rather than going through something like RxJS's - // `fromEvent` so that we can ensure that they're bound outside of the NgZone. - window.addEventListener('resize', this._changeListener); - window.addEventListener('orientationchange', this._changeListener); + window.removeEventListener('resize', this._changeListener); + window.removeEventListener('orientationchange', this._changeListener); } - // Clear the cached position so that the viewport is re-measured next time it is required. - // We don't need to keep track of the subscription, because it is completed on destroy. - this.change().subscribe(() => this._viewportSize = null); - }); - } - ngOnDestroy() { - if (this._platform.isBrowser) { + this._change.complete(); + } + /** Returns the viewport's width and height. */ + getViewportSize() { + if (!this._viewportSize) { + this._updateViewportSize(); + } + const output = { + width: this._viewportSize.width, + height: this._viewportSize.height + }; + // If we're not on a browser, don't cache the size since it'll be mocked out anyway. + if (!this._platform.isBrowser) { + this._viewportSize = null; + } + return output; + } + /** Gets a DOMRect for the viewport's bounds. */ + getViewportRect() { + // Use the document element's bounding rect rather than the window scroll properties + // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll + // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different + // conceptual viewports. Under most circumstances these viewports are equivalent, but they + // can disagree when the page is pinch-zoomed (on devices that support touch). + // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4 + // We use the documentElement instead of the body because, by default (without a css reset) + // browsers typically give the document body an 8px margin, which is not included in + // getBoundingClientRect(). + const scrollPosition = this.getViewportScrollPosition(); + const { + width, + height + } = this.getViewportSize(); + return { + top: scrollPosition.top, + left: scrollPosition.left, + bottom: scrollPosition.top + height, + right: scrollPosition.left + width, + height, + width + }; + } + /** Gets the (top, left) scroll position of the viewport. */ + getViewportScrollPosition() { + // While we can get a reference to the fake document + // during SSR, it doesn't have getBoundingClientRect. + if (!this._platform.isBrowser) { + return { + top: 0, + left: 0 + }; + } + // The top-left-corner of the viewport is determined by the scroll position of the document + // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about + // whether `document.body` or `document.documentElement` is the scrolled element, so reading + // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of + // `document.documentElement` works consistently, where the `top` and `left` values will + // equal negative the scroll position. + const document = this._document; const window = this._getWindow(); - window.removeEventListener('resize', this._changeListener); - window.removeEventListener('orientationchange', this._changeListener); - } - this._change.complete(); - } - /** Returns the viewport's width and height. */ - getViewportSize() { - if (!this._viewportSize) { - this._updateViewportSize(); - } - const output = { - width: this._viewportSize.width, - height: this._viewportSize.height - }; - // If we're not on a browser, don't cache the size since it'll be mocked out anyway. - if (!this._platform.isBrowser) { - this._viewportSize = null; - } - return output; - } - /** Gets a DOMRect for the viewport's bounds. */ - getViewportRect() { - // Use the document element's bounding rect rather than the window scroll properties - // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll - // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different - // conceptual viewports. Under most circumstances these viewports are equivalent, but they - // can disagree when the page is pinch-zoomed (on devices that support touch). - // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4 - // We use the documentElement instead of the body because, by default (without a css reset) - // browsers typically give the document body an 8px margin, which is not included in - // getBoundingClientRect(). - const scrollPosition = this.getViewportScrollPosition(); - const { - width, - height - } = this.getViewportSize(); - return { - top: scrollPosition.top, - left: scrollPosition.left, - bottom: scrollPosition.top + height, - right: scrollPosition.left + width, - height, - width - }; - } - /** Gets the (top, left) scroll position of the viewport. */ - getViewportScrollPosition() { - // While we can get a reference to the fake document - // during SSR, it doesn't have getBoundingClientRect. - if (!this._platform.isBrowser) { + const documentElement = document.documentElement; + const documentRect = documentElement.getBoundingClientRect(); + const top = -documentRect.top || document.body.scrollTop || window.scrollY || documentElement.scrollTop || 0; + const left = -documentRect.left || document.body.scrollLeft || window.scrollX || documentElement.scrollLeft || 0; return { - top: 0, - left: 0 + top, + left }; } - // The top-left-corner of the viewport is determined by the scroll position of the document - // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about - // whether `document.body` or `document.documentElement` is the scrolled element, so reading - // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of - // `document.documentElement` works consistently, where the `top` and `left` values will - // equal negative the scroll position. - const document = this._document; - const window = this._getWindow(); - const documentElement = document.documentElement; - const documentRect = documentElement.getBoundingClientRect(); - const top = -documentRect.top || document.body.scrollTop || window.scrollY || documentElement.scrollTop || 0; - const left = -documentRect.left || document.body.scrollLeft || window.scrollX || documentElement.scrollLeft || 0; - return { - top, - left - }; - } - /** - * Returns a stream that emits whenever the size of the viewport changes. - * This stream emits outside of the Angular zone. - * @param throttleTime Time in milliseconds to throttle the stream. - */ - change(throttleTime = DEFAULT_RESIZE_TIME) { - return throttleTime > 0 ? this._change.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.auditTime)(throttleTime)) : this._change; - } - /** Use defaultView of injected document if available or fallback to global window reference */ - _getWindow() { - return this._document.defaultView || window; - } - /** Updates the cached viewport size. */ - _updateViewportSize() { - const window = this._getWindow(); - this._viewportSize = this._platform.isBrowser ? { - width: window.innerWidth, - height: window.innerHeight - } : { - width: 0, - height: 0 + /** + * Returns a stream that emits whenever the size of the viewport changes. + * This stream emits outside of the Angular zone. + * @param throttleTime Time in milliseconds to throttle the stream. + */ + change(throttleTime = DEFAULT_RESIZE_TIME) { + return throttleTime > 0 ? this._change.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.auditTime)(throttleTime)) : this._change; + } + /** Use defaultView of injected document if available or fallback to global window reference */ + _getWindow() { + return this._document.defaultView || window; + } + /** Updates the cached viewport size. */ + _updateViewportSize() { + const window = this._getWindow(); + this._viewportSize = this._platform.isBrowser ? { + width: window.innerWidth, + height: window.innerHeight + } : { + width: 0, + height: 0 + }; + } + static #_ = this.ɵfac = function ViewportRuler_Factory(t) { + return new (t || ViewportRuler)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_10__.DOCUMENT, 8)); }; - } - static #_ = this.ɵfac = function ViewportRuler_Factory(t) { - return new (t || ViewportRuler)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_10__.DOCUMENT, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: ViewportRuler, - factory: ViewportRuler.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ViewportRuler, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: ViewportRuler, + factory: ViewportRuler.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.Platform - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_10__.DOCUMENT] - }] - }], null); + }); + } + return ViewportRuler; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); -const VIRTUAL_SCROLLABLE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('VIRTUAL_SCROLLABLE'); +const VIRTUAL_SCROLLABLE = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('VIRTUAL_SCROLLABLE'); /** * Extending the {@link CdkScrollable} to be used as scrolling container for virtual scrolling. */ -class CdkVirtualScrollable extends CdkScrollable { - constructor(elementRef, scrollDispatcher, ngZone, dir) { - super(elementRef, scrollDispatcher, ngZone, dir); - } - /** - * Measure the viewport size for the provided orientation. - * - * @param orientation The orientation to measure the size from. - */ - measureViewportSize(orientation) { - const viewportEl = this.elementRef.nativeElement; - return orientation === 'horizontal' ? viewportEl.clientWidth : viewportEl.clientHeight; +let CdkVirtualScrollable = /*#__PURE__*/(() => { + class CdkVirtualScrollable extends CdkScrollable { + constructor(elementRef, scrollDispatcher, ngZone, dir) { + super(elementRef, scrollDispatcher, ngZone, dir); + } + /** + * Measure the viewport size for the provided orientation. + * + * @param orientation The orientation to measure the size from. + */ + measureViewportSize(orientation) { + const viewportEl = this.elementRef.nativeElement; + return orientation === 'horizontal' ? viewportEl.clientWidth : viewportEl.clientHeight; + } + static #_ = this.ɵfac = function CdkVirtualScrollable_Factory(t) { + return new (t || CdkVirtualScrollable)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkVirtualScrollable, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] + }); } - static #_ = this.ɵfac = function CdkVirtualScrollable_Factory(t) { - return new (t || CdkVirtualScrollable)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkVirtualScrollable, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkVirtualScrollable, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: ScrollDispatcher - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }] - }], null); + return CdkVirtualScrollable; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Checks if the given ranges are equal. */ @@ -80421,487 +91060,420 @@ function rangesEqual(r1, r2) { */ const SCROLL_SCHEDULER = typeof requestAnimationFrame !== 'undefined' ? rxjs__WEBPACK_IMPORTED_MODULE_13__.animationFrameScheduler : rxjs__WEBPACK_IMPORTED_MODULE_14__.asapScheduler; /** A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`. */ -class CdkVirtualScrollViewport extends CdkVirtualScrollable { - /** The direction the viewport scrolls. */ - get orientation() { - return this._orientation; - } - set orientation(orientation) { - if (this._orientation !== orientation) { - this._orientation = orientation; - this._calculateSpacerSize(); +let CdkVirtualScrollViewport = /*#__PURE__*/(() => { + class CdkVirtualScrollViewport extends CdkVirtualScrollable { + /** The direction the viewport scrolls. */ + get orientation() { + return this._orientation; + } + set orientation(orientation) { + if (this._orientation !== orientation) { + this._orientation = orientation; + this._calculateSpacerSize(); + } + } + constructor(elementRef, _changeDetectorRef, ngZone, _scrollStrategy, dir, scrollDispatcher, viewportRuler, scrollable) { + super(elementRef, scrollDispatcher, ngZone, dir); + this.elementRef = elementRef; + this._changeDetectorRef = _changeDetectorRef; + this._scrollStrategy = _scrollStrategy; + this.scrollable = scrollable; + this._platform = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.Platform); + /** Emits when the viewport is detached from a CdkVirtualForOf. */ + this._detachedSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + /** Emits when the rendered range changes. */ + this._renderedRangeSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + this._orientation = 'vertical'; + /** + * Whether rendered items should persist in the DOM after scrolling out of view. By default, items + * will be removed. + */ + this.appendOnly = false; + // Note: we don't use the typical EventEmitter here because we need to subscribe to the scroll + // strategy lazily (i.e. only if the user is actually listening to the events). We do this because + // depending on how the strategy calculates the scrolled index, it may come at a cost to + // performance. + /** Emits when the index of the first element visible in the viewport changes. */ + this.scrolledIndexChange = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => this._scrollStrategy.scrolledIndexChange.subscribe(index => Promise.resolve().then(() => this.ngZone.run(() => observer.next(index))))); + /** A stream that emits whenever the rendered range changes. */ + this.renderedRangeStream = this._renderedRangeSubject; + /** + * The total size of all content (in pixels), including content that is not currently rendered. + */ + this._totalContentSize = 0; + /** A string representing the `style.width` property value to be used for the spacer element. */ + this._totalContentWidth = ''; + /** A string representing the `style.height` property value to be used for the spacer element. */ + this._totalContentHeight = ''; + /** The currently rendered range of indices. */ + this._renderedRange = { + start: 0, + end: 0 + }; + /** The length of the data bound to this viewport (in number of items). */ + this._dataLength = 0; + /** The size of the viewport (in pixels). */ + this._viewportSize = 0; + /** The last rendered content offset that was set. */ + this._renderedContentOffset = 0; + /** + * Whether the last rendered content offset was to the end of the content (and therefore needs to + * be rewritten as an offset to the start of the content). + */ + this._renderedContentOffsetNeedsRewrite = false; + /** Whether there is a pending change detection cycle. */ + this._isChangeDetectionPending = false; + /** A list of functions to run after the next change detection cycle. */ + this._runAfterChangeDetection = []; + /** Subscription to changes in the viewport size. */ + this._viewportChanges = rxjs__WEBPACK_IMPORTED_MODULE_15__.Subscription.EMPTY; + if (!_scrollStrategy && (typeof ngDevMode === 'undefined' || ngDevMode)) { + throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.'); + } + this._viewportChanges = viewportRuler.change().subscribe(() => { + this.checkViewportSize(); + }); + if (!this.scrollable) { + // No scrollable is provided, so the virtual-scroll-viewport needs to become a scrollable + this.elementRef.nativeElement.classList.add('cdk-virtual-scrollable'); + this.scrollable = this; + } + } + ngOnInit() { + // Scrolling depends on the element dimensions which we can't get during SSR. + if (!this._platform.isBrowser) { + return; + } + if (this.scrollable === this) { + super.ngOnInit(); + } + // It's still too early to measure the viewport at this point. Deferring with a promise allows + // the Viewport to be rendered with the correct size before we measure. We run this outside the + // zone to avoid causing more change detection cycles. We handle the change detection loop + // ourselves instead. + this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => { + this._measureViewportSize(); + this._scrollStrategy.attach(this); + this.scrollable.elementScrolled().pipe( + // Start off with a fake scroll event so we properly detect our initial position. + (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.startWith)(null), + // Collect multiple events into one until the next animation frame. This way if + // there are multiple scroll events in the same frame we only need to recheck + // our layout once. + (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.auditTime)(0, SCROLL_SCHEDULER), + // Usually `elementScrolled` is completed when the scrollable is destroyed, but + // that may not be the case if a `CdkVirtualScrollableElement` is used so we have + // to unsubscribe here just in case. + (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._destroyed)).subscribe(() => this._scrollStrategy.onContentScrolled()); + this._markChangeDetectionNeeded(); + })); + } + ngOnDestroy() { + this.detach(); + this._scrollStrategy.detach(); + // Complete all subjects + this._renderedRangeSubject.complete(); + this._detachedSubject.complete(); + this._viewportChanges.unsubscribe(); + super.ngOnDestroy(); + } + /** Attaches a `CdkVirtualScrollRepeater` to this viewport. */ + attach(forOf) { + if (this._forOf && (typeof ngDevMode === 'undefined' || ngDevMode)) { + throw Error('CdkVirtualScrollViewport is already attached.'); + } + // Subscribe to the data stream of the CdkVirtualForOf to keep track of when the data length + // changes. Run outside the zone to avoid triggering change detection, since we're managing the + // change detection loop ourselves. + this.ngZone.runOutsideAngular(() => { + this._forOf = forOf; + this._forOf.dataStream.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._detachedSubject)).subscribe(data => { + const newLength = data.length; + if (newLength !== this._dataLength) { + this._dataLength = newLength; + this._scrollStrategy.onDataLengthChanged(); + } + this._doChangeDetection(); + }); + }); + } + /** Detaches the current `CdkVirtualForOf`. */ + detach() { + this._forOf = null; + this._detachedSubject.next(); + } + /** Gets the length of the data bound to this viewport (in number of items). */ + getDataLength() { + return this._dataLength; + } + /** Gets the size of the viewport (in pixels). */ + getViewportSize() { + return this._viewportSize; + } + // TODO(mmalerba): This is technically out of sync with what's really rendered until a render + // cycle happens. I'm being careful to only call it after the render cycle is complete and before + // setting it to something else, but its error prone and should probably be split into + // `pendingRange` and `renderedRange`, the latter reflecting whats actually in the DOM. + /** Get the current rendered range of items. */ + getRenderedRange() { + return this._renderedRange; + } + measureBoundingClientRectWithScrollOffset(from) { + return this.getElementRef().nativeElement.getBoundingClientRect()[from]; } - } - constructor(elementRef, _changeDetectorRef, ngZone, _scrollStrategy, dir, scrollDispatcher, viewportRuler, scrollable) { - super(elementRef, scrollDispatcher, ngZone, dir); - this.elementRef = elementRef; - this._changeDetectorRef = _changeDetectorRef; - this._scrollStrategy = _scrollStrategy; - this.scrollable = scrollable; - this._platform = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_9__.Platform); - /** Emits when the viewport is detached from a CdkVirtualForOf. */ - this._detachedSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - /** Emits when the rendered range changes. */ - this._renderedRangeSubject = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - this._orientation = 'vertical'; /** - * Whether rendered items should persist in the DOM after scrolling out of view. By default, items - * will be removed. + * Sets the total size of all content (in pixels), including content that is not currently + * rendered. */ - this.appendOnly = false; - // Note: we don't use the typical EventEmitter here because we need to subscribe to the scroll - // strategy lazily (i.e. only if the user is actually listening to the events). We do this because - // depending on how the strategy calculates the scrolled index, it may come at a cost to - // performance. - /** Emits when the index of the first element visible in the viewport changes. */ - this.scrolledIndexChange = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => this._scrollStrategy.scrolledIndexChange.subscribe(index => Promise.resolve().then(() => this.ngZone.run(() => observer.next(index))))); - /** A stream that emits whenever the rendered range changes. */ - this.renderedRangeStream = this._renderedRangeSubject; + setTotalContentSize(size) { + if (this._totalContentSize !== size) { + this._totalContentSize = size; + this._calculateSpacerSize(); + this._markChangeDetectionNeeded(); + } + } + /** Sets the currently rendered range of indices. */ + setRenderedRange(range) { + if (!rangesEqual(this._renderedRange, range)) { + if (this.appendOnly) { + range = { + start: 0, + end: Math.max(this._renderedRange.end, range.end) + }; + } + this._renderedRangeSubject.next(this._renderedRange = range); + this._markChangeDetectionNeeded(() => this._scrollStrategy.onContentRendered()); + } + } /** - * The total size of all content (in pixels), including content that is not currently rendered. + * Gets the offset from the start of the viewport to the start of the rendered data (in pixels). */ - this._totalContentSize = 0; - /** A string representing the `style.width` property value to be used for the spacer element. */ - this._totalContentWidth = ''; - /** A string representing the `style.height` property value to be used for the spacer element. */ - this._totalContentHeight = ''; - /** The currently rendered range of indices. */ - this._renderedRange = { - start: 0, - end: 0 - }; - /** The length of the data bound to this viewport (in number of items). */ - this._dataLength = 0; - /** The size of the viewport (in pixels). */ - this._viewportSize = 0; - /** The last rendered content offset that was set. */ - this._renderedContentOffset = 0; + getOffsetToRenderedContentStart() { + return this._renderedContentOffsetNeedsRewrite ? null : this._renderedContentOffset; + } /** - * Whether the last rendered content offset was to the end of the content (and therefore needs to - * be rewritten as an offset to the start of the content). + * Sets the offset from the start of the viewport to either the start or end of the rendered data + * (in pixels). */ - this._renderedContentOffsetNeedsRewrite = false; - /** Whether there is a pending change detection cycle. */ - this._isChangeDetectionPending = false; - /** A list of functions to run after the next change detection cycle. */ - this._runAfterChangeDetection = []; - /** Subscription to changes in the viewport size. */ - this._viewportChanges = rxjs__WEBPACK_IMPORTED_MODULE_15__.Subscription.EMPTY; - if (!_scrollStrategy && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.'); - } - this._viewportChanges = viewportRuler.change().subscribe(() => { - this.checkViewportSize(); - }); - if (!this.scrollable) { - // No scrollable is provided, so the virtual-scroll-viewport needs to become a scrollable - this.elementRef.nativeElement.classList.add('cdk-virtual-scrollable'); - this.scrollable = this; - } - } - ngOnInit() { - // Scrolling depends on the element dimensions which we can't get during SSR. - if (!this._platform.isBrowser) { - return; - } - if (this.scrollable === this) { - super.ngOnInit(); - } - // It's still too early to measure the viewport at this point. Deferring with a promise allows - // the Viewport to be rendered with the correct size before we measure. We run this outside the - // zone to avoid causing more change detection cycles. We handle the change detection loop - // ourselves instead. - this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => { - this._measureViewportSize(); - this._scrollStrategy.attach(this); - this.scrollable.elementScrolled().pipe( - // Start off with a fake scroll event so we properly detect our initial position. - (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.startWith)(null), - // Collect multiple events into one until the next animation frame. This way if - // there are multiple scroll events in the same frame we only need to recheck - // our layout once. - (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.auditTime)(0, SCROLL_SCHEDULER), - // Usually `elementScrolled` is completed when the scrollable is destroyed, but - // that may not be the case if a `CdkVirtualScrollableElement` is used so we have - // to unsubscribe here just in case. - (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._destroyed)).subscribe(() => this._scrollStrategy.onContentScrolled()); - this._markChangeDetectionNeeded(); - })); - } - ngOnDestroy() { - this.detach(); - this._scrollStrategy.detach(); - // Complete all subjects - this._renderedRangeSubject.complete(); - this._detachedSubject.complete(); - this._viewportChanges.unsubscribe(); - super.ngOnDestroy(); - } - /** Attaches a `CdkVirtualScrollRepeater` to this viewport. */ - attach(forOf) { - if (this._forOf && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error('CdkVirtualScrollViewport is already attached.'); - } - // Subscribe to the data stream of the CdkVirtualForOf to keep track of when the data length - // changes. Run outside the zone to avoid triggering change detection, since we're managing the - // change detection loop ourselves. - this.ngZone.runOutsideAngular(() => { - this._forOf = forOf; - this._forOf.dataStream.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._detachedSubject)).subscribe(data => { - const newLength = data.length; - if (newLength !== this._dataLength) { - this._dataLength = newLength; - this._scrollStrategy.onDataLengthChanged(); - } - this._doChangeDetection(); - }); - }); - } - /** Detaches the current `CdkVirtualForOf`. */ - detach() { - this._forOf = null; - this._detachedSubject.next(); - } - /** Gets the length of the data bound to this viewport (in number of items). */ - getDataLength() { - return this._dataLength; - } - /** Gets the size of the viewport (in pixels). */ - getViewportSize() { - return this._viewportSize; - } - // TODO(mmalerba): This is technically out of sync with what's really rendered until a render - // cycle happens. I'm being careful to only call it after the render cycle is complete and before - // setting it to something else, but its error prone and should probably be split into - // `pendingRange` and `renderedRange`, the latter reflecting whats actually in the DOM. - /** Get the current rendered range of items. */ - getRenderedRange() { - return this._renderedRange; - } - measureBoundingClientRectWithScrollOffset(from) { - return this.getElementRef().nativeElement.getBoundingClientRect()[from]; - } - /** - * Sets the total size of all content (in pixels), including content that is not currently - * rendered. - */ - setTotalContentSize(size) { - if (this._totalContentSize !== size) { - this._totalContentSize = size; - this._calculateSpacerSize(); - this._markChangeDetectionNeeded(); - } - } - /** Sets the currently rendered range of indices. */ - setRenderedRange(range) { - if (!rangesEqual(this._renderedRange, range)) { - if (this.appendOnly) { - range = { - start: 0, - end: Math.max(this._renderedRange.end, range.end) - }; + setRenderedContentOffset(offset, to = 'to-start') { + // In appendOnly, we always start from the top + offset = this.appendOnly && to === 'to-start' ? 0 : offset; + // For a horizontal viewport in a right-to-left language we need to translate along the x-axis + // in the negative direction. + const isRtl = this.dir && this.dir.value == 'rtl'; + const isHorizontal = this.orientation == 'horizontal'; + const axis = isHorizontal ? 'X' : 'Y'; + const axisDirection = isHorizontal && isRtl ? -1 : 1; + let transform = `translate${axis}(${Number(axisDirection * offset)}px)`; + this._renderedContentOffset = offset; + if (to === 'to-end') { + transform += ` translate${axis}(-100%)`; + // The viewport should rewrite this as a `to-start` offset on the next render cycle. Otherwise + // elements will appear to expand in the wrong direction (e.g. `mat-expansion-panel` would + // expand upward). + this._renderedContentOffsetNeedsRewrite = true; + } + if (this._renderedContentTransform != transform) { + // We know this value is safe because we parse `offset` with `Number()` before passing it + // into the string. + this._renderedContentTransform = transform; + this._markChangeDetectionNeeded(() => { + if (this._renderedContentOffsetNeedsRewrite) { + this._renderedContentOffset -= this.measureRenderedContentSize(); + this._renderedContentOffsetNeedsRewrite = false; + this.setRenderedContentOffset(this._renderedContentOffset); + } else { + this._scrollStrategy.onRenderedOffsetChanged(); + } + }); } - this._renderedRangeSubject.next(this._renderedRange = range); - this._markChangeDetectionNeeded(() => this._scrollStrategy.onContentRendered()); - } - } - /** - * Gets the offset from the start of the viewport to the start of the rendered data (in pixels). - */ - getOffsetToRenderedContentStart() { - return this._renderedContentOffsetNeedsRewrite ? null : this._renderedContentOffset; - } - /** - * Sets the offset from the start of the viewport to either the start or end of the rendered data - * (in pixels). - */ - setRenderedContentOffset(offset, to = 'to-start') { - // In appendOnly, we always start from the top - offset = this.appendOnly && to === 'to-start' ? 0 : offset; - // For a horizontal viewport in a right-to-left language we need to translate along the x-axis - // in the negative direction. - const isRtl = this.dir && this.dir.value == 'rtl'; - const isHorizontal = this.orientation == 'horizontal'; - const axis = isHorizontal ? 'X' : 'Y'; - const axisDirection = isHorizontal && isRtl ? -1 : 1; - let transform = `translate${axis}(${Number(axisDirection * offset)}px)`; - this._renderedContentOffset = offset; - if (to === 'to-end') { - transform += ` translate${axis}(-100%)`; - // The viewport should rewrite this as a `to-start` offset on the next render cycle. Otherwise - // elements will appear to expand in the wrong direction (e.g. `mat-expansion-panel` would - // expand upward). - this._renderedContentOffsetNeedsRewrite = true; - } - if (this._renderedContentTransform != transform) { - // We know this value is safe because we parse `offset` with `Number()` before passing it - // into the string. - this._renderedContentTransform = transform; - this._markChangeDetectionNeeded(() => { - if (this._renderedContentOffsetNeedsRewrite) { - this._renderedContentOffset -= this.measureRenderedContentSize(); - this._renderedContentOffsetNeedsRewrite = false; - this.setRenderedContentOffset(this._renderedContentOffset); - } else { - this._scrollStrategy.onRenderedOffsetChanged(); - } - }); - } - } - /** - * Scrolls to the given offset from the start of the viewport. Please note that this is not always - * the same as setting `scrollTop` or `scrollLeft`. In a horizontal viewport with right-to-left - * direction, this would be the equivalent of setting a fictional `scrollRight` property. - * @param offset The offset to scroll to. - * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`. - */ - scrollToOffset(offset, behavior = 'auto') { - const options = { - behavior - }; - if (this.orientation === 'horizontal') { - options.start = offset; - } else { - options.top = offset; - } - this.scrollable.scrollTo(options); - } - /** - * Scrolls to the offset for the given index. - * @param index The index of the element to scroll to. - * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`. - */ - scrollToIndex(index, behavior = 'auto') { - this._scrollStrategy.scrollToIndex(index, behavior); - } - /** - * Gets the current scroll offset from the start of the scrollable (in pixels). - * @param from The edge to measure the offset from. Defaults to 'top' in vertical mode and 'start' - * in horizontal mode. - */ - measureScrollOffset(from) { - // This is to break the call cycle - let measureScrollOffset; - if (this.scrollable == this) { - measureScrollOffset = _from => super.measureScrollOffset(_from); - } else { - measureScrollOffset = _from => this.scrollable.measureScrollOffset(_from); } - return Math.max(0, measureScrollOffset(from ?? (this.orientation === 'horizontal' ? 'start' : 'top')) - this.measureViewportOffset()); - } - /** - * Measures the offset of the viewport from the scrolling container - * @param from The edge to measure from. - */ - measureViewportOffset(from) { - let fromRect; - const LEFT = 'left'; - const RIGHT = 'right'; - const isRtl = this.dir?.value == 'rtl'; - if (from == 'start') { - fromRect = isRtl ? RIGHT : LEFT; - } else if (from == 'end') { - fromRect = isRtl ? LEFT : RIGHT; - } else if (from) { - fromRect = from; - } else { - fromRect = this.orientation === 'horizontal' ? 'left' : 'top'; + /** + * Scrolls to the given offset from the start of the viewport. Please note that this is not always + * the same as setting `scrollTop` or `scrollLeft`. In a horizontal viewport with right-to-left + * direction, this would be the equivalent of setting a fictional `scrollRight` property. + * @param offset The offset to scroll to. + * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`. + */ + scrollToOffset(offset, behavior = 'auto') { + const options = { + behavior + }; + if (this.orientation === 'horizontal') { + options.start = offset; + } else { + options.top = offset; + } + this.scrollable.scrollTo(options); } - const scrollerClientRect = this.scrollable.measureBoundingClientRectWithScrollOffset(fromRect); - const viewportClientRect = this.elementRef.nativeElement.getBoundingClientRect()[fromRect]; - return viewportClientRect - scrollerClientRect; - } - /** Measure the combined size of all of the rendered items. */ - measureRenderedContentSize() { - const contentEl = this._contentWrapper.nativeElement; - return this.orientation === 'horizontal' ? contentEl.offsetWidth : contentEl.offsetHeight; - } - /** - * Measure the total combined size of the given range. Throws if the range includes items that are - * not rendered. - */ - measureRangeSize(range) { - if (!this._forOf) { - return 0; + /** + * Scrolls to the offset for the given index. + * @param index The index of the element to scroll to. + * @param behavior The ScrollBehavior to use when scrolling. Default is behavior is `auto`. + */ + scrollToIndex(index, behavior = 'auto') { + this._scrollStrategy.scrollToIndex(index, behavior); } - return this._forOf.measureRangeSize(range, this.orientation); - } - /** Update the viewport dimensions and re-render. */ - checkViewportSize() { - // TODO: Cleanup later when add logic for handling content resize - this._measureViewportSize(); - this._scrollStrategy.onDataLengthChanged(); - } - /** Measure the viewport size. */ - _measureViewportSize() { - this._viewportSize = this.scrollable.measureViewportSize(this.orientation); - } - /** Queue up change detection to run. */ - _markChangeDetectionNeeded(runAfter) { - if (runAfter) { - this._runAfterChangeDetection.push(runAfter); + /** + * Gets the current scroll offset from the start of the scrollable (in pixels). + * @param from The edge to measure the offset from. Defaults to 'top' in vertical mode and 'start' + * in horizontal mode. + */ + measureScrollOffset(from) { + // This is to break the call cycle + let measureScrollOffset; + if (this.scrollable == this) { + measureScrollOffset = _from => super.measureScrollOffset(_from); + } else { + measureScrollOffset = _from => this.scrollable.measureScrollOffset(_from); + } + return Math.max(0, measureScrollOffset(from ?? (this.orientation === 'horizontal' ? 'start' : 'top')) - this.measureViewportOffset()); } - // Use a Promise to batch together calls to `_doChangeDetection`. This way if we set a bunch of - // properties sequentially we only have to run `_doChangeDetection` once at the end. - if (!this._isChangeDetectionPending) { - this._isChangeDetectionPending = true; - this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => { - this._doChangeDetection(); - })); + /** + * Measures the offset of the viewport from the scrolling container + * @param from The edge to measure from. + */ + measureViewportOffset(from) { + let fromRect; + const LEFT = 'left'; + const RIGHT = 'right'; + const isRtl = this.dir?.value == 'rtl'; + if (from == 'start') { + fromRect = isRtl ? RIGHT : LEFT; + } else if (from == 'end') { + fromRect = isRtl ? LEFT : RIGHT; + } else if (from) { + fromRect = from; + } else { + fromRect = this.orientation === 'horizontal' ? 'left' : 'top'; + } + const scrollerClientRect = this.scrollable.measureBoundingClientRectWithScrollOffset(fromRect); + const viewportClientRect = this.elementRef.nativeElement.getBoundingClientRect()[fromRect]; + return viewportClientRect - scrollerClientRect; } - } - /** Run change detection. */ - _doChangeDetection() { - this._isChangeDetectionPending = false; - // Apply the content transform. The transform can't be set via an Angular binding because - // bypassSecurityTrustStyle is banned in Google. However the value is safe, it's composed of - // string literals, a variable that can only be 'X' or 'Y', and user input that is run through - // the `Number` function first to coerce it to a numeric value. - this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform; - // Apply changes to Angular bindings. Note: We must call `markForCheck` to run change detection - // from the root, since the repeated items are content projected in. Calling `detectChanges` - // instead does not properly check the projected content. - this.ngZone.run(() => this._changeDetectorRef.markForCheck()); - const runAfterChangeDetection = this._runAfterChangeDetection; - this._runAfterChangeDetection = []; - for (const fn of runAfterChangeDetection) { - fn(); + /** Measure the combined size of all of the rendered items. */ + measureRenderedContentSize() { + const contentEl = this._contentWrapper.nativeElement; + return this.orientation === 'horizontal' ? contentEl.offsetWidth : contentEl.offsetHeight; } - } - /** Calculates the `style.width` and `style.height` for the spacer element. */ - _calculateSpacerSize() { - this._totalContentHeight = this.orientation === 'horizontal' ? '' : `${this._totalContentSize}px`; - this._totalContentWidth = this.orientation === 'horizontal' ? `${this._totalContentSize}px` : ''; - } - static #_ = this.ɵfac = function CdkVirtualScrollViewport_Factory(t) { - return new (t || CdkVirtualScrollViewport)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](VIRTUAL_SCROLL_STRATEGY, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ViewportRuler), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](VIRTUAL_SCROLLABLE, 8)); - }; - static #_2 = this.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ - type: CdkVirtualScrollViewport, - selectors: [["cdk-virtual-scroll-viewport"]], - viewQuery: function CdkVirtualScrollViewport_Query(rf, ctx) { - if (rf & 1) { - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, 7); - } - if (rf & 2) { - let _t; - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx._contentWrapper = _t.first); - } - }, - hostAttrs: [1, "cdk-virtual-scroll-viewport"], - hostVars: 4, - hostBindings: function CdkVirtualScrollViewport_HostBindings(rf, ctx) { - if (rf & 2) { - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("cdk-virtual-scroll-orientation-horizontal", ctx.orientation === "horizontal")("cdk-virtual-scroll-orientation-vertical", ctx.orientation !== "horizontal"); + /** + * Measure the total combined size of the given range. Throws if the range includes items that are + * not rendered. + */ + measureRangeSize(range) { + if (!this._forOf) { + return 0; } - }, - inputs: { - orientation: "orientation", - appendOnly: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "appendOnly", "appendOnly", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute] - }, - outputs: { - scrolledIndexChange: "scrolledIndexChange" - }, - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: CdkScrollable, - useFactory: (virtualScrollable, viewport) => virtualScrollable || viewport, - deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional(), new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject(VIRTUAL_SCROLLABLE)], CdkVirtualScrollViewport] - }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵStandaloneFeature"]], - ngContentSelectors: _c1, - decls: 4, - vars: 4, - consts: [["contentWrapper", ""], [1, "cdk-virtual-scroll-content-wrapper"], [1, "cdk-virtual-scroll-spacer"]], - template: function CdkVirtualScrollViewport_Template(rf, ctx) { - if (rf & 1) { - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](); - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 1, 0); - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](2); - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "div", 2); - } - if (rf & 2) { - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3); - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx._totalContentWidth)("height", ctx._totalContentHeight); + return this._forOf.measureRangeSize(range, this.orientation); + } + /** Update the viewport dimensions and re-render. */ + checkViewportSize() { + // TODO: Cleanup later when add logic for handling content resize + this._measureViewportSize(); + this._scrollStrategy.onDataLengthChanged(); + } + /** Measure the viewport size. */ + _measureViewportSize() { + this._viewportSize = this.scrollable.measureViewportSize(this.orientation); + } + /** Queue up change detection to run. */ + _markChangeDetectionNeeded(runAfter) { + if (runAfter) { + this._runAfterChangeDetection.push(runAfter); + } + // Use a Promise to batch together calls to `_doChangeDetection`. This way if we set a bunch of + // properties sequentially we only have to run `_doChangeDetection` once at the end. + if (!this._isChangeDetectionPending) { + this._isChangeDetectionPending = true; + this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => { + this._doChangeDetection(); + })); } - }, - styles: ["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"], - encapsulation: 2, - changeDetection: 0 - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkVirtualScrollViewport, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Component, - args: [{ - selector: 'cdk-virtual-scroll-viewport', - host: { - 'class': 'cdk-virtual-scroll-viewport', - '[class.cdk-virtual-scroll-orientation-horizontal]': 'orientation === "horizontal"', - '[class.cdk-virtual-scroll-orientation-vertical]': 'orientation !== "horizontal"' + } + /** Run change detection. */ + _doChangeDetection() { + this._isChangeDetectionPending = false; + // Apply the content transform. The transform can't be set via an Angular binding because + // bypassSecurityTrustStyle is banned in Google. However the value is safe, it's composed of + // string literals, a variable that can only be 'X' or 'Y', and user input that is run through + // the `Number` function first to coerce it to a numeric value. + this._contentWrapper.nativeElement.style.transform = this._renderedContentTransform; + // Apply changes to Angular bindings. Note: We must call `markForCheck` to run change detection + // from the root, since the repeated items are content projected in. Calling `detectChanges` + // instead does not properly check the projected content. + this.ngZone.run(() => this._changeDetectorRef.markForCheck()); + const runAfterChangeDetection = this._runAfterChangeDetection; + this._runAfterChangeDetection = []; + for (const fn of runAfterChangeDetection) { + fn(); + } + } + /** Calculates the `style.width` and `style.height` for the spacer element. */ + _calculateSpacerSize() { + this._totalContentHeight = this.orientation === 'horizontal' ? '' : `${this._totalContentSize}px`; + this._totalContentWidth = this.orientation === 'horizontal' ? `${this._totalContentSize}px` : ''; + } + static #_ = this.ɵfac = function CdkVirtualScrollViewport_Factory(t) { + return new (t || CdkVirtualScrollViewport)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](VIRTUAL_SCROLL_STRATEGY, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ViewportRuler), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](VIRTUAL_SCROLLABLE, 8)); + }; + static #_2 = this.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ + type: CdkVirtualScrollViewport, + selectors: [["cdk-virtual-scroll-viewport"]], + viewQuery: function CdkVirtualScrollViewport_Query(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, 7); + } + if (rf & 2) { + let _t; + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx._contentWrapper = _t.first); + } + }, + hostAttrs: [1, "cdk-virtual-scroll-viewport"], + hostVars: 4, + hostBindings: function CdkVirtualScrollViewport_HostBindings(rf, ctx) { + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("cdk-virtual-scroll-orientation-horizontal", ctx.orientation === "horizontal")("cdk-virtual-scroll-orientation-vertical", ctx.orientation !== "horizontal"); + } + }, + inputs: { + orientation: "orientation", + appendOnly: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "appendOnly", "appendOnly", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute] + }, + outputs: { + scrolledIndexChange: "scrolledIndexChange" }, - encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewEncapsulation.None, - changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectionStrategy.OnPush, standalone: true, - providers: [{ + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: CdkScrollable, useFactory: (virtualScrollable, viewport) => virtualScrollable || viewport, deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional(), new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject(VIRTUAL_SCROLLABLE)], CdkVirtualScrollViewport] - }], - template: "\n
\n \n
\n\n
\n", - styles: ["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"] - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [VIRTUAL_SCROLL_STRATEGY] - }] - }, { - type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }] - }, { - type: ScrollDispatcher - }, { - type: ViewportRuler - }, { - type: CdkVirtualScrollable, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [VIRTUAL_SCROLLABLE] - }] - }], { - orientation: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - appendOnly: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }], - scrolledIndexChange: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output - }], - _contentWrapper: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewChild, - args: ['contentWrapper', { - static: true - }] - }] - }); + }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵStandaloneFeature"]], + ngContentSelectors: _c1, + decls: 4, + vars: 4, + consts: [["contentWrapper", ""], [1, "cdk-virtual-scroll-content-wrapper"], [1, "cdk-virtual-scroll-spacer"]], + template: function CdkVirtualScrollViewport_Template(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 1, 0); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](2); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "div", 2); + } + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3); + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx._totalContentWidth)("height", ctx._totalContentHeight); + } + }, + styles: ["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"], + encapsulation: 2, + changeDetection: 0 + }); + } + return CdkVirtualScrollViewport; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Helper to extract the offset of a DOM Node in a certain direction. */ @@ -80920,439 +91492,357 @@ function getOffset(orientation, direction, node) { * A directive similar to `ngForOf` to be used for rendering data inside a virtual scrolling * container. */ -class CdkVirtualForOf { - /** The DataSource to display. */ - get cdkVirtualForOf() { - return this._cdkVirtualForOf; - } - set cdkVirtualForOf(value) { - this._cdkVirtualForOf = value; - if ((0,_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__.isDataSource)(value)) { - this._dataSourceChanges.next(value); - } else { - // If value is an an NgIterable, convert it to an array. - this._dataSourceChanges.next(new _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__.ArrayDataSource((0,rxjs__WEBPACK_IMPORTED_MODULE_18__.isObservable)(value) ? value : Array.from(value || []))); +let CdkVirtualForOf = /*#__PURE__*/(() => { + class CdkVirtualForOf { + /** The DataSource to display. */ + get cdkVirtualForOf() { + return this._cdkVirtualForOf; } - } - /** - * The `TrackByFunction` to use for tracking changes. The `TrackByFunction` takes the index and - * the item and produces a value to be used as the item's identity when tracking changes. - */ - get cdkVirtualForTrackBy() { - return this._cdkVirtualForTrackBy; - } - set cdkVirtualForTrackBy(fn) { - this._needsUpdate = true; - this._cdkVirtualForTrackBy = fn ? (index, item) => fn(index + (this._renderedRange ? this._renderedRange.start : 0), item) : undefined; - } - /** The template used to stamp out new elements. */ - set cdkVirtualForTemplate(value) { - if (value) { - this._needsUpdate = true; - this._template = value; + set cdkVirtualForOf(value) { + this._cdkVirtualForOf = value; + if ((0,_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__.isDataSource)(value)) { + this._dataSourceChanges.next(value); + } else { + // If value is an an NgIterable, convert it to an array. + this._dataSourceChanges.next(new _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__.ArrayDataSource((0,rxjs__WEBPACK_IMPORTED_MODULE_18__.isObservable)(value) ? value : Array.from(value || []))); + } } - } - /** - * The size of the cache used to store templates that are not being used for re-use later. - * Setting the cache size to `0` will disable caching. Defaults to 20 templates. - */ - get cdkVirtualForTemplateCacheSize() { - return this._viewRepeater.viewCacheSize; - } - set cdkVirtualForTemplateCacheSize(size) { - this._viewRepeater.viewCacheSize = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(size); - } - constructor( /** The view container to add items to. */ - _viewContainerRef, /** The template to use when stamping out new items. */ - _template, /** The set of available differs. */ - _differs, /** The strategy used to render items in the virtual scroll viewport. */ - _viewRepeater, /** The virtual scrolling viewport that these items are being rendered in. */ - _viewport, ngZone) { - this._viewContainerRef = _viewContainerRef; - this._template = _template; - this._differs = _differs; - this._viewRepeater = _viewRepeater; - this._viewport = _viewport; - /** Emits when the rendered view of the data changes. */ - this.viewChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - /** Subject that emits when a new DataSource instance is given. */ - this._dataSourceChanges = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - /** Emits whenever the data in the current DataSource changes. */ - this.dataStream = this._dataSourceChanges.pipe( - // Start off with null `DataSource`. - (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.startWith)(null), - // Bundle up the previous and current data sources so we can work with both. - (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.pairwise)(), - // Use `_changeDataSource` to disconnect from the previous data source and connect to the - // new one, passing back a stream of data changes which we run through `switchMap` to give - // us a data stream that emits the latest data from whatever the current `DataSource` is. - (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.switchMap)(([prev, cur]) => this._changeDataSource(prev, cur)), - // Replay the last emitted data when someone subscribes. - (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.shareReplay)(1)); - /** The differ used to calculate changes to the data. */ - this._differ = null; - /** Whether the rendered data should be updated during the next ngDoCheck cycle. */ - this._needsUpdate = false; - this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); - this.dataStream.subscribe(data => { - this._data = data; - this._onRenderedDataChange(); - }); - this._viewport.renderedRangeStream.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._destroyed)).subscribe(range => { - this._renderedRange = range; - if (this.viewChange.observers.length) { - ngZone.run(() => this.viewChange.next(this._renderedRange)); - } - this._onRenderedDataChange(); - }); - this._viewport.attach(this); - } - /** - * Measures the combined size (width for horizontal orientation, height for vertical) of all items - * in the specified range. Throws an error if the range includes items that are not currently - * rendered. - */ - measureRangeSize(range, orientation) { - if (range.start >= range.end) { - return 0; + /** + * The `TrackByFunction` to use for tracking changes. The `TrackByFunction` takes the index and + * the item and produces a value to be used as the item's identity when tracking changes. + */ + get cdkVirtualForTrackBy() { + return this._cdkVirtualForTrackBy; } - if ((range.start < this._renderedRange.start || range.end > this._renderedRange.end) && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error(`Error: attempted to measure an item that isn't rendered.`); - } - // The index into the list of rendered views for the first item in the range. - const renderedStartIndex = range.start - this._renderedRange.start; - // The length of the range we're measuring. - const rangeLen = range.end - range.start; - // Loop over all the views, find the first and land node and compute the size by subtracting - // the top of the first node from the bottom of the last one. - let firstNode; - let lastNode; - // Find the first node by starting from the beginning and going forwards. - for (let i = 0; i < rangeLen; i++) { - const view = this._viewContainerRef.get(i + renderedStartIndex); - if (view && view.rootNodes.length) { - firstNode = lastNode = view.rootNodes[0]; - break; - } + set cdkVirtualForTrackBy(fn) { + this._needsUpdate = true; + this._cdkVirtualForTrackBy = fn ? (index, item) => fn(index + (this._renderedRange ? this._renderedRange.start : 0), item) : undefined; } - // Find the last node by starting from the end and going backwards. - for (let i = rangeLen - 1; i > -1; i--) { - const view = this._viewContainerRef.get(i + renderedStartIndex); - if (view && view.rootNodes.length) { - lastNode = view.rootNodes[view.rootNodes.length - 1]; - break; + /** The template used to stamp out new elements. */ + set cdkVirtualForTemplate(value) { + if (value) { + this._needsUpdate = true; + this._template = value; } } - return firstNode && lastNode ? getOffset(orientation, 'end', lastNode) - getOffset(orientation, 'start', firstNode) : 0; - } - ngDoCheck() { - if (this._differ && this._needsUpdate) { - // TODO(mmalerba): We should differentiate needs update due to scrolling and a new portion of - // this list being rendered (can use simpler algorithm) vs needs update due to data actually - // changing (need to do this diff). - const changes = this._differ.diff(this._renderedItems); - if (!changes) { - this._updateContext(); - } else { - this._applyChanges(changes); - } + /** + * The size of the cache used to store templates that are not being used for re-use later. + * Setting the cache size to `0` will disable caching. Defaults to 20 templates. + */ + get cdkVirtualForTemplateCacheSize() { + return this._viewRepeater.viewCacheSize; + } + set cdkVirtualForTemplateCacheSize(size) { + this._viewRepeater.viewCacheSize = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(size); + } + constructor( /** The view container to add items to. */ + _viewContainerRef, /** The template to use when stamping out new items. */ + _template, /** The set of available differs. */ + _differs, /** The strategy used to render items in the virtual scroll viewport. */ + _viewRepeater, /** The virtual scrolling viewport that these items are being rendered in. */ + _viewport, ngZone) { + this._viewContainerRef = _viewContainerRef; + this._template = _template; + this._differs = _differs; + this._viewRepeater = _viewRepeater; + this._viewport = _viewport; + /** Emits when the rendered view of the data changes. */ + this.viewChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + /** Subject that emits when a new DataSource instance is given. */ + this._dataSourceChanges = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + /** Emits whenever the data in the current DataSource changes. */ + this.dataStream = this._dataSourceChanges.pipe( + // Start off with null `DataSource`. + (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.startWith)(null), + // Bundle up the previous and current data sources so we can work with both. + (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.pairwise)(), + // Use `_changeDataSource` to disconnect from the previous data source and connect to the + // new one, passing back a stream of data changes which we run through `switchMap` to give + // us a data stream that emits the latest data from whatever the current `DataSource` is. + (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.switchMap)(([prev, cur]) => this._changeDataSource(prev, cur)), + // Replay the last emitted data when someone subscribes. + (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.shareReplay)(1)); + /** The differ used to calculate changes to the data. */ + this._differ = null; + /** Whether the rendered data should be updated during the next ngDoCheck cycle. */ this._needsUpdate = false; + this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject(); + this.dataStream.subscribe(data => { + this._data = data; + this._onRenderedDataChange(); + }); + this._viewport.renderedRangeStream.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._destroyed)).subscribe(range => { + this._renderedRange = range; + if (this.viewChange.observers.length) { + ngZone.run(() => this.viewChange.next(this._renderedRange)); + } + this._onRenderedDataChange(); + }); + this._viewport.attach(this); } - } - ngOnDestroy() { - this._viewport.detach(); - this._dataSourceChanges.next(undefined); - this._dataSourceChanges.complete(); - this.viewChange.complete(); - this._destroyed.next(); - this._destroyed.complete(); - this._viewRepeater.detach(); - } - /** React to scroll state changes in the viewport. */ - _onRenderedDataChange() { - if (!this._renderedRange) { - return; + /** + * Measures the combined size (width for horizontal orientation, height for vertical) of all items + * in the specified range. Throws an error if the range includes items that are not currently + * rendered. + */ + measureRangeSize(range, orientation) { + if (range.start >= range.end) { + return 0; + } + if ((range.start < this._renderedRange.start || range.end > this._renderedRange.end) && (typeof ngDevMode === 'undefined' || ngDevMode)) { + throw Error(`Error: attempted to measure an item that isn't rendered.`); + } + // The index into the list of rendered views for the first item in the range. + const renderedStartIndex = range.start - this._renderedRange.start; + // The length of the range we're measuring. + const rangeLen = range.end - range.start; + // Loop over all the views, find the first and land node and compute the size by subtracting + // the top of the first node from the bottom of the last one. + let firstNode; + let lastNode; + // Find the first node by starting from the beginning and going forwards. + for (let i = 0; i < rangeLen; i++) { + const view = this._viewContainerRef.get(i + renderedStartIndex); + if (view && view.rootNodes.length) { + firstNode = lastNode = view.rootNodes[0]; + break; + } + } + // Find the last node by starting from the end and going backwards. + for (let i = rangeLen - 1; i > -1; i--) { + const view = this._viewContainerRef.get(i + renderedStartIndex); + if (view && view.rootNodes.length) { + lastNode = view.rootNodes[view.rootNodes.length - 1]; + break; + } + } + return firstNode && lastNode ? getOffset(orientation, 'end', lastNode) - getOffset(orientation, 'start', firstNode) : 0; } - this._renderedItems = this._data.slice(this._renderedRange.start, this._renderedRange.end); - if (!this._differ) { - // Use a wrapper function for the `trackBy` so any new values are - // picked up automatically without having to recreate the differ. - this._differ = this._differs.find(this._renderedItems).create((index, item) => { - return this.cdkVirtualForTrackBy ? this.cdkVirtualForTrackBy(index, item) : item; - }); + ngDoCheck() { + if (this._differ && this._needsUpdate) { + // TODO(mmalerba): We should differentiate needs update due to scrolling and a new portion of + // this list being rendered (can use simpler algorithm) vs needs update due to data actually + // changing (need to do this diff). + const changes = this._differ.diff(this._renderedItems); + if (!changes) { + this._updateContext(); + } else { + this._applyChanges(changes); + } + this._needsUpdate = false; + } } - this._needsUpdate = true; - } - /** Swap out one `DataSource` for another. */ - _changeDataSource(oldDs, newDs) { - if (oldDs) { - oldDs.disconnect(this); + ngOnDestroy() { + this._viewport.detach(); + this._dataSourceChanges.next(undefined); + this._dataSourceChanges.complete(); + this.viewChange.complete(); + this._destroyed.next(); + this._destroyed.complete(); + this._viewRepeater.detach(); } - this._needsUpdate = true; - return newDs ? newDs.connect(this) : (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.of)(); - } - /** Update the `CdkVirtualForOfContext` for all views. */ - _updateContext() { - const count = this._data.length; - let i = this._viewContainerRef.length; - while (i--) { - const view = this._viewContainerRef.get(i); - view.context.index = this._renderedRange.start + i; - view.context.count = count; - this._updateComputedContextProperties(view.context); - view.detectChanges(); + /** React to scroll state changes in the viewport. */ + _onRenderedDataChange() { + if (!this._renderedRange) { + return; + } + this._renderedItems = this._data.slice(this._renderedRange.start, this._renderedRange.end); + if (!this._differ) { + // Use a wrapper function for the `trackBy` so any new values are + // picked up automatically without having to recreate the differ. + this._differ = this._differs.find(this._renderedItems).create((index, item) => { + return this.cdkVirtualForTrackBy ? this.cdkVirtualForTrackBy(index, item) : item; + }); + } + this._needsUpdate = true; } - } - /** Apply changes to the DOM. */ - _applyChanges(changes) { - this._viewRepeater.applyChanges(changes, this._viewContainerRef, (record, _adjustedPreviousIndex, currentIndex) => this._getEmbeddedViewArgs(record, currentIndex), record => record.item); - // Update $implicit for any items that had an identity change. - changes.forEachIdentityChange(record => { - const view = this._viewContainerRef.get(record.currentIndex); - view.context.$implicit = record.item; - }); - // Update the context variables on all items. - const count = this._data.length; - let i = this._viewContainerRef.length; - while (i--) { - const view = this._viewContainerRef.get(i); - view.context.index = this._renderedRange.start + i; - view.context.count = count; - this._updateComputedContextProperties(view.context); - } - } - /** Update the computed properties on the `CdkVirtualForOfContext`. */ - _updateComputedContextProperties(context) { - context.first = context.index === 0; - context.last = context.index === context.count - 1; - context.even = context.index % 2 === 0; - context.odd = !context.even; - } - _getEmbeddedViewArgs(record, index) { - // Note that it's important that we insert the item directly at the proper index, - // rather than inserting it and the moving it in place, because if there's a directive - // on the same node that injects the `ViewContainerRef`, Angular will insert another - // comment node which can throw off the move when it's being repeated for all items. - return { - templateRef: this._template, - context: { - $implicit: record.item, - // It's guaranteed that the iterable is not "undefined" or "null" because we only - // generate views for elements if the "cdkVirtualForOf" iterable has elements. - cdkVirtualForOf: this._cdkVirtualForOf, - index: -1, - count: -1, - first: false, - last: false, - odd: false, - even: false - }, - index + /** Swap out one `DataSource` for another. */ + _changeDataSource(oldDs, newDs) { + if (oldDs) { + oldDs.disconnect(this); + } + this._needsUpdate = true; + return newDs ? newDs.connect(this) : (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.of)(); + } + /** Update the `CdkVirtualForOfContext` for all views. */ + _updateContext() { + const count = this._data.length; + let i = this._viewContainerRef.length; + while (i--) { + const view = this._viewContainerRef.get(i); + view.context.index = this._renderedRange.start + i; + view.context.count = count; + this._updateComputedContextProperties(view.context); + view.detectChanges(); + } + } + /** Apply changes to the DOM. */ + _applyChanges(changes) { + this._viewRepeater.applyChanges(changes, this._viewContainerRef, (record, _adjustedPreviousIndex, currentIndex) => this._getEmbeddedViewArgs(record, currentIndex), record => record.item); + // Update $implicit for any items that had an identity change. + changes.forEachIdentityChange(record => { + const view = this._viewContainerRef.get(record.currentIndex); + view.context.$implicit = record.item; + }); + // Update the context variables on all items. + const count = this._data.length; + let i = this._viewContainerRef.length; + while (i--) { + const view = this._viewContainerRef.get(i); + view.context.index = this._renderedRange.start + i; + view.context.count = count; + this._updateComputedContextProperties(view.context); + } + } + /** Update the computed properties on the `CdkVirtualForOfContext`. */ + _updateComputedContextProperties(context) { + context.first = context.index === 0; + context.last = context.index === context.count - 1; + context.even = context.index % 2 === 0; + context.odd = !context.even; + } + _getEmbeddedViewArgs(record, index) { + // Note that it's important that we insert the item directly at the proper index, + // rather than inserting it and the moving it in place, because if there's a directive + // on the same node that injects the `ViewContainerRef`, Angular will insert another + // comment node which can throw off the move when it's being repeated for all items. + return { + templateRef: this._template, + context: { + $implicit: record.item, + // It's guaranteed that the iterable is not "undefined" or "null" because we only + // generate views for elements if the "cdkVirtualForOf" iterable has elements. + cdkVirtualForOf: this._cdkVirtualForOf, + index: -1, + count: -1, + first: false, + last: false, + odd: false, + even: false + }, + index + }; + } + static #_ = this.ɵfac = function CdkVirtualForOf_Factory(t) { + return new (t || CdkVirtualForOf)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__._VIEW_REPEATER_STRATEGY), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](CdkVirtualScrollViewport, 4), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone)); }; - } - static #_ = this.ɵfac = function CdkVirtualForOf_Factory(t) { - return new (t || CdkVirtualForOf)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__._VIEW_REPEATER_STRATEGY), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](CdkVirtualScrollViewport, 4), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkVirtualForOf, - selectors: [["", "cdkVirtualFor", "", "cdkVirtualForOf", ""]], - inputs: { - cdkVirtualForOf: "cdkVirtualForOf", - cdkVirtualForTrackBy: "cdkVirtualForTrackBy", - cdkVirtualForTemplate: "cdkVirtualForTemplate", - cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" - }, - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__._VIEW_REPEATER_STRATEGY, - useClass: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__._RecycleViewRepeaterStrategy - }])] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkVirtualForOf, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkVirtualFor][cdkVirtualForOf]', - providers: [{ + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkVirtualForOf, + selectors: [["", "cdkVirtualFor", "", "cdkVirtualForOf", ""]], + inputs: { + cdkVirtualForOf: "cdkVirtualForOf", + cdkVirtualForTrackBy: "cdkVirtualForTrackBy", + cdkVirtualForTemplate: "cdkVirtualForTemplate", + cdkVirtualForTemplateCacheSize: "cdkVirtualForTemplateCacheSize" + }, + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__._VIEW_REPEATER_STRATEGY, useClass: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__._RecycleViewRepeaterStrategy - }], - standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers - }, { - type: _angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__._RecycleViewRepeaterStrategy, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_17__._VIEW_REPEATER_STRATEGY] - }] - }, { - type: CdkVirtualScrollViewport, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf - }] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }], { - cdkVirtualForOf: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - cdkVirtualForTrackBy: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - cdkVirtualForTemplate: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - cdkVirtualForTemplateCacheSize: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + }])] + }); + } + return CdkVirtualForOf; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Provides a virtual scrollable for the element it is attached to. */ -class CdkVirtualScrollableElement extends CdkVirtualScrollable { - constructor(elementRef, scrollDispatcher, ngZone, dir) { - super(elementRef, scrollDispatcher, ngZone, dir); - } - measureBoundingClientRectWithScrollOffset(from) { - return this.getElementRef().nativeElement.getBoundingClientRect()[from] - this.measureScrollOffset(from); - } - static #_ = this.ɵfac = function CdkVirtualScrollableElement_Factory(t) { - return new (t || CdkVirtualScrollableElement)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkVirtualScrollableElement, - selectors: [["", "cdkVirtualScrollingElement", ""]], - hostAttrs: [1, "cdk-virtual-scrollable"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: VIRTUAL_SCROLLABLE, - useExisting: CdkVirtualScrollableElement - }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkVirtualScrollableElement, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[cdkVirtualScrollingElement]', - providers: [{ +let CdkVirtualScrollableElement = /*#__PURE__*/(() => { + class CdkVirtualScrollableElement extends CdkVirtualScrollable { + constructor(elementRef, scrollDispatcher, ngZone, dir) { + super(elementRef, scrollDispatcher, ngZone, dir); + } + measureBoundingClientRectWithScrollOffset(from) { + return this.getElementRef().nativeElement.getBoundingClientRect()[from] - this.measureScrollOffset(from); + } + static #_ = this.ɵfac = function CdkVirtualScrollableElement_Factory(t) { + return new (t || CdkVirtualScrollableElement)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkVirtualScrollableElement, + selectors: [["", "cdkVirtualScrollingElement", ""]], + hostAttrs: [1, "cdk-virtual-scrollable"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableElement - }], - standalone: true, - host: { - 'class': 'cdk-virtual-scrollable' - } - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: ScrollDispatcher - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }] - }], null); + }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] + }); + } + return CdkVirtualScrollableElement; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Provides as virtual scrollable for the global / window scrollbar. */ -class CdkVirtualScrollableWindow extends CdkVirtualScrollable { - constructor(scrollDispatcher, ngZone, dir) { - super(new _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef(document.documentElement), scrollDispatcher, ngZone, dir); - this._elementScrolled = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => this.ngZone.runOutsideAngular(() => (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.fromEvent)(document, 'scroll').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._destroyed)).subscribe(observer))); - } - measureBoundingClientRectWithScrollOffset(from) { - return this.getElementRef().nativeElement.getBoundingClientRect()[from]; - } - static #_ = this.ɵfac = function CdkVirtualScrollableWindow_Factory(t) { - return new (t || CdkVirtualScrollableWindow)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: CdkVirtualScrollableWindow, - selectors: [["cdk-virtual-scroll-viewport", "scrollWindow", ""]], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ - provide: VIRTUAL_SCROLLABLE, - useExisting: CdkVirtualScrollableWindow - }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkVirtualScrollableWindow, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: 'cdk-virtual-scroll-viewport[scrollWindow]', - providers: [{ +let CdkVirtualScrollableWindow = /*#__PURE__*/(() => { + class CdkVirtualScrollableWindow extends CdkVirtualScrollable { + constructor(scrollDispatcher, ngZone, dir) { + super(new _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef(document.documentElement), scrollDispatcher, ngZone, dir); + this._elementScrolled = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => this.ngZone.runOutsideAngular(() => (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.fromEvent)(document, 'scroll').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.takeUntil)(this._destroyed)).subscribe(observer))); + } + measureBoundingClientRectWithScrollOffset(from) { + return this.getElementRef().nativeElement.getBoundingClientRect()[from]; + } + static #_ = this.ɵfac = function CdkVirtualScrollableWindow_Factory(t) { + return new (t || CdkVirtualScrollableWindow)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ScrollDispatcher), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, 8)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: CdkVirtualScrollableWindow, + selectors: [["cdk-virtual-scroll-viewport", "scrollWindow", ""]], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([{ provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow - }], - standalone: true - }] - }], () => [{ - type: ScrollDispatcher - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone - }, { - type: _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.Directionality, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }] - }], null); + }]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]] + }); + } + return CdkVirtualScrollableWindow; })(); -class CdkScrollableModule { - static #_ = this.ɵfac = function CdkScrollableModule_Factory(t) { - return new (t || CdkScrollableModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: CdkScrollableModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CdkScrollableModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{ - exports: [CdkScrollable], - imports: [CdkScrollable] - }] - }], null, null); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; +})(); +let CdkScrollableModule = /*#__PURE__*/(() => { + class CdkScrollableModule { + static #_ = this.ɵfac = function CdkScrollableModule_Factory(t) { + return new (t || CdkScrollableModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: CdkScrollableModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); + } + return CdkScrollableModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @docs-primary-export */ -class ScrollingModule { - static #_ = this.ɵfac = function ScrollingModule_Factory(t) { - return new (t || ScrollingModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: ScrollingModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ - imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, CdkScrollableModule, _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, CdkScrollableModule] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ScrollingModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{ - imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, CdkScrollableModule, CdkVirtualScrollViewport, CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollableWindow, CdkVirtualScrollableElement], - exports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, CdkScrollableModule, CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollableWindow, CdkVirtualScrollableElement] - }] - }], null, null); +let ScrollingModule = /*#__PURE__*/(() => { + class ScrollingModule { + static #_ = this.ɵfac = function ScrollingModule_Factory(t) { + return new (t || ScrollingModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: ScrollingModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ + imports: [_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, CdkScrollableModule, _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_12__.BidiModule, CdkScrollableModule] + }); + } + return ScrollingModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -81360,10 +91850,11 @@ class ScrollingModule { */ +//# sourceMappingURL=scrolling.mjs.map /***/ }), -/***/ 79401: +/***/ 6554: /*!***********************************************************!*\ !*** ./node_modules/@angular/cdk/fesm2022/text-field.mjs ***! \***********************************************************/ @@ -81377,15 +91868,15 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ CdkTextareaAutosize: () => (/* binding */ CdkTextareaAutosize), /* harmony export */ TextFieldModule: () => (/* binding */ TextFieldModule) /* harmony export */ }); -/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/platform */ 51338); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/coercion */ 79663); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 90523); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 63150); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 47066); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 71654); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 65213); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 39191); +/* harmony import */ var _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/platform */ 71857); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/coercion */ 61432); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 28448); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 907); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 98129); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 25271); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 76340); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 56610); @@ -81396,7 +91887,7 @@ __webpack_require__.r(__webpack_exports__); /** Options to pass to the animationstart listener. */ -const listenerOptions = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.normalizePassiveListenerOptions)({ +const listenerOptions = /*#__PURE__*/(0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.normalizePassiveListenerOptions)({ passive: true }); /** @@ -81404,479 +91895,415 @@ const listenerOptions = (0,_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.no * Based on the following blog post: * https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7 */ -class AutofillMonitor { - constructor(_platform, _ngZone) { - this._platform = _platform; - this._ngZone = _ngZone; - this._monitoredElements = new Map(); - } - monitor(elementOrRef) { - if (!this._platform.isBrowser) { - return rxjs__WEBPACK_IMPORTED_MODULE_1__.EMPTY; - } - const element = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceElement)(elementOrRef); - const info = this._monitoredElements.get(element); - if (info) { - return info.subject; +let AutofillMonitor = /*#__PURE__*/(() => { + class AutofillMonitor { + constructor(_platform, _ngZone) { + this._platform = _platform; + this._ngZone = _ngZone; + this._monitoredElements = new Map(); + } + monitor(elementOrRef) { + if (!this._platform.isBrowser) { + return rxjs__WEBPACK_IMPORTED_MODULE_1__.EMPTY; + } + const element = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceElement)(elementOrRef); + const info = this._monitoredElements.get(element); + if (info) { + return info.subject; + } + const result = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); + const cssClass = 'cdk-text-field-autofilled'; + const listener = event => { + // Animation events fire on initial element render, we check for the presence of the autofill + // CSS class to make sure this is a real change in state, not just the initial render before + // we fire off events. + if (event.animationName === 'cdk-text-field-autofill-start' && !element.classList.contains(cssClass)) { + element.classList.add(cssClass); + this._ngZone.run(() => result.next({ + target: event.target, + isAutofilled: true + })); + } else if (event.animationName === 'cdk-text-field-autofill-end' && element.classList.contains(cssClass)) { + element.classList.remove(cssClass); + this._ngZone.run(() => result.next({ + target: event.target, + isAutofilled: false + })); + } + }; + this._ngZone.runOutsideAngular(() => { + element.addEventListener('animationstart', listener, listenerOptions); + element.classList.add('cdk-text-field-autofill-monitored'); + }); + this._monitoredElements.set(element, { + subject: result, + unlisten: () => { + element.removeEventListener('animationstart', listener, listenerOptions); + } + }); + return result; } - const result = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); - const cssClass = 'cdk-text-field-autofilled'; - const listener = event => { - // Animation events fire on initial element render, we check for the presence of the autofill - // CSS class to make sure this is a real change in state, not just the initial render before - // we fire off events. - if (event.animationName === 'cdk-text-field-autofill-start' && !element.classList.contains(cssClass)) { - element.classList.add(cssClass); - this._ngZone.run(() => result.next({ - target: event.target, - isAutofilled: true - })); - } else if (event.animationName === 'cdk-text-field-autofill-end' && element.classList.contains(cssClass)) { - element.classList.remove(cssClass); - this._ngZone.run(() => result.next({ - target: event.target, - isAutofilled: false - })); + stopMonitoring(elementOrRef) { + const element = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceElement)(elementOrRef); + const info = this._monitoredElements.get(element); + if (info) { + info.unlisten(); + info.subject.complete(); + element.classList.remove('cdk-text-field-autofill-monitored'); + element.classList.remove('cdk-text-field-autofilled'); + this._monitoredElements.delete(element); } + } + ngOnDestroy() { + this._monitoredElements.forEach((_info, element) => this.stopMonitoring(element)); + } + static #_ = this.ɵfac = function AutofillMonitor_Factory(t) { + return new (t || AutofillMonitor)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone)); }; - this._ngZone.runOutsideAngular(() => { - element.addEventListener('animationstart', listener, listenerOptions); - element.classList.add('cdk-text-field-autofill-monitored'); - }); - this._monitoredElements.set(element, { - subject: result, - unlisten: () => { - element.removeEventListener('animationstart', listener, listenerOptions); - } + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ + token: AutofillMonitor, + factory: AutofillMonitor.ɵfac, + providedIn: 'root' }); - return result; - } - stopMonitoring(elementOrRef) { - const element = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceElement)(elementOrRef); - const info = this._monitoredElements.get(element); - if (info) { - info.unlisten(); - info.subject.complete(); - element.classList.remove('cdk-text-field-autofill-monitored'); - element.classList.remove('cdk-text-field-autofilled'); - this._monitoredElements.delete(element); - } - } - ngOnDestroy() { - this._monitoredElements.forEach((_info, element) => this.stopMonitoring(element)); } - static #_ = this.ɵfac = function AutofillMonitor_Factory(t) { - return new (t || AutofillMonitor)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ - token: AutofillMonitor, - factory: AutofillMonitor.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](AutofillMonitor, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable, - args: [{ - providedIn: 'root' - }] - }], () => [{ - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.Platform - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone - }], null); + return AutofillMonitor; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** A directive that can be used to monitor the autofill state of an input. */ -class CdkAutofill { - constructor(_elementRef, _autofillMonitor) { - this._elementRef = _elementRef; - this._autofillMonitor = _autofillMonitor; - /** Emits when the autofill state of the element changes. */ - this.cdkAutofill = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); - } - ngOnInit() { - this._autofillMonitor.monitor(this._elementRef).subscribe(event => this.cdkAutofill.emit(event)); - } - ngOnDestroy() { - this._autofillMonitor.stopMonitoring(this._elementRef); - } - static #_ = this.ɵfac = function CdkAutofill_Factory(t) { - return new (t || CdkAutofill)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](AutofillMonitor)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ - type: CdkAutofill, - selectors: [["", "cdkAutofill", ""]], - outputs: { - cdkAutofill: "cdkAutofill" - }, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](CdkAutofill, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Directive, - args: [{ - selector: '[cdkAutofill]', +let CdkAutofill = /*#__PURE__*/(() => { + class CdkAutofill { + constructor(_elementRef, _autofillMonitor) { + this._elementRef = _elementRef; + this._autofillMonitor = _autofillMonitor; + /** Emits when the autofill state of the element changes. */ + this.cdkAutofill = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.EventEmitter(); + } + ngOnInit() { + this._autofillMonitor.monitor(this._elementRef).subscribe(event => this.cdkAutofill.emit(event)); + } + ngOnDestroy() { + this._autofillMonitor.stopMonitoring(this._elementRef); + } + static #_ = this.ɵfac = function CdkAutofill_Factory(t) { + return new (t || CdkAutofill)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](AutofillMonitor)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ + type: CdkAutofill, + selectors: [["", "cdkAutofill", ""]], + outputs: { + cdkAutofill: "cdkAutofill" + }, standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef - }, { - type: AutofillMonitor - }], { - cdkAutofill: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Output - }] - }); + }); + } + return CdkAutofill; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** Directive to automatically resize a textarea to fit its content. */ -class CdkTextareaAutosize { - /** Minimum amount of rows in the textarea. */ - get minRows() { - return this._minRows; - } - set minRows(value) { - this._minRows = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceNumberProperty)(value); - this._setMinHeight(); - } - /** Maximum amount of rows in the textarea. */ - get maxRows() { - return this._maxRows; - } - set maxRows(value) { - this._maxRows = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceNumberProperty)(value); - this._setMaxHeight(); - } - /** Whether autosizing is enabled or not */ - get enabled() { - return this._enabled; - } - set enabled(value) { - // Only act if the actual value changed. This specifically helps to not run - // resizeToFitContent too early (i.e. before ngAfterViewInit) - if (this._enabled !== value) { - (this._enabled = value) ? this.resizeToFitContent(true) : this.reset(); +let CdkTextareaAutosize = /*#__PURE__*/(() => { + class CdkTextareaAutosize { + /** Minimum amount of rows in the textarea. */ + get minRows() { + return this._minRows; + } + set minRows(value) { + this._minRows = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceNumberProperty)(value); + this._setMinHeight(); + } + /** Maximum amount of rows in the textarea. */ + get maxRows() { + return this._maxRows; + } + set maxRows(value) { + this._maxRows = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceNumberProperty)(value); + this._setMaxHeight(); + } + /** Whether autosizing is enabled or not */ + get enabled() { + return this._enabled; + } + set enabled(value) { + // Only act if the actual value changed. This specifically helps to not run + // resizeToFitContent too early (i.e. before ngAfterViewInit) + if (this._enabled !== value) { + (this._enabled = value) ? this.resizeToFitContent(true) : this.reset(); + } + } + get placeholder() { + return this._textareaElement.placeholder; + } + set placeholder(value) { + this._cachedPlaceholderHeight = undefined; + if (value) { + this._textareaElement.setAttribute('placeholder', value); + } else { + this._textareaElement.removeAttribute('placeholder'); + } + this._cacheTextareaPlaceholderHeight(); } - } - get placeholder() { - return this._textareaElement.placeholder; - } - set placeholder(value) { - this._cachedPlaceholderHeight = undefined; - if (value) { - this._textareaElement.setAttribute('placeholder', value); - } else { - this._textareaElement.removeAttribute('placeholder'); + constructor(_elementRef, _platform, _ngZone, /** @breaking-change 11.0.0 make document required */ + document) { + this._elementRef = _elementRef; + this._platform = _platform; + this._ngZone = _ngZone; + this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); + this._enabled = true; + /** + * Value of minRows as of last resize. If the minRows has decreased, the + * height of the textarea needs to be recomputed to reflect the new minimum. The maxHeight + * does not have the same problem because it does not affect the textarea's scrollHeight. + */ + this._previousMinRows = -1; + this._isViewInited = false; + /** Handles `focus` and `blur` events. */ + this._handleFocusEvent = event => { + this._hasFocus = event.type === 'focus'; + }; + this._document = document; + this._textareaElement = this._elementRef.nativeElement; + } + /** Sets the minimum height of the textarea as determined by minRows. */ + _setMinHeight() { + const minHeight = this.minRows && this._cachedLineHeight ? `${this.minRows * this._cachedLineHeight}px` : null; + if (minHeight) { + this._textareaElement.style.minHeight = minHeight; + } + } + /** Sets the maximum height of the textarea as determined by maxRows. */ + _setMaxHeight() { + const maxHeight = this.maxRows && this._cachedLineHeight ? `${this.maxRows * this._cachedLineHeight}px` : null; + if (maxHeight) { + this._textareaElement.style.maxHeight = maxHeight; + } + } + ngAfterViewInit() { + if (this._platform.isBrowser) { + // Remember the height which we started with in case autosizing is disabled + this._initialHeight = this._textareaElement.style.height; + this.resizeToFitContent(); + this._ngZone.runOutsideAngular(() => { + const window = this._getWindow(); + (0,rxjs__WEBPACK_IMPORTED_MODULE_5__.fromEvent)(window, 'resize').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.auditTime)(16), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.takeUntil)(this._destroyed)).subscribe(() => this.resizeToFitContent(true)); + this._textareaElement.addEventListener('focus', this._handleFocusEvent); + this._textareaElement.addEventListener('blur', this._handleFocusEvent); + }); + this._isViewInited = true; + this.resizeToFitContent(true); + } + } + ngOnDestroy() { + this._textareaElement.removeEventListener('focus', this._handleFocusEvent); + this._textareaElement.removeEventListener('blur', this._handleFocusEvent); + this._destroyed.next(); + this._destroyed.complete(); } - this._cacheTextareaPlaceholderHeight(); - } - constructor(_elementRef, _platform, _ngZone, /** @breaking-change 11.0.0 make document required */ - document) { - this._elementRef = _elementRef; - this._platform = _platform; - this._ngZone = _ngZone; - this._destroyed = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); - this._enabled = true; /** - * Value of minRows as of last resize. If the minRows has decreased, the - * height of the textarea needs to be recomputed to reflect the new minimum. The maxHeight - * does not have the same problem because it does not affect the textarea's scrollHeight. + * Cache the height of a single-row textarea if it has not already been cached. + * + * We need to know how large a single "row" of a textarea is in order to apply minRows and + * maxRows. For the initial version, we will assume that the height of a single line in the + * textarea does not ever change. */ - this._previousMinRows = -1; - this._isViewInited = false; - /** Handles `focus` and `blur` events. */ - this._handleFocusEvent = event => { - this._hasFocus = event.type === 'focus'; - }; - this._document = document; - this._textareaElement = this._elementRef.nativeElement; - } - /** Sets the minimum height of the textarea as determined by minRows. */ - _setMinHeight() { - const minHeight = this.minRows && this._cachedLineHeight ? `${this.minRows * this._cachedLineHeight}px` : null; - if (minHeight) { - this._textareaElement.style.minHeight = minHeight; + _cacheTextareaLineHeight() { + if (this._cachedLineHeight) { + return; + } + // Use a clone element because we have to override some styles. + let textareaClone = this._textareaElement.cloneNode(false); + textareaClone.rows = 1; + // Use `position: absolute` so that this doesn't cause a browser layout and use + // `visibility: hidden` so that nothing is rendered. Clear any other styles that + // would affect the height. + textareaClone.style.position = 'absolute'; + textareaClone.style.visibility = 'hidden'; + textareaClone.style.border = 'none'; + textareaClone.style.padding = '0'; + textareaClone.style.height = ''; + textareaClone.style.minHeight = ''; + textareaClone.style.maxHeight = ''; + // In Firefox it happens that textarea elements are always bigger than the specified amount + // of rows. This is because Firefox tries to add extra space for the horizontal scrollbar. + // As a workaround that removes the extra space for the scrollbar, we can just set overflow + // to hidden. This ensures that there is no invalid calculation of the line height. + // See Firefox bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=33654 + textareaClone.style.overflow = 'hidden'; + this._textareaElement.parentNode.appendChild(textareaClone); + this._cachedLineHeight = textareaClone.clientHeight; + textareaClone.remove(); + // Min and max heights have to be re-calculated if the cached line height changes + this._setMinHeight(); + this._setMaxHeight(); + } + _measureScrollHeight() { + const element = this._textareaElement; + const previousMargin = element.style.marginBottom || ''; + const isFirefox = this._platform.FIREFOX; + const needsMarginFiller = isFirefox && this._hasFocus; + const measuringClass = isFirefox ? 'cdk-textarea-autosize-measuring-firefox' : 'cdk-textarea-autosize-measuring'; + // In some cases the page might move around while we're measuring the `textarea` on Firefox. We + // work around it by assigning a temporary margin with the same height as the `textarea` so that + // it occupies the same amount of space. See #23233. + if (needsMarginFiller) { + element.style.marginBottom = `${element.clientHeight}px`; + } + // Reset the textarea height to auto in order to shrink back to its default size. + // Also temporarily force overflow:hidden, so scroll bars do not interfere with calculations. + element.classList.add(measuringClass); + // The measuring class includes a 2px padding to workaround an issue with Chrome, + // so we account for that extra space here by subtracting 4 (2px top + 2px bottom). + const scrollHeight = element.scrollHeight - 4; + element.classList.remove(measuringClass); + if (needsMarginFiller) { + element.style.marginBottom = previousMargin; + } + return scrollHeight; + } + _cacheTextareaPlaceholderHeight() { + if (!this._isViewInited || this._cachedPlaceholderHeight != undefined) { + return; + } + if (!this.placeholder) { + this._cachedPlaceholderHeight = 0; + return; + } + const value = this._textareaElement.value; + this._textareaElement.value = this._textareaElement.placeholder; + this._cachedPlaceholderHeight = this._measureScrollHeight(); + this._textareaElement.value = value; } - } - /** Sets the maximum height of the textarea as determined by maxRows. */ - _setMaxHeight() { - const maxHeight = this.maxRows && this._cachedLineHeight ? `${this.maxRows * this._cachedLineHeight}px` : null; - if (maxHeight) { - this._textareaElement.style.maxHeight = maxHeight; + ngDoCheck() { + if (this._platform.isBrowser) { + this.resizeToFitContent(); + } } - } - ngAfterViewInit() { - if (this._platform.isBrowser) { - // Remember the height which we started with in case autosizing is disabled - this._initialHeight = this._textareaElement.style.height; - this.resizeToFitContent(); + /** + * Resize the textarea to fit its content. + * @param force Whether to force a height recalculation. By default the height will be + * recalculated only if the value changed since the last call. + */ + resizeToFitContent(force = false) { + // If autosizing is disabled, just skip everything else + if (!this._enabled) { + return; + } + this._cacheTextareaLineHeight(); + this._cacheTextareaPlaceholderHeight(); + // If we haven't determined the line-height yet, we know we're still hidden and there's no point + // in checking the height of the textarea. + if (!this._cachedLineHeight) { + return; + } + const textarea = this._elementRef.nativeElement; + const value = textarea.value; + // Only resize if the value or minRows have changed since these calculations can be expensive. + if (!force && this._minRows === this._previousMinRows && value === this._previousValue) { + return; + } + const scrollHeight = this._measureScrollHeight(); + const height = Math.max(scrollHeight, this._cachedPlaceholderHeight || 0); + // Use the scrollHeight to know how large the textarea *would* be if fit its entire value. + textarea.style.height = `${height}px`; this._ngZone.runOutsideAngular(() => { - const window = this._getWindow(); - (0,rxjs__WEBPACK_IMPORTED_MODULE_5__.fromEvent)(window, 'resize').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.auditTime)(16), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.takeUntil)(this._destroyed)).subscribe(() => this.resizeToFitContent(true)); - this._textareaElement.addEventListener('focus', this._handleFocusEvent); - this._textareaElement.addEventListener('blur', this._handleFocusEvent); + if (typeof requestAnimationFrame !== 'undefined') { + requestAnimationFrame(() => this._scrollToCaretPosition(textarea)); + } else { + setTimeout(() => this._scrollToCaretPosition(textarea)); + } }); - this._isViewInited = true; - this.resizeToFitContent(true); - } - } - ngOnDestroy() { - this._textareaElement.removeEventListener('focus', this._handleFocusEvent); - this._textareaElement.removeEventListener('blur', this._handleFocusEvent); - this._destroyed.next(); - this._destroyed.complete(); - } - /** - * Cache the height of a single-row textarea if it has not already been cached. - * - * We need to know how large a single "row" of a textarea is in order to apply minRows and - * maxRows. For the initial version, we will assume that the height of a single line in the - * textarea does not ever change. - */ - _cacheTextareaLineHeight() { - if (this._cachedLineHeight) { - return; - } - // Use a clone element because we have to override some styles. - let textareaClone = this._textareaElement.cloneNode(false); - textareaClone.rows = 1; - // Use `position: absolute` so that this doesn't cause a browser layout and use - // `visibility: hidden` so that nothing is rendered. Clear any other styles that - // would affect the height. - textareaClone.style.position = 'absolute'; - textareaClone.style.visibility = 'hidden'; - textareaClone.style.border = 'none'; - textareaClone.style.padding = '0'; - textareaClone.style.height = ''; - textareaClone.style.minHeight = ''; - textareaClone.style.maxHeight = ''; - // In Firefox it happens that textarea elements are always bigger than the specified amount - // of rows. This is because Firefox tries to add extra space for the horizontal scrollbar. - // As a workaround that removes the extra space for the scrollbar, we can just set overflow - // to hidden. This ensures that there is no invalid calculation of the line height. - // See Firefox bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=33654 - textareaClone.style.overflow = 'hidden'; - this._textareaElement.parentNode.appendChild(textareaClone); - this._cachedLineHeight = textareaClone.clientHeight; - textareaClone.remove(); - // Min and max heights have to be re-calculated if the cached line height changes - this._setMinHeight(); - this._setMaxHeight(); - } - _measureScrollHeight() { - const element = this._textareaElement; - const previousMargin = element.style.marginBottom || ''; - const isFirefox = this._platform.FIREFOX; - const needsMarginFiller = isFirefox && this._hasFocus; - const measuringClass = isFirefox ? 'cdk-textarea-autosize-measuring-firefox' : 'cdk-textarea-autosize-measuring'; - // In some cases the page might move around while we're measuring the `textarea` on Firefox. We - // work around it by assigning a temporary margin with the same height as the `textarea` so that - // it occupies the same amount of space. See #23233. - if (needsMarginFiller) { - element.style.marginBottom = `${element.clientHeight}px`; - } - // Reset the textarea height to auto in order to shrink back to its default size. - // Also temporarily force overflow:hidden, so scroll bars do not interfere with calculations. - element.classList.add(measuringClass); - // The measuring class includes a 2px padding to workaround an issue with Chrome, - // so we account for that extra space here by subtracting 4 (2px top + 2px bottom). - const scrollHeight = element.scrollHeight - 4; - element.classList.remove(measuringClass); - if (needsMarginFiller) { - element.style.marginBottom = previousMargin; - } - return scrollHeight; - } - _cacheTextareaPlaceholderHeight() { - if (!this._isViewInited || this._cachedPlaceholderHeight != undefined) { - return; + this._previousValue = value; + this._previousMinRows = this._minRows; } - if (!this.placeholder) { - this._cachedPlaceholderHeight = 0; - return; - } - const value = this._textareaElement.value; - this._textareaElement.value = this._textareaElement.placeholder; - this._cachedPlaceholderHeight = this._measureScrollHeight(); - this._textareaElement.value = value; - } - ngDoCheck() { - if (this._platform.isBrowser) { - this.resizeToFitContent(); + /** + * Resets the textarea to its original size + */ + reset() { + // Do not try to change the textarea, if the initialHeight has not been determined yet + // This might potentially remove styles when reset() is called before ngAfterViewInit + if (this._initialHeight !== undefined) { + this._textareaElement.style.height = this._initialHeight; + } } - } - /** - * Resize the textarea to fit its content. - * @param force Whether to force a height recalculation. By default the height will be - * recalculated only if the value changed since the last call. - */ - resizeToFitContent(force = false) { - // If autosizing is disabled, just skip everything else - if (!this._enabled) { - return; + _noopInputHandler() { + // no-op handler that ensures we're running change detection on input events. } - this._cacheTextareaLineHeight(); - this._cacheTextareaPlaceholderHeight(); - // If we haven't determined the line-height yet, we know we're still hidden and there's no point - // in checking the height of the textarea. - if (!this._cachedLineHeight) { - return; + /** Access injected document if available or fallback to global document reference */ + _getDocument() { + return this._document || document; } - const textarea = this._elementRef.nativeElement; - const value = textarea.value; - // Only resize if the value or minRows have changed since these calculations can be expensive. - if (!force && this._minRows === this._previousMinRows && value === this._previousValue) { - return; + /** Use defaultView of injected document if available or fallback to global window reference */ + _getWindow() { + const doc = this._getDocument(); + return doc.defaultView || window; } - const scrollHeight = this._measureScrollHeight(); - const height = Math.max(scrollHeight, this._cachedPlaceholderHeight || 0); - // Use the scrollHeight to know how large the textarea *would* be if fit its entire value. - textarea.style.height = `${height}px`; - this._ngZone.runOutsideAngular(() => { - if (typeof requestAnimationFrame !== 'undefined') { - requestAnimationFrame(() => this._scrollToCaretPosition(textarea)); - } else { - setTimeout(() => this._scrollToCaretPosition(textarea)); - } + /** + * Scrolls a textarea to the caret position. On Firefox resizing the textarea will + * prevent it from scrolling to the caret position. We need to re-set the selection + * in order for it to scroll to the proper position. + */ + _scrollToCaretPosition(textarea) { + const { + selectionStart, + selectionEnd + } = textarea; + // IE will throw an "Unspecified error" if we try to set the selection range after the + // element has been removed from the DOM. Assert that the directive hasn't been destroyed + // between the time we requested the animation frame and when it was executed. + // Also note that we have to assert that the textarea is focused before we set the + // selection range. Setting the selection range on a non-focused textarea will cause + // it to receive focus on IE and Edge. + if (!this._destroyed.isStopped && this._hasFocus) { + textarea.setSelectionRange(selectionStart, selectionEnd); + } + } + static #_ = this.ɵfac = function CdkTextareaAutosize_Factory(t) { + return new (t || CdkTextareaAutosize)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_8__.DOCUMENT, 8)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ + type: CdkTextareaAutosize, + selectors: [["textarea", "cdkTextareaAutosize", ""]], + hostAttrs: ["rows", "1", 1, "cdk-textarea-autosize"], + hostBindings: function CdkTextareaAutosize_HostBindings(rf, ctx) { + if (rf & 1) { + _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function CdkTextareaAutosize_input_HostBindingHandler() { + return ctx._noopInputHandler(); + }); + } + }, + inputs: { + minRows: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkAutosizeMinRows", "minRows"], + maxRows: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkAutosizeMaxRows", "maxRows"], + enabled: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkTextareaAutosize", "enabled", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], + placeholder: "placeholder" + }, + exportAs: ["cdkTextareaAutosize"], + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputTransformsFeature"]] }); - this._previousValue = value; - this._previousMinRows = this._minRows; - } - /** - * Resets the textarea to its original size - */ - reset() { - // Do not try to change the textarea, if the initialHeight has not been determined yet - // This might potentially remove styles when reset() is called before ngAfterViewInit - if (this._initialHeight !== undefined) { - this._textareaElement.style.height = this._initialHeight; - } - } - _noopInputHandler() { - // no-op handler that ensures we're running change detection on input events. } - /** Access injected document if available or fallback to global document reference */ - _getDocument() { - return this._document || document; - } - /** Use defaultView of injected document if available or fallback to global window reference */ - _getWindow() { - const doc = this._getDocument(); - return doc.defaultView || window; + return CdkTextareaAutosize; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; +})(); +let TextFieldModule = /*#__PURE__*/(() => { + class TextFieldModule { + static #_ = this.ɵfac = function TextFieldModule_Factory(t) { + return new (t || TextFieldModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ + type: TextFieldModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({}); } - /** - * Scrolls a textarea to the caret position. On Firefox resizing the textarea will - * prevent it from scrolling to the caret position. We need to re-set the selection - * in order for it to scroll to the proper position. - */ - _scrollToCaretPosition(textarea) { - const { - selectionStart, - selectionEnd - } = textarea; - // IE will throw an "Unspecified error" if we try to set the selection range after the - // element has been removed from the DOM. Assert that the directive hasn't been destroyed - // between the time we requested the animation frame and when it was executed. - // Also note that we have to assert that the textarea is focused before we set the - // selection range. Setting the selection range on a non-focused textarea will cause - // it to receive focus on IE and Edge. - if (!this._destroyed.isStopped && this._hasFocus) { - textarea.setSelectionRange(selectionStart, selectionEnd); - } - } - static #_ = this.ɵfac = function CdkTextareaAutosize_Factory(t) { - return new (t || CdkTextareaAutosize)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.Platform), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_8__.DOCUMENT, 8)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineDirective"]({ - type: CdkTextareaAutosize, - selectors: [["textarea", "cdkTextareaAutosize", ""]], - hostAttrs: ["rows", "1", 1, "cdk-textarea-autosize"], - hostBindings: function CdkTextareaAutosize_HostBindings(rf, ctx) { - if (rf & 1) { - _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("input", function CdkTextareaAutosize_input_HostBindingHandler() { - return ctx._noopInputHandler(); - }); - } - }, - inputs: { - minRows: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkAutosizeMinRows", "minRows"], - maxRows: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].None, "cdkAutosizeMaxRows", "maxRows"], - enabled: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputFlags"].HasDecoratorInputTransform, "cdkTextareaAutosize", "enabled", _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute], - placeholder: "placeholder" - }, - exportAs: ["cdkTextareaAutosize"], - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵInputTransformsFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](CdkTextareaAutosize, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Directive, - args: [{ - selector: 'textarea[cdkTextareaAutosize]', - exportAs: 'cdkTextareaAutosize', - host: { - 'class': 'cdk-textarea-autosize', - // Textarea elements that have the directive applied should have a single row by default. - // Browsers normally show two rows by default and therefore this limits the minRows binding. - 'rows': '1', - '(input)': '_noopInputHandler()' - }, - standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef - }, { - type: _angular_cdk_platform__WEBPACK_IMPORTED_MODULE_0__.Platform - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject, - args: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.DOCUMENT] - }] - }], { - minRows: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkAutosizeMinRows'] - }], - maxRows: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: ['cdkAutosizeMaxRows'] - }], - enabled: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input, - args: [{ - alias: 'cdkTextareaAutosize', - transform: _angular_core__WEBPACK_IMPORTED_MODULE_4__.booleanAttribute - }] - }], - placeholder: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Input - }] - }); + return TextFieldModule; })(); -class TextFieldModule { - static #_ = this.ɵfac = function TextFieldModule_Factory(t) { - return new (t || TextFieldModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ - type: TextFieldModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({}); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](TextFieldModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule, - args: [{ - imports: [CdkAutofill, CdkTextareaAutosize], - exports: [CdkAutofill, CdkTextareaAutosize] - }] - }], null, null); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -81884,10 +92311,11 @@ class TextFieldModule { */ +//# sourceMappingURL=text-field.mjs.map /***/ }), -/***/ 39191: +/***/ 56610: /*!**********************************************************!*\ !*** ./node_modules/@angular/common/fesm2022/common.mjs ***! \**********************************************************/ @@ -81998,7 +92426,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "ɵparseCookieValue": () => (/* binding */ parseCookieValue), /* harmony export */ "ɵsetRootDomAdapter": () => (/* binding */ setRootDomAdapter) /* harmony export */ }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 96623); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2978); /** * @license Angular v17.3.3 * (c) 2010-2022 Google LLC. https://angular.io/ @@ -82028,24 +92456,21 @@ class DomAdapter {} * This class wraps the platform Navigation API which allows server-specific and test * implementations. */ -class PlatformNavigation { - static #_ = this.ɵfac = function PlatformNavigation_Factory(t) { - return new (t || PlatformNavigation)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: PlatformNavigation, - factory: () => (() => window.navigation)(), - providedIn: 'platform' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PlatformNavigation, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'platform', - useFactory: () => window.navigation - }] - }], null, null); +let PlatformNavigation = /*#__PURE__*/(() => { + class PlatformNavigation { + static #_ = this.ɵfac = function PlatformNavigation_Factory(t) { + return new (t || PlatformNavigation)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: PlatformNavigation, + factory: () => (() => window.navigation)(), + providedIn: 'platform' + }); + } + return PlatformNavigation; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -82055,7 +92480,7 @@ class PlatformNavigation { * * @publicApi */ -const DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'DocumentToken' : ''); +const DOCUMENT = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'DocumentToken' : ''); /** * This class should not be used directly by an application developer. Instead, use @@ -82079,27 +92504,24 @@ const DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(n * * @publicApi */ -class PlatformLocation { - historyGo(relativePosition) { - throw new Error(ngDevMode ? 'Not implemented' : ''); +let PlatformLocation = /*#__PURE__*/(() => { + class PlatformLocation { + historyGo(relativePosition) { + throw new Error(ngDevMode ? 'Not implemented' : ''); + } + static #_ = this.ɵfac = function PlatformLocation_Factory(t) { + return new (t || PlatformLocation)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: PlatformLocation, + factory: () => (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(BrowserPlatformLocation))(), + providedIn: 'platform' + }); } - static #_ = this.ɵfac = function PlatformLocation_Factory(t) { - return new (t || PlatformLocation)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: PlatformLocation, - factory: () => (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(BrowserPlatformLocation))(), - providedIn: 'platform' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PlatformLocation, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'platform', - useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(BrowserPlatformLocation) - }] - }], null, null); + return PlatformLocation; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @description @@ -82107,7 +92529,7 @@ class PlatformLocation { * * @publicApi */ -const LOCATION_INITIALIZED = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'Location Initialized' : ''); +const LOCATION_INITIALIZED = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'Location Initialized' : ''); /** * `PlatformLocation` encapsulates all of the direct calls to platform APIs. * This class should not be used directly by an application developer. Instead, use @@ -82115,85 +92537,82 @@ const LOCATION_INITIALIZED = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inje * * @publicApi */ -class BrowserPlatformLocation extends PlatformLocation { - constructor() { - super(); - this._doc = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT); - this._location = window.location; - this._history = window.history; - } - getBaseHrefFromDOM() { - return getDOM().getBaseHref(this._doc); - } - onPopState(fn) { - const window = getDOM().getGlobalEventTarget(this._doc, 'window'); - window.addEventListener('popstate', fn, false); - return () => window.removeEventListener('popstate', fn); - } - onHashChange(fn) { - const window = getDOM().getGlobalEventTarget(this._doc, 'window'); - window.addEventListener('hashchange', fn, false); - return () => window.removeEventListener('hashchange', fn); - } - 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(newPath) { - this._location.pathname = newPath; - } - pushState(state, title, url) { - this._history.pushState(state, title, url); - } - replaceState(state, title, url) { - this._history.replaceState(state, title, url); - } - forward() { - this._history.forward(); - } - back() { - this._history.back(); - } - historyGo(relativePosition = 0) { - this._history.go(relativePosition); - } - getState() { - return this._history.state; +let BrowserPlatformLocation = /*#__PURE__*/(() => { + class BrowserPlatformLocation extends PlatformLocation { + constructor() { + super(); + this._doc = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT); + this._location = window.location; + this._history = window.history; + } + getBaseHrefFromDOM() { + return getDOM().getBaseHref(this._doc); + } + onPopState(fn) { + const window = getDOM().getGlobalEventTarget(this._doc, 'window'); + window.addEventListener('popstate', fn, false); + return () => window.removeEventListener('popstate', fn); + } + onHashChange(fn) { + const window = getDOM().getGlobalEventTarget(this._doc, 'window'); + window.addEventListener('hashchange', fn, false); + return () => window.removeEventListener('hashchange', fn); + } + 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(newPath) { + this._location.pathname = newPath; + } + pushState(state, title, url) { + this._history.pushState(state, title, url); + } + replaceState(state, title, url) { + this._history.replaceState(state, title, url); + } + forward() { + this._history.forward(); + } + back() { + this._history.back(); + } + historyGo(relativePosition = 0) { + this._history.go(relativePosition); + } + getState() { + return this._history.state; + } + static #_ = this.ɵfac = function BrowserPlatformLocation_Factory(t) { + return new (t || BrowserPlatformLocation)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: BrowserPlatformLocation, + factory: () => (() => new BrowserPlatformLocation())(), + providedIn: 'platform' + }); } - static #_ = this.ɵfac = function BrowserPlatformLocation_Factory(t) { - return new (t || BrowserPlatformLocation)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: BrowserPlatformLocation, - factory: () => (() => new BrowserPlatformLocation())(), - providedIn: 'platform' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BrowserPlatformLocation, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'platform', - useFactory: () => new BrowserPlatformLocation() - }] - }], () => [], null); + return BrowserPlatformLocation; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -82270,27 +92689,24 @@ function normalizeQueryParams(params) { * * @publicApi */ -class LocationStrategy { - historyGo(relativePosition) { - throw new Error(ngDevMode ? 'Not implemented' : ''); +let LocationStrategy = /*#__PURE__*/(() => { + class LocationStrategy { + historyGo(relativePosition) { + throw new Error(ngDevMode ? 'Not implemented' : ''); + } + static #_ = this.ɵfac = function LocationStrategy_Factory(t) { + return new (t || LocationStrategy)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: LocationStrategy, + factory: () => (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PathLocationStrategy))(), + providedIn: 'root' + }); } - static #_ = this.ɵfac = function LocationStrategy_Factory(t) { - return new (t || LocationStrategy)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: LocationStrategy, - factory: () => (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PathLocationStrategy))(), - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LocationStrategy, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'root', - useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PathLocationStrategy) - }] - }], null, null); + return LocationStrategy; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * A predefined [DI token](guide/glossary#di-token) for the base href @@ -82315,7 +92731,7 @@ class LocationStrategy { * * @publicApi */ -const APP_BASE_HREF = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'appBaseHref' : ''); +const APP_BASE_HREF = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'appBaseHref' : ''); /** * @description * A {@link LocationStrategy} used to configure the {@link Location} service to @@ -82347,79 +92763,67 @@ const APP_BASE_HREF = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionTo * * @publicApi */ -class PathLocationStrategy extends LocationStrategy { - constructor(_platformLocation, href) { - super(); - this._platformLocation = _platformLocation; - this._removeListenerFns = []; - this._baseHref = href ?? this._platformLocation.getBaseHrefFromDOM() ?? (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT).location?.origin ?? ''; - } - /** @nodoc */ - ngOnDestroy() { - while (this._removeListenerFns.length) { - this._removeListenerFns.pop()(); +let PathLocationStrategy = /*#__PURE__*/(() => { + class PathLocationStrategy extends LocationStrategy { + constructor(_platformLocation, href) { + super(); + this._platformLocation = _platformLocation; + this._removeListenerFns = []; + this._baseHref = href ?? this._platformLocation.getBaseHrefFromDOM() ?? (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT).location?.origin ?? ''; } - } - onPopState(fn) { - this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn)); - } - getBaseHref() { - return this._baseHref; - } - prepareExternalUrl(internal) { - return joinWithSlash(this._baseHref, internal); - } - path(includeHash = false) { - const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search); - const hash = this._platformLocation.hash; - return hash && includeHash ? `${pathname}${hash}` : pathname; - } - pushState(state, title, url, queryParams) { - const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams)); - this._platformLocation.pushState(state, title, externalUrl); - } - replaceState(state, title, url, queryParams) { - const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams)); - this._platformLocation.replaceState(state, title, externalUrl); - } - forward() { - this._platformLocation.forward(); - } - back() { - this._platformLocation.back(); - } - getState() { - return this._platformLocation.getState(); - } - historyGo(relativePosition = 0) { - this._platformLocation.historyGo?.(relativePosition); - } - static #_ = this.ɵfac = function PathLocationStrategy_Factory(t) { - return new (t || PathLocationStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PlatformLocation), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](APP_BASE_HREF, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: PathLocationStrategy, - factory: PathLocationStrategy.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PathLocationStrategy, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + /** @nodoc */ + ngOnDestroy() { + while (this._removeListenerFns.length) { + this._removeListenerFns.pop()(); + } + } + onPopState(fn) { + this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn)); + } + getBaseHref() { + return this._baseHref; + } + prepareExternalUrl(internal) { + return joinWithSlash(this._baseHref, internal); + } + path(includeHash = false) { + const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search); + const hash = this._platformLocation.hash; + return hash && includeHash ? `${pathname}${hash}` : pathname; + } + pushState(state, title, url, queryParams) { + const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams)); + this._platformLocation.pushState(state, title, externalUrl); + } + replaceState(state, title, url, queryParams) { + const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams)); + this._platformLocation.replaceState(state, title, externalUrl); + } + forward() { + this._platformLocation.forward(); + } + back() { + this._platformLocation.back(); + } + getState() { + return this._platformLocation.getState(); + } + historyGo(relativePosition = 0) { + this._platformLocation.historyGo?.(relativePosition); + } + static #_ = this.ɵfac = function PathLocationStrategy_Factory(t) { + return new (t || PathLocationStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PlatformLocation), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](APP_BASE_HREF, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: PathLocationStrategy, + factory: PathLocationStrategy.ɵfac, providedIn: 'root' - }] - }], () => [{ - type: PlatformLocation - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [APP_BASE_HREF] - }] - }], null); + }); + } + return PathLocationStrategy; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -82440,86 +92844,77 @@ class PathLocationStrategy extends LocationStrategy { * * @publicApi */ -class HashLocationStrategy extends LocationStrategy { - constructor(_platformLocation, _baseHref) { - super(); - this._platformLocation = _platformLocation; - this._baseHref = ''; - this._removeListenerFns = []; - if (_baseHref != null) { - this._baseHref = _baseHref; +let HashLocationStrategy = /*#__PURE__*/(() => { + class HashLocationStrategy extends LocationStrategy { + constructor(_platformLocation, _baseHref) { + super(); + this._platformLocation = _platformLocation; + this._baseHref = ''; + this._removeListenerFns = []; + if (_baseHref != null) { + this._baseHref = _baseHref; + } } - } - /** @nodoc */ - ngOnDestroy() { - while (this._removeListenerFns.length) { - this._removeListenerFns.pop()(); + /** @nodoc */ + ngOnDestroy() { + while (this._removeListenerFns.length) { + this._removeListenerFns.pop()(); + } } - } - onPopState(fn) { - this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn)); - } - getBaseHref() { - return this._baseHref; - } - path(includeHash = false) { - // the hash value is always prefixed with a `#` - // and if it is empty then it will stay empty - const path = this._platformLocation.hash ?? '#'; - return path.length > 0 ? path.substring(1) : path; - } - prepareExternalUrl(internal) { - const url = joinWithSlash(this._baseHref, internal); - return url.length > 0 ? '#' + url : url; - } - pushState(state, title, path, queryParams) { - let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams)); - if (url.length == 0) { - url = this._platformLocation.pathname; + onPopState(fn) { + this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn)); } - this._platformLocation.pushState(state, title, url); - } - replaceState(state, title, path, queryParams) { - let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams)); - if (url.length == 0) { - url = this._platformLocation.pathname; + getBaseHref() { + return this._baseHref; } - this._platformLocation.replaceState(state, title, url); - } - forward() { - this._platformLocation.forward(); - } - back() { - this._platformLocation.back(); - } - getState() { - return this._platformLocation.getState(); - } - historyGo(relativePosition = 0) { - this._platformLocation.historyGo?.(relativePosition); + path(includeHash = false) { + // the hash value is always prefixed with a `#` + // and if it is empty then it will stay empty + const path = this._platformLocation.hash ?? '#'; + return path.length > 0 ? path.substring(1) : path; + } + prepareExternalUrl(internal) { + const url = joinWithSlash(this._baseHref, internal); + return url.length > 0 ? '#' + url : url; + } + pushState(state, title, path, queryParams) { + let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams)); + if (url.length == 0) { + url = this._platformLocation.pathname; + } + this._platformLocation.pushState(state, title, url); + } + replaceState(state, title, path, queryParams) { + let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams)); + if (url.length == 0) { + url = this._platformLocation.pathname; + } + this._platformLocation.replaceState(state, title, url); + } + forward() { + this._platformLocation.forward(); + } + back() { + this._platformLocation.back(); + } + getState() { + return this._platformLocation.getState(); + } + historyGo(relativePosition = 0) { + this._platformLocation.historyGo?.(relativePosition); + } + static #_ = this.ɵfac = function HashLocationStrategy_Factory(t) { + return new (t || HashLocationStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PlatformLocation), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](APP_BASE_HREF, 8)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: HashLocationStrategy, + factory: HashLocationStrategy.ɵfac + }); } - static #_ = this.ɵfac = function HashLocationStrategy_Factory(t) { - return new (t || HashLocationStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PlatformLocation), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](APP_BASE_HREF, 8)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: HashLocationStrategy, - factory: HashLocationStrategy.ɵfac - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HashLocationStrategy, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable - }], () => [{ - type: PlatformLocation - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [APP_BASE_HREF] - }] - }], null); + return HashLocationStrategy; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -82550,240 +92945,234 @@ class HashLocationStrategy extends LocationStrategy { * * @publicApi */ -class Location { - constructor(locationStrategy) { - /** @internal */ - this._subject = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); - /** @internal */ - this._urlChangeListeners = []; - /** @internal */ - this._urlChangeSubscription = null; - this._locationStrategy = locationStrategy; - const baseHref = this._locationStrategy.getBaseHref(); - // Note: This class's interaction with base HREF does not fully follow the rules - // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm. - // Instead of trying to fix individual bugs with more and more code, we should - // investigate using the URL constructor and providing the base as a second - // argument. - // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters - this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref))); - this._locationStrategy.onPopState(ev => { - this._subject.emit({ - 'url': this.path(true), - 'pop': true, - 'state': ev.state, - 'type': ev.type +let Location = /*#__PURE__*/(() => { + class Location { + constructor(locationStrategy) { + /** @internal */ + this._subject = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); + /** @internal */ + this._urlChangeListeners = []; + /** @internal */ + this._urlChangeSubscription = null; + this._locationStrategy = locationStrategy; + const baseHref = this._locationStrategy.getBaseHref(); + // Note: This class's interaction with base HREF does not fully follow the rules + // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm. + // Instead of trying to fix individual bugs with more and more code, we should + // investigate using the URL constructor and providing the base as a second + // argument. + // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters + this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref))); + this._locationStrategy.onPopState(ev => { + this._subject.emit({ + 'url': this.path(true), + 'pop': true, + 'state': ev.state, + 'type': ev.type + }); }); - }); - } - /** @nodoc */ - ngOnDestroy() { - this._urlChangeSubscription?.unsubscribe(); - this._urlChangeListeners = []; - } - /** - * Normalizes the URL path for this location. - * - * @param includeHash True to include an anchor fragment in the path. - * - * @returns The normalized URL path. - */ - // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is - // removed. - path(includeHash = false) { - return this.normalize(this._locationStrategy.path(includeHash)); - } - /** - * Reports the current state of the location history. - * @returns The current value of the `history.state` object. - */ - getState() { - return this._locationStrategy.getState(); - } - /** - * Normalizes the given path and compares to the current normalized path. - * - * @param path The given URL path. - * @param query Query parameters. - * - * @returns True if the given URL path is equal to the current normalized path, false - * otherwise. - */ - isCurrentPathEqualTo(path, query = '') { - return this.path() == this.normalize(path + normalizeQueryParams(query)); - } - /** - * Normalizes a URL path by stripping any trailing slashes. - * - * @param url String representing a URL. - * - * @returns The normalized URL string. - */ - normalize(url) { - return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url))); - } - /** - * Normalizes an external URL path. - * If the given URL doesn't begin with a leading slash (`'/'`), adds one - * before normalizing. Adds a hash if `HashLocationStrategy` is - * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use. - * - * @param url String representing a URL. - * - * @returns A normalized platform-specific URL. - */ - prepareExternalUrl(url) { - if (url && url[0] !== '/') { - url = '/' + url; } - return this._locationStrategy.prepareExternalUrl(url); - } - // TODO: rename this method to pushState - /** - * Changes the browser's URL to a normalized version of a given URL, and pushes a - * new item onto the platform's history. - * - * @param path URL path to normalize. - * @param query Query parameters. - * @param state Location history state. - * - */ - go(path, query = '', state = null) { - this._locationStrategy.pushState(state, '', path, query); - this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state); - } - /** - * Changes the browser's URL to a normalized version of the given URL, and replaces - * the top item on the platform's history stack. - * - * @param path URL path to normalize. - * @param query Query parameters. - * @param state Location history state. - */ - replaceState(path, query = '', state = null) { - this._locationStrategy.replaceState(state, '', path, query); - this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state); - } - /** - * Navigates forward in the platform's history. - */ - forward() { - this._locationStrategy.forward(); - } - /** - * Navigates back in the platform's history. - */ - back() { - this._locationStrategy.back(); - } - /** - * Navigate to a specific page from session history, identified by its relative position to the - * current page. - * - * @param relativePosition Position of the target page in the history relative to the current - * page. - * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)` - * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go - * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs - * when `relativePosition` equals 0. - * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history - */ - historyGo(relativePosition = 0) { - this._locationStrategy.historyGo?.(relativePosition); - } - /** - * Registers a URL change listener. Use to catch updates performed by the Angular - * framework that are not detectible through "popstate" or "hashchange" events. - * - * @param fn The change handler function, which take a URL and a location history state. - * @returns A function that, when executed, unregisters a URL change listener. - */ - onUrlChange(fn) { - this._urlChangeListeners.push(fn); - this._urlChangeSubscription ??= this.subscribe(v => { - this._notifyUrlChangeListeners(v.url, v.state); - }); - return () => { - const fnIndex = this._urlChangeListeners.indexOf(fn); - this._urlChangeListeners.splice(fnIndex, 1); - if (this._urlChangeListeners.length === 0) { - this._urlChangeSubscription?.unsubscribe(); - this._urlChangeSubscription = null; + /** @nodoc */ + ngOnDestroy() { + this._urlChangeSubscription?.unsubscribe(); + this._urlChangeListeners = []; + } + /** + * Normalizes the URL path for this location. + * + * @param includeHash True to include an anchor fragment in the path. + * + * @returns The normalized URL path. + */ + // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is + // removed. + path(includeHash = false) { + return this.normalize(this._locationStrategy.path(includeHash)); + } + /** + * Reports the current state of the location history. + * @returns The current value of the `history.state` object. + */ + getState() { + return this._locationStrategy.getState(); + } + /** + * Normalizes the given path and compares to the current normalized path. + * + * @param path The given URL path. + * @param query Query parameters. + * + * @returns True if the given URL path is equal to the current normalized path, false + * otherwise. + */ + isCurrentPathEqualTo(path, query = '') { + return this.path() == this.normalize(path + normalizeQueryParams(query)); + } + /** + * Normalizes a URL path by stripping any trailing slashes. + * + * @param url String representing a URL. + * + * @returns The normalized URL string. + */ + normalize(url) { + return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url))); + } + /** + * Normalizes an external URL path. + * If the given URL doesn't begin with a leading slash (`'/'`), adds one + * before normalizing. Adds a hash if `HashLocationStrategy` is + * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use. + * + * @param url String representing a URL. + * + * @returns A normalized platform-specific URL. + */ + prepareExternalUrl(url) { + if (url && url[0] !== '/') { + url = '/' + url; } + return this._locationStrategy.prepareExternalUrl(url); + } + // TODO: rename this method to pushState + /** + * Changes the browser's URL to a normalized version of a given URL, and pushes a + * new item onto the platform's history. + * + * @param path URL path to normalize. + * @param query Query parameters. + * @param state Location history state. + * + */ + go(path, query = '', state = null) { + this._locationStrategy.pushState(state, '', path, query); + this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state); + } + /** + * Changes the browser's URL to a normalized version of the given URL, and replaces + * the top item on the platform's history stack. + * + * @param path URL path to normalize. + * @param query Query parameters. + * @param state Location history state. + */ + replaceState(path, query = '', state = null) { + this._locationStrategy.replaceState(state, '', path, query); + this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state); + } + /** + * Navigates forward in the platform's history. + */ + forward() { + this._locationStrategy.forward(); + } + /** + * Navigates back in the platform's history. + */ + back() { + this._locationStrategy.back(); + } + /** + * Navigate to a specific page from session history, identified by its relative position to the + * current page. + * + * @param relativePosition Position of the target page in the history relative to the current + * page. + * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)` + * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go + * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs + * when `relativePosition` equals 0. + * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history + */ + historyGo(relativePosition = 0) { + this._locationStrategy.historyGo?.(relativePosition); + } + /** + * Registers a URL change listener. Use to catch updates performed by the Angular + * framework that are not detectible through "popstate" or "hashchange" events. + * + * @param fn The change handler function, which take a URL and a location history state. + * @returns A function that, when executed, unregisters a URL change listener. + */ + onUrlChange(fn) { + this._urlChangeListeners.push(fn); + this._urlChangeSubscription ??= this.subscribe(v => { + this._notifyUrlChangeListeners(v.url, v.state); + }); + return () => { + const fnIndex = this._urlChangeListeners.indexOf(fn); + this._urlChangeListeners.splice(fnIndex, 1); + if (this._urlChangeListeners.length === 0) { + this._urlChangeSubscription?.unsubscribe(); + this._urlChangeSubscription = null; + } + }; + } + /** @internal */ + _notifyUrlChangeListeners(url = '', state) { + this._urlChangeListeners.forEach(fn => fn(url, state)); + } + /** + * Subscribes to the platform's `popState` events. + * + * Note: `Location.go()` does not trigger the `popState` event in the browser. Use + * `Location.onUrlChange()` to subscribe to URL changes instead. + * + * @param value Event that is triggered when the state history changes. + * @param exception The exception to throw. + * + * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate) + * + * @returns Subscribed events. + */ + subscribe(onNext, onThrow, onReturn) { + return this._subject.subscribe({ + next: onNext, + error: onThrow, + complete: onReturn + }); + } + /** + * Normalizes URL parameters by prepending with `?` if needed. + * + * @param params String of URL parameters. + * + * @returns The normalized URL parameters string. + */ + static #_ = this.normalizeQueryParams = normalizeQueryParams; + /** + * Joins two parts of a URL with a slash if needed. + * + * @param start URL string + * @param end URL string + * + * + * @returns The joined URL string. + */ + static #_2 = this.joinWithSlash = joinWithSlash; + /** + * Removes a trailing slash from a URL string if needed. + * Looks for the first occurrence of either `#`, `?`, or the end of the + * line as `/` characters and removes the trailing slash if one exists. + * + * @param url URL string. + * + * @returns The URL string, modified if needed. + */ + static #_3 = this.stripTrailingSlash = stripTrailingSlash; + static #_4 = this.ɵfac = function Location_Factory(t) { + return new (t || Location)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](LocationStrategy)); }; - } - /** @internal */ - _notifyUrlChangeListeners(url = '', state) { - this._urlChangeListeners.forEach(fn => fn(url, state)); - } - /** - * Subscribes to the platform's `popState` events. - * - * Note: `Location.go()` does not trigger the `popState` event in the browser. Use - * `Location.onUrlChange()` to subscribe to URL changes instead. - * - * @param value Event that is triggered when the state history changes. - * @param exception The exception to throw. - * - * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate) - * - * @returns Subscribed events. - */ - subscribe(onNext, onThrow, onReturn) { - return this._subject.subscribe({ - next: onNext, - error: onThrow, - complete: onReturn + static #_5 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: Location, + factory: () => createLocation(), + providedIn: 'root' }); } - /** - * Normalizes URL parameters by prepending with `?` if needed. - * - * @param params String of URL parameters. - * - * @returns The normalized URL parameters string. - */ - static #_ = this.normalizeQueryParams = normalizeQueryParams; - /** - * Joins two parts of a URL with a slash if needed. - * - * @param start URL string - * @param end URL string - * - * - * @returns The joined URL string. - */ - static #_2 = this.joinWithSlash = joinWithSlash; - /** - * Removes a trailing slash from a URL string if needed. - * Looks for the first occurrence of either `#`, `?`, or the end of the - * line as `/` characters and removes the trailing slash if one exists. - * - * @param url URL string. - * - * @returns The URL string, modified if needed. - */ - static #_3 = this.stripTrailingSlash = stripTrailingSlash; - static #_4 = this.ɵfac = function Location_Factory(t) { - return new (t || Location)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](LocationStrategy)); - }; - static #_5 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: Location, - factory: () => createLocation(), - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Location, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'root', - // See #23917 - useFactory: createLocation - }] - }], () => [{ - type: LocationStrategy - }], null); + return Location; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); function createLocation() { return new Location((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(LocationStrategy)); @@ -82966,13 +93355,13 @@ const CURRENCIES_EN = { * * @publicApi */ -var NumberFormatStyle; -(function (NumberFormatStyle) { +var NumberFormatStyle = /*#__PURE__*/function (NumberFormatStyle) { NumberFormatStyle[NumberFormatStyle["Decimal"] = 0] = "Decimal"; NumberFormatStyle[NumberFormatStyle["Percent"] = 1] = "Percent"; NumberFormatStyle[NumberFormatStyle["Currency"] = 2] = "Currency"; NumberFormatStyle[NumberFormatStyle["Scientific"] = 3] = "Scientific"; -})(NumberFormatStyle || (NumberFormatStyle = {})); + return NumberFormatStyle; +}(NumberFormatStyle || {}); /** * Plurality cases used for translating plurals to different languages. * @@ -82982,15 +93371,15 @@ var NumberFormatStyle; * * @publicApi */ -var Plural; -(function (Plural) { +var Plural = /*#__PURE__*/function (Plural) { Plural[Plural["Zero"] = 0] = "Zero"; Plural[Plural["One"] = 1] = "One"; Plural[Plural["Two"] = 2] = "Two"; Plural[Plural["Few"] = 3] = "Few"; Plural[Plural["Many"] = 4] = "Many"; Plural[Plural["Other"] = 5] = "Other"; -})(Plural || (Plural = {})); + return Plural; +}(Plural || {}); /** * Context-dependant translation forms for strings. * Typically the standalone version is for the nominative form of the word, @@ -83000,11 +93389,11 @@ var Plural; * * @publicApi */ -var FormStyle; -(function (FormStyle) { +var FormStyle = /*#__PURE__*/function (FormStyle) { FormStyle[FormStyle["Format"] = 0] = "Format"; FormStyle[FormStyle["Standalone"] = 1] = "Standalone"; -})(FormStyle || (FormStyle = {})); + return FormStyle; +}(FormStyle || {}); /** * String widths available for translations. * The specific character widths are locale-specific. @@ -83012,8 +93401,7 @@ var FormStyle; * * @publicApi */ -var TranslationWidth; -(function (TranslationWidth) { +var TranslationWidth = /*#__PURE__*/function (TranslationWidth) { /** 1 character for `en-US`. For example: 'S' */ TranslationWidth[TranslationWidth["Narrow"] = 0] = "Narrow"; /** 3 characters for `en-US`. For example: 'Sun' */ @@ -83022,7 +93410,8 @@ var TranslationWidth; TranslationWidth[TranslationWidth["Wide"] = 2] = "Wide"; /** 2 characters for `en-US`, For example: "Su" */ TranslationWidth[TranslationWidth["Short"] = 3] = "Short"; -})(TranslationWidth || (TranslationWidth = {})); + return TranslationWidth; +}(TranslationWidth || {}); /** * String widths available for date-time formats. * The specific character widths are locale-specific. @@ -83034,8 +93423,7 @@ var TranslationWidth; * @see [Internationalization (i18n) Guide](/guide/i18n-overview) * @publicApi */ -var FormatWidth; -(function (FormatWidth) { +var FormatWidth = /*#__PURE__*/function (FormatWidth) { /** * For `en-US`, 'M/d/yy, h:mm a'` * (Example: `6/15/15, 9:03 AM`) @@ -83056,7 +93444,8 @@ var FormatWidth; * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`) */ FormatWidth[FormatWidth["Full"] = 3] = "Full"; -})(FormatWidth || (FormatWidth = {})); + return FormatWidth; +}(FormatWidth || {}); // This needs to be an object literal, rather than an enum, because TypeScript 5.4+ // doesn't allow numeric keys and we have `Infinity` and `NaN`. /** @@ -83148,8 +93537,7 @@ const NumberSymbol = { * * @publicApi */ -var WeekDay; -(function (WeekDay) { +var WeekDay = /*#__PURE__*/function (WeekDay) { WeekDay[WeekDay["Sunday"] = 0] = "Sunday"; WeekDay[WeekDay["Monday"] = 1] = "Monday"; WeekDay[WeekDay["Tuesday"] = 2] = "Tuesday"; @@ -83157,7 +93545,8 @@ var WeekDay; WeekDay[WeekDay["Thursday"] = 4] = "Thursday"; WeekDay[WeekDay["Friday"] = 5] = "Friday"; WeekDay[WeekDay["Saturday"] = 6] = "Saturday"; -})(WeekDay || (WeekDay = {})); + return WeekDay; +}(WeekDay || {}); /** * Retrieves the locale ID from the currently loaded locale. * The loaded locale could be, for example, a global one rather than a regional one. @@ -83584,15 +93973,14 @@ const ISO8601_DATE_REGEX = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?( // 1 2 3 4 5 6 7 8 9 10 11 const NAMED_FORMATS = {}; const DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/; -var ZoneWidth; -(function (ZoneWidth) { +var ZoneWidth = /*#__PURE__*/function (ZoneWidth) { ZoneWidth[ZoneWidth["Short"] = 0] = "Short"; ZoneWidth[ZoneWidth["ShortGMT"] = 1] = "ShortGMT"; ZoneWidth[ZoneWidth["Long"] = 2] = "Long"; ZoneWidth[ZoneWidth["Extended"] = 3] = "Extended"; -})(ZoneWidth || (ZoneWidth = {})); -var DateType; -(function (DateType) { + return ZoneWidth; +}(ZoneWidth || {}); +var DateType = /*#__PURE__*/function (DateType) { DateType[DateType["FullYear"] = 0] = "FullYear"; DateType[DateType["Month"] = 1] = "Month"; DateType[DateType["Date"] = 2] = "Date"; @@ -83601,14 +93989,15 @@ var DateType; DateType[DateType["Seconds"] = 5] = "Seconds"; DateType[DateType["FractionalSeconds"] = 6] = "FractionalSeconds"; DateType[DateType["Day"] = 7] = "Day"; -})(DateType || (DateType = {})); -var TranslationType; -(function (TranslationType) { + return DateType; +}(DateType || {}); +var TranslationType = /*#__PURE__*/function (TranslationType) { TranslationType[TranslationType["DayPeriods"] = 0] = "DayPeriods"; TranslationType[TranslationType["Days"] = 1] = "Days"; TranslationType[TranslationType["Months"] = 2] = "Months"; TranslationType[TranslationType["Eras"] = 3] = "Eras"; -})(TranslationType || (TranslationType = {})); + return TranslationType; +}(TranslationType || {}); /** * @ngModule CommonModule * @description @@ -84681,33 +95070,29 @@ function parseIntAutoRadix(text) { /** * @publicApi */ -class NgLocalization { - static #_ = this.ɵfac = function NgLocalization_Factory(t) { - return new (t || NgLocalization)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: NgLocalization, - factory: function NgLocalization_Factory(t) { - let r = null; - if (t) { - r = new t(); - } else { - r = (locale => new NgLocaleLocalization(locale))(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID)); - } - return r; - }, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgLocalization, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ - providedIn: 'root', - useFactory: locale => new NgLocaleLocalization(locale), - deps: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID] - }] - }], null, null); +let NgLocalization = /*#__PURE__*/(() => { + class NgLocalization { + static #_ = this.ɵfac = function NgLocalization_Factory(t) { + return new (t || NgLocalization)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: NgLocalization, + factory: function NgLocalization_Factory(t) { + let r = null; + if (t) { + r = new t(); + } else { + r = (locale => new NgLocaleLocalization(locale))(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID)); + } + return r; + }, + providedIn: 'root' + }); + } + return NgLocalization; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Returns the plural category for a given value. @@ -84733,46 +95118,41 @@ function getPluralCategory(value, cases, ngLocalization, locale) { * * @publicApi */ -class NgLocaleLocalization extends NgLocalization { - constructor(locale) { - super(); - this.locale = locale; - } - getPluralCategory(value, locale) { - const plural = getLocalePluralCase(locale || this.locale)(value); - switch (plural) { - case Plural.Zero: - return 'zero'; - case Plural.One: - return 'one'; - case Plural.Two: - return 'two'; - case Plural.Few: - return 'few'; - case Plural.Many: - return 'many'; - default: - return 'other'; +let NgLocaleLocalization = /*#__PURE__*/(() => { + class NgLocaleLocalization extends NgLocalization { + constructor(locale) { + super(); + this.locale = locale; + } + getPluralCategory(value, locale) { + const plural = getLocalePluralCase(locale || this.locale)(value); + switch (plural) { + case Plural.Zero: + return 'zero'; + case Plural.One: + return 'one'; + case Plural.Two: + return 'two'; + case Plural.Few: + return 'few'; + case Plural.Many: + return 'many'; + default: + return 'other'; + } } + static #_ = this.ɵfac = function NgLocaleLocalization_Factory(t) { + return new (t || NgLocaleLocalization)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: NgLocaleLocalization, + factory: NgLocaleLocalization.ɵfac + }); } - static #_ = this.ɵfac = function NgLocaleLocalization_Factory(t) { - return new (t || NgLocaleLocalization)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: NgLocaleLocalization, - factory: NgLocaleLocalization.ɵfac - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgLocaleLocalization, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID] - }] - }], null); + return NgLocaleLocalization; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -84828,144 +95208,128 @@ const EMPTY_ARRAY = []; * * @publicApi */ -class NgClass { - constructor(_ngEl, _renderer) { - this._ngEl = _ngEl; - this._renderer = _renderer; - this.initialClasses = EMPTY_ARRAY; - this.stateMap = new Map(); - } - set klass(value) { - this.initialClasses = value != null ? value.trim().split(WS_REGEXP) : EMPTY_ARRAY; - } - set ngClass(value) { - this.rawClass = typeof value === 'string' ? value.trim().split(WS_REGEXP) : value; - } - /* - The NgClass directive uses the custom change detection algorithm for its inputs. The custom - algorithm is necessary since inputs are represented as complex object or arrays that need to be - deeply-compared. - This algorithm is perf-sensitive since NgClass is used very frequently and its poor performance - might negatively impact runtime performance of the entire change detection cycle. The design of - this algorithm is making sure that: - - there is no unnecessary DOM manipulation (CSS classes are added / removed from the DOM only when - needed), even if references to bound objects change; - - there is no memory allocation if nothing changes (even relatively modest memory allocation - during the change detection cycle can result in GC pauses for some of the CD cycles). - The algorithm works by iterating over the set of bound classes, staring with [class] binding and - then going over [ngClass] binding. For each CSS class name: - - check if it was seen before (this information is tracked in the state map) and if its value - changed; - - mark it as "touched" - names that are not marked are not present in the latest set of binding - and we can remove such class name from the internal data structures; - After iteration over all the CSS class names we've got data structure with all the information - necessary to synchronize changes to the DOM - it is enough to iterate over the state map, flush - changes to the DOM and reset internal data structures so those are ready for the next change - detection cycle. - */ - ngDoCheck() { - // classes from the [class] binding - for (const klass of this.initialClasses) { - this._updateState(klass, true); - } - // classes from the [ngClass] binding - const rawClass = this.rawClass; - if (Array.isArray(rawClass) || rawClass instanceof Set) { - for (const klass of rawClass) { +let NgClass = /*#__PURE__*/(() => { + class NgClass { + constructor(_ngEl, _renderer) { + this._ngEl = _ngEl; + this._renderer = _renderer; + this.initialClasses = EMPTY_ARRAY; + this.stateMap = new Map(); + } + set klass(value) { + this.initialClasses = value != null ? value.trim().split(WS_REGEXP) : EMPTY_ARRAY; + } + set ngClass(value) { + this.rawClass = typeof value === 'string' ? value.trim().split(WS_REGEXP) : value; + } + /* + The NgClass directive uses the custom change detection algorithm for its inputs. The custom + algorithm is necessary since inputs are represented as complex object or arrays that need to be + deeply-compared. + This algorithm is perf-sensitive since NgClass is used very frequently and its poor performance + might negatively impact runtime performance of the entire change detection cycle. The design of + this algorithm is making sure that: + - there is no unnecessary DOM manipulation (CSS classes are added / removed from the DOM only when + needed), even if references to bound objects change; + - there is no memory allocation if nothing changes (even relatively modest memory allocation + during the change detection cycle can result in GC pauses for some of the CD cycles). + The algorithm works by iterating over the set of bound classes, staring with [class] binding and + then going over [ngClass] binding. For each CSS class name: + - check if it was seen before (this information is tracked in the state map) and if its value + changed; + - mark it as "touched" - names that are not marked are not present in the latest set of binding + and we can remove such class name from the internal data structures; + After iteration over all the CSS class names we've got data structure with all the information + necessary to synchronize changes to the DOM - it is enough to iterate over the state map, flush + changes to the DOM and reset internal data structures so those are ready for the next change + detection cycle. + */ + ngDoCheck() { + // classes from the [class] binding + for (const klass of this.initialClasses) { this._updateState(klass, true); } - } else if (rawClass != null) { - for (const klass of Object.keys(rawClass)) { - this._updateState(klass, Boolean(rawClass[klass])); - } - } - this._applyStateDiff(); - } - _updateState(klass, nextEnabled) { - const state = this.stateMap.get(klass); - if (state !== undefined) { - if (state.enabled !== nextEnabled) { - state.changed = true; - state.enabled = nextEnabled; + // classes from the [ngClass] binding + const rawClass = this.rawClass; + if (Array.isArray(rawClass) || rawClass instanceof Set) { + for (const klass of rawClass) { + this._updateState(klass, true); + } + } else if (rawClass != null) { + for (const klass of Object.keys(rawClass)) { + this._updateState(klass, Boolean(rawClass[klass])); + } } - state.touched = true; - } else { - this.stateMap.set(klass, { - enabled: nextEnabled, - changed: true, - touched: true - }); + this._applyStateDiff(); } - } - _applyStateDiff() { - for (const stateEntry of this.stateMap) { - const klass = stateEntry[0]; - const state = stateEntry[1]; - if (state.changed) { - this._toggleClass(klass, state.enabled); - state.changed = false; - } else if (!state.touched) { - // A class that was previously active got removed from the new collection of classes - - // remove from the DOM as well. - if (state.enabled) { - this._toggleClass(klass, false); + _updateState(klass, nextEnabled) { + const state = this.stateMap.get(klass); + if (state !== undefined) { + if (state.enabled !== nextEnabled) { + state.changed = true; + state.enabled = nextEnabled; } - this.stateMap.delete(klass); + state.touched = true; + } else { + this.stateMap.set(klass, { + enabled: nextEnabled, + changed: true, + touched: true + }); } - state.touched = false; } - } - _toggleClass(klass, enabled) { - if (ngDevMode) { - if (typeof klass !== 'string') { - throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵstringify"])(klass)}`); + _applyStateDiff() { + for (const stateEntry of this.stateMap) { + const klass = stateEntry[0]; + const state = stateEntry[1]; + if (state.changed) { + this._toggleClass(klass, state.enabled); + state.changed = false; + } else if (!state.touched) { + // A class that was previously active got removed from the new collection of classes - + // remove from the DOM as well. + if (state.enabled) { + this._toggleClass(klass, false); + } + this.stateMap.delete(klass); + } + state.touched = false; } } - klass = klass.trim(); - if (klass.length > 0) { - klass.split(WS_REGEXP).forEach(klass => { - if (enabled) { - this._renderer.addClass(this._ngEl.nativeElement, klass); - } else { - this._renderer.removeClass(this._ngEl.nativeElement, klass); + _toggleClass(klass, enabled) { + if (ngDevMode) { + if (typeof klass !== 'string') { + throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵstringify"])(klass)}`); } - }); + } + klass = klass.trim(); + if (klass.length > 0) { + klass.split(WS_REGEXP).forEach(klass => { + if (enabled) { + this._renderer.addClass(this._ngEl.nativeElement, klass); + } else { + this._renderer.removeClass(this._ngEl.nativeElement, klass); + } + }); + } } - } - static #_ = this.ɵfac = function NgClass_Factory(t) { - return new (t || NgClass)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgClass, - selectors: [["", "ngClass", ""]], - inputs: { - klass: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "class", "klass"], - ngClass: "ngClass" - }, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgClass, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngClass]', + static #_ = this.ɵfac = function NgClass_Factory(t) { + return new (t || NgClass)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgClass, + selectors: [["", "ngClass", ""]], + inputs: { + klass: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].None, "class", "klass"], + ngClass: "ngClass" + }, standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2 - }], { - klass: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: ['class'] - }], - ngClass: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: ['ngClass'] - }] - }); + }); + } + return NgClass; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -85037,130 +95401,106 @@ class NgClass { * @publicApi * @ngModule CommonModule */ -class NgComponentOutlet { - constructor(_viewContainerRef) { - this._viewContainerRef = _viewContainerRef; - this.ngComponentOutlet = null; - /** - * A helper data structure that allows us to track inputs that were part of the - * ngComponentOutletInputs expression. Tracking inputs is necessary for proper removal of ones - * that are no longer referenced. - */ - this._inputsUsed = new Map(); - } - _needToReCreateNgModuleInstance(changes) { - // Note: square brackets property accessor is safe for Closure compiler optimizations (the - // `changes` argument of the `ngOnChanges` lifecycle hook retains the names of the fields that - // were changed). - return changes['ngComponentOutletNgModule'] !== undefined || changes['ngComponentOutletNgModuleFactory'] !== undefined; - } - _needToReCreateComponentInstance(changes) { - // Note: square brackets property accessor is safe for Closure compiler optimizations (the - // `changes` argument of the `ngOnChanges` lifecycle hook retains the names of the fields that - // were changed). - return changes['ngComponentOutlet'] !== undefined || changes['ngComponentOutletContent'] !== undefined || changes['ngComponentOutletInjector'] !== undefined || this._needToReCreateNgModuleInstance(changes); - } - /** @nodoc */ - ngOnChanges(changes) { - if (this._needToReCreateComponentInstance(changes)) { - this._viewContainerRef.clear(); - this._inputsUsed.clear(); - this._componentRef = undefined; - if (this.ngComponentOutlet) { - const injector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector; - if (this._needToReCreateNgModuleInstance(changes)) { - this._moduleRef?.destroy(); - if (this.ngComponentOutletNgModule) { - this._moduleRef = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.createNgModule)(this.ngComponentOutletNgModule, getParentInjector(injector)); - } else if (this.ngComponentOutletNgModuleFactory) { - this._moduleRef = this.ngComponentOutletNgModuleFactory.create(getParentInjector(injector)); - } else { - this._moduleRef = undefined; +let NgComponentOutlet = /*#__PURE__*/(() => { + class NgComponentOutlet { + constructor(_viewContainerRef) { + this._viewContainerRef = _viewContainerRef; + this.ngComponentOutlet = null; + /** + * A helper data structure that allows us to track inputs that were part of the + * ngComponentOutletInputs expression. Tracking inputs is necessary for proper removal of ones + * that are no longer referenced. + */ + this._inputsUsed = new Map(); + } + _needToReCreateNgModuleInstance(changes) { + // Note: square brackets property accessor is safe for Closure compiler optimizations (the + // `changes` argument of the `ngOnChanges` lifecycle hook retains the names of the fields that + // were changed). + return changes['ngComponentOutletNgModule'] !== undefined || changes['ngComponentOutletNgModuleFactory'] !== undefined; + } + _needToReCreateComponentInstance(changes) { + // Note: square brackets property accessor is safe for Closure compiler optimizations (the + // `changes` argument of the `ngOnChanges` lifecycle hook retains the names of the fields that + // were changed). + return changes['ngComponentOutlet'] !== undefined || changes['ngComponentOutletContent'] !== undefined || changes['ngComponentOutletInjector'] !== undefined || this._needToReCreateNgModuleInstance(changes); + } + /** @nodoc */ + ngOnChanges(changes) { + if (this._needToReCreateComponentInstance(changes)) { + this._viewContainerRef.clear(); + this._inputsUsed.clear(); + this._componentRef = undefined; + if (this.ngComponentOutlet) { + const injector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector; + if (this._needToReCreateNgModuleInstance(changes)) { + this._moduleRef?.destroy(); + if (this.ngComponentOutletNgModule) { + this._moduleRef = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.createNgModule)(this.ngComponentOutletNgModule, getParentInjector(injector)); + } else if (this.ngComponentOutletNgModuleFactory) { + this._moduleRef = this.ngComponentOutletNgModuleFactory.create(getParentInjector(injector)); + } else { + this._moduleRef = undefined; + } } + this._componentRef = this._viewContainerRef.createComponent(this.ngComponentOutlet, { + injector, + ngModuleRef: this._moduleRef, + projectableNodes: this.ngComponentOutletContent + }); } - this._componentRef = this._viewContainerRef.createComponent(this.ngComponentOutlet, { - injector, - ngModuleRef: this._moduleRef, - projectableNodes: this.ngComponentOutletContent - }); } } - } - /** @nodoc */ - ngDoCheck() { - if (this._componentRef) { - if (this.ngComponentOutletInputs) { - for (const inputName of Object.keys(this.ngComponentOutletInputs)) { - this._inputsUsed.set(inputName, true); + /** @nodoc */ + ngDoCheck() { + if (this._componentRef) { + if (this.ngComponentOutletInputs) { + for (const inputName of Object.keys(this.ngComponentOutletInputs)) { + this._inputsUsed.set(inputName, true); + } } + this._applyInputStateDiff(this._componentRef); } - this._applyInputStateDiff(this._componentRef); } - } - /** @nodoc */ - ngOnDestroy() { - this._moduleRef?.destroy(); - } - _applyInputStateDiff(componentRef) { - for (const [inputName, touched] of this._inputsUsed) { - if (!touched) { - // The input that was previously active no longer exists and needs to be set to undefined. - componentRef.setInput(inputName, undefined); - this._inputsUsed.delete(inputName); - } else { - // Since touched is true, it can be asserted that the inputs object is not empty. - componentRef.setInput(inputName, this.ngComponentOutletInputs[inputName]); - this._inputsUsed.set(inputName, false); + /** @nodoc */ + ngOnDestroy() { + this._moduleRef?.destroy(); + } + _applyInputStateDiff(componentRef) { + for (const [inputName, touched] of this._inputsUsed) { + if (!touched) { + // The input that was previously active no longer exists and needs to be set to undefined. + componentRef.setInput(inputName, undefined); + this._inputsUsed.delete(inputName); + } else { + // Since touched is true, it can be asserted that the inputs object is not empty. + componentRef.setInput(inputName, this.ngComponentOutletInputs[inputName]); + this._inputsUsed.set(inputName, false); + } } } + static #_ = this.ɵfac = function NgComponentOutlet_Factory(t) { + return new (t || NgComponentOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgComponentOutlet, + selectors: [["", "ngComponentOutlet", ""]], + inputs: { + ngComponentOutlet: "ngComponentOutlet", + ngComponentOutletInputs: "ngComponentOutletInputs", + ngComponentOutletInjector: "ngComponentOutletInjector", + ngComponentOutletContent: "ngComponentOutletContent", + ngComponentOutletNgModule: "ngComponentOutletNgModule", + ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" + }, + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] + }); } - static #_ = this.ɵfac = function NgComponentOutlet_Factory(t) { - return new (t || NgComponentOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgComponentOutlet, - selectors: [["", "ngComponentOutlet", ""]], - inputs: { - ngComponentOutlet: "ngComponentOutlet", - ngComponentOutletInputs: "ngComponentOutletInputs", - ngComponentOutletInjector: "ngComponentOutletInjector", - ngComponentOutletContent: "ngComponentOutletContent", - ngComponentOutletNgModule: "ngComponentOutletNgModule", - ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" - }, - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgComponentOutlet, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngComponentOutlet]', - standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }], { - ngComponentOutlet: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngComponentOutletInputs: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngComponentOutletInjector: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngComponentOutletContent: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngComponentOutletNgModule: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngComponentOutletNgModuleFactory: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + return NgComponentOutlet; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); // Helper function that returns an Injector instance of a parent NgModule. function getParentInjector(injector) { @@ -85289,171 +95629,152 @@ class NgForOfContext { * @ngModule CommonModule * @publicApi */ -class NgForOf { - /** - * The value of the iterable expression, which can be used as a - * [template input variable](guide/structural-directives#shorthand). - */ - set ngForOf(ngForOf) { - this._ngForOf = ngForOf; - this._ngForOfDirty = true; - } - /** - * Specifies a custom `TrackByFunction` to compute the identity of items in an iterable. - * - * If a custom `TrackByFunction` is not provided, `NgForOf` will use the item's [object - * identity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is) - * as the key. - * - * `NgForOf` uses the computed key to associate items in an iterable with DOM elements - * it produces for these items. - * - * A custom `TrackByFunction` is useful to provide good user experience in cases when items in an - * iterable rendered using `NgForOf` have a natural identifier (for example, custom ID or a - * primary key), and this iterable could be updated with new object instances that still - * represent the same underlying entity (for example, when data is re-fetched from the server, - * and the iterable is recreated and re-rendered, but most of the data is still the same). - * - * @see {@link TrackByFunction} - */ - set ngForTrackBy(fn) { - if ((typeof ngDevMode === 'undefined' || ngDevMode) && fn != null && typeof fn !== 'function') { - console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` + `See https://angular.io/api/common/NgForOf#change-propagation for more information.`); +let NgForOf = /*#__PURE__*/(() => { + class NgForOf { + /** + * The value of the iterable expression, which can be used as a + * [template input variable](guide/structural-directives#shorthand). + */ + set ngForOf(ngForOf) { + this._ngForOf = ngForOf; + this._ngForOfDirty = true; } - this._trackByFn = fn; - } - get ngForTrackBy() { - return this._trackByFn; - } - constructor(_viewContainer, _template, _differs) { - this._viewContainer = _viewContainer; - this._template = _template; - this._differs = _differs; - this._ngForOf = null; - this._ngForOfDirty = true; - this._differ = null; - } - /** - * A reference to the template that is stamped out for each item in the iterable. - * @see [template reference variable](guide/template-reference-variables) - */ - set ngForTemplate(value) { - // TODO(TS2.1): make TemplateRef>> once we move to TS v2.1 - // The current type is too restrictive; a template that just uses index, for example, - // should be acceptable. - if (value) { - this._template = value; + /** + * Specifies a custom `TrackByFunction` to compute the identity of items in an iterable. + * + * If a custom `TrackByFunction` is not provided, `NgForOf` will use the item's [object + * identity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is) + * as the key. + * + * `NgForOf` uses the computed key to associate items in an iterable with DOM elements + * it produces for these items. + * + * A custom `TrackByFunction` is useful to provide good user experience in cases when items in an + * iterable rendered using `NgForOf` have a natural identifier (for example, custom ID or a + * primary key), and this iterable could be updated with new object instances that still + * represent the same underlying entity (for example, when data is re-fetched from the server, + * and the iterable is recreated and re-rendered, but most of the data is still the same). + * + * @see {@link TrackByFunction} + */ + set ngForTrackBy(fn) { + if ((typeof ngDevMode === 'undefined' || ngDevMode) && fn != null && typeof fn !== 'function') { + console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` + `See https://angular.io/api/common/NgForOf#change-propagation for more information.`); + } + this._trackByFn = fn; } - } - /** - * Applies the changes when needed. - * @nodoc - */ - ngDoCheck() { - if (this._ngForOfDirty) { - this._ngForOfDirty = false; - // React on ngForOf changes only once all inputs have been initialized - const value = this._ngForOf; - if (!this._differ && value) { - if (typeof ngDevMode === 'undefined' || ngDevMode) { - try { - // CAUTION: this logic is duplicated for production mode below, as the try-catch + get ngForTrackBy() { + return this._trackByFn; + } + constructor(_viewContainer, _template, _differs) { + this._viewContainer = _viewContainer; + this._template = _template; + this._differs = _differs; + this._ngForOf = null; + this._ngForOfDirty = true; + this._differ = null; + } + /** + * A reference to the template that is stamped out for each item in the iterable. + * @see [template reference variable](guide/template-reference-variables) + */ + set ngForTemplate(value) { + // TODO(TS2.1): make TemplateRef>> once we move to TS v2.1 + // The current type is too restrictive; a template that just uses index, for example, + // should be acceptable. + if (value) { + this._template = value; + } + } + /** + * Applies the changes when needed. + * @nodoc + */ + ngDoCheck() { + if (this._ngForOfDirty) { + this._ngForOfDirty = false; + // React on ngForOf changes only once all inputs have been initialized + const value = this._ngForOf; + if (!this._differ && value) { + if (typeof ngDevMode === 'undefined' || ngDevMode) { + try { + // CAUTION: this logic is duplicated for production mode below, as the try-catch + // is only present in development builds. + this._differ = this._differs.find(value).create(this.ngForTrackBy); + } catch { + let errorMessage = `Cannot find a differ supporting object '${value}' of type '` + `${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`; + if (typeof value === 'object') { + errorMessage += ' Did you mean to use the keyvalue pipe?'; + } + throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](-2200 /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */, errorMessage); + } + } else { + // CAUTION: this logic is duplicated for development mode above, as the try-catch // is only present in development builds. this._differ = this._differs.find(value).create(this.ngForTrackBy); - } catch { - let errorMessage = `Cannot find a differ supporting object '${value}' of type '` + `${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`; - if (typeof value === 'object') { - errorMessage += ' Did you mean to use the keyvalue pipe?'; - } - throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](-2200 /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */, errorMessage); } - } else { - // CAUTION: this logic is duplicated for development mode above, as the try-catch - // is only present in development builds. - this._differ = this._differs.find(value).create(this.ngForTrackBy); } } + if (this._differ) { + const changes = this._differ.diff(this._ngForOf); + if (changes) this._applyChanges(changes); + } } - if (this._differ) { - const changes = this._differ.diff(this._ngForOf); - if (changes) this._applyChanges(changes); + _applyChanges(changes) { + const viewContainer = this._viewContainer; + changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => { + if (item.previousIndex == null) { + // NgForOf is never "null" or "undefined" here because the differ detected + // that a new item needs to be inserted from the iterable. This implies that + // there is an iterable value for "_ngForOf". + viewContainer.createEmbeddedView(this._template, new NgForOfContext(item.item, this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex); + } else if (currentIndex == null) { + viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex); + } else if (adjustedPreviousIndex !== null) { + const view = viewContainer.get(adjustedPreviousIndex); + viewContainer.move(view, currentIndex); + applyViewChange(view, item); + } + }); + for (let i = 0, ilen = viewContainer.length; i < ilen; i++) { + const viewRef = viewContainer.get(i); + const context = viewRef.context; + context.index = i; + context.count = ilen; + context.ngForOf = this._ngForOf; + } + changes.forEachIdentityChange(record => { + const viewRef = viewContainer.get(record.currentIndex); + applyViewChange(viewRef, record); + }); } - } - _applyChanges(changes) { - const viewContainer = this._viewContainer; - changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => { - if (item.previousIndex == null) { - // NgForOf is never "null" or "undefined" here because the differ detected - // that a new item needs to be inserted from the iterable. This implies that - // there is an iterable value for "_ngForOf". - viewContainer.createEmbeddedView(this._template, new NgForOfContext(item.item, this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex); - } else if (currentIndex == null) { - viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex); - } else if (adjustedPreviousIndex !== null) { - const view = viewContainer.get(adjustedPreviousIndex); - viewContainer.move(view, currentIndex); - applyViewChange(view, item); - } - }); - for (let i = 0, ilen = viewContainer.length; i < ilen; i++) { - const viewRef = viewContainer.get(i); - const context = viewRef.context; - context.index = i; - context.count = ilen; - context.ngForOf = this._ngForOf; + /** + * Asserts the correct type of the context for the template that `NgForOf` will render. + * + * The presence of this method is a signal to the Ivy template type-check compiler that the + * `NgForOf` structural directive renders its template with a specific context type. + */ + static ngTemplateContextGuard(dir, ctx) { + return true; } - changes.forEachIdentityChange(record => { - const viewRef = viewContainer.get(record.currentIndex); - applyViewChange(viewRef, record); + static #_ = this.ɵfac = function NgForOf_Factory(t) { + return new (t || NgForOf)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgForOf, + selectors: [["", "ngFor", "", "ngForOf", ""]], + inputs: { + ngForOf: "ngForOf", + ngForTrackBy: "ngForTrackBy", + ngForTemplate: "ngForTemplate" + }, + standalone: true }); } - /** - * Asserts the correct type of the context for the template that `NgForOf` will render. - * - * The presence of this method is a signal to the Ivy template type-check compiler that the - * `NgForOf` structural directive renders its template with a specific context type. - */ - static ngTemplateContextGuard(dir, ctx) { - return true; - } - static #_ = this.ɵfac = function NgForOf_Factory(t) { - return new (t || NgForOf)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgForOf, - selectors: [["", "ngFor", "", "ngForOf", ""]], - inputs: { - ngForOf: "ngForOf", - ngForTrackBy: "ngForTrackBy", - ngForTemplate: "ngForTemplate" - }, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgForOf, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngFor][ngForOf]', - standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers - }], { - ngForOf: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngForTrackBy: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngForTemplate: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + return NgForOf; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); function applyViewChange(view, record) { view.context.$implicit = record.item; @@ -85601,105 +95922,88 @@ function getTypeName(type) { * @ngModule CommonModule * @publicApi */ -class NgIf { - constructor(_viewContainer, templateRef) { - this._viewContainer = _viewContainer; - this._context = new NgIfContext(); - this._thenTemplateRef = null; - this._elseTemplateRef = null; - this._thenViewRef = null; - this._elseViewRef = null; - this._thenTemplateRef = templateRef; - } - /** - * The Boolean expression to evaluate as the condition for showing a template. - */ - set ngIf(condition) { - this._context.$implicit = this._context.ngIf = condition; - this._updateView(); - } - /** - * A template to show if the condition expression evaluates to true. - */ - set ngIfThen(templateRef) { - assertTemplate('ngIfThen', templateRef); - this._thenTemplateRef = templateRef; - this._thenViewRef = null; // clear previous view if any. - this._updateView(); - } - /** - * A template to show if the condition expression evaluates to false. - */ - set ngIfElse(templateRef) { - assertTemplate('ngIfElse', templateRef); - this._elseTemplateRef = templateRef; - this._elseViewRef = null; // clear previous view if any. - this._updateView(); - } - _updateView() { - if (this._context.$implicit) { - if (!this._thenViewRef) { - this._viewContainer.clear(); - this._elseViewRef = null; - if (this._thenTemplateRef) { - this._thenViewRef = this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context); +let NgIf = /*#__PURE__*/(() => { + class NgIf { + constructor(_viewContainer, templateRef) { + this._viewContainer = _viewContainer; + this._context = new NgIfContext(); + this._thenTemplateRef = null; + this._elseTemplateRef = null; + this._thenViewRef = null; + this._elseViewRef = null; + this._thenTemplateRef = templateRef; + } + /** + * The Boolean expression to evaluate as the condition for showing a template. + */ + set ngIf(condition) { + this._context.$implicit = this._context.ngIf = condition; + this._updateView(); + } + /** + * A template to show if the condition expression evaluates to true. + */ + set ngIfThen(templateRef) { + assertTemplate('ngIfThen', templateRef); + this._thenTemplateRef = templateRef; + this._thenViewRef = null; // clear previous view if any. + this._updateView(); + } + /** + * A template to show if the condition expression evaluates to false. + */ + set ngIfElse(templateRef) { + assertTemplate('ngIfElse', templateRef); + this._elseTemplateRef = templateRef; + this._elseViewRef = null; // clear previous view if any. + this._updateView(); + } + _updateView() { + if (this._context.$implicit) { + if (!this._thenViewRef) { + this._viewContainer.clear(); + this._elseViewRef = null; + if (this._thenTemplateRef) { + this._thenViewRef = this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context); + } } - } - } else { - if (!this._elseViewRef) { - this._viewContainer.clear(); - this._thenViewRef = null; - if (this._elseTemplateRef) { - this._elseViewRef = this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context); + } else { + if (!this._elseViewRef) { + this._viewContainer.clear(); + this._thenViewRef = null; + if (this._elseTemplateRef) { + this._elseViewRef = this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context); + } } } } - } - /** - * Asserts the correct type of the context for the template that `NgIf` will render. - * - * The presence of this method is a signal to the Ivy template type-check compiler that the - * `NgIf` structural directive renders its template with a specific context type. - */ - static ngTemplateContextGuard(dir, ctx) { - return true; - } - static #_ = this.ɵfac = function NgIf_Factory(t) { - return new (t || NgIf)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgIf, - selectors: [["", "ngIf", ""]], - inputs: { - ngIf: "ngIf", - ngIfThen: "ngIfThen", - ngIfElse: "ngIfElse" - }, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgIf, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngIf]', + /** + * Asserts the correct type of the context for the template that `NgIf` will render. + * + * The presence of this method is a signal to the Ivy template type-check compiler that the + * `NgIf` structural directive renders its template with a specific context type. + */ + static ngTemplateContextGuard(dir, ctx) { + return true; + } + static #_ = this.ɵfac = function NgIf_Factory(t) { + return new (t || NgIf)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgIf, + selectors: [["", "ngIf", ""]], + inputs: { + ngIf: "ngIf", + ngIfThen: "ngIfThen", + ngIfElse: "ngIfElse" + }, standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef - }], { - ngIf: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngIfThen: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngIfElse: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + }); + } + return NgIf; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @publicApi @@ -85810,75 +96114,68 @@ class SwitchView { * @see [Structural Directives](guide/structural-directives) * */ -class NgSwitch { - constructor() { - this._defaultViews = []; - this._defaultUsed = false; - this._caseCount = 0; - this._lastCaseCheckIndex = 0; - this._lastCasesMatched = false; - } - set ngSwitch(newValue) { - this._ngSwitch = newValue; - if (this._caseCount === 0) { - this._updateDefaultCases(true); - } - } - /** @internal */ - _addCase() { - return this._caseCount++; - } - /** @internal */ - _addDefault(view) { - this._defaultViews.push(view); - } - /** @internal */ - _matchCase(value) { - const matched = NG_SWITCH_USE_STRICT_EQUALS ? value === this._ngSwitch : value == this._ngSwitch; - if ((typeof ngDevMode === 'undefined' || ngDevMode) && matched !== (value == this._ngSwitch)) { - console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2001 /* RuntimeErrorCode.EQUALITY_NG_SWITCH_DIFFERENCE */, 'As of Angular v17 the NgSwitch directive uses strict equality comparison === instead of == to match different cases. ' + `Previously the case value "${stringifyValue(value)}" matched switch expression value "${stringifyValue(this._ngSwitch)}", but this is no longer the case with the stricter equality check. ` + 'Your comparison results return different results using === vs. == and you should adjust your ngSwitch expression and / or values to conform with the strict equality requirements.')); - } - this._lastCasesMatched ||= matched; - this._lastCaseCheckIndex++; - if (this._lastCaseCheckIndex === this._caseCount) { - this._updateDefaultCases(!this._lastCasesMatched); +let NgSwitch = /*#__PURE__*/(() => { + class NgSwitch { + constructor() { + this._defaultViews = []; + this._defaultUsed = false; + this._caseCount = 0; this._lastCaseCheckIndex = 0; this._lastCasesMatched = false; } - return matched; - } - _updateDefaultCases(useDefault) { - if (this._defaultViews.length > 0 && useDefault !== this._defaultUsed) { - this._defaultUsed = useDefault; - for (const defaultView of this._defaultViews) { - defaultView.enforceState(useDefault); + set ngSwitch(newValue) { + this._ngSwitch = newValue; + if (this._caseCount === 0) { + this._updateDefaultCases(true); } } - } - static #_ = this.ɵfac = function NgSwitch_Factory(t) { - return new (t || NgSwitch)(); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgSwitch, - selectors: [["", "ngSwitch", ""]], - inputs: { - ngSwitch: "ngSwitch" - }, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitch, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngSwitch]', + /** @internal */ + _addCase() { + return this._caseCount++; + } + /** @internal */ + _addDefault(view) { + this._defaultViews.push(view); + } + /** @internal */ + _matchCase(value) { + const matched = NG_SWITCH_USE_STRICT_EQUALS ? value === this._ngSwitch : value == this._ngSwitch; + if ((typeof ngDevMode === 'undefined' || ngDevMode) && matched !== (value == this._ngSwitch)) { + console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2001 /* RuntimeErrorCode.EQUALITY_NG_SWITCH_DIFFERENCE */, 'As of Angular v17 the NgSwitch directive uses strict equality comparison === instead of == to match different cases. ' + `Previously the case value "${stringifyValue(value)}" matched switch expression value "${stringifyValue(this._ngSwitch)}", but this is no longer the case with the stricter equality check. ` + 'Your comparison results return different results using === vs. == and you should adjust your ngSwitch expression and / or values to conform with the strict equality requirements.')); + } + this._lastCasesMatched ||= matched; + this._lastCaseCheckIndex++; + if (this._lastCaseCheckIndex === this._caseCount) { + this._updateDefaultCases(!this._lastCasesMatched); + this._lastCaseCheckIndex = 0; + this._lastCasesMatched = false; + } + return matched; + } + _updateDefaultCases(useDefault) { + if (this._defaultViews.length > 0 && useDefault !== this._defaultUsed) { + this._defaultUsed = useDefault; + for (const defaultView of this._defaultViews) { + defaultView.enforceState(useDefault); + } + } + } + static #_ = this.ɵfac = function NgSwitch_Factory(t) { + return new (t || NgSwitch)(); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgSwitch, + selectors: [["", "ngSwitch", ""]], + inputs: { + ngSwitch: "ngSwitch" + }, standalone: true - }] - }], null, { - ngSwitch: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + }); + } + return NgSwitch; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @ngModule CommonModule @@ -85913,57 +96210,39 @@ class NgSwitch { * @see {@link NgSwitchDefault} * */ -class NgSwitchCase { - constructor(viewContainer, templateRef, ngSwitch) { - this.ngSwitch = ngSwitch; - if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) { - throwNgSwitchProviderNotFoundError('ngSwitchCase', 'NgSwitchCase'); +let NgSwitchCase = /*#__PURE__*/(() => { + class NgSwitchCase { + constructor(viewContainer, templateRef, ngSwitch) { + this.ngSwitch = ngSwitch; + if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) { + throwNgSwitchProviderNotFoundError('ngSwitchCase', 'NgSwitchCase'); + } + ngSwitch._addCase(); + this._view = new SwitchView(viewContainer, templateRef); } - ngSwitch._addCase(); - this._view = new SwitchView(viewContainer, templateRef); - } - /** - * Performs case matching. For internal use only. - * @nodoc - */ - ngDoCheck() { - this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase)); - } - static #_ = this.ɵfac = function NgSwitchCase_Factory(t) { - return new (t || NgSwitchCase)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgSwitch, 9)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgSwitchCase, - selectors: [["", "ngSwitchCase", ""]], - inputs: { - ngSwitchCase: "ngSwitchCase" - }, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitchCase, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngSwitchCase]', + /** + * Performs case matching. For internal use only. + * @nodoc + */ + ngDoCheck() { + this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase)); + } + static #_ = this.ɵfac = function NgSwitchCase_Factory(t) { + return new (t || NgSwitchCase)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgSwitch, 9)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgSwitchCase, + selectors: [["", "ngSwitchCase", ""]], + inputs: { + ngSwitchCase: "ngSwitchCase" + }, standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef - }, { - type: NgSwitch, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host - }] - }], { - ngSwitchCase: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + }); + } + return NgSwitchCase; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @ngModule CommonModule @@ -85979,41 +96258,27 @@ class NgSwitchCase { * @see {@link NgSwitchCase} * */ -class NgSwitchDefault { - constructor(viewContainer, templateRef, ngSwitch) { - if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) { - throwNgSwitchProviderNotFoundError('ngSwitchDefault', 'NgSwitchDefault'); +let NgSwitchDefault = /*#__PURE__*/(() => { + class NgSwitchDefault { + constructor(viewContainer, templateRef, ngSwitch) { + if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) { + throwNgSwitchProviderNotFoundError('ngSwitchDefault', 'NgSwitchDefault'); + } + ngSwitch._addDefault(new SwitchView(viewContainer, templateRef)); } - ngSwitch._addDefault(new SwitchView(viewContainer, templateRef)); - } - static #_ = this.ɵfac = function NgSwitchDefault_Factory(t) { - return new (t || NgSwitchDefault)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgSwitch, 9)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgSwitchDefault, - selectors: [["", "ngSwitchDefault", ""]], - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitchDefault, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngSwitchDefault]', + static #_ = this.ɵfac = function NgSwitchDefault_Factory(t) { + return new (t || NgSwitchDefault)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgSwitch, 9)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgSwitchDefault, + selectors: [["", "ngSwitchDefault", ""]], standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef - }, { - type: NgSwitch, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host - }] - }], null); + }); + } + return NgSwitchDefault; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); function throwNgSwitchProviderNotFoundError(attrName, directiveName) { throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2000 /* RuntimeErrorCode.PARENT_NG_SWITCH_NOT_FOUND */, `An element with the "${attrName}" attribute ` + `(matching the "${directiveName}" directive) must be located inside an element with the "ngSwitch" attribute ` + `(matching "NgSwitch" directive)`); @@ -86053,58 +96318,49 @@ function stringifyValue(value) { * * @publicApi */ -class NgPlural { - constructor(_localization) { - this._localization = _localization; - this._caseViews = {}; - } - set ngPlural(value) { - this._updateView(value); - } - addCase(value, switchView) { - this._caseViews[value] = switchView; - } - _updateView(switchValue) { - this._clearViews(); - const cases = Object.keys(this._caseViews); - const key = getPluralCategory(switchValue, cases, this._localization); - this._activateView(this._caseViews[key]); - } - _clearViews() { - if (this._activeView) this._activeView.destroy(); - } - _activateView(view) { - if (view) { - this._activeView = view; - this._activeView.create(); +let NgPlural = /*#__PURE__*/(() => { + class NgPlural { + constructor(_localization) { + this._localization = _localization; + this._caseViews = {}; } - } - static #_ = this.ɵfac = function NgPlural_Factory(t) { - return new (t || NgPlural)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgLocalization)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgPlural, - selectors: [["", "ngPlural", ""]], - inputs: { - ngPlural: "ngPlural" - }, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgPlural, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngPlural]', + set ngPlural(value) { + this._updateView(value); + } + addCase(value, switchView) { + this._caseViews[value] = switchView; + } + _updateView(switchValue) { + this._clearViews(); + const cases = Object.keys(this._caseViews); + const key = getPluralCategory(switchValue, cases, this._localization); + this._activateView(this._caseViews[key]); + } + _clearViews() { + if (this._activeView) this._activeView.destroy(); + } + _activateView(view) { + if (view) { + this._activeView = view; + this._activeView.create(); + } + } + static #_ = this.ɵfac = function NgPlural_Factory(t) { + return new (t || NgPlural)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgLocalization)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgPlural, + selectors: [["", "ngPlural", ""]], + inputs: { + ngPlural: "ngPlural" + }, standalone: true - }] - }], () => [{ - type: NgLocalization - }], { - ngPlural: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + }); + } + return NgPlural; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @ngModule CommonModule @@ -86126,44 +96382,26 @@ class NgPlural { * * @publicApi */ -class NgPluralCase { - constructor(value, template, viewContainer, ngPlural) { - this.value = value; - const isANumber = !isNaN(Number(value)); - ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template)); - } - static #_ = this.ɵfac = function NgPluralCase_Factory(t) { - return new (t || NgPluralCase)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('ngPluralCase'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgPlural, 1)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgPluralCase, - selectors: [["", "ngPluralCase", ""]], - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgPluralCase, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngPluralCase]', +let NgPluralCase = /*#__PURE__*/(() => { + class NgPluralCase { + constructor(value, template, viewContainer, ngPlural) { + this.value = value; + const isANumber = !isNaN(Number(value)); + ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template)); + } + static #_ = this.ɵfac = function NgPluralCase_Factory(t) { + return new (t || NgPluralCase)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('ngPluralCase'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgPlural, 1)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgPluralCase, + selectors: [["", "ngPluralCase", ""]], standalone: true - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Attribute, - args: ['ngPluralCase'] - }] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }, { - type: NgPlural, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host - }] - }], null); + }); + } + return NgPluralCase; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -86202,73 +96440,59 @@ class NgPluralCase { * * @publicApi */ -class NgStyle { - constructor(_ngEl, _differs, _renderer) { - this._ngEl = _ngEl; - this._differs = _differs; - this._renderer = _renderer; - this._ngStyle = null; - this._differ = null; - } - set ngStyle(values) { - this._ngStyle = values; - if (!this._differ && values) { - this._differ = this._differs.find(values).create(); +let NgStyle = /*#__PURE__*/(() => { + class NgStyle { + constructor(_ngEl, _differs, _renderer) { + this._ngEl = _ngEl; + this._differs = _differs; + this._renderer = _renderer; + this._ngStyle = null; + this._differ = null; } - } - ngDoCheck() { - if (this._differ) { - const changes = this._differ.diff(this._ngStyle); - if (changes) { - this._applyChanges(changes); + set ngStyle(values) { + this._ngStyle = values; + if (!this._differ && values) { + this._differ = this._differs.find(values).create(); } } - } - _setStyle(nameAndUnit, value) { - const [name, unit] = nameAndUnit.split('.'); - const flags = name.indexOf('-') === -1 ? undefined : _angular_core__WEBPACK_IMPORTED_MODULE_0__.RendererStyleFlags2.DashCase; - if (value != null) { - this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags); - } else { - this._renderer.removeStyle(this._ngEl.nativeElement, name, flags); + ngDoCheck() { + if (this._differ) { + const changes = this._differ.diff(this._ngStyle); + if (changes) { + this._applyChanges(changes); + } + } } - } - _applyChanges(changes) { - changes.forEachRemovedItem(record => this._setStyle(record.key, null)); - changes.forEachAddedItem(record => this._setStyle(record.key, record.currentValue)); - changes.forEachChangedItem(record => this._setStyle(record.key, record.currentValue)); - } - static #_ = this.ɵfac = function NgStyle_Factory(t) { - return new (t || NgStyle)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgStyle, - selectors: [["", "ngStyle", ""]], - inputs: { - ngStyle: "ngStyle" - }, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgStyle, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngStyle]', + _setStyle(nameAndUnit, value) { + const [name, unit] = nameAndUnit.split('.'); + const flags = name.indexOf('-') === -1 ? undefined : _angular_core__WEBPACK_IMPORTED_MODULE_0__.RendererStyleFlags2.DashCase; + if (value != null) { + this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags); + } else { + this._renderer.removeStyle(this._ngEl.nativeElement, name, flags); + } + } + _applyChanges(changes) { + changes.forEachRemovedItem(record => this._setStyle(record.key, null)); + changes.forEachAddedItem(record => this._setStyle(record.key, record.currentValue)); + changes.forEachChangedItem(record => this._setStyle(record.key, record.currentValue)); + } + static #_ = this.ɵfac = function NgStyle_Factory(t) { + return new (t || NgStyle)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgStyle, + selectors: [["", "ngStyle", ""]], + inputs: { + ngStyle: "ngStyle" + }, standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2 - }], { - ngStyle: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: ['ngStyle'] - }] - }); + }); + } + return NgStyle; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -86295,107 +96519,92 @@ class NgStyle { * * @publicApi */ -class NgTemplateOutlet { - constructor(_viewContainerRef) { - this._viewContainerRef = _viewContainerRef; - this._viewRef = null; +let NgTemplateOutlet = /*#__PURE__*/(() => { + class NgTemplateOutlet { + constructor(_viewContainerRef) { + this._viewContainerRef = _viewContainerRef; + this._viewRef = null; + /** + * A context object to attach to the {@link EmbeddedViewRef}. This should be an + * object, the object's keys will be available for binding by the local template `let` + * declarations. + * Using the key `$implicit` in the context object will set its value as default. + */ + this.ngTemplateOutletContext = null; + /** + * A string defining the template reference and optionally the context object for the template. + */ + this.ngTemplateOutlet = null; + /** Injector to be used within the embedded view. */ + this.ngTemplateOutletInjector = null; + } + ngOnChanges(changes) { + if (this._shouldRecreateView(changes)) { + const viewContainerRef = this._viewContainerRef; + if (this._viewRef) { + viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef)); + } + // If there is no outlet, clear the destroyed view ref. + if (!this.ngTemplateOutlet) { + this._viewRef = null; + return; + } + // Create a context forward `Proxy` that will always bind to the user-specified context, + // without having to destroy and re-create views whenever the context changes. + const viewContext = this._createContextForwardProxy(); + this._viewRef = viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, viewContext, { + injector: this.ngTemplateOutletInjector ?? undefined + }); + } + } /** - * A context object to attach to the {@link EmbeddedViewRef}. This should be an - * object, the object's keys will be available for binding by the local template `let` - * declarations. - * Using the key `$implicit` in the context object will set its value as default. + * We need to re-create existing embedded view if either is true: + * - the outlet changed. + * - the injector changed. */ - this.ngTemplateOutletContext = null; + _shouldRecreateView(changes) { + return !!changes['ngTemplateOutlet'] || !!changes['ngTemplateOutletInjector']; + } /** - * A string defining the template reference and optionally the context object for the template. + * For a given outlet instance, we create a proxy object that delegates + * to the user-specified context. This allows changing, or swapping out + * the context object completely without having to destroy/re-create the view. */ - this.ngTemplateOutlet = null; - /** Injector to be used within the embedded view. */ - this.ngTemplateOutletInjector = null; - } - ngOnChanges(changes) { - if (this._shouldRecreateView(changes)) { - const viewContainerRef = this._viewContainerRef; - if (this._viewRef) { - viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef)); - } - // If there is no outlet, clear the destroyed view ref. - if (!this.ngTemplateOutlet) { - this._viewRef = null; - return; - } - // Create a context forward `Proxy` that will always bind to the user-specified context, - // without having to destroy and re-create views whenever the context changes. - const viewContext = this._createContextForwardProxy(); - this._viewRef = viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, viewContext, { - injector: this.ngTemplateOutletInjector ?? undefined + _createContextForwardProxy() { + return new Proxy({}, { + set: (_target, prop, newValue) => { + if (!this.ngTemplateOutletContext) { + return false; + } + return Reflect.set(this.ngTemplateOutletContext, prop, newValue); + }, + get: (_target, prop, receiver) => { + if (!this.ngTemplateOutletContext) { + return undefined; + } + return Reflect.get(this.ngTemplateOutletContext, prop, receiver); + } }); } - } - /** - * We need to re-create existing embedded view if either is true: - * - the outlet changed. - * - the injector changed. - */ - _shouldRecreateView(changes) { - return !!changes['ngTemplateOutlet'] || !!changes['ngTemplateOutletInjector']; - } - /** - * For a given outlet instance, we create a proxy object that delegates - * to the user-specified context. This allows changing, or swapping out - * the context object completely without having to destroy/re-create the view. - */ - _createContextForwardProxy() { - return new Proxy({}, { - set: (_target, prop, newValue) => { - if (!this.ngTemplateOutletContext) { - return false; - } - return Reflect.set(this.ngTemplateOutletContext, prop, newValue); + static #_ = this.ɵfac = function NgTemplateOutlet_Factory(t) { + return new (t || NgTemplateOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef)); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgTemplateOutlet, + selectors: [["", "ngTemplateOutlet", ""]], + inputs: { + ngTemplateOutletContext: "ngTemplateOutletContext", + ngTemplateOutlet: "ngTemplateOutlet", + ngTemplateOutletInjector: "ngTemplateOutletInjector" }, - get: (_target, prop, receiver) => { - if (!this.ngTemplateOutletContext) { - return undefined; - } - return Reflect.get(this.ngTemplateOutletContext, prop, receiver); - } + standalone: true, + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] }); } - static #_ = this.ɵfac = function NgTemplateOutlet_Factory(t) { - return new (t || NgTemplateOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef)); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgTemplateOutlet, - selectors: [["", "ngTemplateOutlet", ""]], - inputs: { - ngTemplateOutletContext: "ngTemplateOutletContext", - ngTemplateOutlet: "ngTemplateOutlet", - ngTemplateOutletInjector: "ngTemplateOutletInjector" - }, - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgTemplateOutlet, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ - selector: '[ngTemplateOutlet]', - standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef - }], { - ngTemplateOutletContext: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngTemplateOutlet: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - ngTemplateOutletInjector: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + return NgTemplateOutlet; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -86435,8 +96644,8 @@ class PromiseStrategy { } dispose(subscription) {} } -const _promiseStrategy = new PromiseStrategy(); -const _subscribableStrategy = new SubscribableStrategy(); +const _promiseStrategy = /*#__PURE__*/new PromiseStrategy(); +const _subscribableStrategy = /*#__PURE__*/new SubscribableStrategy(); /** * @ngModule CommonModule * @description @@ -86465,99 +96674,93 @@ const _subscribableStrategy = new SubscribableStrategy(); * * @publicApi */ -class AsyncPipe { - constructor(ref) { - this._latestValue = null; - this.markForCheckOnValueUpdate = true; - this._subscription = null; - this._obj = null; - this._strategy = null; - // Assign `ref` into `this._ref` manually instead of declaring `_ref` in the constructor - // parameter list, as the type of `this._ref` includes `null` unlike the type of `ref`. - this._ref = ref; - } - ngOnDestroy() { - if (this._subscription) { - this._dispose(); - } - // Clear the `ChangeDetectorRef` and its association with the view data, to mitigate - // potential memory leaks in Observables that could otherwise cause the view data to - // be retained. - // https://github.com/angular/angular/issues/17624 - this._ref = null; - } - transform(obj) { - if (!this._obj) { - if (obj) { - try { - // Only call `markForCheck` if the value is updated asynchronously. - // Synchronous updates _during_ subscription should not wastefully mark for check - - // this value is already going to be returned from the transform function. - this.markForCheckOnValueUpdate = false; - this._subscribe(obj); - } finally { - this.markForCheckOnValueUpdate = true; +let AsyncPipe = /*#__PURE__*/(() => { + class AsyncPipe { + constructor(ref) { + this._latestValue = null; + this.markForCheckOnValueUpdate = true; + this._subscription = null; + this._obj = null; + this._strategy = null; + // Assign `ref` into `this._ref` manually instead of declaring `_ref` in the constructor + // parameter list, as the type of `this._ref` includes `null` unlike the type of `ref`. + this._ref = ref; + } + ngOnDestroy() { + if (this._subscription) { + this._dispose(); + } + // Clear the `ChangeDetectorRef` and its association with the view data, to mitigate + // potential memory leaks in Observables that could otherwise cause the view data to + // be retained. + // https://github.com/angular/angular/issues/17624 + this._ref = null; + } + transform(obj) { + if (!this._obj) { + if (obj) { + try { + // Only call `markForCheck` if the value is updated asynchronously. + // Synchronous updates _during_ subscription should not wastefully mark for check - + // this value is already going to be returned from the transform function. + this.markForCheckOnValueUpdate = false; + this._subscribe(obj); + } finally { + this.markForCheckOnValueUpdate = true; + } } + return this._latestValue; + } + if (obj !== this._obj) { + this._dispose(); + return this.transform(obj); } return this._latestValue; } - if (obj !== this._obj) { - this._dispose(); - return this.transform(obj); + _subscribe(obj) { + this._obj = obj; + this._strategy = this._selectStrategy(obj); + this._subscription = this._strategy.createSubscription(obj, value => this._updateLatestValue(obj, value)); } - return this._latestValue; - } - _subscribe(obj) { - this._obj = obj; - this._strategy = this._selectStrategy(obj); - this._subscription = this._strategy.createSubscription(obj, value => this._updateLatestValue(obj, value)); - } - _selectStrategy(obj) { - if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisPromise"])(obj)) { - return _promiseStrategy; + _selectStrategy(obj) { + if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisPromise"])(obj)) { + return _promiseStrategy; + } + if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisSubscribable"])(obj)) { + return _subscribableStrategy; + } + throw invalidPipeArgumentError(AsyncPipe, obj); } - if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisSubscribable"])(obj)) { - return _subscribableStrategy; + _dispose() { + // Note: `dispose` is only called if a subscription has been initialized before, indicating + // that `this._strategy` is also available. + this._strategy.dispose(this._subscription); + this._latestValue = null; + this._subscription = null; + this._obj = null; } - throw invalidPipeArgumentError(AsyncPipe, obj); - } - _dispose() { - // Note: `dispose` is only called if a subscription has been initialized before, indicating - // that `this._strategy` is also available. - this._strategy.dispose(this._subscription); - this._latestValue = null; - this._subscription = null; - this._obj = null; - } - _updateLatestValue(async, value) { - if (async === this._obj) { - this._latestValue = value; - if (this.markForCheckOnValueUpdate) { - this._ref?.markForCheck(); + _updateLatestValue(async, value) { + if (async === this._obj) { + this._latestValue = value; + if (this.markForCheckOnValueUpdate) { + this._ref?.markForCheck(); + } } } - } - static #_ = this.ɵfac = function AsyncPipe_Factory(t) { - return new (t || AsyncPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef, 16)); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "async", - type: AsyncPipe, - pure: false, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AsyncPipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'async', + static #_ = this.ɵfac = function AsyncPipe_Factory(t) { + return new (t || AsyncPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef, 16)); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "async", + type: AsyncPipe, pure: false, standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef - }], null); + }); + } + return AsyncPipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -86575,32 +96778,29 @@ class AsyncPipe { * @ngModule CommonModule * @publicApi */ -class LowerCasePipe { - transform(value) { - if (value == null) return null; - if (typeof value !== 'string') { - throw invalidPipeArgumentError(LowerCasePipe, value); +let LowerCasePipe = /*#__PURE__*/(() => { + class LowerCasePipe { + transform(value) { + if (value == null) return null; + if (typeof value !== 'string') { + throw invalidPipeArgumentError(LowerCasePipe, value); + } + return value.toLowerCase(); } - return value.toLowerCase(); - } - static #_ = this.ɵfac = function LowerCasePipe_Factory(t) { - return new (t || LowerCasePipe)(); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "lowercase", - type: LowerCasePipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LowerCasePipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'lowercase', + static #_ = this.ɵfac = function LowerCasePipe_Factory(t) { + return new (t || LowerCasePipe)(); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "lowercase", + type: LowerCasePipe, + pure: true, standalone: true - }] - }], null, null); + }); + } + return LowerCasePipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); // // Regex below matches any Unicode word and number compatible with ES5. In ES2018 the same result @@ -86628,32 +96828,29 @@ const unicodeWordMatch = /(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1 * @ngModule CommonModule * @publicApi */ -class TitleCasePipe { - transform(value) { - if (value == null) return null; - if (typeof value !== 'string') { - throw invalidPipeArgumentError(TitleCasePipe, value); +let TitleCasePipe = /*#__PURE__*/(() => { + class TitleCasePipe { + transform(value) { + if (value == null) return null; + if (typeof value !== 'string') { + throw invalidPipeArgumentError(TitleCasePipe, value); + } + return value.replace(unicodeWordMatch, txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()); } - return value.replace(unicodeWordMatch, txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()); - } - static #_ = this.ɵfac = function TitleCasePipe_Factory(t) { - return new (t || TitleCasePipe)(); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "titlecase", - type: TitleCasePipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TitleCasePipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'titlecase', + static #_ = this.ɵfac = function TitleCasePipe_Factory(t) { + return new (t || TitleCasePipe)(); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "titlecase", + type: TitleCasePipe, + pure: true, standalone: true - }] - }], null, null); + }); + } + return TitleCasePipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Transforms text to all upper case. @@ -86663,32 +96860,29 @@ class TitleCasePipe { * @ngModule CommonModule * @publicApi */ -class UpperCasePipe { - transform(value) { - if (value == null) return null; - if (typeof value !== 'string') { - throw invalidPipeArgumentError(UpperCasePipe, value); +let UpperCasePipe = /*#__PURE__*/(() => { + class UpperCasePipe { + transform(value) { + if (value == null) return null; + if (typeof value !== 'string') { + throw invalidPipeArgumentError(UpperCasePipe, value); + } + return value.toUpperCase(); } - return value.toUpperCase(); - } - static #_ = this.ɵfac = function UpperCasePipe_Factory(t) { - return new (t || UpperCasePipe)(); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "uppercase", - type: UpperCasePipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UpperCasePipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'uppercase', + static #_ = this.ɵfac = function UpperCasePipe_Factory(t) { + return new (t || UpperCasePipe)(); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "uppercase", + type: UpperCasePipe, + pure: true, standalone: true - }] - }], null, null); + }); + } + return UpperCasePipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -86703,7 +96897,7 @@ const DEFAULT_DATE_FORMAT = 'mediumDate'; * * @deprecated use DATE_PIPE_DEFAULT_OPTIONS token to configure DatePipe */ -const DATE_PIPE_DEFAULT_TIMEZONE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'DATE_PIPE_DEFAULT_TIMEZONE' : ''); +const DATE_PIPE_DEFAULT_TIMEZONE = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'DATE_PIPE_DEFAULT_TIMEZONE' : ''); /** * DI token that allows to provide default configuration for the `DatePipe` instances in an * application. The value is an object which can include the following fields: @@ -86735,7 +96929,7 @@ const DATE_PIPE_DEFAULT_TIMEZONE = new _angular_core__WEBPACK_IMPORTED_MODULE_0_ * ] * ``` */ -const DATE_PIPE_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'DATE_PIPE_DEFAULT_OPTIONS' : ''); +const DATE_PIPE_DEFAULT_OPTIONS = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'DATE_PIPE_DEFAULT_OPTIONS' : ''); // clang-format off /** * @ngModule CommonModule @@ -86896,62 +97090,37 @@ const DATE_PIPE_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__ * @publicApi */ // clang-format on -class DatePipe { - constructor(locale, defaultTimezone, defaultOptions) { - this.locale = locale; - this.defaultTimezone = defaultTimezone; - this.defaultOptions = defaultOptions; - } - transform(value, format, timezone, locale) { - if (value == null || value === '' || value !== value) return null; - try { - const _format = format ?? this.defaultOptions?.dateFormat ?? DEFAULT_DATE_FORMAT; - const _timezone = timezone ?? this.defaultOptions?.timezone ?? this.defaultTimezone ?? undefined; - return formatDate(value, _format, locale || this.locale, _timezone); - } catch (error) { - throw invalidPipeArgumentError(DatePipe, error.message); +let DatePipe = /*#__PURE__*/(() => { + class DatePipe { + constructor(locale, defaultTimezone, defaultOptions) { + this.locale = locale; + this.defaultTimezone = defaultTimezone; + this.defaultOptions = defaultOptions; + } + transform(value, format, timezone, locale) { + if (value == null || value === '' || value !== value) return null; + try { + const _format = format ?? this.defaultOptions?.dateFormat ?? DEFAULT_DATE_FORMAT; + const _timezone = timezone ?? this.defaultOptions?.timezone ?? this.defaultTimezone ?? undefined; + return formatDate(value, _format, locale || this.locale, _timezone); + } catch (error) { + throw invalidPipeArgumentError(DatePipe, error.message); + } } - } - static #_ = this.ɵfac = function DatePipe_Factory(t) { - return new (t || DatePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](DATE_PIPE_DEFAULT_TIMEZONE, 24), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](DATE_PIPE_DEFAULT_OPTIONS, 24)); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "date", - type: DatePipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DatePipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'date', + static #_ = this.ɵfac = function DatePipe_Factory(t) { + return new (t || DatePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](DATE_PIPE_DEFAULT_TIMEZONE, 24), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](DATE_PIPE_DEFAULT_OPTIONS, 24)); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "date", + type: DatePipe, + pure: true, standalone: true - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID] - }] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [DATE_PIPE_DEFAULT_TIMEZONE] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [DATE_PIPE_DEFAULT_OPTIONS] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional - }] - }], null); + }); + } + return DatePipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); const _INTERPOLATION_REGEXP = /#/g; /** @@ -86968,45 +97137,40 @@ const _INTERPOLATION_REGEXP = /#/g; * * @publicApi */ -class I18nPluralPipe { - constructor(_localization) { - this._localization = _localization; - } - /** - * @param value the number to be formatted - * @param pluralMap an object that mimics the ICU format, see - * https://unicode-org.github.io/icu/userguide/format_parse/messages/. - * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by - * default). - */ - transform(value, pluralMap, locale) { - if (value == null) return ''; - if (typeof pluralMap !== 'object' || pluralMap === null) { - throw invalidPipeArgumentError(I18nPluralPipe, pluralMap); +let I18nPluralPipe = /*#__PURE__*/(() => { + class I18nPluralPipe { + constructor(_localization) { + this._localization = _localization; } - const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale); - return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString()); - } - static #_ = this.ɵfac = function I18nPluralPipe_Factory(t) { - return new (t || I18nPluralPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgLocalization, 16)); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "i18nPlural", - type: I18nPluralPipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](I18nPluralPipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'i18nPlural', + /** + * @param value the number to be formatted + * @param pluralMap an object that mimics the ICU format, see + * https://unicode-org.github.io/icu/userguide/format_parse/messages/. + * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by + * default). + */ + transform(value, pluralMap, locale) { + if (value == null) return ''; + if (typeof pluralMap !== 'object' || pluralMap === null) { + throw invalidPipeArgumentError(I18nPluralPipe, pluralMap); + } + const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale); + return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString()); + } + static #_ = this.ɵfac = function I18nPluralPipe_Factory(t) { + return new (t || I18nPluralPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgLocalization, 16)); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "i18nPlural", + type: I18nPluralPipe, + pure: true, standalone: true - }] - }], () => [{ - type: NgLocalization - }], null); + }); + } + return I18nPluralPipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -87026,43 +97190,40 @@ class I18nPluralPipe { * * @publicApi */ -class I18nSelectPipe { - /** - * @param value a string to be internationalized. - * @param mapping an object that indicates the text that should be displayed - * for different values of the provided `value`. - */ - transform(value, mapping) { - if (value == null) return ''; - if (typeof mapping !== 'object' || typeof value !== 'string') { - throw invalidPipeArgumentError(I18nSelectPipe, mapping); - } - if (mapping.hasOwnProperty(value)) { - return mapping[value]; - } - if (mapping.hasOwnProperty('other')) { - return mapping['other']; +let I18nSelectPipe = /*#__PURE__*/(() => { + class I18nSelectPipe { + /** + * @param value a string to be internationalized. + * @param mapping an object that indicates the text that should be displayed + * for different values of the provided `value`. + */ + transform(value, mapping) { + if (value == null) return ''; + if (typeof mapping !== 'object' || typeof value !== 'string') { + throw invalidPipeArgumentError(I18nSelectPipe, mapping); + } + if (mapping.hasOwnProperty(value)) { + return mapping[value]; + } + if (mapping.hasOwnProperty('other')) { + return mapping['other']; + } + return ''; } - return ''; - } - static #_ = this.ɵfac = function I18nSelectPipe_Factory(t) { - return new (t || I18nSelectPipe)(); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "i18nSelect", - type: I18nSelectPipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](I18nSelectPipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'i18nSelect', + static #_ = this.ɵfac = function I18nSelectPipe_Factory(t) { + return new (t || I18nSelectPipe)(); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "i18nSelect", + type: I18nSelectPipe, + pure: true, standalone: true - }] - }], null, null); + }); + } + return I18nSelectPipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -87080,32 +97241,28 @@ class I18nSelectPipe { * * @publicApi */ -class JsonPipe { - /** - * @param value A value of any type to convert into a JSON-format string. - */ - transform(value) { - return JSON.stringify(value, null, 2); - } - static #_ = this.ɵfac = function JsonPipe_Factory(t) { - return new (t || JsonPipe)(); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "json", - type: JsonPipe, - pure: false, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](JsonPipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'json', +let JsonPipe = /*#__PURE__*/(() => { + class JsonPipe { + /** + * @param value A value of any type to convert into a JSON-format string. + */ + transform(value) { + return JSON.stringify(value, null, 2); + } + static #_ = this.ɵfac = function JsonPipe_Factory(t) { + return new (t || JsonPipe)(); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "json", + type: JsonPipe, pure: false, standalone: true - }] - }], null, null); + }); + } + return JsonPipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); function makeKeyValuePair(key, value) { return { @@ -87133,53 +97290,47 @@ function makeKeyValuePair(key, value) { * * @publicApi */ -class KeyValuePipe { - constructor(differs) { - this.differs = differs; - this.keyValues = []; - this.compareFn = defaultComparator; - } - transform(input, compareFn = defaultComparator) { - if (!input || !(input instanceof Map) && typeof input !== 'object') { - return null; - } - // make a differ for whatever type we've been passed in - this.differ ??= this.differs.find(input).create(); - const differChanges = this.differ.diff(input); - const compareFnChanged = compareFn !== this.compareFn; - if (differChanges) { +let KeyValuePipe = /*#__PURE__*/(() => { + class KeyValuePipe { + constructor(differs) { + this.differs = differs; this.keyValues = []; - differChanges.forEachItem(r => { - this.keyValues.push(makeKeyValuePair(r.key, r.currentValue)); - }); + this.compareFn = defaultComparator; } - if (differChanges || compareFnChanged) { - this.keyValues.sort(compareFn); - this.compareFn = compareFn; + transform(input, compareFn = defaultComparator) { + if (!input || !(input instanceof Map) && typeof input !== 'object') { + return null; + } + // make a differ for whatever type we've been passed in + this.differ ??= this.differs.find(input).create(); + const differChanges = this.differ.diff(input); + const compareFnChanged = compareFn !== this.compareFn; + if (differChanges) { + this.keyValues = []; + differChanges.forEachItem(r => { + this.keyValues.push(makeKeyValuePair(r.key, r.currentValue)); + }); + } + if (differChanges || compareFnChanged) { + this.keyValues.sort(compareFn); + this.compareFn = compareFn; + } + return this.keyValues; } - return this.keyValues; - } - static #_ = this.ɵfac = function KeyValuePipe_Factory(t) { - return new (t || KeyValuePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers, 16)); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "keyvalue", - type: KeyValuePipe, - pure: false, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](KeyValuePipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'keyvalue', + static #_ = this.ɵfac = function KeyValuePipe_Factory(t) { + return new (t || KeyValuePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers, 16)); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "keyvalue", + type: KeyValuePipe, pure: false, standalone: true - }] - }], () => [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers - }], null); + }); + } + return KeyValuePipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); function defaultComparator(keyValueA, keyValueB) { const a = keyValueA.key; @@ -87270,51 +97421,42 @@ function defaultComparator(keyValueA, keyValueB) { * * @publicApi */ -class DecimalPipe { - constructor(_locale) { - this._locale = _locale; - } - /** - * @param value The value to be formatted. - * @param digitsInfo Sets digit and decimal representation. - * [See more](#digitsinfo). - * @param locale Specifies what locale format rules to use. - * [See more](#locale). - */ - transform(value, digitsInfo, locale) { - if (!isValue(value)) return null; - locale ||= this._locale; - try { - const num = strToNumber(value); - return formatNumber(num, locale, digitsInfo); - } catch (error) { - throw invalidPipeArgumentError(DecimalPipe, error.message); +let DecimalPipe = /*#__PURE__*/(() => { + class DecimalPipe { + constructor(_locale) { + this._locale = _locale; } - } - static #_ = this.ɵfac = function DecimalPipe_Factory(t) { - return new (t || DecimalPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16)); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "number", - type: DecimalPipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DecimalPipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'number', + /** + * @param value The value to be formatted. + * @param digitsInfo Sets digit and decimal representation. + * [See more](#digitsinfo). + * @param locale Specifies what locale format rules to use. + * [See more](#locale). + */ + transform(value, digitsInfo, locale) { + if (!isValue(value)) return null; + locale ||= this._locale; + try { + const num = strToNumber(value); + return formatNumber(num, locale, digitsInfo); + } catch (error) { + throw invalidPipeArgumentError(DecimalPipe, error.message); + } + } + static #_ = this.ɵfac = function DecimalPipe_Factory(t) { + return new (t || DecimalPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16)); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "number", + type: DecimalPipe, + pure: true, standalone: true - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID] - }] - }], null); + }); + } + return DecimalPipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @ngModule CommonModule @@ -87336,60 +97478,51 @@ class DecimalPipe { * * @publicApi */ -class PercentPipe { - constructor(_locale) { - this._locale = _locale; - } - /** - * - * @param value The number to be formatted as a percentage. - * @param digitsInfo Decimal representation options, specified by a string - * in the following format:
- * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}. - * - `minIntegerDigits`: The minimum number of integer digits before the decimal point. - * Default is `1`. - * - `minFractionDigits`: The minimum number of digits after the decimal point. - * Default is `0`. - * - `maxFractionDigits`: The maximum number of digits after the decimal point. - * Default is `0`. - * @param locale A locale code for the locale format rules to use. - * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default. - * See [Setting your app locale](guide/i18n-common-locale-id). - */ - transform(value, digitsInfo, locale) { - if (!isValue(value)) return null; - locale ||= this._locale; - try { - const num = strToNumber(value); - return formatPercent(num, locale, digitsInfo); - } catch (error) { - throw invalidPipeArgumentError(PercentPipe, error.message); +let PercentPipe = /*#__PURE__*/(() => { + class PercentPipe { + constructor(_locale) { + this._locale = _locale; } - } - static #_ = this.ɵfac = function PercentPipe_Factory(t) { - return new (t || PercentPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16)); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "percent", - type: PercentPipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PercentPipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'percent', + /** + * + * @param value The number to be formatted as a percentage. + * @param digitsInfo Decimal representation options, specified by a string + * in the following format:
+ * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}. + * - `minIntegerDigits`: The minimum number of integer digits before the decimal point. + * Default is `1`. + * - `minFractionDigits`: The minimum number of digits after the decimal point. + * Default is `0`. + * - `maxFractionDigits`: The maximum number of digits after the decimal point. + * Default is `0`. + * @param locale A locale code for the locale format rules to use. + * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default. + * See [Setting your app locale](guide/i18n-common-locale-id). + */ + transform(value, digitsInfo, locale) { + if (!isValue(value)) return null; + locale ||= this._locale; + try { + const num = strToNumber(value); + return formatPercent(num, locale, digitsInfo); + } catch (error) { + throw invalidPipeArgumentError(PercentPipe, error.message); + } + } + static #_ = this.ɵfac = function PercentPipe_Factory(t) { + return new (t || PercentPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16)); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "percent", + type: PercentPipe, + pure: true, standalone: true - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID] - }] - }], null); + }); + } + return PercentPipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @ngModule CommonModule @@ -87412,98 +97545,83 @@ class PercentPipe { * * @publicApi */ -class CurrencyPipe { - constructor(_locale, _defaultCurrencyCode = 'USD') { - this._locale = _locale; - this._defaultCurrencyCode = _defaultCurrencyCode; - } - /** - * - * @param value The number to be formatted as currency. - * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, - * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be - * configured using the `DEFAULT_CURRENCY_CODE` injection token. - * @param display The format for the currency indicator. One of the following: - * - `code`: Show the code (such as `USD`). - * - `symbol`(default): Show the symbol (such as `$`). - * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their - * currency. - * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the - * locale has no narrow symbol, uses the standard symbol for the locale. - * - String: Use the given string value instead of a code or a symbol. - * For example, an empty string will suppress the currency & symbol. - * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`. - * - * @param digitsInfo Decimal representation options, specified by a string - * in the following format:
- * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}. - * - `minIntegerDigits`: The minimum number of integer digits before the decimal point. - * Default is `1`. - * - `minFractionDigits`: The minimum number of digits after the decimal point. - * Default is `2`. - * - `maxFractionDigits`: The maximum number of digits after the decimal point. - * Default is `2`. - * If not provided, the number will be formatted with the proper amount of digits, - * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies. - * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none. - * @param locale A locale code for the locale format rules to use. - * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default. - * See [Setting your app locale](guide/i18n-common-locale-id). - */ - transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) { - if (!isValue(value)) return null; - locale ||= this._locale; - if (typeof display === 'boolean') { - if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) { - console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".`); - } - display = display ? 'symbol' : 'code'; - } - let currency = currencyCode || this._defaultCurrencyCode; - if (display !== 'code') { - if (display === 'symbol' || display === 'symbol-narrow') { - currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale); - } else { - currency = display; - } +let CurrencyPipe = /*#__PURE__*/(() => { + class CurrencyPipe { + constructor(_locale, _defaultCurrencyCode = 'USD') { + this._locale = _locale; + this._defaultCurrencyCode = _defaultCurrencyCode; } - try { - const num = strToNumber(value); - return formatCurrency(num, locale, currency, currencyCode, digitsInfo); - } catch (error) { - throw invalidPipeArgumentError(CurrencyPipe, error.message); + /** + * + * @param value The number to be formatted as currency. + * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, + * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be + * configured using the `DEFAULT_CURRENCY_CODE` injection token. + * @param display The format for the currency indicator. One of the following: + * - `code`: Show the code (such as `USD`). + * - `symbol`(default): Show the symbol (such as `$`). + * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their + * currency. + * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the + * locale has no narrow symbol, uses the standard symbol for the locale. + * - String: Use the given string value instead of a code or a symbol. + * For example, an empty string will suppress the currency & symbol. + * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`. + * + * @param digitsInfo Decimal representation options, specified by a string + * in the following format:
+ * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}. + * - `minIntegerDigits`: The minimum number of integer digits before the decimal point. + * Default is `1`. + * - `minFractionDigits`: The minimum number of digits after the decimal point. + * Default is `2`. + * - `maxFractionDigits`: The maximum number of digits after the decimal point. + * Default is `2`. + * If not provided, the number will be formatted with the proper amount of digits, + * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies. + * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none. + * @param locale A locale code for the locale format rules to use. + * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default. + * See [Setting your app locale](guide/i18n-common-locale-id). + */ + transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) { + if (!isValue(value)) return null; + locale ||= this._locale; + if (typeof display === 'boolean') { + if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) { + console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".`); + } + display = display ? 'symbol' : 'code'; + } + let currency = currencyCode || this._defaultCurrencyCode; + if (display !== 'code') { + if (display === 'symbol' || display === 'symbol-narrow') { + currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale); + } else { + currency = display; + } + } + try { + const num = strToNumber(value); + return formatCurrency(num, locale, currency, currencyCode, digitsInfo); + } catch (error) { + throw invalidPipeArgumentError(CurrencyPipe, error.message); + } } - } - static #_ = this.ɵfac = function CurrencyPipe_Factory(t) { - return new (t || CurrencyPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CURRENCY_CODE, 16)); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "currency", - type: CurrencyPipe, - pure: true, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CurrencyPipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'currency', + static #_ = this.ɵfac = function CurrencyPipe_Factory(t) { + return new (t || CurrencyPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CURRENCY_CODE, 16)); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "currency", + type: CurrencyPipe, + pure: true, standalone: true - }] - }], () => [{ - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID] - }] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject, - args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CURRENCY_CODE] - }] - }], null); + }); + } + return CurrencyPipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); function isValue(value) { return !(value == null || value === '' || value !== value); @@ -87557,36 +97675,32 @@ function strToNumber(value) { * * @publicApi */ -class SlicePipe { - transform(value, start, end) { - if (value == null) return null; - if (!this.supports(value)) { - throw invalidPipeArgumentError(SlicePipe, value); +let SlicePipe = /*#__PURE__*/(() => { + class SlicePipe { + transform(value, start, end) { + if (value == null) return null; + if (!this.supports(value)) { + throw invalidPipeArgumentError(SlicePipe, value); + } + return value.slice(start, end); } - return value.slice(start, end); - } - supports(obj) { - return typeof obj === 'string' || Array.isArray(obj); - } - static #_ = this.ɵfac = function SlicePipe_Factory(t) { - return new (t || SlicePipe)(); - }; - static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ - name: "slice", - type: SlicePipe, - pure: false, - standalone: true - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SlicePipe, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe, - args: [{ - name: 'slice', + supports(obj) { + return typeof obj === 'string' || Array.isArray(obj); + } + static #_ = this.ɵfac = function SlicePipe_Factory(t) { + return new (t || SlicePipe)(); + }; + static #_2 = this.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ + name: "slice", + type: SlicePipe, pure: false, standalone: true - }] - }], null, null); + }); + } + return SlicePipe; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -87609,23 +97723,20 @@ const COMMON_PIPES = [AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePi * * @publicApi */ -class CommonModule { - static #_ = this.ɵfac = function CommonModule_Factory(t) { - return new (t || CommonModule)(); - }; - static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ - type: CommonModule - }); - static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CommonModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule, - args: [{ - imports: [COMMON_DIRECTIVES, COMMON_PIPES], - exports: [COMMON_DIRECTIVES, COMMON_PIPES] - }] - }], null, null); +let CommonModule = /*#__PURE__*/(() => { + class CommonModule { + static #_ = this.ɵfac = function CommonModule_Factory(t) { + return new (t || CommonModule)(); + }; + static #_2 = this.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ + type: CommonModule + }); + static #_3 = this.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({}); + } + return CommonModule; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); const PLATFORM_BROWSER_ID = 'browser'; const PLATFORM_SERVER_ID = 'server'; @@ -87672,23 +97783,26 @@ function isPlatformWorkerUi(platformId) { /** * @publicApi */ -const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('17.3.3'); +const VERSION = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('17.3.3'); /** * Defines a scroll position manager. Implemented by `BrowserViewportScroller`. * * @publicApi */ -class ViewportScroller { - // De-sugared tree-shakable injection - // See #23917 - /** @nocollapse */ - static #_ = this.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"])({ - token: ViewportScroller, - providedIn: 'root', - factory: () => isPlatformBrowser((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.PLATFORM_ID)) ? new BrowserViewportScroller((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT), window) : new NullViewportScroller() - }); -} +let ViewportScroller = /*#__PURE__*/(() => { + class ViewportScroller { + // De-sugared tree-shakable injection + // See #23917 + /** @nocollapse */ + static #_ = this.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"])({ + token: ViewportScroller, + providedIn: 'root', + factory: () => isPlatformBrowser((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.PLATFORM_ID)) ? new BrowserViewportScroller((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT), window) : new NullViewportScroller() + }); + } + return ViewportScroller; +})(); /** * Manages the scroll position for a browser window. */ @@ -87883,7 +97997,7 @@ const noopImageLoader = config => config.src; * @see {@link NgOptimizedImage} * @publicApi */ -const IMAGE_LOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'ImageLoader' : '', { +const IMAGE_LOADER = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'ImageLoader' : '', { providedIn: 'root', factory: () => noopImageLoader }); @@ -87943,7 +98057,7 @@ function throwUnexpectedAbsoluteUrlError(path, url) { * * @publicApi */ -const provideCloudflareLoader = createImageLoader(createCloudflareUrl, ngDevMode ? ['https:///cdn-cgi/image//'] : undefined); +const provideCloudflareLoader = /*#__PURE__*/createImageLoader(createCloudflareUrl, ngDevMode ? ['https:///cdn-cgi/image//'] : undefined); function createCloudflareUrl(path, config) { let params = `format=auto`; if (config.width) { @@ -87984,7 +98098,7 @@ function isCloudinaryUrl(url) { * * @publicApi */ -const provideCloudinaryLoader = createImageLoader(createCloudinaryUrl, ngDevMode ? ['https://res.cloudinary.com/mysite', 'https://mysite.cloudinary.com', 'https://subdomain.mysite.com'] : undefined); +const provideCloudinaryLoader = /*#__PURE__*/createImageLoader(createCloudinaryUrl, ngDevMode ? ['https://res.cloudinary.com/mysite', 'https://mysite.cloudinary.com', 'https://subdomain.mysite.com'] : undefined); function createCloudinaryUrl(path, config) { // Cloudinary image URLformat: // https://cloudinary.com/documentation/image_transformations#transformation_url_structure @@ -88025,7 +98139,7 @@ function isImageKitUrl(url) { * * @publicApi */ -const provideImageKitLoader = createImageLoader(createImagekitUrl, ngDevMode ? ['https://ik.imagekit.io/mysite', 'https://subdomain.mysite.com'] : undefined); +const provideImageKitLoader = /*#__PURE__*/createImageLoader(createImagekitUrl, ngDevMode ? ['https://ik.imagekit.io/mysite', 'https://subdomain.mysite.com'] : undefined); function createImagekitUrl(path, config) { // Example of an ImageKit image URL: // https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg @@ -88071,7 +98185,7 @@ function isImgixUrl(url) { * * @publicApi */ -const provideImgixLoader = createImageLoader(createImgixUrl, ngDevMode ? ['https://somepath.imgix.net/'] : undefined); +const provideImgixLoader = /*#__PURE__*/createImageLoader(createImgixUrl, ngDevMode ? ['https://somepath.imgix.net/'] : undefined); function createImgixUrl(path, config) { const url = new URL(`${path}/${config.src}`); // This setting ensures the smallest allowable format is set. @@ -88127,7 +98241,7 @@ function provideNetlifyLoader(path) { }]; return providers; } -const validParams = new Map([['height', 'h'], ['fit', 'fit'], ['quality', 'q'], ['q', 'q'], ['position', 'position']]); +const validParams = /*#__PURE__*/new Map([['height', 'h'], ['fit', 'fit'], ['quality', 'q'], ['q', 'q'], ['position', 'position']]); function createNetlifyUrl(config, path) { // Note: `path` can be undefined, in which case we use a fake one to construct a `URL` instance. const url = new URL(path ?? 'https://a/'); @@ -88185,98 +98299,96 @@ function assertDevMode(checkName) { * * Based on https://web.dev/lcp/#measure-lcp-in-javascript. */ -class LCPImageObserver { - constructor() { - // Map of full image URLs -> original `ngSrc` values. - this.images = new Map(); - this.window = null; - this.observer = null; - assertDevMode('LCP checker'); - const win = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT).defaultView; - if (typeof win !== 'undefined' && typeof PerformanceObserver !== 'undefined') { - this.window = win; - this.observer = this.initPerformanceObserver(); +let LCPImageObserver = /*#__PURE__*/(() => { + class LCPImageObserver { + constructor() { + // Map of full image URLs -> original `ngSrc` values. + this.images = new Map(); + this.window = null; + this.observer = null; + assertDevMode('LCP checker'); + const win = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT).defaultView; + if (typeof win !== 'undefined' && typeof PerformanceObserver !== 'undefined') { + this.window = win; + this.observer = this.initPerformanceObserver(); + } } - } - /** - * Inits PerformanceObserver and subscribes to LCP events. - * Based on https://web.dev/lcp/#measure-lcp-in-javascript - */ - initPerformanceObserver() { - const observer = new PerformanceObserver(entryList => { - const entries = entryList.getEntries(); - if (entries.length === 0) return; - // We use the latest entry produced by the `PerformanceObserver` as the best - // signal on which element is actually an LCP one. As an example, the first image to load on - // a page, by virtue of being the only thing on the page so far, is often a LCP candidate - // and gets reported by PerformanceObserver, but isn't necessarily the LCP element. - const lcpElement = entries[entries.length - 1]; - // Cast to `any` due to missing `element` on the `LargestContentfulPaint` type of entry. - // See https://developer.mozilla.org/en-US/docs/Web/API/LargestContentfulPaint - const imgSrc = lcpElement.element?.src ?? ''; - // Exclude `data:` and `blob:` URLs, since they are not supported by the directive. - if (imgSrc.startsWith('data:') || imgSrc.startsWith('blob:')) return; - const img = this.images.get(imgSrc); - if (!img) return; - if (!img.priority && !img.alreadyWarnedPriority) { - img.alreadyWarnedPriority = true; - logMissingPriorityError(imgSrc); - } - if (img.modified && !img.alreadyWarnedModified) { - img.alreadyWarnedModified = true; - logModifiedWarning(imgSrc); - } - }); - observer.observe({ - type: 'largest-contentful-paint', - buffered: true - }); - return observer; - } - registerImage(rewrittenSrc, originalNgSrc, isPriority) { - if (!this.observer) return; - const newObservedImageState = { - priority: isPriority, - modified: false, - alreadyWarnedModified: false, - alreadyWarnedPriority: false - }; - this.images.set(getUrl(rewrittenSrc, this.window).href, newObservedImageState); - } - unregisterImage(rewrittenSrc) { - if (!this.observer) return; - this.images.delete(getUrl(rewrittenSrc, this.window).href); - } - updateImage(originalSrc, newSrc) { - const originalUrl = getUrl(originalSrc, this.window).href; - const img = this.images.get(originalUrl); - if (img) { - img.modified = true; - this.images.set(getUrl(newSrc, this.window).href, img); - this.images.delete(originalUrl); - } - } - ngOnDestroy() { - if (!this.observer) return; - this.observer.disconnect(); - this.images.clear(); - } - static #_ = this.ɵfac = function LCPImageObserver_Factory(t) { - return new (t || LCPImageObserver)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: LCPImageObserver, - factory: LCPImageObserver.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LCPImageObserver, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + /** + * Inits PerformanceObserver and subscribes to LCP events. + * Based on https://web.dev/lcp/#measure-lcp-in-javascript + */ + initPerformanceObserver() { + const observer = new PerformanceObserver(entryList => { + const entries = entryList.getEntries(); + if (entries.length === 0) return; + // We use the latest entry produced by the `PerformanceObserver` as the best + // signal on which element is actually an LCP one. As an example, the first image to load on + // a page, by virtue of being the only thing on the page so far, is often a LCP candidate + // and gets reported by PerformanceObserver, but isn't necessarily the LCP element. + const lcpElement = entries[entries.length - 1]; + // Cast to `any` due to missing `element` on the `LargestContentfulPaint` type of entry. + // See https://developer.mozilla.org/en-US/docs/Web/API/LargestContentfulPaint + const imgSrc = lcpElement.element?.src ?? ''; + // Exclude `data:` and `blob:` URLs, since they are not supported by the directive. + if (imgSrc.startsWith('data:') || imgSrc.startsWith('blob:')) return; + const img = this.images.get(imgSrc); + if (!img) return; + if (!img.priority && !img.alreadyWarnedPriority) { + img.alreadyWarnedPriority = true; + logMissingPriorityError(imgSrc); + } + if (img.modified && !img.alreadyWarnedModified) { + img.alreadyWarnedModified = true; + logModifiedWarning(imgSrc); + } + }); + observer.observe({ + type: 'largest-contentful-paint', + buffered: true + }); + return observer; + } + registerImage(rewrittenSrc, originalNgSrc, isPriority) { + if (!this.observer) return; + const newObservedImageState = { + priority: isPriority, + modified: false, + alreadyWarnedModified: false, + alreadyWarnedPriority: false + }; + this.images.set(getUrl(rewrittenSrc, this.window).href, newObservedImageState); + } + unregisterImage(rewrittenSrc) { + if (!this.observer) return; + this.images.delete(getUrl(rewrittenSrc, this.window).href); + } + updateImage(originalSrc, newSrc) { + const originalUrl = getUrl(originalSrc, this.window).href; + const img = this.images.get(originalUrl); + if (img) { + img.modified = true; + this.images.set(getUrl(newSrc, this.window).href, img); + this.images.delete(originalUrl); + } + } + ngOnDestroy() { + if (!this.observer) return; + this.observer.disconnect(); + this.images.clear(); + } + static #_ = this.ɵfac = function LCPImageObserver_Factory(t) { + return new (t || LCPImageObserver)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: LCPImageObserver, + factory: LCPImageObserver.ɵfac, providedIn: 'root' - }] - }], () => [], null); + }); + } + return LCPImageObserver; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); function logMissingPriorityError(ngSrc) { const directiveDetails = imgDirectiveDetails(ngSrc); @@ -88288,7 +98400,7 @@ function logModifiedWarning(ngSrc) { } // Set of origins that are always excluded from the preconnect checks. -const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']); +const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = /*#__PURE__*/new Set(['localhost', '127.0.0.1', '0.0.0.0']); /** * Injection token to configure which origins should be excluded * from the preconnect checks. It can either be a single string or an array of strings @@ -88307,7 +98419,7 @@ const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', ' * * @publicApi */ -const PRECONNECT_CHECK_BLOCKLIST = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'PRECONNECT_CHECK_BLOCKLIST' : ''); +const PRECONNECT_CHECK_BLOCKLIST = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(ngDevMode ? 'PRECONNECT_CHECK_BLOCKLIST' : ''); /** * Contains the logic to detect whether an image, marked with the "priority" attribute * has a corresponding `` tag in the `document.head`. @@ -88315,93 +98427,91 @@ const PRECONNECT_CHECK_BLOCKLIST = new _angular_core__WEBPACK_IMPORTED_MODULE_0_ * Note: this is a dev-mode only class, which should not appear in prod bundles, * thus there is no `ngDevMode` use in the code. */ -class PreconnectLinkChecker { - constructor() { - this.document = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT); - /** - * Set of tags found on this page. - * The `null` value indicates that there was no DOM query operation performed. - */ - this.preconnectLinks = null; - /* - * Keep track of all already seen origin URLs to avoid repeating the same check. - */ - this.alreadySeen = new Set(); - this.window = null; - this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST); - assertDevMode('preconnect link checker'); - const win = this.document.defaultView; - if (typeof win !== 'undefined') { - this.window = win; - } - const blocklist = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PRECONNECT_CHECK_BLOCKLIST, { - optional: true - }); - if (blocklist) { - this.populateBlocklist(blocklist); - } - } - populateBlocklist(origins) { - if (Array.isArray(origins)) { - deepForEach(origins, origin => { - this.blocklist.add(extractHostname(origin)); +let PreconnectLinkChecker = /*#__PURE__*/(() => { + class PreconnectLinkChecker { + constructor() { + this.document = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT); + /** + * Set of tags found on this page. + * The `null` value indicates that there was no DOM query operation performed. + */ + this.preconnectLinks = null; + /* + * Keep track of all already seen origin URLs to avoid repeating the same check. + */ + this.alreadySeen = new Set(); + this.window = null; + this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST); + assertDevMode('preconnect link checker'); + const win = this.document.defaultView; + if (typeof win !== 'undefined') { + this.window = win; + } + const blocklist = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PRECONNECT_CHECK_BLOCKLIST, { + optional: true }); - } else { - this.blocklist.add(extractHostname(origins)); - } - } - /** - * Checks that a preconnect resource hint exists in the head for the - * given src. - * - * @param rewrittenSrc src formatted with loader - * @param originalNgSrc ngSrc value - */ - assertPreconnect(rewrittenSrc, originalNgSrc) { - if (!this.window) return; - const imgUrl = getUrl(rewrittenSrc, this.window); - if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin)) return; - // Register this origin as seen, so we don't check it again later. - this.alreadySeen.add(imgUrl.origin); - // Note: we query for preconnect links only *once* and cache the results - // for the entire lifespan of an application, since it's unlikely that the - // list would change frequently. This allows to make sure there are no - // performance implications of making extra DOM lookups for each image. - this.preconnectLinks ??= this.queryPreconnectLinks(); - if (!this.preconnectLinks.has(imgUrl.origin)) { - console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` + `image. Preconnecting to the origin(s) that serve priority images ensures that these ` + `images are delivered as soon as possible. To fix this, please add the following ` + `element into the of the document:\n` + ` `)); + if (blocklist) { + this.populateBlocklist(blocklist); + } } - } - queryPreconnectLinks() { - const preconnectUrls = new Set(); - const selector = 'link[rel=preconnect]'; - const links = Array.from(this.document.querySelectorAll(selector)); - for (let link of links) { - const url = getUrl(link.href, this.window); - preconnectUrls.add(url.origin); + populateBlocklist(origins) { + if (Array.isArray(origins)) { + deepForEach(origins, origin => { + this.blocklist.add(extractHostname(origin)); + }); + } else { + this.blocklist.add(extractHostname(origins)); + } } - return preconnectUrls; - } - ngOnDestroy() { - this.preconnectLinks?.clear(); - this.alreadySeen.clear(); - } - static #_ = this.ɵfac = function PreconnectLinkChecker_Factory(t) { - return new (t || PreconnectLinkChecker)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: PreconnectLinkChecker, - factory: PreconnectLinkChecker.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PreconnectLinkChecker, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + /** + * Checks that a preconnect resource hint exists in the head for the + * given src. + * + * @param rewrittenSrc src formatted with loader + * @param originalNgSrc ngSrc value + */ + assertPreconnect(rewrittenSrc, originalNgSrc) { + if (!this.window) return; + const imgUrl = getUrl(rewrittenSrc, this.window); + if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin)) return; + // Register this origin as seen, so we don't check it again later. + this.alreadySeen.add(imgUrl.origin); + // Note: we query for preconnect links only *once* and cache the results + // for the entire lifespan of an application, since it's unlikely that the + // list would change frequently. This allows to make sure there are no + // performance implications of making extra DOM lookups for each image. + this.preconnectLinks ??= this.queryPreconnectLinks(); + if (!this.preconnectLinks.has(imgUrl.origin)) { + console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` + `image. Preconnecting to the origin(s) that serve priority images ensures that these ` + `images are delivered as soon as possible. To fix this, please add the following ` + `element into the of the document:\n` + ` `)); + } + } + queryPreconnectLinks() { + const preconnectUrls = new Set(); + const selector = 'link[rel=preconnect]'; + const links = Array.from(this.document.querySelectorAll(selector)); + for (let link of links) { + const url = getUrl(link.href, this.window); + preconnectUrls.add(url.origin); + } + return preconnectUrls; + } + ngOnDestroy() { + this.preconnectLinks?.clear(); + this.alreadySeen.clear(); + } + static #_ = this.ɵfac = function PreconnectLinkChecker_Factory(t) { + return new (t || PreconnectLinkChecker)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: PreconnectLinkChecker, + factory: PreconnectLinkChecker.ɵfac, providedIn: 'root' - }] - }], () => [], null); + }); + } + return PreconnectLinkChecker; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Invokes a callback for each element in the array. Also invokes a callback @@ -88427,7 +98537,7 @@ const DEFAULT_PRELOADED_IMAGES_LIMIT = 5; * This Set tracks the original src passed into the `ngSrc` input not the src after it has been * run through the specified `IMAGE_LOADER`. */ -const PRELOADED_IMAGES = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NG_OPTIMIZED_PRELOADED_IMAGES', { +const PRELOADED_IMAGES = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NG_OPTIMIZED_PRELOADED_IMAGES', { providedIn: 'root', factory: () => new Set() }); @@ -88440,66 +98550,64 @@ const PRELOADED_IMAGES = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectio * In dev mode this service will validate that the number of preloaded images does not exceed the * configured default preloaded images limit: {@link DEFAULT_PRELOADED_IMAGES_LIMIT}. */ -class PreloadLinkCreator { - constructor() { - this.preloadedImages = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PRELOADED_IMAGES); - this.document = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT); - } - /** - * @description Add a preload `` to the `` of the `index.html` that is served from the - * server while using Angular Universal and SSR to kick off image loads for high priority images. - * - * The `sizes` (passed in from the user) and `srcset` (parsed and formatted from `ngSrcset`) - * properties used to set the corresponding attributes, `imagesizes` and `imagesrcset` - * respectively, on the preload `` tag so that the correctly sized image is preloaded from - * the CDN. - * - * {@link https://web.dev/preload-responsive-images/#imagesrcset-and-imagesizes} - * - * @param renderer The `Renderer2` passed in from the directive - * @param src The original src of the image that is set on the `ngSrc` input. - * @param srcset The parsed and formatted srcset created from the `ngSrcset` input - * @param sizes The value of the `sizes` attribute passed in to the `` tag - */ - createPreloadLinkTag(renderer, src, srcset, sizes) { - if (ngDevMode) { - if (this.preloadedImages.size >= DEFAULT_PRELOADED_IMAGES_LIMIT) { - throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2961 /* RuntimeErrorCode.TOO_MANY_PRELOADED_IMAGES */, ngDevMode && `The \`NgOptimizedImage\` directive has detected that more than ` + `${DEFAULT_PRELOADED_IMAGES_LIMIT} images were marked as priority. ` + `This might negatively affect an overall performance of the page. ` + `To fix this, remove the "priority" attribute from images with less priority.`); - } - } - if (this.preloadedImages.has(src)) { - return; - } - this.preloadedImages.add(src); - const preload = renderer.createElement('link'); - renderer.setAttribute(preload, 'as', 'image'); - renderer.setAttribute(preload, 'href', src); - renderer.setAttribute(preload, 'rel', 'preload'); - renderer.setAttribute(preload, 'fetchpriority', 'high'); - if (sizes) { - renderer.setAttribute(preload, 'imageSizes', sizes); +let PreloadLinkCreator = /*#__PURE__*/(() => { + class PreloadLinkCreator { + constructor() { + this.preloadedImages = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PRELOADED_IMAGES); + this.document = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT); } - if (srcset) { - renderer.setAttribute(preload, 'imageSrcset', srcset); + /** + * @description Add a preload `` to the `` of the `index.html` that is served from the + * server while using Angular Universal and SSR to kick off image loads for high priority images. + * + * The `sizes` (passed in from the user) and `srcset` (parsed and formatted from `ngSrcset`) + * properties used to set the corresponding attributes, `imagesizes` and `imagesrcset` + * respectively, on the preload `` tag so that the correctly sized image is preloaded from + * the CDN. + * + * {@link https://web.dev/preload-responsive-images/#imagesrcset-and-imagesizes} + * + * @param renderer The `Renderer2` passed in from the directive + * @param src The original src of the image that is set on the `ngSrc` input. + * @param srcset The parsed and formatted srcset created from the `ngSrcset` input + * @param sizes The value of the `sizes` attribute passed in to the `` tag + */ + createPreloadLinkTag(renderer, src, srcset, sizes) { + if (ngDevMode) { + if (this.preloadedImages.size >= DEFAULT_PRELOADED_IMAGES_LIMIT) { + throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2961 /* RuntimeErrorCode.TOO_MANY_PRELOADED_IMAGES */, ngDevMode && `The \`NgOptimizedImage\` directive has detected that more than ` + `${DEFAULT_PRELOADED_IMAGES_LIMIT} images were marked as priority. ` + `This might negatively affect an overall performance of the page. ` + `To fix this, remove the "priority" attribute from images with less priority.`); + } + } + if (this.preloadedImages.has(src)) { + return; + } + this.preloadedImages.add(src); + const preload = renderer.createElement('link'); + renderer.setAttribute(preload, 'as', 'image'); + renderer.setAttribute(preload, 'href', src); + renderer.setAttribute(preload, 'rel', 'preload'); + renderer.setAttribute(preload, 'fetchpriority', 'high'); + if (sizes) { + renderer.setAttribute(preload, 'imageSizes', sizes); + } + if (srcset) { + renderer.setAttribute(preload, 'imageSrcset', srcset); + } + renderer.appendChild(this.document.head, preload); } - renderer.appendChild(this.document.head, preload); - } - static #_ = this.ɵfac = function PreloadLinkCreator_Factory(t) { - return new (t || PreloadLinkCreator)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ - token: PreloadLinkCreator, - factory: PreloadLinkCreator.ɵfac, - providedIn: 'root' - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PreloadLinkCreator, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable, - args: [{ + static #_ = this.ɵfac = function PreloadLinkCreator_Factory(t) { + return new (t || PreloadLinkCreator)(); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ + token: PreloadLinkCreator, + factory: PreloadLinkCreator.ɵfac, providedIn: 'root' - }] - }], null, null); + }); + } + return PreloadLinkCreator; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @@ -88670,398 +98778,319 @@ const BUILT_IN_LOADERS = [imgixLoaderInfo, imageKitLoaderInfo, cloudinaryLoaderI * * @publicApi */ -class NgOptimizedImage { - constructor() { - this.imageLoader = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(IMAGE_LOADER); - this.config = processConfig((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵIMAGE_CONFIG"])); - this.renderer = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2); - this.imgElement = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef).nativeElement; - this.injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector); - this.isServer = isPlatformServer((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.PLATFORM_ID)); - this.preloadLinkCreator = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PreloadLinkCreator); - // a LCP image observer - should be injected only in the dev mode - this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null; - /** - * Calculate the rewritten `src` once and store it. - * This is needed to avoid repetitive calculations and make sure the directive cleanup in the - * `ngOnDestroy` does not rely on the `IMAGE_LOADER` logic (which in turn can rely on some other - * instance that might be already destroyed). - */ - this._renderedSrc = null; - /** - * Indicates whether this image should have a high priority. - */ - this.priority = false; - /** - * Disables automatic srcset generation for this image. - */ - this.disableOptimizedSrcset = false; - /** - * Sets the image to "fill mode", which eliminates the height/width requirement and adds - * styles such that the image fills its containing element. - */ - this.fill = false; - } - /** @nodoc */ - ngOnInit() { - (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵperformanceMarkFeature"])('NgOptimizedImage'); - if (ngDevMode) { - const ngZone = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone); - assertNonEmptyInput(this, 'ngSrc', this.ngSrc); - assertValidNgSrcset(this, this.ngSrcset); - assertNoConflictingSrc(this); - if (this.ngSrcset) { - assertNoConflictingSrcset(this); - } - assertNotBase64Image(this); - assertNotBlobUrl(this); - if (this.fill) { - assertEmptyWidthAndHeight(this); - // This leaves the Angular zone to avoid triggering unnecessary change detection cycles when - // `load` tasks are invoked on images. - ngZone.runOutsideAngular(() => assertNonZeroRenderedHeight(this, this.imgElement, this.renderer)); - } else { - assertNonEmptyWidthAndHeight(this); - if (this.height !== undefined) { - assertGreaterThanZero(this, this.height, 'height'); - } - if (this.width !== undefined) { - assertGreaterThanZero(this, this.width, 'width'); - } - // Only check for distorted images when not in fill mode, where - // images may be intentionally stretched, cropped or letterboxed. - ngZone.runOutsideAngular(() => assertNoImageDistortion(this, this.imgElement, this.renderer)); - } - assertValidLoadingInput(this); - if (!this.ngSrcset) { - assertNoComplexSizes(this); - } - assertValidPlaceholder(this, this.imageLoader); - assertNotMissingBuiltInLoader(this.ngSrc, this.imageLoader); - assertNoNgSrcsetWithoutLoader(this, this.imageLoader); - assertNoLoaderParamsWithoutLoader(this, this.imageLoader); - if (this.lcpObserver !== null) { +let NgOptimizedImage = /*#__PURE__*/(() => { + class NgOptimizedImage { + constructor() { + this.imageLoader = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(IMAGE_LOADER); + this.config = processConfig((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵIMAGE_CONFIG"])); + this.renderer = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2); + this.imgElement = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef).nativeElement; + this.injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector); + this.isServer = isPlatformServer((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.PLATFORM_ID)); + this.preloadLinkCreator = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PreloadLinkCreator); + // a LCP image observer - should be injected only in the dev mode + this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null; + /** + * Calculate the rewritten `src` once and store it. + * This is needed to avoid repetitive calculations and make sure the directive cleanup in the + * `ngOnDestroy` does not rely on the `IMAGE_LOADER` logic (which in turn can rely on some other + * instance that might be already destroyed). + */ + this._renderedSrc = null; + /** + * Indicates whether this image should have a high priority. + */ + this.priority = false; + /** + * Disables automatic srcset generation for this image. + */ + this.disableOptimizedSrcset = false; + /** + * Sets the image to "fill mode", which eliminates the height/width requirement and adds + * styles such that the image fills its containing element. + */ + this.fill = false; + } + /** @nodoc */ + ngOnInit() { + (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵperformanceMarkFeature"])('NgOptimizedImage'); + if (ngDevMode) { const ngZone = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone); - ngZone.runOutsideAngular(() => { - this.lcpObserver.registerImage(this.getRewrittenSrc(), this.ngSrc, this.priority); - }); + assertNonEmptyInput(this, 'ngSrc', this.ngSrc); + assertValidNgSrcset(this, this.ngSrcset); + assertNoConflictingSrc(this); + if (this.ngSrcset) { + assertNoConflictingSrcset(this); + } + assertNotBase64Image(this); + assertNotBlobUrl(this); + if (this.fill) { + assertEmptyWidthAndHeight(this); + // This leaves the Angular zone to avoid triggering unnecessary change detection cycles when + // `load` tasks are invoked on images. + ngZone.runOutsideAngular(() => assertNonZeroRenderedHeight(this, this.imgElement, this.renderer)); + } else { + assertNonEmptyWidthAndHeight(this); + if (this.height !== undefined) { + assertGreaterThanZero(this, this.height, 'height'); + } + if (this.width !== undefined) { + assertGreaterThanZero(this, this.width, 'width'); + } + // Only check for distorted images when not in fill mode, where + // images may be intentionally stretched, cropped or letterboxed. + ngZone.runOutsideAngular(() => assertNoImageDistortion(this, this.imgElement, this.renderer)); + } + assertValidLoadingInput(this); + if (!this.ngSrcset) { + assertNoComplexSizes(this); + } + assertValidPlaceholder(this, this.imageLoader); + assertNotMissingBuiltInLoader(this.ngSrc, this.imageLoader); + assertNoNgSrcsetWithoutLoader(this, this.imageLoader); + assertNoLoaderParamsWithoutLoader(this, this.imageLoader); + if (this.lcpObserver !== null) { + const ngZone = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone); + ngZone.runOutsideAngular(() => { + this.lcpObserver.registerImage(this.getRewrittenSrc(), this.ngSrc, this.priority); + }); + } + if (this.priority) { + const checker = this.injector.get(PreconnectLinkChecker); + checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc); + } } - if (this.priority) { - const checker = this.injector.get(PreconnectLinkChecker); - checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc); + if (this.placeholder) { + this.removePlaceholderOnLoad(this.imgElement); } + this.setHostAttributes(); } - if (this.placeholder) { - this.removePlaceholderOnLoad(this.imgElement); + setHostAttributes() { + // Must set width/height explicitly in case they are bound (in which case they will + // only be reflected and not found by the browser) + if (this.fill) { + this.sizes ||= '100vw'; + } else { + this.setHostAttribute('width', this.width.toString()); + this.setHostAttribute('height', this.height.toString()); + } + this.setHostAttribute('loading', this.getLoadingBehavior()); + this.setHostAttribute('fetchpriority', this.getFetchPriority()); + // The `data-ng-img` attribute flags an image as using the directive, to allow + // for analysis of the directive's performance. + this.setHostAttribute('ng-img', 'true'); + // The `src` and `srcset` attributes should be set last since other attributes + // could affect the image's loading behavior. + const rewrittenSrcset = this.updateSrcAndSrcset(); + if (this.sizes) { + this.setHostAttribute('sizes', this.sizes); + } + if (this.isServer && this.priority) { + this.preloadLinkCreator.createPreloadLinkTag(this.renderer, this.getRewrittenSrc(), rewrittenSrcset, this.sizes); + } + } + /** @nodoc */ + ngOnChanges(changes) { + if (ngDevMode) { + assertNoPostInitInputChange(this, changes, ['ngSrcset', 'width', 'height', 'priority', 'fill', 'loading', 'sizes', 'loaderParams', 'disableOptimizedSrcset']); + } + if (changes['ngSrc'] && !changes['ngSrc'].isFirstChange()) { + const oldSrc = this._renderedSrc; + this.updateSrcAndSrcset(true); + const newSrc = this._renderedSrc; + if (this.lcpObserver !== null && oldSrc && newSrc && oldSrc !== newSrc) { + const ngZone = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone); + ngZone.runOutsideAngular(() => { + this.lcpObserver?.updateImage(oldSrc, newSrc); + }); + } + } } - this.setHostAttributes(); - } - setHostAttributes() { - // Must set width/height explicitly in case they are bound (in which case they will - // only be reflected and not found by the browser) - if (this.fill) { - this.sizes ||= '100vw'; - } else { - this.setHostAttribute('width', this.width.toString()); - this.setHostAttribute('height', this.height.toString()); - } - this.setHostAttribute('loading', this.getLoadingBehavior()); - this.setHostAttribute('fetchpriority', this.getFetchPriority()); - // The `data-ng-img` attribute flags an image as using the directive, to allow - // for analysis of the directive's performance. - this.setHostAttribute('ng-img', 'true'); - // The `src` and `srcset` attributes should be set last since other attributes - // could affect the image's loading behavior. - const rewrittenSrcset = this.updateSrcAndSrcset(); - if (this.sizes) { - this.setHostAttribute('sizes', this.sizes); - } - if (this.isServer && this.priority) { - this.preloadLinkCreator.createPreloadLinkTag(this.renderer, this.getRewrittenSrc(), rewrittenSrcset, this.sizes); - } - } - /** @nodoc */ - ngOnChanges(changes) { - if (ngDevMode) { - assertNoPostInitInputChange(this, changes, ['ngSrcset', 'width', 'height', 'priority', 'fill', 'loading', 'sizes', 'loaderParams', 'disableOptimizedSrcset']); + callImageLoader(configWithoutCustomParams) { + let augmentedConfig = configWithoutCustomParams; + if (this.loaderParams) { + augmentedConfig.loaderParams = this.loaderParams; + } + return this.imageLoader(augmentedConfig); } - if (changes['ngSrc'] && !changes['ngSrc'].isFirstChange()) { - const oldSrc = this._renderedSrc; - this.updateSrcAndSrcset(true); - const newSrc = this._renderedSrc; - if (this.lcpObserver !== null && oldSrc && newSrc && oldSrc !== newSrc) { - const ngZone = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone); - ngZone.runOutsideAngular(() => { - this.lcpObserver?.updateImage(oldSrc, newSrc); - }); + getLoadingBehavior() { + if (!this.priority && this.loading !== undefined) { + return this.loading; } + return this.priority ? 'eager' : 'lazy'; } - } - callImageLoader(configWithoutCustomParams) { - let augmentedConfig = configWithoutCustomParams; - if (this.loaderParams) { - augmentedConfig.loaderParams = this.loaderParams; + getFetchPriority() { + return this.priority ? 'high' : 'auto'; } - return this.imageLoader(augmentedConfig); - } - getLoadingBehavior() { - if (!this.priority && this.loading !== undefined) { - return this.loading; + getRewrittenSrc() { + // ImageLoaderConfig supports setting a width property. However, we're not setting width here + // because if the developer uses rendered width instead of intrinsic width in the HTML width + // attribute, the image requested may be too small for 2x+ screens. + if (!this._renderedSrc) { + const imgConfig = { + src: this.ngSrc + }; + // Cache calculated image src to reuse it later in the code. + this._renderedSrc = this.callImageLoader(imgConfig); + } + return this._renderedSrc; + } + getRewrittenSrcset() { + const widthSrcSet = VALID_WIDTH_DESCRIPTOR_SRCSET.test(this.ngSrcset); + const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => { + srcStr = srcStr.trim(); + const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width; + return `${this.callImageLoader({ + src: this.ngSrc, + width + })} ${srcStr}`; + }); + return finalSrcs.join(', '); } - return this.priority ? 'eager' : 'lazy'; - } - getFetchPriority() { - return this.priority ? 'high' : 'auto'; - } - getRewrittenSrc() { - // ImageLoaderConfig supports setting a width property. However, we're not setting width here - // because if the developer uses rendered width instead of intrinsic width in the HTML width - // attribute, the image requested may be too small for 2x+ screens. - if (!this._renderedSrc) { - const imgConfig = { - src: this.ngSrc - }; - // Cache calculated image src to reuse it later in the code. - this._renderedSrc = this.callImageLoader(imgConfig); + getAutomaticSrcset() { + if (this.sizes) { + return this.getResponsiveSrcset(); + } else { + return this.getFixedSrcset(); + } } - return this._renderedSrc; - } - getRewrittenSrcset() { - const widthSrcSet = VALID_WIDTH_DESCRIPTOR_SRCSET.test(this.ngSrcset); - const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => { - srcStr = srcStr.trim(); - const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width; - return `${this.callImageLoader({ + getResponsiveSrcset() { + const { + breakpoints + } = this.config; + let filteredBreakpoints = breakpoints; + if (this.sizes?.trim() === '100vw') { + // Since this is a full-screen-width image, our srcset only needs to include + // breakpoints with full viewport widths. + filteredBreakpoints = breakpoints.filter(bp => bp >= VIEWPORT_BREAKPOINT_CUTOFF); + } + const finalSrcs = filteredBreakpoints.map(bp => `${this.callImageLoader({ src: this.ngSrc, - width - })} ${srcStr}`; - }); - return finalSrcs.join(', '); - } - getAutomaticSrcset() { - if (this.sizes) { - return this.getResponsiveSrcset(); - } else { - return this.getFixedSrcset(); - } - } - getResponsiveSrcset() { - const { - breakpoints - } = this.config; - let filteredBreakpoints = breakpoints; - if (this.sizes?.trim() === '100vw') { - // Since this is a full-screen-width image, our srcset only needs to include - // breakpoints with full viewport widths. - filteredBreakpoints = breakpoints.filter(bp => bp >= VIEWPORT_BREAKPOINT_CUTOFF); - } - const finalSrcs = filteredBreakpoints.map(bp => `${this.callImageLoader({ - src: this.ngSrc, - width: bp - })} ${bp}w`); - return finalSrcs.join(', '); - } - updateSrcAndSrcset(forceSrcRecalc = false) { - if (forceSrcRecalc) { - // Reset cached value, so that the followup `getRewrittenSrc()` call - // will recalculate it and update the cache. - this._renderedSrc = null; + width: bp + })} ${bp}w`); + return finalSrcs.join(', '); + } + updateSrcAndSrcset(forceSrcRecalc = false) { + if (forceSrcRecalc) { + // Reset cached value, so that the followup `getRewrittenSrc()` call + // will recalculate it and update the cache. + this._renderedSrc = null; + } + const rewrittenSrc = this.getRewrittenSrc(); + this.setHostAttribute('src', rewrittenSrc); + let rewrittenSrcset = undefined; + if (this.ngSrcset) { + rewrittenSrcset = this.getRewrittenSrcset(); + } else if (this.shouldGenerateAutomaticSrcset()) { + rewrittenSrcset = this.getAutomaticSrcset(); + } + if (rewrittenSrcset) { + this.setHostAttribute('srcset', rewrittenSrcset); + } + return rewrittenSrcset; } - const rewrittenSrc = this.getRewrittenSrc(); - this.setHostAttribute('src', rewrittenSrc); - let rewrittenSrcset = undefined; - if (this.ngSrcset) { - rewrittenSrcset = this.getRewrittenSrcset(); - } else if (this.shouldGenerateAutomaticSrcset()) { - rewrittenSrcset = this.getAutomaticSrcset(); + getFixedSrcset() { + const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.callImageLoader({ + src: this.ngSrc, + width: this.width * multiplier + })} ${multiplier}x`); + return finalSrcs.join(', '); } - if (rewrittenSrcset) { - this.setHostAttribute('srcset', rewrittenSrcset); + shouldGenerateAutomaticSrcset() { + let oversizedImage = false; + if (!this.sizes) { + oversizedImage = this.width > FIXED_SRCSET_WIDTH_LIMIT || this.height > FIXED_SRCSET_HEIGHT_LIMIT; + } + return !this.disableOptimizedSrcset && !this.srcset && this.imageLoader !== noopImageLoader && !oversizedImage; } - return rewrittenSrcset; - } - getFixedSrcset() { - const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.callImageLoader({ - src: this.ngSrc, - width: this.width * multiplier - })} ${multiplier}x`); - return finalSrcs.join(', '); - } - shouldGenerateAutomaticSrcset() { - let oversizedImage = false; - if (!this.sizes) { - oversizedImage = this.width > FIXED_SRCSET_WIDTH_LIMIT || this.height > FIXED_SRCSET_HEIGHT_LIMIT; + /** + * Returns an image url formatted for use with the CSS background-image property. Expects one of: + * * A base64 encoded image, which is wrapped and passed through. + * * A boolean. If true, calls the image loader to generate a small placeholder url. + */ + generatePlaceholder(placeholderInput) { + const { + placeholderResolution + } = this.config; + if (placeholderInput === true) { + return `url(${this.callImageLoader({ + src: this.ngSrc, + width: placeholderResolution, + isPlaceholder: true + })})`; + } else if (typeof placeholderInput === 'string' && placeholderInput.startsWith('data:')) { + return `url(${placeholderInput})`; + } + return null; } - return !this.disableOptimizedSrcset && !this.srcset && this.imageLoader !== noopImageLoader && !oversizedImage; - } - /** - * Returns an image url formatted for use with the CSS background-image property. Expects one of: - * * A base64 encoded image, which is wrapped and passed through. - * * A boolean. If true, calls the image loader to generate a small placeholder url. - */ - generatePlaceholder(placeholderInput) { - const { - placeholderResolution - } = this.config; - if (placeholderInput === true) { - return `url(${this.callImageLoader({ - src: this.ngSrc, - width: placeholderResolution, - isPlaceholder: true - })})`; - } else if (typeof placeholderInput === 'string' && placeholderInput.startsWith('data:')) { - return `url(${placeholderInput})`; + /** + * Determines if blur should be applied, based on an optional boolean + * property `blur` within the optional configuration object `placeholderConfig`. + */ + shouldBlurPlaceholder(placeholderConfig) { + if (!placeholderConfig || !placeholderConfig.hasOwnProperty('blur')) { + return true; + } + return Boolean(placeholderConfig.blur); } - return null; - } - /** - * Determines if blur should be applied, based on an optional boolean - * property `blur` within the optional configuration object `placeholderConfig`. - */ - shouldBlurPlaceholder(placeholderConfig) { - if (!placeholderConfig || !placeholderConfig.hasOwnProperty('blur')) { - return true; + removePlaceholderOnLoad(img) { + const callback = () => { + const changeDetectorRef = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef); + removeLoadListenerFn(); + removeErrorListenerFn(); + this.placeholder = false; + changeDetectorRef.markForCheck(); + }; + const removeLoadListenerFn = this.renderer.listen(img, 'load', callback); + const removeErrorListenerFn = this.renderer.listen(img, 'error', callback); } - return Boolean(placeholderConfig.blur); - } - removePlaceholderOnLoad(img) { - const callback = () => { - const changeDetectorRef = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef); - removeLoadListenerFn(); - removeErrorListenerFn(); - this.placeholder = false; - changeDetectorRef.markForCheck(); - }; - const removeLoadListenerFn = this.renderer.listen(img, 'load', callback); - const removeErrorListenerFn = this.renderer.listen(img, 'error', callback); - } - /** @nodoc */ - ngOnDestroy() { - if (ngDevMode) { - if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) { - this.lcpObserver.unregisterImage(this._renderedSrc); + /** @nodoc */ + ngOnDestroy() { + if (ngDevMode) { + if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) { + this.lcpObserver.unregisterImage(this._renderedSrc); + } } } - } - setHostAttribute(name, value) { - this.renderer.setAttribute(this.imgElement, name, value); - } - static #_ = this.ɵfac = function NgOptimizedImage_Factory(t) { - return new (t || NgOptimizedImage)(); - }; - static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ - type: NgOptimizedImage, - selectors: [["img", "ngSrc", ""]], - hostVars: 18, - hostBindings: function NgOptimizedImage_HostBindings(rf, ctx) { - if (rf & 2) { - _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("position", ctx.fill ? "absolute" : null)("width", ctx.fill ? "100%" : null)("height", ctx.fill ? "100%" : null)("inset", ctx.fill ? "0" : null)("background-size", ctx.placeholder ? "cover" : null)("background-position", ctx.placeholder ? "50% 50%" : null)("background-repeat", ctx.placeholder ? "no-repeat" : null)("background-image", ctx.placeholder ? ctx.generatePlaceholder(ctx.placeholder) : null)("filter", ctx.placeholder && ctx.shouldBlurPlaceholder(ctx.placeholderConfig) ? "blur(15px)" : null); - } - }, - inputs: { - ngSrc: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "ngSrc", "ngSrc", unwrapSafeUrl], - ngSrcset: "ngSrcset", - sizes: "sizes", - width: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "width", "width", _angular_core__WEBPACK_IMPORTED_MODULE_0__.numberAttribute], - height: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "height", "height", _angular_core__WEBPACK_IMPORTED_MODULE_0__.numberAttribute], - loading: "loading", - priority: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "priority", "priority", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], - loaderParams: "loaderParams", - disableOptimizedSrcset: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "disableOptimizedSrcset", "disableOptimizedSrcset", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], - fill: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "fill", "fill", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], - placeholder: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "placeholder", "placeholder", booleanOrDataUrlAttribute], - placeholderConfig: "placeholderConfig", - src: "src", - srcset: "srcset" - }, - standalone: true, - features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgOptimizedImage, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive, - args: [{ + setHostAttribute(name, value) { + this.renderer.setAttribute(this.imgElement, name, value); + } + static #_ = this.ɵfac = function NgOptimizedImage_Factory(t) { + return new (t || NgOptimizedImage)(); + }; + static #_2 = this.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({ + type: NgOptimizedImage, + selectors: [["img", "ngSrc", ""]], + hostVars: 18, + hostBindings: function NgOptimizedImage_HostBindings(rf, ctx) { + if (rf & 2) { + _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("position", ctx.fill ? "absolute" : null)("width", ctx.fill ? "100%" : null)("height", ctx.fill ? "100%" : null)("inset", ctx.fill ? "0" : null)("background-size", ctx.placeholder ? "cover" : null)("background-position", ctx.placeholder ? "50% 50%" : null)("background-repeat", ctx.placeholder ? "no-repeat" : null)("background-image", ctx.placeholder ? ctx.generatePlaceholder(ctx.placeholder) : null)("filter", ctx.placeholder && ctx.shouldBlurPlaceholder(ctx.placeholderConfig) ? "blur(15px)" : null); + } + }, + inputs: { + ngSrc: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "ngSrc", "ngSrc", unwrapSafeUrl], + ngSrcset: "ngSrcset", + sizes: "sizes", + width: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "width", "width", _angular_core__WEBPACK_IMPORTED_MODULE_0__.numberAttribute], + height: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "height", "height", _angular_core__WEBPACK_IMPORTED_MODULE_0__.numberAttribute], + loading: "loading", + priority: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "priority", "priority", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], + loaderParams: "loaderParams", + disableOptimizedSrcset: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "disableOptimizedSrcset", "disableOptimizedSrcset", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], + fill: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "fill", "fill", _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute], + placeholder: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputFlags"].HasDecoratorInputTransform, "placeholder", "placeholder", booleanOrDataUrlAttribute], + placeholderConfig: "placeholderConfig", + src: "src", + srcset: "srcset" + }, standalone: true, - selector: 'img[ngSrc]', - host: { - '[style.position]': 'fill ? "absolute" : null', - '[style.width]': 'fill ? "100%" : null', - '[style.height]': 'fill ? "100%" : null', - '[style.inset]': 'fill ? "0" : null', - '[style.background-size]': 'placeholder ? "cover" : null', - '[style.background-position]': 'placeholder ? "50% 50%" : null', - '[style.background-repeat]': 'placeholder ? "no-repeat" : null', - '[style.background-image]': 'placeholder ? generatePlaceholder(placeholder) : null', - '[style.filter]': `placeholder && shouldBlurPlaceholder(placeholderConfig) ? "blur(${PLACEHOLDER_BLUR_AMOUNT}px)" : null` - } - }] - }], null, { - ngSrc: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - required: true, - transform: unwrapSafeUrl - }] - }], - ngSrcset: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - sizes: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - width: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.numberAttribute - }] - }], - height: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.numberAttribute - }] - }], - loading: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - priority: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }], - loaderParams: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - disableOptimizedSrcset: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }], - fill: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: _angular_core__WEBPACK_IMPORTED_MODULE_0__.booleanAttribute - }] - }], - placeholder: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input, - args: [{ - transform: booleanOrDataUrlAttribute - }] - }], - placeholderConfig: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - src: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }], - srcset: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input - }] - }); + features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInputTransformsFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]] + }); + } + return NgOptimizedImage; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /***** Helpers *****/ /** @@ -89424,10 +99453,11 @@ function booleanOrDataUrlAttribute(value) { */ +//# sourceMappingURL=common.mjs.map /***/ }), -/***/ 77008: +/***/ 26409: /*!********************************************************!*\ !*** ./node_modules/@angular/common/fesm2022/http.mjs ***! \********************************************************/ @@ -89475,18 +99505,18 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "ɵPRIMARY_HTTP_BACKEND": () => (/* binding */ PRIMARY_HTTP_BACKEND), /* harmony export */ "ɵwithHttpTransferCache": () => (/* binding */ withHttpTransferCache) /* harmony export */ }); -/* harmony import */ var _home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 56207); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 96623); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 13901); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 64517); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 73496); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 75214); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 61856); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 24406); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 39848); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 21082); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 61969); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 39191); +/* harmony import */ var _home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 73308); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 2978); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 20756); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 99406); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 333); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 54807); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 38503); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 93527); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 46347); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 72831); +/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 37236); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 56610); /** * @license Angular v17.3.3 @@ -90421,8 +100451,7 @@ class HttpRequest { * * @publicApi */ -var HttpEventType; -(function (HttpEventType) { +var HttpEventType = /*#__PURE__*/function (HttpEventType) { /** * The request was sent out over the wire. */ @@ -90449,7 +100478,8 @@ var HttpEventType; * A custom event from an interceptor or a backend. */ HttpEventType[HttpEventType["User"] = 5] = "User"; -})(HttpEventType || (HttpEventType = {})); + return HttpEventType; +}(HttpEventType || {}); /** * Base class for both `HttpResponse` and `HttpHeaderResponse`. * @@ -90571,8 +100601,7 @@ class HttpErrorResponse extends HttpResponseBase { * As per https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * @publicApi */ -var HttpStatusCode; -(function (HttpStatusCode) { +var HttpStatusCode = /*#__PURE__*/function (HttpStatusCode) { HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue"; HttpStatusCode[HttpStatusCode["SwitchingProtocols"] = 101] = "SwitchingProtocols"; HttpStatusCode[HttpStatusCode["Processing"] = 102] = "Processing"; @@ -90636,8 +100665,8 @@ var HttpStatusCode; HttpStatusCode[HttpStatusCode["LoopDetected"] = 508] = "LoopDetected"; HttpStatusCode[HttpStatusCode["NotExtended"] = 510] = "NotExtended"; HttpStatusCode[HttpStatusCode["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired"; -})(HttpStatusCode || (HttpStatusCode = {})); - + return HttpStatusCode; +}(HttpStatusCode || {}); /** * Constructs an instance of `HttpRequestOptions` from a source `HttpMethodOptions` and * the given `body`. This function clones the object and adds the body. @@ -90716,243 +100745,242 @@ function addBody(options, body) { * * @publicApi */ -class HttpClient { - constructor(handler) { - this.handler = handler; - } - /** - * Constructs an observable for a generic HTTP request that, when subscribed, - * fires the request through the chain of registered interceptors and on to the - * server. - * - * You can pass an `HttpRequest` directly as the only parameter. In this case, - * the call returns an observable of the raw `HttpEvent` stream. - * - * Alternatively you can pass an HTTP method as the first parameter, - * a URL string as the second, and an options hash containing the request body as the third. - * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the - * type of returned observable. - * * The `responseType` value determines how a successful response body is parsed. - * * If `responseType` is the default `json`, you can pass a type interface for the resulting - * object as a type parameter to the call. - * - * The `observe` value determines the return type, according to what you are interested in - * observing. - * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including - * progress events by default. - * * An `observe` value of response returns an observable of `HttpResponse`, - * where the `T` parameter depends on the `responseType` and any optionally provided type - * parameter. - * * An `observe` value of body returns an observable of `` with the same `T` body type. - * - */ - request(first, url, options = {}) { - let req; - // First, check whether the primary argument is an instance of `HttpRequest`. - if (first instanceof HttpRequest) { - // It is. The other arguments must be undefined (per the signatures) and can be - // ignored. - req = first; - } else { - // It's a string, so it represents a URL. Construct a request based on it, - // and incorporate the remaining arguments (assuming `GET` unless a method is - // provided. - // Figure out the headers. - let headers = undefined; - if (options.headers instanceof HttpHeaders) { - headers = options.headers; +let HttpClient = /*#__PURE__*/(() => { + class HttpClient { + constructor(handler) { + this.handler = handler; + } + /** + * Constructs an observable for a generic HTTP request that, when subscribed, + * fires the request through the chain of registered interceptors and on to the + * server. + * + * You can pass an `HttpRequest` directly as the only parameter. In this case, + * the call returns an observable of the raw `HttpEvent` stream. + * + * Alternatively you can pass an HTTP method as the first parameter, + * a URL string as the second, and an options hash containing the request body as the third. + * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the + * type of returned observable. + * * The `responseType` value determines how a successful response body is parsed. + * * If `responseType` is the default `json`, you can pass a type interface for the resulting + * object as a type parameter to the call. + * + * The `observe` value determines the return type, according to what you are interested in + * observing. + * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including + * progress events by default. + * * An `observe` value of response returns an observable of `HttpResponse`, + * where the `T` parameter depends on the `responseType` and any optionally provided type + * parameter. + * * An `observe` value of body returns an observable of `` with the same `T` body type. + * + */ + request(first, url, options = {}) { + let req; + // First, check whether the primary argument is an instance of `HttpRequest`. + if (first instanceof HttpRequest) { + // It is. The other arguments must be undefined (per the signatures) and can be + // ignored. + req = first; } else { - headers = new HttpHeaders(options.headers); - } - // Sort out parameters. - let params = undefined; - if (!!options.params) { - if (options.params instanceof HttpParams) { - params = options.params; + // It's a string, so it represents a URL. Construct a request based on it, + // and incorporate the remaining arguments (assuming `GET` unless a method is + // provided. + // Figure out the headers. + let headers = undefined; + if (options.headers instanceof HttpHeaders) { + headers = options.headers; } else { - params = new HttpParams({ - fromObject: options.params - }); + headers = new HttpHeaders(options.headers); } - } - // Construct the request. - req = new HttpRequest(first, url, options.body !== undefined ? options.body : null, { - headers, - context: options.context, - params, - reportProgress: options.reportProgress, - // By default, JSON is assumed to be returned for all calls. - responseType: options.responseType || 'json', - withCredentials: options.withCredentials, - transferCache: options.transferCache - }); - } - // Start with an Observable.of() the initial request, and run the handler (which - // includes all interceptors) inside a concatMap(). This way, the handler runs - // inside an Observable chain, which causes interceptors to be re-run on every - // subscription (this also makes retries re-run the handler, including interceptors). - const events$ = (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.of)(req).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.concatMap)(req => this.handler.handle(req))); - // If coming via the API signature which accepts a previously constructed HttpRequest, - // the only option is to get the event stream. Otherwise, return the event stream if - // that is what was requested. - if (first instanceof HttpRequest || options.observe === 'events') { - return events$; - } - // The requested stream contains either the full response or the body. In either - // case, the first step is to filter the event stream to extract a stream of - // responses(s). - const res$ = events$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.filter)(event => event instanceof HttpResponse)); - // Decide which stream to return. - switch (options.observe || 'body') { - case 'body': - // The requested stream is the body. Map the response stream to the response - // body. This could be done more simply, but a misbehaving interceptor might - // transform the response body into a different format and ignore the requested - // responseType. Guard against this by validating that the response is of the - // requested type. - switch (req.responseType) { - case 'arraybuffer': - return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(res => { - // Validate that the body is an ArrayBuffer. - if (res.body !== null && !(res.body instanceof ArrayBuffer)) { - throw new Error('Response is not an ArrayBuffer.'); - } - return res.body; - })); - case 'blob': - return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(res => { - // Validate that the body is a Blob. - if (res.body !== null && !(res.body instanceof Blob)) { - throw new Error('Response is not a Blob.'); - } - return res.body; - })); - case 'text': - return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(res => { - // Validate that the body is a string. - if (res.body !== null && typeof res.body !== 'string') { - throw new Error('Response is not a string.'); - } - return res.body; - })); - case 'json': - default: - // No validation needed for JSON responses, as they can be of any type. - return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(res => res.body)); + // Sort out parameters. + let params = undefined; + if (!!options.params) { + if (options.params instanceof HttpParams) { + params = options.params; + } else { + params = new HttpParams({ + fromObject: options.params + }); + } } - case 'response': - // The response stream was requested directly, so return it. - return res$; - default: - // Guard against new future observe types being added. - throw new Error(`Unreachable: unhandled observe type ${options.observe}}`); + // Construct the request. + req = new HttpRequest(first, url, options.body !== undefined ? options.body : null, { + headers, + context: options.context, + params, + reportProgress: options.reportProgress, + // By default, JSON is assumed to be returned for all calls. + responseType: options.responseType || 'json', + withCredentials: options.withCredentials, + transferCache: options.transferCache + }); + } + // Start with an Observable.of() the initial request, and run the handler (which + // includes all interceptors) inside a concatMap(). This way, the handler runs + // inside an Observable chain, which causes interceptors to be re-run on every + // subscription (this also makes retries re-run the handler, including interceptors). + const events$ = (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.of)(req).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.concatMap)(req => this.handler.handle(req))); + // If coming via the API signature which accepts a previously constructed HttpRequest, + // the only option is to get the event stream. Otherwise, return the event stream if + // that is what was requested. + if (first instanceof HttpRequest || options.observe === 'events') { + return events$; + } + // The requested stream contains either the full response or the body. In either + // case, the first step is to filter the event stream to extract a stream of + // responses(s). + const res$ = events$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.filter)(event => event instanceof HttpResponse)); + // Decide which stream to return. + switch (options.observe || 'body') { + case 'body': + // The requested stream is the body. Map the response stream to the response + // body. This could be done more simply, but a misbehaving interceptor might + // transform the response body into a different format and ignore the requested + // responseType. Guard against this by validating that the response is of the + // requested type. + switch (req.responseType) { + case 'arraybuffer': + return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(res => { + // Validate that the body is an ArrayBuffer. + if (res.body !== null && !(res.body instanceof ArrayBuffer)) { + throw new Error('Response is not an ArrayBuffer.'); + } + return res.body; + })); + case 'blob': + return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(res => { + // Validate that the body is a Blob. + if (res.body !== null && !(res.body instanceof Blob)) { + throw new Error('Response is not a Blob.'); + } + return res.body; + })); + case 'text': + return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(res => { + // Validate that the body is a string. + if (res.body !== null && typeof res.body !== 'string') { + throw new Error('Response is not a string.'); + } + return res.body; + })); + case 'json': + default: + // No validation needed for JSON responses, as they can be of any type. + return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(res => res.body)); + } + case 'response': + // The response stream was requested directly, so return it. + return res$; + default: + // Guard against new future observe types being added. + throw new Error(`Unreachable: unhandled observe type ${options.observe}}`); + } } - } - /** - * Constructs an observable that, when subscribed, causes the configured - * `DELETE` request to execute on the server. See the individual overloads for - * details on the return type. - * - * @param url The endpoint URL. - * @param options The HTTP options to send with the request. - * - */ - delete(url, options = {}) { - return this.request('DELETE', url, options); - } - /** - * Constructs an observable that, when subscribed, causes the configured - * `GET` request to execute on the server. See the individual overloads for - * details on the return type. - */ - get(url, options = {}) { - return this.request('GET', url, options); - } - /** - * Constructs an observable that, when subscribed, causes the configured - * `HEAD` request to execute on the server. The `HEAD` method returns - * meta information about the resource without transferring the - * resource itself. See the individual overloads for - * details on the return type. - */ - head(url, options = {}) { - return this.request('HEAD', url, options); - } - /** - * Constructs an `Observable` that, when subscribed, causes a request with the special method - * `JSONP` to be dispatched via the interceptor pipeline. - * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain - * API endpoints that don't support newer, - * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol. - * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the - * requests even if the API endpoint is not located on the same domain (origin) as the client-side - * application making the request. - * The endpoint API must support JSONP callback for JSONP requests to work. - * The resource API returns the JSON response wrapped in a callback function. - * You can pass the callback function name as one of the query parameters. - * Note that JSONP requests can only be used with `GET` requests. - * - * @param url The resource URL. - * @param callbackParam The callback function name. - * - */ - jsonp(url, callbackParam) { - return this.request('JSONP', url, { - params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'), - observe: 'body', - responseType: 'json' + /** + * Constructs an observable that, when subscribed, causes the configured + * `DELETE` request to execute on the server. See the individual overloads for + * details on the return type. + * + * @param url The endpoint URL. + * @param options The HTTP options to send with the request. + * + */ + delete(url, options = {}) { + return this.request('DELETE', url, options); + } + /** + * Constructs an observable that, when subscribed, causes the configured + * `GET` request to execute on the server. See the individual overloads for + * details on the return type. + */ + get(url, options = {}) { + return this.request('GET', url, options); + } + /** + * Constructs an observable that, when subscribed, causes the configured + * `HEAD` request to execute on the server. The `HEAD` method returns + * meta information about the resource without transferring the + * resource itself. See the individual overloads for + * details on the return type. + */ + head(url, options = {}) { + return this.request('HEAD', url, options); + } + /** + * Constructs an `Observable` that, when subscribed, causes a request with the special method + * `JSONP` to be dispatched via the interceptor pipeline. + * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain + * API endpoints that don't support newer, + * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol. + * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the + * requests even if the API endpoint is not located on the same domain (origin) as the client-side + * application making the request. + * The endpoint API must support JSONP callback for JSONP requests to work. + * The resource API returns the JSON response wrapped in a callback function. + * You can pass the callback function name as one of the query parameters. + * Note that JSONP requests can only be used with `GET` requests. + * + * @param url The resource URL. + * @param callbackParam The callback function name. + * + */ + jsonp(url, callbackParam) { + return this.request('JSONP', url, { + params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'), + observe: 'body', + responseType: 'json' + }); + } + /** + * Constructs an `Observable` that, when subscribed, causes the configured + * `OPTIONS` request to execute on the server. This method allows the client + * to determine the supported HTTP methods and other capabilities of an endpoint, + * without implying a resource action. See the individual overloads for + * details on the return type. + */ + options(url, options = {}) { + return this.request('OPTIONS', url, options); + } + /** + * Constructs an observable that, when subscribed, causes the configured + * `PATCH` request to execute on the server. See the individual overloads for + * details on the return type. + */ + patch(url, body, options = {}) { + return this.request('PATCH', url, addBody(options, body)); + } + /** + * Constructs an observable that, when subscribed, causes the configured + * `POST` request to execute on the server. The server responds with the location of + * the replaced resource. See the individual overloads for + * details on the return type. + */ + post(url, body, options = {}) { + return this.request('POST', url, addBody(options, body)); + } + /** + * Constructs an observable that, when subscribed, causes the configured + * `PUT` request to execute on the server. The `PUT` method replaces an existing resource + * with a new set of values. + * See the individual overloads for details on the return type. + */ + put(url, body, options = {}) { + return this.request('PUT', url, addBody(options, body)); + } + static #_ = this.ɵfac = function HttpClient_Factory(t) { + return new (t || HttpClient)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](HttpHandler)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ + token: HttpClient, + factory: HttpClient.ɵfac }); } - /** - * Constructs an `Observable` that, when subscribed, causes the configured - * `OPTIONS` request to execute on the server. This method allows the client - * to determine the supported HTTP methods and other capabilities of an endpoint, - * without implying a resource action. See the individual overloads for - * details on the return type. - */ - options(url, options = {}) { - return this.request('OPTIONS', url, options); - } - /** - * Constructs an observable that, when subscribed, causes the configured - * `PATCH` request to execute on the server. See the individual overloads for - * details on the return type. - */ - patch(url, body, options = {}) { - return this.request('PATCH', url, addBody(options, body)); - } - /** - * Constructs an observable that, when subscribed, causes the configured - * `POST` request to execute on the server. The server responds with the location of - * the replaced resource. See the individual overloads for - * details on the return type. - */ - post(url, body, options = {}) { - return this.request('POST', url, addBody(options, body)); - } - /** - * Constructs an observable that, when subscribed, causes the configured - * `PUT` request to execute on the server. The `PUT` method replaces an existing resource - * with a new set of values. - * See the individual overloads for details on the return type. - */ - put(url, body, options = {}) { - return this.request('PUT', url, addBody(options, body)); - } - static #_ = this.ɵfac = function HttpClient_Factory(t) { - return new (t || HttpClient)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](HttpHandler)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ - token: HttpClient, - factory: HttpClient.ɵfac - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵsetClassMetadata"](HttpClient, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_5__.Injectable - }], () => [{ - type: HttpHandler - }], null); + return HttpClient; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); const XSSI_PREFIX$1 = /^\)\]\}',?\n/; const REQUEST_URL_HEADER = `X-Request-URL`; @@ -90979,212 +101007,213 @@ function getResponseUrl$1(response) { * * @publicApi */ -class FetchBackend { - constructor() { - // We need to bind the native fetch to its context or it will throw an "illegal invocation" - this.fetchImpl = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(FetchFactory, { - optional: true - })?.fetch ?? fetch.bind(globalThis); - this.ngZone = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgZone); - } - handle(request) { - return new rxjs__WEBPACK_IMPORTED_MODULE_6__.Observable(observer => { - const aborter = new AbortController(); - this.doRequest(request, aborter.signal, observer).then(noop, error => observer.error(new HttpErrorResponse({ - error - }))); - return () => aborter.abort(); - }); - } - doRequest(request, signal, observer) { - var _this = this; - return (0,_home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { - const init = _this.createRequestInit(request); - let response; - try { - const fetchPromise = _this.fetchImpl(request.urlWithParams, { - signal, - ...init - }); - // Make sure Zone.js doesn't trigger false-positive unhandled promise - // error in case the Promise is rejected synchronously. See function - // description for additional information. - silenceSuperfluousUnhandledPromiseRejection(fetchPromise); - // Send the `Sent` event before awaiting the response. - observer.next({ - type: HttpEventType.Sent - }); - response = yield fetchPromise; - } catch (error) { - observer.error(new HttpErrorResponse({ - error, - status: error.status ?? 0, - statusText: error.statusText, - url: request.urlWithParams, - headers: error.headers - })); - return; - } - const headers = new HttpHeaders(response.headers); - const statusText = response.statusText; - const url = getResponseUrl$1(response) ?? request.urlWithParams; - let status = response.status; - let body = null; - if (request.reportProgress) { - observer.next(new HttpHeaderResponse({ - headers, - status, - statusText, - url - })); - } - if (response.body) { - // Read Progress - const contentLength = response.headers.get('content-length'); - const chunks = []; - const reader = response.body.getReader(); - let receivedLength = 0; - let decoder; - let partialText; - // We have to check whether the Zone is defined in the global scope because this may be called - // when the zone is nooped. - const reqZone = typeof Zone !== 'undefined' && Zone.current; - // Perform response processing outside of Angular zone to - // ensure no excessive change detection runs are executed - // Here calling the async ReadableStreamDefaultReader.read() is responsible for triggering CD - yield _this.ngZone.runOutsideAngular( /*#__PURE__*/(0,_home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { - while (true) { - const { - done, - value - } = yield reader.read(); - if (done) { - break; - } - chunks.push(value); - receivedLength += value.length; - if (request.reportProgress) { - partialText = request.responseType === 'text' ? (partialText ?? '') + (decoder ??= new TextDecoder()).decode(value, { - stream: true - }) : undefined; - const reportProgress = () => observer.next({ - type: HttpEventType.DownloadProgress, - total: contentLength ? +contentLength : undefined, - loaded: receivedLength, - partialText - }); - reqZone ? reqZone.run(reportProgress) : reportProgress(); - } - } - })); - // Combine all chunks. - const chunksAll = _this.concatChunks(chunks, receivedLength); +let FetchBackend = /*#__PURE__*/(() => { + class FetchBackend { + constructor() { + // We need to bind the native fetch to its context or it will throw an "illegal invocation" + this.fetchImpl = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(FetchFactory, { + optional: true + })?.fetch ?? fetch.bind(globalThis); + this.ngZone = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_5__.NgZone); + } + handle(request) { + return new rxjs__WEBPACK_IMPORTED_MODULE_6__.Observable(observer => { + const aborter = new AbortController(); + this.doRequest(request, aborter.signal, observer).then(noop, error => observer.error(new HttpErrorResponse({ + error + }))); + return () => aborter.abort(); + }); + } + doRequest(request, signal, observer) { + var _this = this; + return (0,_home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { + const init = _this.createRequestInit(request); + let response; try { - const contentType = response.headers.get('Content-Type') ?? ''; - body = _this.parseBody(request, chunksAll, contentType); + const fetchPromise = _this.fetchImpl(request.urlWithParams, { + signal, + ...init + }); + // Make sure Zone.js doesn't trigger false-positive unhandled promise + // error in case the Promise is rejected synchronously. See function + // description for additional information. + silenceSuperfluousUnhandledPromiseRejection(fetchPromise); + // Send the `Sent` event before awaiting the response. + observer.next({ + type: HttpEventType.Sent + }); + response = yield fetchPromise; } catch (error) { - // Body loading or parsing failed observer.error(new HttpErrorResponse({ error, - headers: new HttpHeaders(response.headers), - status: response.status, - statusText: response.statusText, - url: getResponseUrl$1(response) ?? request.urlWithParams + status: error.status ?? 0, + statusText: error.statusText, + url: request.urlWithParams, + headers: error.headers })); return; } + const headers = new HttpHeaders(response.headers); + const statusText = response.statusText; + const url = getResponseUrl$1(response) ?? request.urlWithParams; + let status = response.status; + let body = null; + if (request.reportProgress) { + observer.next(new HttpHeaderResponse({ + headers, + status, + statusText, + url + })); + } + if (response.body) { + // Read Progress + const contentLength = response.headers.get('content-length'); + const chunks = []; + const reader = response.body.getReader(); + let receivedLength = 0; + let decoder; + let partialText; + // We have to check whether the Zone is defined in the global scope because this may be called + // when the zone is nooped. + const reqZone = typeof Zone !== 'undefined' && Zone.current; + // Perform response processing outside of Angular zone to + // ensure no excessive change detection runs are executed + // Here calling the async ReadableStreamDefaultReader.read() is responsible for triggering CD + yield _this.ngZone.runOutsideAngular( /*#__PURE__*/(0,_home_runner_work_egon_io_egon_io_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { + while (true) { + const { + done, + value + } = yield reader.read(); + if (done) { + break; + } + chunks.push(value); + receivedLength += value.length; + if (request.reportProgress) { + partialText = request.responseType === 'text' ? (partialText ?? '') + (decoder ??= new TextDecoder()).decode(value, { + stream: true + }) : undefined; + const reportProgress = () => observer.next({ + type: HttpEventType.DownloadProgress, + total: contentLength ? +contentLength : undefined, + loaded: receivedLength, + partialText + }); + reqZone ? reqZone.run(reportProgress) : reportProgress(); + } + } + })); + // Combine all chunks. + const chunksAll = _this.concatChunks(chunks, receivedLength); + try { + const contentType = response.headers.get('Content-Type') ?? ''; + body = _this.parseBody(request, chunksAll, contentType); + } catch (error) { + // Body loading or parsing failed + observer.error(new HttpErrorResponse({ + error, + headers: new HttpHeaders(response.headers), + status: response.status, + statusText: response.statusText, + url: getResponseUrl$1(response) ?? request.urlWithParams + })); + return; + } + } + // Same behavior as the XhrBackend + if (status === 0) { + status = body ? HttpStatusCode.Ok : 0; + } + // ok determines whether the response will be transmitted on the event or + // error channel. Unsuccessful status codes (not 2xx) will always be errors, + // but a successful status code can still result in an error if the user + // asked for JSON data and the body cannot be parsed as such. + const ok = status >= 200 && status < 300; + if (ok) { + observer.next(new HttpResponse({ + body, + headers, + status, + statusText, + url + })); + // The full body has been received and delivered, no further events + // are possible. This request is complete. + observer.complete(); + } else { + observer.error(new HttpErrorResponse({ + error: body, + headers, + status, + statusText, + url + })); + } + })(); + } + parseBody(request, binContent, contentType) { + switch (request.responseType) { + case 'json': + // stripping the XSSI when present + const text = new TextDecoder().decode(binContent).replace(XSSI_PREFIX$1, ''); + return text === '' ? null : JSON.parse(text); + case 'text': + return new TextDecoder().decode(binContent); + case 'blob': + return new Blob([binContent], { + type: contentType + }); + case 'arraybuffer': + return binContent.buffer; + } + } + createRequestInit(req) { + // We could share some of this logic with the XhrBackend + const headers = {}; + const credentials = req.withCredentials ? 'include' : undefined; + // Setting all the requested headers. + req.headers.forEach((name, values) => headers[name] = values.join(',')); + // Add an Accept header if one isn't present already. + headers['Accept'] ??= 'application/json, text/plain, */*'; + // Auto-detect the Content-Type header if one isn't present already. + if (!headers['Content-Type']) { + const detectedType = req.detectContentTypeHeader(); + // Sometimes Content-Type detection fails. + if (detectedType !== null) { + headers['Content-Type'] = detectedType; + } } - // Same behavior as the XhrBackend - if (status === 0) { - status = body ? HttpStatusCode.Ok : 0; - } - // ok determines whether the response will be transmitted on the event or - // error channel. Unsuccessful status codes (not 2xx) will always be errors, - // but a successful status code can still result in an error if the user - // asked for JSON data and the body cannot be parsed as such. - const ok = status >= 200 && status < 300; - if (ok) { - observer.next(new HttpResponse({ - body, - headers, - status, - statusText, - url - })); - // The full body has been received and delivered, no further events - // are possible. This request is complete. - observer.complete(); - } else { - observer.error(new HttpErrorResponse({ - error: body, - headers, - status, - statusText, - url - })); - } - })(); - } - parseBody(request, binContent, contentType) { - switch (request.responseType) { - case 'json': - // stripping the XSSI when present - const text = new TextDecoder().decode(binContent).replace(XSSI_PREFIX$1, ''); - return text === '' ? null : JSON.parse(text); - case 'text': - return new TextDecoder().decode(binContent); - case 'blob': - return new Blob([binContent], { - type: contentType - }); - case 'arraybuffer': - return binContent.buffer; + return { + body: req.serializeBody(), + method: req.method, + headers, + credentials + }; } - } - createRequestInit(req) { - // We could share some of this logic with the XhrBackend - const headers = {}; - const credentials = req.withCredentials ? 'include' : undefined; - // Setting all the requested headers. - req.headers.forEach((name, values) => headers[name] = values.join(',')); - // Add an Accept header if one isn't present already. - headers['Accept'] ??= 'application/json, text/plain, */*'; - // Auto-detect the Content-Type header if one isn't present already. - if (!headers['Content-Type']) { - const detectedType = req.detectContentTypeHeader(); - // Sometimes Content-Type detection fails. - if (detectedType !== null) { - headers['Content-Type'] = detectedType; + concatChunks(chunks, totalLength) { + const chunksAll = new Uint8Array(totalLength); + let position = 0; + for (const chunk of chunks) { + chunksAll.set(chunk, position); + position += chunk.length; } + return chunksAll; } - return { - body: req.serializeBody(), - method: req.method, - headers, - credentials + static #_ = this.ɵfac = function FetchBackend_Factory(t) { + return new (t || FetchBackend)(); }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ + token: FetchBackend, + factory: FetchBackend.ɵfac + }); } - concatChunks(chunks, totalLength) { - const chunksAll = new Uint8Array(totalLength); - let position = 0; - for (const chunk of chunks) { - chunksAll.set(chunk, position); - position += chunk.length; - } - return chunksAll; - } - static #_ = this.ɵfac = function FetchBackend_Factory(t) { - return new (t || FetchBackend)(); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ - token: FetchBackend, - factory: FetchBackend.ɵfac - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵsetClassMetadata"](FetchBackend, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_5__.Injectable - }], null, null); + return FetchBackend; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Abstract class to provide a mocked implementation of `fetch()` @@ -91227,19 +101256,19 @@ function chainedInterceptorFn(chainTailFn, interceptorFn, injector) { * * @publicApi */ -const HTTP_INTERCEPTORS = new _angular_core__WEBPACK_IMPORTED_MODULE_5__.InjectionToken(ngDevMode ? 'HTTP_INTERCEPTORS' : ''); +const HTTP_INTERCEPTORS = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_5__.InjectionToken(ngDevMode ? 'HTTP_INTERCEPTORS' : ''); /** * A multi-provided token of `HttpInterceptorFn`s. */ -const HTTP_INTERCEPTOR_FNS = new _angular_core__WEBPACK_IMPORTED_MODULE_5__.InjectionToken(ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : ''); +const HTTP_INTERCEPTOR_FNS = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_5__.InjectionToken(ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : ''); /** * A multi-provided token of `HttpInterceptorFn`s that are only set in root. */ -const HTTP_ROOT_INTERCEPTOR_FNS = new _angular_core__WEBPACK_IMPORTED_MODULE_5__.InjectionToken(ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : ''); +const HTTP_ROOT_INTERCEPTOR_FNS = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_5__.InjectionToken(ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : ''); /** * A provider to set a global primary http backend. If set, it will override the default one */ -const PRIMARY_HTTP_BACKEND = new _angular_core__WEBPACK_IMPORTED_MODULE_5__.InjectionToken(ngDevMode ? 'PRIMARY_HTTP_BACKEND' : ''); +const PRIMARY_HTTP_BACKEND = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_5__.InjectionToken(ngDevMode ? 'PRIMARY_HTTP_BACKEND' : ''); /** * Creates an `HttpInterceptorFn` which lazily initializes an interceptor chain from the legacy * class-based interceptors and runs the request through it. @@ -91267,59 +101296,56 @@ let fetchBackendWarningDisplayed = false; function resetFetchBackendWarningFlag() { fetchBackendWarningDisplayed = false; } -class HttpInterceptorHandler extends HttpHandler { - constructor(backend, injector) { - super(); - this.backend = backend; - this.injector = injector; - this.chain = null; - this.pendingTasks = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵPendingTasks"]); - // Check if there is a preferred HTTP backend configured and use it if that's the case. - // This is needed to enable `FetchBackend` globally for all HttpClient's when `withFetch` - // is used. - const primaryHttpBackend = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(PRIMARY_HTTP_BACKEND, { - optional: true +let HttpInterceptorHandler = /*#__PURE__*/(() => { + class HttpInterceptorHandler extends HttpHandler { + constructor(backend, injector) { + super(); + this.backend = backend; + this.injector = injector; + this.chain = null; + this.pendingTasks = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵPendingTasks"]); + // Check if there is a preferred HTTP backend configured and use it if that's the case. + // This is needed to enable `FetchBackend` globally for all HttpClient's when `withFetch` + // is used. + const primaryHttpBackend = (0,_angular_core__WEBPACK_IMPORTED_MODULE_5__.inject)(PRIMARY_HTTP_BACKEND, { + optional: true + }); + this.backend = primaryHttpBackend ?? backend; + // We strongly recommend using fetch backend for HTTP calls when SSR is used + // for an application. The logic below checks if that's the case and produces + // a warning otherwise. + if ((typeof ngDevMode === 'undefined' || ngDevMode) && !fetchBackendWarningDisplayed) { + const isServer = (0,_angular_common__WEBPACK_IMPORTED_MODULE_8__.isPlatformServer)(injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_5__.PLATFORM_ID)); + if (isServer && !(this.backend instanceof FetchBackend)) { + fetchBackendWarningDisplayed = true; + injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵConsole"]).warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵformatRuntimeError"])(2801 /* RuntimeErrorCode.NOT_USING_FETCH_BACKEND_IN_SSR */, 'Angular detected that `HttpClient` is not configured ' + "to use `fetch` APIs. It's strongly recommended to " + 'enable `fetch` for applications that use Server-Side Rendering ' + 'for better performance and compatibility. ' + 'To enable `fetch`, add the `withFetch()` to the `provideHttpClient()` ' + 'call at the root of the application.')); + } + } + } + handle(initialRequest) { + if (this.chain === null) { + const dedupedInterceptorFns = Array.from(new Set([...this.injector.get(HTTP_INTERCEPTOR_FNS), ...this.injector.get(HTTP_ROOT_INTERCEPTOR_FNS, [])])); + // Note: interceptors are wrapped right-to-left so that final execution order is + // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to + // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside + // out. + this.chain = dedupedInterceptorFns.reduceRight((nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn); + } + const taskId = this.pendingTasks.add(); + return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.finalize)(() => this.pendingTasks.remove(taskId))); + } + static #_ = this.ɵfac = function HttpInterceptorHandler_Factory(t) { + return new (t || HttpInterceptorHandler)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](HttpBackend), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_5__.EnvironmentInjector)); + }; + static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ + token: HttpInterceptorHandler, + factory: HttpInterceptorHandler.ɵfac }); - this.backend = primaryHttpBackend ?? backend; - // We strongly recommend using fetch backend for HTTP calls when SSR is used - // for an application. The logic below checks if that's the case and produces - // a warning otherwise. - if ((typeof ngDevMode === 'undefined' || ngDevMode) && !fetchBackendWarningDisplayed) { - const isServer = (0,_angular_common__WEBPACK_IMPORTED_MODULE_8__.isPlatformServer)(injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_5__.PLATFORM_ID)); - if (isServer && !(this.backend instanceof FetchBackend)) { - fetchBackendWarningDisplayed = true; - injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵConsole"]).warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵformatRuntimeError"])(2801 /* RuntimeErrorCode.NOT_USING_FETCH_BACKEND_IN_SSR */, 'Angular detected that `HttpClient` is not configured ' + "to use `fetch` APIs. It's strongly recommended to " + 'enable `fetch` for applications that use Server-Side Rendering ' + 'for better performance and compatibility. ' + 'To enable `fetch`, add the `withFetch()` to the `provideHttpClient()` ' + 'call at the root of the application.')); - } - } } - handle(initialRequest) { - if (this.chain === null) { - const dedupedInterceptorFns = Array.from(new Set([...this.injector.get(HTTP_INTERCEPTOR_FNS), ...this.injector.get(HTTP_ROOT_INTERCEPTOR_FNS, [])])); - // Note: interceptors are wrapped right-to-left so that final execution order is - // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to - // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside - // out. - this.chain = dedupedInterceptorFns.reduceRight((nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn); - } - const taskId = this.pendingTasks.add(); - return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.finalize)(() => this.pendingTasks.remove(taskId))); - } - static #_ = this.ɵfac = function HttpInterceptorHandler_Factory(t) { - return new (t || HttpInterceptorHandler)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](HttpBackend), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_5__.EnvironmentInjector)); - }; - static #_2 = this.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ - token: HttpInterceptorHandler, - factory: HttpInterceptorHandler.ɵfac - }); -} -(() => { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵsetClassMetadata"](HttpInterceptorHandler, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_5__.Injectable - }], () => [{ - type: HttpBackend - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_5__.EnvironmentInjector - }], null); + return HttpInterceptorHandler; +})(); +/*#__PURE__*/(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); // Every request made through JSONP needs a callback name that's unique across the @@ -91372,172 +101398,165 @@ function jsonpCallbackContext() { * * @publicApi */ -class JsonpClientBackend { - constructor(callbackMap, document) { - this.callbackMap = callbackMap; - this.document = document; +let JsonpClientBackend = /*#__PURE__*/(() => { + class JsonpClientBackend { + constructor(callbackMap, document) { + this.callbackMap = callbackMap; + this.document = document; + /** + * A resolved promise that can be used to schedule microtasks in the event handlers. + */ + this.resolvedPromise = Promise.resolve(); + } /** - * A resolved promise that can be used to schedule microtasks in the event handlers. + * Get the name of the next callback method, by incrementing the global `nextRequestId`. */ - this.resolvedPromise = Promise.resolve(); - } - /** - * Get the name of the next callback method, by incrementing the global `nextRequestId`. - */ - nextCallback() { - return `ng_jsonp_callback_${nextRequestId++}`; - } - /** - * Processes a JSONP request and returns an event stream of the results. - * @param req The request object. - * @returns An observable of the response events. - * - */ - handle(req) { - // Firstly, check both the method and response type. If either doesn't match - // then the request was improperly routed here and cannot be handled. - if (req.method !== 'JSONP') { - throw new Error(JSONP_ERR_WRONG_METHOD); - } else if (req.responseType !== 'json') { - throw new Error(JSONP_ERR_WRONG_RESPONSE_TYPE); - } - // Check the request headers. JSONP doesn't support headers and - // cannot set any that were supplied. - if (req.headers.keys().length > 0) { - throw new Error(JSONP_ERR_HEADERS_NOT_SUPPORTED); - } - // Everything else happens inside the Observable boundary. - return new rxjs__WEBPACK_IMPORTED_MODULE_6__.Observable(observer => { - // The first step to make a request is to generate the callback name, and replace the - // callback placeholder in the URL with the name. Care has to be taken here to ensure - // a trailing &, if matched, gets inserted back into the URL in the correct place. - const callback = this.nextCallback(); - const url = req.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/, `=${callback}$1`); - // Construct the