diff --git a/angular.json b/angular.json index 13cc45a3..716cef6d 100644 --- a/angular.json +++ b/angular.json @@ -17,7 +17,7 @@ "build": { "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/ngx-filter-pipe", + "outputPath": "dist", "index": "src/index.html", "browser": "src/main.ts", "polyfills": ["zone.js"], diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 83acad2e..18527ae2 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -1,53 +1,476 @@ -core-js@2.5.3 -MIT -Copyright (c) 2014-2017 Denis Pushkarev -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: +-------------------------------------------------------------------------------- +Package: @angular/core +License: "MIT" -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. +-------------------------------------------------------------------------------- +Package: rxjs +License: "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. + + +-------------------------------------------------------------------------------- +Package: tslib +License: "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. +-------------------------------------------------------------------------------- +Package: @angular/common +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/platform-browser +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/router +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/forms +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: material-design-lite +License: "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 2015 Google Inc + + 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. + + All code in any directories or sub-directories that end with *.html or + *.css is licensed under the Creative Commons Attribution International + 4.0 License, which full text can be found here: + https://creativecommons.org/licenses/by/4.0/legalcode. + + As an exception to this license, all html or css that is generated by + the software at the direction of the user is copyright the user. The + user has full ownership and control over such content, including + whether and how they wish to license it. + +-------------------------------------------------------------------------------- +Package: zone.js +License: "MIT" -webpack@3.10.0 -MIT -Copyright JS Foundation 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. - -zone.js@0.8.20 -MIT The MIT License -Copyright (c) 2016 Google, Inc. +Copyright (c) 2010-2024 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -67,6 +490,4 @@ 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/core@5.2.3 -MIT -MIT \ No newline at end of file +-------------------------------------------------------------------------------- diff --git a/docs/404.html b/docs/404.html index a4411ea1..635ff59e 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1,20 @@ -NgxFilterPipe \ No newline at end of file + + + + + + ngx-filter-pipe + + + + + + + + + + + + + diff --git a/docs/favicon.ico b/docs/favicon.ico index 8081c7ce..57614f9c 100644 Binary files a/docs/favicon.ico and b/docs/favicon.ico differ diff --git a/docs/index.html b/docs/index.html index a4411ea1..635ff59e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1,20 @@ -NgxFilterPipe \ No newline at end of file + + + + + + ngx-filter-pipe + + + + + + + + + + + + + diff --git a/docs/inline.ccdfc8eada08ab91aa9a.bundle.js b/docs/inline.ccdfc8eada08ab91aa9a.bundle.js deleted file mode 100644 index b9174ec7..00000000 --- a/docs/inline.ccdfc8eada08ab91aa9a.bundle.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var u,i,f,l=0,s=[];le in t?vp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||={})_p.call(e,r)&&vu(t,r,e[r]);if(mu)for(var r of mu(e))Ep.call(e,r)&&vu(t,r,e[r]);return t},te=(t,e)=>yp(t,Cp(e));var yu=null;var ts=1,ns=Symbol("SIGNAL");function Q(t){let e=yu;return yu=t,e}var Cu={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Dp(t){if(!(os(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ts)){if(!t.producerMustRecompute(t)&&!rs(t)){t.dirty=!1,t.lastCleanEpoch=ts;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=ts}}function _u(t){return t&&(t.nextProducerIndex=0),Q(t)}function Eu(t,e){if(Q(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(os(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function rs(t){ei(t);for(let e=0;e0}function ei(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Ip(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function bp(){throw new Error}var wp=bp;function Iu(t){wp=t}function R(t){return typeof t=="function"}function yn(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ti=yn(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function sr(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ce=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(R(n))try{n()}catch(o){e=o instanceof ti?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{bu(o)}catch(s){e=e??[],s instanceof ti?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ti(e)}}add(e){var r;if(e&&e!==this)if(this.closed)bu(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&sr(r,e)}remove(e){let{_finalizers:r}=this;r&&sr(r,e),e instanceof t&&e._removeParent(this)}};ce.EMPTY=(()=>{let t=new ce;return t.closed=!0,t})();var ss=ce.EMPTY;function ni(t){return t instanceof ce||t&&"closed"in t&&R(t.remove)&&R(t.add)&&R(t.unsubscribe)}function bu(t){R(t)?t():t.unsubscribe()}var ze={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Cn={setTimeout(t,e,...r){let{delegate:n}=Cn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Cn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ri(t){Cn.setTimeout(()=>{let{onUnhandledError:e}=ze;if(e)e(t);else throw t})}function ar(){}var wu=as("C",void 0,void 0);function Su(t){return as("E",void 0,t)}function Mu(t){return as("N",t,void 0)}function as(t,e,r){return{kind:t,value:e,error:r}}var Ht=null;function _n(t){if(ze.useDeprecatedSynchronousErrorHandling){let e=!Ht;if(e&&(Ht={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Ht;if(Ht=null,r)throw n}}else t()}function Au(t){ze.useDeprecatedSynchronousErrorHandling&&Ht&&(Ht.errorThrown=!0,Ht.error=t)}var $t=class extends ce{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ni(e)&&e.add(this)):this.destination=Ap}static create(e,r,n){return new En(e,r,n)}next(e){this.isStopped?us(Mu(e),this):this._next(e)}error(e){this.isStopped?us(Su(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?us(wu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Sp=Function.prototype.bind;function ls(t,e){return Sp.call(t,e)}var cs=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){ii(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){ii(n)}else ii(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){ii(r)}}},En=class extends $t{constructor(e,r,n){super();let i;if(R(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&ze.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&ls(e.next,o),error:e.error&&ls(e.error,o),complete:e.complete&&ls(e.complete,o)}):i=e}this.destination=new cs(i)}};function ii(t){ze.useDeprecatedSynchronousErrorHandling?Au(t):ri(t)}function Mp(t){throw t}function us(t,e){let{onStoppedNotification:r}=ze;r&&Cn.setTimeout(()=>r(t,e))}var Ap={closed:!0,next:ar,error:Mp,complete:ar};var Dn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ne(t){return t}function ds(...t){return fs(t)}function fs(t){return t.length===0?Ne:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var K=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Np(r)?r:new En(r,n,i);return _n(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Tu(n),new n((i,o)=>{let s=new En({next:a=>{try{r(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Dn](){return this}pipe(...r){return fs(r)(this)}toPromise(r){return r=Tu(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Tu(t){var e;return(e=t??ze.Promise)!==null&&e!==void 0?e:Promise}function Tp(t){return t&&R(t.next)&&R(t.error)&&R(t.complete)}function Np(t){return t&&t instanceof $t||Tp(t)&&ni(t)}function hs(t){return R(t?.lift)}function z(t){return e=>{if(hs(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function U(t,e,r,n,i){return new ps(t,e,r,n,i)}var ps=class extends $t{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function In(){return z((t,e)=>{let r=null;t._refCount++;let n=U(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var bn=class extends K{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,hs(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ce;let r=this.getSubject();e.add(this.source.subscribe(U(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ce.EMPTY)}return e}refCount(){return In()(this)}};var Nu=yn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var De=(()=>{class t extends K{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new oi(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Nu}next(r){_n(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){_n(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){_n(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?ss:(this.currentObservers=null,o.push(r),new ce(()=>{this.currentObservers=null,sr(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new K;return r.source=this,r}}return t.create=(e,r)=>new oi(e,r),t})(),oi=class extends De{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:ss}};var pe=class extends De{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var xe=new K(t=>t.complete());function xu(t){return t&&R(t.schedule)}function Ru(t){return t[t.length-1]}function si(t){return R(Ru(t))?t.pop():void 0}function wt(t){return xu(Ru(t))?t.pop():void 0}function Lu(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(d){try{u(n.next(d))}catch(f){s(f)}}function l(d){try{u(n.throw(d))}catch(f){s(f)}}function u(d){d.done?o(d.value):i(d.value).then(a,l)}u((n=n.apply(t,e||[])).next())})}function Ou(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Gt(t){return this instanceof Gt?(this.v=t,this):new Gt(t)}function Fu(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(h){n[h]&&(i[h]=function(g){return new Promise(function(_,M){o.push([h,g,_,M])>1||a(h,g)})})}function a(h,g){try{l(n[h](g))}catch(_){f(o[0][3],_)}}function l(h){h.value instanceof Gt?Promise.resolve(h.value.v).then(u,d):f(o[0][2],h)}function u(h){a("next",h)}function d(h){a("throw",h)}function f(h,g){h(g),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Pu(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Ou=="function"?Ou(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}}var ai=t=>t&&typeof t.length=="number"&&typeof t!="function";function li(t){return R(t?.then)}function ui(t){return R(t[Dn])}function ci(t){return Symbol.asyncIterator&&R(t?.[Symbol.asyncIterator])}function di(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function xp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fi=xp();function hi(t){return R(t?.[fi])}function pi(t){return Fu(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Gt(r.read());if(i)return yield Gt(void 0);yield yield Gt(n)}}finally{r.releaseLock()}})}function gi(t){return R(t?.getReader)}function ae(t){if(t instanceof K)return t;if(t!=null){if(ui(t))return Rp(t);if(ai(t))return Op(t);if(li(t))return Lp(t);if(ci(t))return ku(t);if(hi(t))return Fp(t);if(gi(t))return Pp(t)}throw di(t)}function Rp(t){return new K(e=>{let r=t[Dn]();if(R(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Op(t){return new K(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ri)})}function Fp(t){return new K(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function ku(t){return new K(e=>{kp(t,e).catch(r=>e.error(r))})}function Pp(t){return ku(pi(t))}function kp(t,e){var r,n,i,o;return Lu(this,void 0,void 0,function*(){try{for(r=Pu(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Se(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function mi(t,e=0){return z((r,n)=>{r.subscribe(U(n,i=>Se(n,t,()=>n.next(i),e),()=>Se(n,t,()=>n.complete(),e),i=>Se(n,t,()=>n.error(i),e)))})}function vi(t,e=0){return z((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Vu(t,e){return ae(t).pipe(vi(e),mi(e))}function ju(t,e){return ae(t).pipe(vi(e),mi(e))}function Bu(t,e){return new K(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Uu(t,e){return new K(r=>{let n;return Se(r,e,()=>{n=t[fi](),Se(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>R(n?.return)&&n.return()})}function yi(t,e){if(!t)throw new Error("Iterable cannot be null");return new K(r=>{Se(r,e,()=>{let n=t[Symbol.asyncIterator]();Se(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Hu(t,e){return yi(pi(t),e)}function $u(t,e){if(t!=null){if(ui(t))return Vu(t,e);if(ai(t))return Bu(t,e);if(li(t))return ju(t,e);if(ci(t))return yi(t,e);if(hi(t))return Uu(t,e);if(gi(t))return Hu(t,e)}throw di(t)}function se(t,e){return e?$u(t,e):ae(t)}function O(...t){let e=wt(t);return se(t,e)}function wn(t,e){let r=R(t)?t:()=>t,n=i=>i.error(r());return new K(e?i=>e.schedule(n,0,i):n)}function gs(t){return!!t&&(t instanceof K||R(t.lift)&&R(t.subscribe))}var gt=yn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function H(t,e){return z((r,n)=>{let i=0;r.subscribe(U(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:Vp}=Array;function jp(t,e){return Vp(e)?t(...e):t(e)}function Ci(t){return H(e=>jp(t,e))}var{isArray:Bp}=Array,{getPrototypeOf:Up,prototype:Hp,keys:$p}=Object;function _i(t){if(t.length===1){let e=t[0];if(Bp(e))return{args:e,keys:null};if(Gp(e)){let r=$p(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Gp(t){return t&&typeof t=="object"&&Up(t)===Hp}function Ei(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function Di(...t){let e=wt(t),r=si(t),{args:n,keys:i}=_i(t);if(n.length===0)return se([],e);let o=new K(Wp(n,e,i?s=>Ei(i,s):Ne));return r?o.pipe(Ci(r)):o}function Wp(t,e,r=Ne){return n=>{Gu(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let l=0;l{let u=se(t[l],e),d=!1;u.subscribe(U(n,f=>{o[l]=f,d||(d=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Gu(t,e,r){t?Se(r,t,e):e()}function Wu(t,e,r,n,i,o,s,a){let l=[],u=0,d=0,f=!1,h=()=>{f&&!l.length&&!u&&e.complete()},g=M=>u{o&&e.next(M),u++;let A=!1;ae(r(M,d++)).subscribe(U(e,V=>{i?.(V),o?g(V):e.next(V)},()=>{A=!0},void 0,()=>{if(A)try{for(u--;l.length&&u_(V)):_(V)}h()}catch(V){e.error(V)}}))};return t.subscribe(U(e,g,()=>{f=!0,h()})),()=>{a?.()}}function de(t,e,r=1/0){return R(e)?de((n,i)=>H((o,s)=>e(n,o,i,s))(ae(t(n,i))),r):(typeof e=="number"&&(r=e),z((n,i)=>Wu(n,i,t,r)))}function ms(t=1/0){return de(Ne,t)}function zu(){return ms(1)}function Sn(...t){return zu()(se(t,wt(t)))}function Ii(t){return new K(e=>{ae(t()).subscribe(e)})}function vs(...t){let e=si(t),{args:r,keys:n}=_i(t),i=new K(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),l=s,u=s;for(let d=0;d{f||(f=!0,u--),a[d]=h},()=>l--,void 0,()=>{(!l||!f)&&(u||o.next(n?Ei(n,a):a),o.complete())}))}});return e?i.pipe(Ci(e)):i}function qe(t,e){return z((r,n)=>{let i=0;r.subscribe(U(n,o=>t.call(e,o,i++)&&n.next(o)))})}function St(t){return z((e,r)=>{let n=null,i=!1,o;n=e.subscribe(U(r,void 0,void 0,s=>{o=ae(t(s,St(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function qu(t,e,r,n,i){return(o,s)=>{let a=r,l=e,u=0;o.subscribe(U(s,d=>{let f=u++;l=a?t(l,d,f):(a=!0,d),n&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function Mn(t,e){return R(e)?de(t,e,1):de(t,1)}function Mt(t){return z((e,r)=>{let n=!1;e.subscribe(U(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function mt(t){return t<=0?()=>xe:z((e,r)=>{let n=0;e.subscribe(U(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function ys(t){return H(()=>t)}function bi(t=zp){return z((e,r)=>{let n=!1;e.subscribe(U(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function zp(){return new gt}function lr(t){return z((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function nt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?qe((i,o)=>t(i,o,n)):Ne,mt(1),r?Mt(e):bi(()=>new gt))}function An(t){return t<=0?()=>xe:z((e,r)=>{let n=[];e.subscribe(U(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Cs(t,e){let r=arguments.length>=2;return n=>n.pipe(t?qe((i,o)=>t(i,o,n)):Ne,An(1),r?Mt(e):bi(()=>new gt))}function _s(t,e){return z(qu(t,e,arguments.length>=2,!0))}function Es(...t){let e=wt(t);return z((r,n)=>{(e?Sn(t,r,e):Sn(t,r)).subscribe(n)})}function Ye(t,e){return z((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(U(n,l=>{i?.unsubscribe();let u=0,d=o++;ae(t(l,d)).subscribe(i=U(n,f=>n.next(e?e(l,f,d,u++):f),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Ds(t){return z((e,r)=>{ae(t).subscribe(U(r,()=>r.complete(),ar)),!r.closed&&e.subscribe(r)})}function ge(t,e,r){let n=R(t)||e||r?{next:t,error:e,complete:r}:t;return n?z((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(U(o,l=>{var u;(u=n.next)===null||u===void 0||u.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,l),o.error(l)},()=>{var l,u;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):Ne}var Yp="https://g.co/ng/security#xss",T=class extends Error{constructor(e,r){super(wa(e,r)),this.code=e}};function wa(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Dr(t){return{toString:t}.toString()}var wi="__parameters__";function Zp(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Nc(t,e,r){return Dr(()=>{let n=Zp(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,u,d){let f=l.hasOwnProperty(wi)?l[wi]:Object.defineProperty(l,wi,{value:[]})[wi];for(;f.length<=d;)f.push(null);return(f[d]=f[d]||[]).push(s),l}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var ur=globalThis;function ee(t){for(let e in t)if(t[e]===ee)return e;throw Error("Could not find renamed property on target object.")}function Qp(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Ae(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ae).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function Yu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Kp=ee({__forward_ref__:ee});function Rt(t){return t.__forward_ref__=Rt,t.toString=function(){return Ae(this())},t}function Ie(t){return xc(t)?t():t}function xc(t){return typeof t=="function"&&t.hasOwnProperty(Kp)&&t.__forward_ref__===Rt}function x(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ut(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ji(t){return Zu(t,Oc)||Zu(t,Lc)}function Rc(t){return Ji(t)!==null}function Zu(t,e){return t.hasOwnProperty(e)?t[e]:null}function Xp(t){let e=t&&(t[Oc]||t[Lc]);return e||null}function Qu(t){return t&&(t.hasOwnProperty(Ku)||t.hasOwnProperty(Jp))?t[Ku]:null}var Oc=ee({\u0275prov:ee}),Ku=ee({\u0275inj:ee}),Lc=ee({ngInjectableDef:ee}),Jp=ee({ngInjectorDef:ee}),k=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=x({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Fc(t){return t&&!!t.\u0275providers}var eg=ee({\u0275cmp:ee}),tg=ee({\u0275dir:ee}),ng=ee({\u0275pipe:ee}),rg=ee({\u0275mod:ee}),Oi=ee({\u0275fac:ee}),cr=ee({__NG_ELEMENT_ID__:ee}),Xu=ee({__NG_ENV_ID__:ee});function Pc(t){return typeof t=="string"?t:t==null?"":String(t)}function ig(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Pc(t)}function og(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new T(-200,t)}function Sa(t,e){throw new T(-201,!1)}var j=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(j||{}),Vs;function kc(){return Vs}function Me(t){let e=Vs;return Vs=t,e}function Vc(t,e,r){let n=Ji(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&j.Optional)return null;if(e!==void 0)return e;Sa(t,"Injector")}var sg={},dr=sg,js="__NG_DI_FLAG__",Li="ngTempTokenPath",ag="ngTokenPath",lg=/\n/gm,ug="\u0275",Ju="__source",Rn;function cg(){return Rn}function At(t){let e=Rn;return Rn=t,e}function dg(t,e=j.Default){if(Rn===void 0)throw new T(-203,!1);return Rn===null?Vc(t,void 0,e):Rn.get(t,e&j.Optional?null:void 0,e)}function q(t,e=j.Default){return(kc()||dg)(Ie(t),e)}function D(t,e=j.Default){return q(t,eo(e))}function eo(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Bs(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ae(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(lg,` + `)}`}var Ma=jc(Nc("Optional"),8);var Bc=jc(Nc("SkipSelf"),4);function qt(t,e){let r=t.hasOwnProperty(Oi);return r?t[Oi]:null}function Aa(t,e){t.forEach(r=>Array.isArray(r)?Aa(r,e):e(r))}function Uc(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Fi(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function gg(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function mg(t,e,r){let n=Ir(t,e);return n>=0?t[n|1]=r:(n=~n,gg(t,n,e,r)),n}function Is(t,e){let r=Ir(t,e);if(r>=0)return t[r|1]}function Ir(t,e){return vg(t,e,1)}function vg(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?f="":f=i[d+1].toLowerCase(),n&2&&u!==f){if(Ze(n))return!1;s=!0}}}}return Ze(n)||s}function Ze(t){return(t&1)===0}function bg(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!Ze(s)&&(e+=tc(o,i),i=""),n=s,o=o||!Ze(n);r++}return i!==""&&(e+=tc(o,i)),e}function Tg(t){return t.map(Ag).join(",")}function Ng(t){let e=[],r=[],n=1,i=2;for(;n{let e=Qc(t),r=te(I({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Gc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ot.Emulated,styles:t.styles||je,_:null,schemas:t.schemas||null,tView:null,id:""});Kc(r);let n=t.dependencies;return r.directiveDefs=rc(n,!1),r.pipeDefs=rc(n,!0),r.id=Og(r),r})}function xg(t){return Yt(t)||zc(t)}function Rg(t){return t!==null}function ct(t){return Dr(()=>({type:t.type,bootstrap:t.bootstrap||je,declarations:t.declarations||je,imports:t.imports||je,exports:t.exports||je,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function nc(t,e){if(t==null)return Ln;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=Re.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==Re.None?[n,a]:n,e[o]=s):r[o]=n}return r}function be(t){return Dr(()=>{let e=Qc(t);return Kc(e),e})}function no(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Yt(t){return t[eg]||null}function zc(t){return t[tg]||null}function qc(t){return t[ng]||null}function Yc(t){let e=Yt(t)||zc(t)||qc(t);return e!==null?e.standalone:!1}function Zc(t,e){let r=t[rg]||null;if(!r&&e===!0)throw new Error(`Type ${Ae(t)} does not have '\u0275mod' property.`);return r}function Qc(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ln,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||je,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nc(t.inputs,e),outputs:nc(t.outputs),debugInfo:null}}function Kc(t){t.features?.forEach(e=>e(t))}function rc(t,e){if(!t)return null;let r=e?qc:xg;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Rg)}function Og(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function ro(t){return{\u0275providers:t}}function Lg(...t){return{\u0275providers:Xc(!0,t),\u0275fromNgModule:!0}}function Xc(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return Aa(e,s=>{let a=s;Hs(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Jc(i,o),r}function Jc(t,e){for(let r=0;r{e(o,n)})}}function Hs(t,e,r,n){if(t=Ie(t),!t)return!1;let i=null,o=Qu(t),s=!o&&Yt(t);if(!o&&!s){let l=t.ngModule;if(o=Qu(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of l)Hs(u,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let u;try{Aa(o.imports,d=>{Hs(d,e,r,n)&&(u||=[],u.push(d))})}finally{}u!==void 0&&Jc(u,e)}if(!a){let u=qt(i)||(()=>new i);e({provide:i,useFactory:u,deps:je},i),e({provide:$c,useValue:i,multi:!0},i),e({provide:Fn,useValue:()=>q(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let u=t;Na(l,d=>{e(d,u)})}}else return!1;return i!==t&&t.providers!==void 0}function Na(t,e){for(let r of t)Fc(r)&&(r=r.\u0275providers),Array.isArray(r)?Na(r,e):e(r)}var Fg=ee({provide:String,useValue:ee});function ed(t){return t!==null&&typeof t=="object"&&Fg in t}function Pg(t){return!!(t&&t.useExisting)}function kg(t){return!!(t&&t.useFactory)}function Pn(t){return typeof t=="function"}function Vg(t){return!!t.useClass}var io=new k(""),Ai={},jg={},bs;function xa(){return bs===void 0&&(bs=new Pi),bs}var Ue=class{},hr=class extends Ue{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Gs(e,s=>this.processProvider(s)),this.records.set(Hc,Tn(void 0,this)),i.has("environment")&&this.records.set(Ue,Tn(void 0,this));let o=this.records.get(io);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get($c,je,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Q(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Q(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=At(this),n=Me(void 0),i;try{return e()}finally{At(r),Me(n)}}get(e,r=dr,n=j.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Xu))return e[Xu](this);n=eo(n);let i,o=At(this),s=Me(void 0);try{if(!(n&j.SkipSelf)){let l=this.records.get(e);if(l===void 0){let u=Gg(e)&&Ji(e);u&&this.injectableDefInScope(u)?l=Tn($s(e),Ai):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&j.Self?xa():this.parent;return r=n&j.Optional&&r===dr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Li]=a[Li]||[]).unshift(Ae(e)),o)throw a;return hg(a,e,"R3InjectorError",this.source)}else throw a}finally{Me(s),At(o)}}resolveInjectorInitializers(){let e=Q(null),r=At(this),n=Me(void 0),i;try{let o=this.get(Fn,je,j.Self);for(let s of o)s()}finally{At(r),Me(n),Q(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Ae(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(e){e=Ie(e);let r=Pn(e)?e:Ie(e&&e.provide),n=Ug(e);if(!Pn(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Tn(void 0,Ai,!0),i.factory=()=>Bs(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=Q(null);try{return r.value===Ai&&(r.value=jg,r.value=r.factory()),typeof r.value=="object"&&r.value&&$g(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Q(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ie(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function $s(t){let e=Ji(t),r=e!==null?e.factory:qt(t);if(r!==null)return r;if(t instanceof k)throw new T(204,!1);if(t instanceof Function)return Bg(t);throw new T(204,!1)}function Bg(t){if(t.length>0)throw new T(204,!1);let r=Xp(t);return r!==null?()=>r.factory(t):()=>new t}function Ug(t){if(ed(t))return Tn(void 0,t.useValue);{let e=td(t);return Tn(e,Ai)}}function td(t,e,r){let n;if(Pn(t)){let i=Ie(t);return qt(i)||$s(i)}else if(ed(t))n=()=>Ie(t.useValue);else if(kg(t))n=()=>t.useFactory(...Bs(t.deps||[]));else if(Pg(t))n=()=>q(Ie(t.useExisting));else{let i=Ie(t&&(t.useClass||t.provide));if(Hg(t))n=()=>new i(...Bs(t.deps));else return qt(i)||$s(i)}return n}function Tn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function Hg(t){return!!t.deps}function $g(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Gg(t){return typeof t=="function"||typeof t=="object"&&t instanceof k}function Gs(t,e){for(let r of t)Array.isArray(r)?Gs(r,e):r&&Fc(r)?Gs(r.\u0275providers,e):e(r)}function rn(t,e){t instanceof hr&&t.assertNotDestroyed();let r,n=At(t),i=Me(void 0);try{return e()}finally{At(n),Me(i)}}function Wg(){return kc()!==void 0||cg()!=null}function zg(t){return typeof t=="function"}var _t=0,$=1,N=2,Ee=3,Qe=4,Xe=5,ki=6,pr=7,vt=8,kn=9,st=10,he=11,gr=12,ic=13,br=14,at=15,oo=16,Nn=17,Vn=18,so=19,nd=20,Tt=21,ws=22,Zt=23,Ke=25,rd=1;var Qt=7,Vi=8,ji=9,Be=10,Ra=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Ra||{});function Wt(t){return Array.isArray(t)&&typeof t[rd]=="object"}function Et(t){return Array.isArray(t)&&t[rd]===!0}function id(t){return(t.flags&4)!==0}function ao(t){return t.componentOffset>-1}function Oa(t){return(t.flags&1)===1}function Nt(t){return!!t.template}function qg(t){return(t[N]&512)!==0}var Ws=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function od(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Un(){return sd}function sd(t){return t.type.prototype.ngOnChanges&&(t.setInput=Zg),Yg}Un.ngInherit=!0;function Yg(){let t=ld(this),e=t?.current;if(e){let r=t.previous;if(r===Ln)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Zg(t,e,r,n,i){let o=this.declaredInputs[n],s=ld(t)||Qg(t,{previous:Ln,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[o];a[o]=new Ws(u&&u.currentValue,r,l===Ln),od(t,e,i,r)}var ad="__ngSimpleChanges__";function ld(t){return t[ad]||null}function Qg(t,e){return t[ad]=e}var oc=null;var rt=function(t,e,r){oc?.(t,e,r)},Kg="svg",Xg="math",Jg=!1;function em(){return Jg}function lt(t){for(;Array.isArray(t);)t=t[_t];return t}function ud(t,e){return lt(e[t])}function Je(t,e){return lt(e[t.index])}function cd(t,e){return t.data[e]}function dd(t,e){return t[e]}function Ot(t,e){let r=e[t];return Wt(r)?r:r[_t]}function La(t){return(t[N]&128)===128}function tm(t){return Et(t[Ee])}function Bi(t,e){return e==null?null:t[e]}function fd(t){t[Nn]=0}function nm(t){t[N]&1024||(t[N]|=1024,La(t)&&mr(t))}function Fa(t){return!!(t[N]&9216||t[Zt]?.dirty)}function zs(t){t[st].changeDetectionScheduler?.notify(1),Fa(t)?mr(t):t[N]&64&&(em()?(t[N]|=1024,mr(t)):t[st].changeDetectionScheduler?.notify())}function mr(t){t[st].changeDetectionScheduler?.notify();let e=vr(t);for(;e!==null&&!(e[N]&8192||(e[N]|=8192,!La(e)));)e=vr(e)}function hd(t,e){if((t[N]&256)===256)throw new T(911,!1);t[Tt]===null&&(t[Tt]=[]),t[Tt].push(e)}function rm(t,e){if(t[Tt]===null)return;let r=t[Tt].indexOf(e);r!==-1&&t[Tt].splice(r,1)}function vr(t){let e=t[Ee];return Et(e)?e[Ee]:e}var Y={lFrame:Ed(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function im(){return Y.lFrame.elementDepthCount}function om(){Y.lFrame.elementDepthCount++}function sm(){Y.lFrame.elementDepthCount--}function pd(){return Y.bindingsEnabled}function am(){return Y.skipHydrationRootTNode!==null}function lm(t){return Y.skipHydrationRootTNode===t}function um(){Y.skipHydrationRootTNode=null}function re(){return Y.lFrame.lView}function Oe(){return Y.lFrame.tView}function Le(){let t=gd();for(;t!==null&&t.type===64;)t=t.parent;return t}function gd(){return Y.lFrame.currentTNode}function cm(){let t=Y.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function wr(t,e){let r=Y.lFrame;r.currentTNode=t,r.isParent=e}function md(){return Y.lFrame.isParent}function dm(){Y.lFrame.isParent=!1}function vd(){let t=Y.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function fm(t){return Y.lFrame.bindingIndex=t}function Pa(){return Y.lFrame.bindingIndex++}function hm(t){let e=Y.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function pm(){return Y.lFrame.inI18n}function gm(t,e){let r=Y.lFrame;r.bindingIndex=r.bindingRootIndex=t,qs(e)}function mm(){return Y.lFrame.currentDirectiveIndex}function qs(t){Y.lFrame.currentDirectiveIndex=t}function vm(t){let e=Y.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function yd(t){Y.lFrame.currentQueryIndex=t}function ym(t){let e=t[$];return e.type===2?e.declTNode:e.type===1?t[Xe]:null}function Cd(t,e,r){if(r&j.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&j.Host);)if(i=ym(o),i===null||(o=o[br],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=Y.lFrame=_d();return n.currentTNode=e,n.lView=t,!0}function ka(t){let e=_d(),r=t[$];Y.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function _d(){let t=Y.lFrame,e=t===null?null:t.child;return e===null?Ed(t):e}function Ed(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Dd(){let t=Y.lFrame;return Y.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Id=Dd;function Va(){let t=Dd();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Hn(){return Y.lFrame.selectedIndex}function Kt(t){Y.lFrame.selectedIndex=t}function bd(){let t=Y.lFrame;return cd(t.tView,t.selectedIndex)}function Cm(){return Y.lFrame.currentNamespace}var wd=!0;function ja(){return wd}function Ba(t){wd=t}function _m(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=sd(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function Ua(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[l]<0&&(t[Nn]+=65536),(a>14>16&&(t[N]&3)===e&&(t[N]+=16384,sc(a,o)):sc(a,o)}var On=-1,Xt=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Dm(t){return t instanceof Xt}function Im(t){return(t.flags&8)!==0}function bm(t){return(t.flags&16)!==0}function Md(t){return t!==On}function Ui(t){return t&32767}function wm(t){return t>>16}function Hi(t,e){let r=wm(t),n=e;for(;r>0;)n=n[br],r--;return n}var Ys=!0;function $i(t){let e=Ys;return Ys=t,e}var Sm=256,Ad=Sm-1,Td=5,Mm=0,it={};function Am(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(cr)&&(n=r[cr]),n==null&&(n=r[cr]=Mm++);let i=n&Ad,o=1<>Td)]|=o}function Gi(t,e){let r=Nd(t,e);if(r!==-1)return r;let n=e[$];n.firstCreatePass&&(t.injectorIndex=e.length,Ms(n.data,t),Ms(e,null),Ms(n.blueprint,null));let i=Ha(t,e),o=t.injectorIndex;if(Md(i)){let s=Ui(i),a=Hi(i,e),l=a[$].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function Ms(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Nd(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ha(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Fd(i),n===null)return On;if(r++,i=i[br],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return On}function Zs(t,e,r){Am(t,e,r)}function xd(t,e,r){if(r&j.Optional||t!==void 0)return t;Sa(e,"NodeInjector")}function Rd(t,e,r,n){if(r&j.Optional&&n===void 0&&(n=null),!(r&(j.Self|j.Host))){let i=t[kn],o=Me(void 0);try{return i?i.get(e,n,r&j.Optional):Vc(e,n,r&j.Optional)}finally{Me(o)}}return xd(n,e,r)}function Od(t,e,r,n=j.Default,i){if(t!==null){if(e[N]&2048&&!(n&j.Self)){let s=Om(t,e,r,n,it);if(s!==it)return s}let o=Ld(t,e,r,n,it);if(o!==it)return o}return Rd(e,r,n,i)}function Ld(t,e,r,n,i){let o=xm(r);if(typeof o=="function"){if(!Cd(e,t,n))return n&j.Host?xd(i,r,n):Rd(e,r,n,i);try{let s;if(s=o(n),s==null&&!(n&j.Optional))Sa(r);else return s}finally{Id()}}else if(typeof o=="number"){let s=null,a=Nd(t,e),l=On,u=n&j.Host?e[at][Xe]:null;for((a===-1||n&j.SkipSelf)&&(l=a===-1?Ha(t,e):e[a+8],l===On||!lc(n,!1)?a=-1:(s=e[$],a=Ui(l),e=Hi(l,e)));a!==-1;){let d=e[$];if(ac(o,a,d.data)){let f=Tm(a,e,r,s,n,u);if(f!==it)return f}l=e[a+8],l!==On&&lc(n,e[$].data[a+8]===u)&&ac(o,a,e)?(s=d,a=Ui(l),e=Hi(l,e)):a=-1}}return i}function Tm(t,e,r,n,i,o){let s=e[$],a=s.data[t+8],l=n==null?ao(a)&&Ys:n!=s&&(a.type&3)!==0,u=i&j.Host&&o===a,d=Nm(a,s,r,l,u);return d!==null?jn(e,s,d,a):it}function Nm(t,e,r,n,i){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,u=t.directiveEnd,d=o>>20,f=n?a:a+d,h=i?a+d:u;for(let g=f;g=l&&_.type===r)return g}if(i){let g=s[l];if(g&&Nt(g)&&g.type===r)return l}return null}function jn(t,e,r,n){let i=t[r],o=e.data;if(Dm(i)){let s=i;s.resolving&&og(ig(o[r]));let a=$i(s.canSeeViewProviders);s.resolving=!0;let l,u=s.injectImpl?Me(s.injectImpl):null,d=Cd(t,n,j.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&_m(r,o[r],e)}finally{u!==null&&Me(u),$i(a),s.resolving=!1,Id()}}return i}function xm(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(cr)?t[cr]:void 0;return typeof e=="number"?e>=0?e&Ad:Rm:e}function ac(t,e,r){let n=1<>Td)]&n)}function lc(t,e){return!(t&j.Self)&&!(t&j.Host&&e)}var zt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Od(this._tNode,this._lView,e,eo(n),r)}};function Rm(){return new zt(Le(),re())}function $n(t){return Dr(()=>{let e=t.prototype.constructor,r=e[Oi]||Qs(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Oi]||Qs(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Qs(t){return xc(t)?()=>{let e=Qs(Ie(t));return e&&e()}:qt(t)}function Om(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[N]&2048&&!(s[N]&512);){let a=Ld(o,s,r,n|j.Self,it);if(a!==it)return a;let l=o.parent;if(!l){let u=s[nd];if(u){let d=u.get(r,it,n);if(d!==it)return d}l=Fd(s),s=s[br]}o=l}return i}function Fd(t){let e=t[$],r=e.type;return r===2?e.declTNode:r===1?t[Xe]:null}function uc(t,e=null,r=null,n){let i=Pd(t,e,r,n);return i.resolveInjectorInitializers(),i}function Pd(t,e=null,r=null,n,i=new Set){let o=[r||je,Lg(t)];return n=n||(typeof t=="object"?void 0:Ae(t)),new hr(o,e||xa(),n||null,i)}var on=(()=>{let e=class e{static create(n,i){if(Array.isArray(n))return uc({name:""},i,n,"");{let o=n.name??"";return uc({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=dr,e.NULL=new Pi,e.\u0275prov=x({token:e,providedIn:"any",factory:()=>q(Hc)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Lm="ngOriginalError";function As(t){return t[Lm]}var yt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&As(e);for(;r&&As(r);)r=As(r);return r||null}},kd=new k("",{providedIn:"root",factory:()=>D(yt).handleError.bind(void 0)}),Vd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Fm,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Ks=class extends Vd{constructor(e){super(),this._lView=e}onDestroy(e){return hd(this._lView,e),()=>rm(this._lView,e)}};function Fm(){return new Ks(re())}function Pm(){return lo(Le(),re())}function lo(t,e){return new Lt(Je(t,e))}var Lt=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Pm;let t=e;return t})();var Xs=class extends De{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,Wg()&&(this.destroyRef=D(Vd,{optional:!0})??void 0)}emit(e){let r=Q(null);try{super.next(e)}finally{Q(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Ts(o),i&&(i=Ts(i)),s&&(s=Ts(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ce&&e.add(a),a}};function Ts(t){return e=>{setTimeout(t,void 0,e)}}var _e=Xs;function jd(t){return(t.flags&128)===128}var Bd=new Map,km=0;function Vm(){return km++}function jm(t){Bd.set(t[so],t)}function Bm(t){Bd.delete(t[so])}var cc="__ngContext__";function Jt(t,e){Wt(e)?(t[cc]=e[so],jm(e)):t[cc]=e}function Ud(t){return $d(t[gr])}function Hd(t){return $d(t[Qe])}function $d(t){for(;t!==null&&!Et(t);)t=t[Qe];return t}var Js;function Gd(t){Js=t}function Um(){if(Js!==void 0)return Js;if(typeof document<"u")return document;throw new T(210,!1)}var $a=new k("",{providedIn:"root",factory:()=>Hm}),Hm="ng",Ga=new k(""),Gn=new k("",{providedIn:"platform",factory:()=>"unknown"});var Wa=new k("",{providedIn:"root",factory:()=>Um().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var $m="h",Gm="b";var Wm=()=>null;function za(t,e,r=!1){return Wm(t,e,r)}var Wd=!1,zm=new k("",{providedIn:"root",factory:()=>Wd});var ea=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yp})`}};function qa(t){return t instanceof ea?t.changingThisBreaksApplicationSecurity:t}function zd(t){return t instanceof Function?t():t}var Ct=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ct||{}),qm;function Ya(t,e){return qm(t,e)}function xn(t,e,r,n,i){if(n!=null){let o,s=!1;Et(n)?o=n:Wt(n)&&(s=!0,n=n[_t]);let a=lt(n);t===0&&r!==null?i==null?Kd(e,r,a):Wi(e,r,a,i||null,!0):t===1&&r!==null?Wi(e,r,a,i||null,!0):t===2?cv(e,a,s):t===3&&e.destroyNode(a),o!=null&&fv(e,t,o,r,i)}}function Ym(t,e){return t.createText(e)}function Zm(t,e,r){t.setValue(e,r)}function qd(t,e,r){return t.createElement(e,r)}function Qm(t,e){Yd(t,e),e[_t]=null,e[Xe]=null}function Km(t,e,r,n,i,o){n[_t]=i,n[Xe]=e,uo(t,n,r,1,i,o)}function Yd(t,e){e[st].changeDetectionScheduler?.notify(1),uo(t,e,e[he],2,null,null)}function Xm(t){let e=t[gr];if(!e)return Ns(t[$],t);for(;e;){let r=null;if(Wt(e))r=e[gr];else{let n=e[Be];n&&(r=n)}if(!r){for(;e&&!e[Qe]&&e!==t;)Wt(e)&&Ns(e[$],e),e=e[Ee];e===null&&(e=t),Wt(e)&&Ns(e[$],e),r=e&&e[Qe]}e=r}}function Jm(t,e,r,n){let i=Be+n,o=r.length;n>0&&(r[i-1][Qe]=e),n0&&(t[r-1][Qe]=n[Qe]);let o=Fi(t,Be+e);Qm(n[$],n);let s=o[Vn];s!==null&&s.detachView(o[$]),n[Ee]=null,n[Qe]=null,n[N]&=-129}return n}function Qd(t,e){if(!(e[N]&256)){let r=e[he];r.destroyNode&&uo(t,e,r,3,null,null),Xm(e)}}function Ns(t,e){if(e[N]&256)return;let r=Q(null);try{e[N]&=-129,e[N]|=256,e[Zt]&&Du(e[Zt]),nv(t,e),tv(t,e),e[$].type===1&&e[he].destroy();let n=e[oo];if(n!==null&&Et(e[Ee])){n!==e[Ee]&&Zd(n,e);let i=e[Vn];i!==null&&i.detachView(t)}Bm(e)}finally{Q(r)}}function tv(t,e){let r=t.cleanup,n=e[pr];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[pr]=null);let i=e[Tt];if(i!==null){e[Tt]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===ot.None||o===ot.Emulated)return null}return Je(n,r)}}function Wi(t,e,r,n,i){t.insertBefore(e,r,n,i)}function Kd(t,e,r){t.appendChild(e,r)}function dc(t,e,r,n,i){n!==null?Wi(t,e,r,n,i):Kd(t,e,r)}function ov(t,e,r,n){t.removeChild(e,r,n)}function Za(t,e){return t.parentNode(e)}function sv(t,e){return t.nextSibling(e)}function av(t,e,r){return uv(t,e,r)}function lv(t,e,r){return t.type&40?Je(t,r):null}var uv=lv,fc;function Qa(t,e,r,n){let i=rv(t,n,e),o=e[he],s=n.parent||e[Xe],a=av(s,n,e);if(i!=null)if(Array.isArray(r))for(let l=0;lKe&&tf(t,e,Ke,!1),rt(s?2:0,i),r(n,i)}finally{Kt(o),rt(s?3:1,i)}}function sf(t,e,r){if(id(e)){let n=Q(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function Ev(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return am()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function hc(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=Re.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let u=o;if(i!==null){if(!i.hasOwnProperty(o))continue;u=i[o]}t===0?pc(n,r,u,a,l):pc(n,r,u,a)}return n}function pc(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function Dv(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,u=null;for(let d=n;d0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function Mv(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;ao(r)&&Lv(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Gi(r,e),Jt(n,e);let s=r.initialInputs;for(let a=i;a{mr(t.lView)},consumerOnSignalRead(){this.lView[Zt]=this}}),yf=100;function Cf(t,e=!0,r=0){let n=t[st],i=n.rendererFactory,o=!1;o||i.begin?.();try{Qv(t,r)}catch(s){throw e&&mf(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function Qv(t,e){oa(t,e);let r=0;for(;Fa(t);){if(r===yf)throw new T(103,!1);r++,oa(t,1)}}function Kv(t,e,r,n){let i=e[N];if((i&256)===256)return;let o=!1;!o&&e[st].inlineEffectRunner?.flush(),ka(e);let s=null,a=null;!o&&Xv(t)&&(a=zv(e),s=_u(a));try{fd(e),fm(t.bindingStartIndex),r!==null&&of(t,e,r,2,n);let l=(i&3)===3;if(!o)if(l){let f=t.preOrderCheckHooks;f!==null&&Ti(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Ni(e,f,0,null),Ss(e,0)}if(Jv(e),_f(e,0),t.contentQueries!==null&&gf(t,e),!o)if(l){let f=t.contentCheckHooks;f!==null&&Ti(e,f)}else{let f=t.contentHooks;f!==null&&Ni(e,f,1),Ss(e,1)}gv(t,e);let u=t.components;u!==null&&Df(e,u,0);let d=t.viewQuery;if(d!==null&&ia(2,d,n),!o)if(l){let f=t.viewCheckHooks;f!==null&&Ti(e,f)}else{let f=t.viewHooks;f!==null&&Ni(e,f,2),Ss(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[ws]){for(let f of e[ws])f();e[ws]=null}o||(e[N]&=-73)}catch(l){throw mr(e),l}finally{a!==null&&(Eu(a,s),Yv(a)),Va()}}function Xv(t){return t.type!==2}function _f(t,e){for(let r=Ud(t);r!==null;r=Hd(r))for(let n=Be;n-1&&(ta(e,n),Fi(r,n))}this._attachedToViewContainer=!1}Qd(this._lView[$],this._lView)}onDestroy(e){hd(this._lView,e)}markForCheck(){tl(this._cdRefInjectingView||this._lView)}detach(){this._lView[N]&=-129}reattach(){zs(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Cf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Yd(this._lView[$],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=e,zs(this._lView)}},nl=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ry;let t=e;return t})(),ty=nl,ny=class extends ty{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=$v(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new en(i)}};function ry(){return iy(Le(),re())}function iy(t,e){return t.type&4?new ny(e,t,lo(t,e)):null}var BM=new RegExp(`^(\\d+)*(${Gm}|${$m})*(.*)`);var oy=()=>null;function mc(t,e){return oy(t,e)}var sa=class{},aa=class{},qi=class{};function sy(t){let e=Error(`No component factory found for ${Ae(t)}.`);return e[ay]=t,e}var ay="ngComponent";var la=class{resolveComponentFactory(e){throw sy(e)}},po=(()=>{let e=class e{};e.NULL=new la;let t=e;return t})(),yr=class{},an=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>ly();let t=e;return t})();function ly(){let t=re(),e=Le(),r=Ot(e.index,t);return(Wt(r)?r:t)[he]}var uy=(()=>{let e=class e{};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),xs={};var vc=new Set;function If(t){vc.has(t)||(vc.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function yc(...t){}function cy(){let t=typeof ur.requestAnimationFrame=="function",e=ur[t?"requestAnimationFrame":"setTimeout"],r=ur[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let i=r[Zone.__symbol__("OriginalDelegate")];i&&(r=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var le=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _e(!1),this.onMicrotaskEmpty=new _e(!1),this.onStable=new _e(!1),this.onError=new _e(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=cy().nativeRequestAnimationFrame,hy(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new T(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,dy,yc,yc);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},dy={};function rl(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function fy(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ur,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ua(t),t.isCheckStableRunning=!0,rl(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ua(t))}function hy(t){let e=()=>{fy(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(py(a))return r.invokeTask(i,o,s,a);try{return Cc(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),_c(t)}},onInvoke:(r,n,i,o,s,a,l)=>{try{return Cc(t),r.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),_c(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,ua(t),rl(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function ua(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Cc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function _c(t){t._nesting--,rl(t)}function py(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var bf=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ca(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&Jd(t,r,o.join(" "))}}function Ey(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=Iy;let t=e;return t})();function Iy(){let t=Le();return wy(t,re())}var by=Sr,wf=class extends by{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return lo(this._hostTNode,this._hostLView)}get injector(){return new zt(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ha(this._hostTNode,this._hostLView);if(Md(e)){let r=Hi(e,this._hostLView),n=Ui(e),i=r[$].data[n+8];return new zt(i,r)}else return new zt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Dc(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Be}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=mc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,gc(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!zg(e),a;if(s)a=r;else{let _=r||{};a=_.index,n=_.injector,i=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef}let l=s?e:new Cr(Yt(e)),u=n||this.parentInjector;if(!o&&l.ngModule==null){let M=(s?u:this.parentInjector).get(Ue,null);M&&(o=M)}let d=Yt(l.componentType??{}),f=mc(this._lContainer,d?.id??null),h=f?.firstChild??null,g=l.create(u,i,h,o);return this.insertImpl(g.hostView,a,gc(this._hostTNode,f)),g}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(tm(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[Ee],u=new wf(l,l[Xe],l[Ee]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Gv(s,i,o,n),e.attachToViewContainerRef(),Uc(Rs(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Dc(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=ta(this._lContainer,r);n&&(Fi(Rs(this._lContainer),r),Qd(n[$],n))}detach(e){let r=this._adjustIndex(e,-1),n=ta(this._lContainer,r);return n&&Fi(Rs(this._lContainer),r)!=null?new en(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Dc(t){return t[Vi]}function Rs(t){return t[Vi]||(t[Vi]=[])}function wy(t,e){let r,n=e[t.index];return Et(n)?r=n:(r=pf(n,e,null,t),e[t.index]=r,ho(e,r)),My(r,e,t,n),new wf(r,t,e)}function Sy(t,e){let r=t[he],n=r.createComment(""),i=Je(e,t),o=Za(r,i);return Wi(r,o,n,sv(r,i),!1),n}var My=Ny,Ay=()=>!1;function Ty(t,e,r){return Ay(t,e,r)}function Ny(t,e,r,n){if(t[Qt])return;let i;r.type&8?i=lt(n):i=Sy(e,r),t[Qt]=i}function xy(t){return typeof t=="function"&&t[ns]!==void 0}function Sf(t){return xy(t)&&typeof t.set=="function"}function Ry(t){return Object.getPrototypeOf(t.prototype).constructor}function dt(t){let e=Ry(t.type),r=!0,n=[t];for(;e;){let i;if(Nt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new T(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Si(t.inputs),s.inputTransforms=Si(t.inputTransforms),s.declaredInputs=Si(t.declaredInputs),s.outputs=Si(t.outputs);let a=i.hostBindings;a&&ky(t,a);let l=i.viewQuery,u=i.contentQueries;if(l&&Fy(t,l),u&&Py(t,u),Oy(t,i),Qp(t.outputs,i.outputs),Nt(i)&&i.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=fr(i.hostAttrs,r=fr(r,i.hostAttrs))}}function Si(t){return t===Ln?{}:t===je?[]:t}function Fy(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function Py(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function ky(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}var xt=class{},_r=class{};var ha=class extends xt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Yi(this);let i=Zc(e);this._bootstrapComponents=zd(i.bootstrap),this._r3Injector=Pd(e,r,[{provide:xt,useValue:this},{provide:po,useValue:this.componentFactoryResolver},...n],Ae(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},pa=class extends _r{constructor(e){super(),this.moduleType=e}create(e){return new ha(this.moduleType,e,[])}};var Zi=class extends xt{constructor(e){super(),this.componentFactoryResolver=new Yi(this),this.instance=null;let r=new hr([...e.providers,{provide:xt,useValue:this},{provide:po,useValue:this.componentFactoryResolver}],e.parent||xa(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function il(t,e,r=null){return new Zi({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var go=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new pe(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Mf(t){return jy(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Vy(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function zy(t){return(t&2)==2}function qy(t,e){return t&131071|e<<17}function ga(t){return t|2}function Bn(t){return(t&131068)>>2}function Os(t,e){return t&-131069|e<<2}function Yy(t){return(t&1)===1}function ma(t){return t|1}function Zy(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=nn(s),l=Bn(s);t[n]=r;let u=!1,d;if(Array.isArray(r)){let f=r;d=f[1],(d===null||Ir(f,d)>0)&&(u=!0)}else d=r;if(i)if(l!==0){let h=nn(t[a+1]);t[n+1]=Mi(h,a),h!==0&&(t[h+1]=Os(t[h+1],n)),t[a+1]=qy(t[a+1],n)}else t[n+1]=Mi(a,0),a!==0&&(t[a+1]=Os(t[a+1],n)),a=n;else t[n+1]=Mi(l,0),a===0?a=n:t[l+1]=Os(t[l+1],n),l=n;u&&(t[n+1]=ga(t[n+1])),Ic(t,d,n,!0),Ic(t,d,n,!1),Qy(e,d,t,n,o),s=Mi(a,l),o?e.classBindings=s:e.styleBindings=s}function Qy(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ir(o,e)>=0&&(r[n+1]=ma(r[n+1]))}function Ic(t,e,r,n){let i=t[r+1],o=e===null,s=n?nn(i):Bn(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],u=t[s+1];Ky(l,e)&&(a=!0,t[s+1]=n?ma(u):ga(u)),s=n?nn(u):Bn(u)}a&&(t[r+1]=n?ga(i):ma(i))}function Ky(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ir(t,e)>=0:!1}function me(t,e,r){let n=re(),i=Pa();if(tn(n,i,e)){let o=Oe(),s=bd();cf(o,s,n,t,e,n[he],r,!1)}return me}function bc(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";Ja(t,r,o[s],s,n)}function mo(t,e){return Xy(t,e,null,!0),mo}function Xy(t,e,r,n){let i=re(),o=Oe(),s=hm(2);if(o.firstUpdatePass&&eC(o,t,s,n),e!==sn&&tn(i,s,e)){let a=o.data[Hn()];oC(o,a,i,i[he],t,i[s+1]=sC(e,r),n,s)}}function Jy(t,e){return e>=t.expandoStartIndex}function eC(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Hn()],s=Jy(t,r);aC(o,n)&&e===null&&!s&&(e=!1),e=tC(i,o,e,n),Zy(i,o,e,r,s,n)}}function tC(t,e,r,n){let i=vm(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ls(null,t,e,r,n),r=Er(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Ls(i,t,e,r,n),o===null){let l=nC(t,e,n);l!==void 0&&Array.isArray(l)&&(l=Ls(null,t,e,l[1],n),l=Er(l,e.attrs,n),rC(t,e,n,l))}else o=iC(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function nC(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Bn(n)!==0)return t[nn(n)]}function rC(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[nn(i)]=n}function iC(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],u=Array.isArray(l),d=u?l[1]:l,f=d===null,h=r[i+1];h===sn&&(h=f?je:void 0);let g=f?Is(h,n):d===n?h:void 0;if(u&&!Qi(g)&&(g=Is(l,n)),Qi(g)&&(a=g,s))return a;let _=t[i+1];i=s?nn(_):Bn(_)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Is(l,n))}return a}function Qi(t){return t!==void 0}function sC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ae(qa(t)))),t}function aC(t,e){return(t.flags&(e?8:16))!==0}function lC(t,e,r,n,i,o){let s=e.consts,a=Bi(s,i),l=fo(e,t,2,n,a);return df(e,r,l,Bi(s,o)),l.attrs!==null&&ca(l,l.attrs,!1),l.mergedAttrs!==null&&ca(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function E(t,e,r,n){let i=re(),o=Oe(),s=Ke+t,a=i[he],l=o.firstCreatePass?lC(s,o,i,e,r,n):o.data[s],u=uC(o,i,l,a,e,t);i[s]=u;let d=Oa(l);return wr(l,!0),ef(a,u,l),!Uy(l)&&ja()&&Qa(o,i,u,l),im()===0&&Jt(u,i),om(),d&&(af(o,i,l),sf(o,l,i)),n!==null&&lf(i,l),E}function y(){let t=Le();md()?dm():(t=t.parent,wr(t,!1));let e=t;lm(e)&&um(),sm();let r=Oe();return r.firstCreatePass&&(Ua(r,t),id(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Im(e)&&bc(r,e,re(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&bm(e)&&bc(r,e,re(),e.stylesWithoutHost,!1),y}function ol(t,e,r,n){return E(t,e,r,n),y(),ol}var uC=(t,e,r,n,i,o)=>(Ba(!0),qd(n,i,Cm()));var Ki="en-US";var cC=Ki;function dC(t){typeof t=="string"&&(cC=t.toLowerCase().replace(/_/g,"-"))}function un(t,e,r,n){let i=re(),o=Oe(),s=Le();return Tf(o,i,i[he],s,t,e,n),un}function fC(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function Tf(t,e,r,n,i,o,s){let a=Oa(n),u=t.firstCreatePass&&Vv(t),d=e[vt],f=kv(e),h=!0;if(n.type&3||s){let M=Je(n,e),A=s?s(M):M,V=f.length,L=s?J=>s(lt(J[n.index])):n.index,ie=null;if(!s&&a&&(ie=fC(t,e,i,n.index)),ie!==null){let J=ie.__ngLastListenerFn__||ie;J.__ngNextListenerFn__=o,ie.__ngLastListenerFn__=o,h=!1}else{o=Mc(n,e,d,o,!1);let J=r.listen(A,i,o);f.push(o,J),u&&u.push(i,L,V,V+1)}}else o=Mc(n,e,d,o,!1);let g=n.outputs,_;if(h&&g!==null&&(_=g[i])){let M=_.length;if(M)for(let A=0;A-1?Ot(t.index,e):e;tl(a);let l=Sc(e,r,n,s),u=o.__ngNextListenerFn__;for(;u;)l=Sc(e,r,u,s)&&l,u=u.__ngNextListenerFn__;return i&&l===!1&&s.preventDefault(),l}}function hC(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function w(t,e=""){let r=re(),n=Oe(),i=t+Ke,o=n.firstCreatePass?fo(n,i,1,e,null):n.data[i],s=pC(n,r,o,e,t);r[i]=s,ja()&&Qa(n,r,s,o),wr(o,!1)}var pC=(t,e,r,n,i)=>(Ba(!0),Ym(e[he],n));function cn(t){return Ft("",t,""),cn}function Ft(t,e,r){let n=re(),i=Wy(n,t,e,r);return i!==sn&&jv(n,Hn(),i),Ft}function He(t,e,r){Sf(e)&&(e=e());let n=re(),i=Pa();if(tn(n,i,e)){let o=Oe(),s=bd();cf(o,s,n,t,e,n[he],r,!1)}return He}function et(t,e){let r=Sf(t);return r&&t.set(e),r}function $e(t,e){let r=re(),n=Oe(),i=Le();return Tf(n,r,r[he],i,t,e),$e}function gC(t,e,r){let n=Oe();if(n.firstCreatePass){let i=Nt(t);va(r,n.data,n.blueprint,i,!0),va(e,n.data,n.blueprint,i,!1)}}function va(t,e,r,n,i){if(t=Ie(t),Array.isArray(t))for(let o=0;o>20;if(Pn(t)||!t.multi){let g=new Xt(u,i,Z),_=Ps(l,e,i?d:d+h,f);_===-1?(Zs(Gi(a,s),o,l),Fs(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(g),s.push(g)):(r[_]=g,s[_]=g)}else{let g=Ps(l,e,d+h,f),_=Ps(l,e,d,d+h),M=g>=0&&r[g],A=_>=0&&r[_];if(i&&!A||!i&&!M){Zs(Gi(a,s),o,l);let V=yC(i?vC:mC,r.length,i,n,u);!i&&A&&(r[_].providerFactory=V),Fs(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(V),s.push(V)}else{let V=Nf(r[i?_:g],u,!i&&n);Fs(o,t,g>-1?g:_,V)}!i&&n&&A&&r[_].componentProviders++}}}function Fs(t,e,r,n){let i=Pn(e),o=Vg(e);if(i||o){let l=(o?Ie(e.useClass):e).prototype.ngOnDestroy;if(l){let u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let d=u.indexOf(r);d===-1?u.push(r,[n,l]):u[d+1].push(n,l)}else u.push(r,l)}}}function Nf(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Ps(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>gC(n,i?i(t):t,e)}}var CC=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=Xc(!1,n.type),o=i.length>0?il([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(q(Ue))});let t=e;return t})();function vo(t){If("NgStandalone"),t.getStandaloneInjector=e=>e.get(CC).getOrCreateStandaloneInjector(t)}function xf(t,e){let r=t[e];return r===sn?void 0:r}function _C(t,e,r,n,i,o){let s=e+r;return tn(t,s,i)?Af(t,s+1,o?n.call(o,i):n(i)):xf(t,s+1)}function EC(t,e,r,n,i,o,s){let a=e+r;return By(t,a,i,o)?Af(t,a+2,s?n.call(s,i,o):n(i,o)):xf(t,a+2)}function Fe(t,e){let r=Oe(),n,i=t+Ke;r.firstCreatePass?(n=DC(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=qt(n.type,!0)),s,a=Me(Z);try{let l=$i(!1),u=o();return $i(l),hC(r,re(),i,u),u}finally{Me(a)}}function DC(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Pt(t,e,r){let n=t+Ke,i=re(),o=dd(i,n);return Rf(i,n)?_C(i,vd(),e,o.transform,r,o):o.transform(r)}function zn(t,e,r,n){let i=t+Ke,o=re(),s=dd(o,i);return Rf(o,i)?EC(o,vd(),e,s.transform,r,n,s):s.transform(r,n)}function Rf(t,e){return t[$].data[e].pure}var yo=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Of=new k("");function dn(t){return!!t&&typeof t.then=="function"}function Lf(t){return!!t&&typeof t.subscribe=="function"}var Ff=new k(""),Pf=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=D(Ff,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(dn(s))n.push(s);else if(Lf(s)){let a=new Promise((l,u)=>{s.subscribe({complete:l,error:u})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),sl=new k("");function IC(){Iu(()=>{throw new T(600,!1)})}function bC(t){return t.isBoundToModule}function wC(t,e,r){try{let n=r();return dn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Mr=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(kd),this.afterRenderEffectManager=D(bf),this.externalTestViews=new Set,this.beforeRender=new De,this.afterTick=new De,this.componentTypes=[],this.components=[],this.isStable=D(go).hasPendingTasks.pipe(H(n=>!n)),this._injector=D(Ue)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof qi;if(!this._injector.get(Pf).done){let g=!o&&Yc(n),_=!1;throw new T(405,_)}let a;o?a=n:a=this._injector.get(po).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=bC(a)?void 0:this._injector.get(xt),u=i||a.selector,d=a.create(on.NULL,[],u,l),f=d.location.nativeElement,h=d.injector.get(Of,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),ks(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),d}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new T(101,!1);let i=Q(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,Q(i)}}detectChangesInAttachedViews(n){let i=0,o=this.afterRenderEffectManager;for(;;){if(i===yf)throw new T(103,!1);if(n){let s=i===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)SC(a,s,l)}if(i++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ca(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Ca(s))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;ks(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(sl,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ks(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new T(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ks(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function SC(t,e,r){!e&&!Ca(t)||MC(t,r,e)}function Ca(t){return Fa(t)}function MC(t,e,r){let n;r?(n=0,t[N]|=1024):t[N]&64?n=0:n=1,Cf(t,e,n)}var _a=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},al=(()=>{let e=class e{compileModuleSync(n){return new pa(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=Zc(n),s=zd(o.declarations).reduce((a,l)=>{let u=Yt(l);return u&&a.push(new Cr(u)),a},[]);return new _a(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var AC=(()=>{let e=class e{constructor(){this.zone=D(le),this.applicationRef=D(Mr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function TC(t){return[{provide:le,useFactory:t},{provide:Fn,multi:!0,useFactory:()=>{let e=D(AC,{optional:!0});return()=>e.initialize()}},{provide:Fn,multi:!0,useFactory:()=>{let e=D(OC);return()=>{e.initialize()}}},{provide:kd,useFactory:NC}]}function NC(){let t=D(le),e=D(yt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function xC(t){let e=TC(()=>new le(RC(t)));return ro([[],e])}function RC(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var OC=(()=>{let e=class e{constructor(){this.subscription=new ce,this.initialized=!1,this.zone=D(le),this.pendingTasks=D(go)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function LC(){return typeof $localize<"u"&&$localize.locale||Ki}var ll=new k("",{providedIn:"root",factory:()=>D(ll,j.Optional|j.SkipSelf)||LC()});var kf=new k("");var Ri=null;function FC(t=[],e){return on.create({name:e,providers:[{provide:io,useValue:"platform"},{provide:kf,useValue:new Set([()=>Ri=null])},...t]})}function PC(t=[]){if(Ri)return Ri;let e=FC(t);return Ri=e,IC(),kC(e),e}function kC(t){t.get(Ga,null)?.forEach(r=>r())}var fn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=VC;let t=e;return t})();function VC(t){return jC(Le(),re(),(t&16)===16)}function jC(t,e,r){if(ao(t)&&!r){let n=Ot(t.index,e);return new en(n,n)}else if(t.type&47){let n=e[at];return new en(n,e)}return null}var Ea=class{constructor(){}supports(e){return Mf(e)}create(e){return new Da(e)}},BC=(t,e)=>e,Da=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||BC}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new Ia(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Xi),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Xi),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Ia=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ba=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Xi=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new ba,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ac(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Tc()),deps:[[e,new Bc,new Ma]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new T(901,!1)}};e.\u0275prov=x({token:e,providedIn:"root",factory:Tc});let t=e;return t})();function Vf(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=PC(n),o=[xC(),...r||[]],a=new Zi({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(le);return l.run(()=>{a.resolveInjectorInitializers();let u=a.get(yt,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:g=>{u.handleError(g)}})});let f=()=>a.destroy(),h=i.get(kf);return h.add(f),a.onDestroy(()=>{d.unsubscribe(),h.delete(f)}),wC(u,l,()=>{let g=a.get(Pf);return g.runInitializers(),g.donePromise.then(()=>{let _=a.get(ll,Ki);dC(_||Ki);let M=a.get(Mr);return e!==void 0&&M.bootstrap(e),M})})})}catch(e){return Promise.reject(e)}}function Co(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}var Hf=null;function Dt(){return Hf}function $f(t){Hf??=t}var _o=class{};var Ge=new k(""),Gf=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>D($C),providedIn:"platform"});let t=e;return t})();var $C=(()=>{let e=class e extends Gf{constructor(){super(),this._doc=D(Ge),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Dt().getBaseHref(this._doc)}onPopState(n){let i=Dt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Dt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Wf(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function jf(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function hn(t){return t&&t[0]!=="?"?"?"+t:t}var Do=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>D(zf),providedIn:"root"});let t=e;return t})(),GC=new k(""),zf=(()=>{let e=class e extends Do{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??D(Ge).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Wf(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+hn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+hn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+hn(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(q(Gf),q(GC,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ar=(()=>{let e=class e{constructor(n){this._subject=new _e,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=qC(jf(Bf(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+hn(i))}normalize(n){return e.stripTrailingSlash(zC(this._basePath,Bf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+hn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+hn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=hn,e.joinWithSlash=Wf,e.stripTrailingSlash=jf,e.\u0275fac=function(i){return new(i||e)(q(Do))},e.\u0275prov=x({token:e,factory:()=>WC(),providedIn:"root"});let t=e;return t})();function WC(){return new Ar(q(Do))}function zC(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Bf(t){return t.replace(/\/index.html$/,"")}function qC(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function qf(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var cl=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Yf=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new cl(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,a),Uf(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Uf(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(Z(Sr),Z(nl),Z(ul))},e.\u0275dir=be({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Uf(t,e){t.context.$implicit=e.item}var Zf=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=no({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var Qf="browser",YC="server";function fl(t){return t===YC}var Eo=class{};var gl=class extends _o{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ml=class t extends gl{static makeCurrent(){$f(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=ZC();return r==null?null:QC(r)}resetBaseElement(){Tr=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return qf(document.cookie,e)}},Tr=null;function ZC(){return Tr=Tr||document.querySelector("base"),Tr?Tr.getAttribute("href"):null}function QC(t){return new URL(t,document.baseURI).pathname}var KC=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),vl=new k(""),eh=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(q(vl),q(le))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Io=class{constructor(e){this._doc=e}},hl="ng-app-id",th=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=fl(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${hl}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(hl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(hl,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(q(Ge),q($a),q(Wa,8),q(Gn))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),pl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Cl=/%COMP%/g,nh="%COMP%",XC=`_nghost-${nh}`,JC=`_ngcontent-${nh}`,e_=!0,t_=new k("",{providedIn:"root",factory:()=>e_});function n_(t){return JC.replace(Cl,t)}function r_(t){return XC.replace(Cl,t)}function rh(t,e){return e.map(r=>r.replace(Cl,t))}var Kf=(()=>{let e=class e{constructor(n,i,o,s,a,l,u,d=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=u,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=fl(l),this.defaultRenderer=new Nr(n,a,u,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===ot.ShadowDom&&(i=te(I({},i),{encapsulation:ot.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof bo?o.applyToHost(n):o instanceof xr&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case ot.Emulated:s=new bo(u,d,i,this.appId,f,a,l,h);break;case ot.ShadowDom:return new yl(u,d,n,i,a,l,this.nonce,h);default:s=new xr(u,d,i,f,a,l,h);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(q(eh),q(th),q($a),q(t_),q(Ge),q(Gn),q(le),q(Wa))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Nr=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(pl[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Xf(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Xf(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new T(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=pl[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=pl[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Ct.DashCase|Ct.Important)?e.style.setProperty(r,n,i&Ct.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Ct.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Dt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Xf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var yl=class extends Nr{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=rh(i.id,i.styles);for(let d of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=d,this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},xr=class extends Nr{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?rh(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},bo=class extends xr{constructor(e,r,n,i,o,s,a,l){let u=i+"-"+n.id;super(e,r,n,o,s,a,l,u),this.contentAttr=n_(u),this.hostAttr=r_(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},i_=(()=>{let e=class e extends Io{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(q(Ge))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Jf=["alt","control","meta","shift"],o_={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},s_={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},a_=(()=>{let e=class e extends Io{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Dt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Jf.forEach(d=>{let f=i.indexOf(d);f>-1&&(i.splice(f,1),a+=d+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(n,i){let o=o_[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Jf.forEach(a=>{if(a!==o){let l=s_[a];l(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(q(Ge))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();function ih(t,e){return Vf(I({rootComponent:t},l_(e)))}function l_(t){return{appProviders:[...h_,...t?.providers??[]],platformProviders:f_}}function u_(){ml.makeCurrent()}function c_(){return new yt}function d_(){return Gd(document),document}var f_=[{provide:Gn,useValue:Qf},{provide:Ga,useValue:u_,multi:!0},{provide:Ge,useFactory:d_,deps:[]}];var h_=[{provide:io,useValue:"root"},{provide:yt,useFactory:c_,deps:[]},{provide:vl,useClass:i_,multi:!0,deps:[Ge,le,Gn]},{provide:vl,useClass:a_,multi:!0,deps:[Ge]},Kf,th,eh,{provide:yr,useExisting:Kf},{provide:Eo,useClass:KC,deps:[]},[]];var oh=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(q(Ge))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var F="primary",zr=Symbol("RouteTitle"),bl=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Kn(t){return new bl(t)}function m_(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function fh(t){return t.length>0?t[t.length-1]:null}function Bt(t){return gs(t)?t:dn(t)?se(Promise.resolve(t)):O(t)}var y_={exact:ph,subset:gh},hh={exact:C_,subset:__,ignored:()=>!0};function sh(t,e,r){return y_[r.paths](t.root,e.root,r.matrixParams)&&hh[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function C_(t,e){return ft(t,e)}function ph(t,e,r){if(!gn(t.segments,e.segments)||!Mo(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!ph(t.children[n],e.children[n],r))return!1;return!0}function __(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>dh(t[r],e[r]))}function gh(t,e,r){return mh(t,e,e.segments,r)}function mh(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!gn(i,r)||e.hasChildren()||!Mo(i,r,n))}else if(t.segments.length===r.length){if(!gn(t.segments,r)||!Mo(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!gh(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!gn(t.segments,i)||!Mo(t.segments,i,n)||!t.children[F]?!1:mh(t.children[F],e,o,n)}}function Mo(t,e,r){return e.every((n,i)=>hh[r](t[i].parameters,n.parameters))}var Vt=class{constructor(e=new X([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Kn(this.queryParams),this._queryParamMap}toString(){return I_.serialize(this)}},X=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ao(this)}},pn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Kn(this.parameters),this._parameterMap}toString(){return yh(this)}};function E_(t,e){return gn(t,e)&&t.every((r,n)=>ft(r.parameters,e[n].parameters))}function gn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function D_(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===F&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==F&&(r=r.concat(e(i,n)))}),r}var Kl=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>new No,providedIn:"root"});let t=e;return t})(),No=class{parse(e){let r=new Ml(e);return new Vt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Rr(e.root,!0)}`,n=S_(e.queryParams),i=typeof e.fragment=="string"?`#${b_(e.fragment)}`:"";return`${r}${n}${i}`}},I_=new No;function Ao(t){return t.segments.map(e=>yh(e)).join("/")}function Rr(t,e){if(!t.hasChildren())return Ao(t);if(e){let r=t.children[F]?Rr(t.children[F],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==F&&n.push(`${i}:${Rr(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=D_(t,(n,i)=>i===F?[Rr(t.children[F],!1)]:[`${i}:${Rr(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[F]!=null?`${Ao(t)}/${r[0]}`:`${Ao(t)}/(${r.join("//")})`}}function vh(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wo(t){return vh(t).replace(/%3B/gi,";")}function b_(t){return encodeURI(t)}function Sl(t){return vh(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function To(t){return decodeURIComponent(t)}function ah(t){return To(t.replace(/\+/g,"%20"))}function yh(t){return`${Sl(t.path)}${w_(t.parameters)}`}function w_(t){return Object.entries(t).map(([e,r])=>`;${Sl(e)}=${Sl(r)}`).join("")}function S_(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${wo(r)}=${wo(i)}`).join("&"):`${wo(r)}=${wo(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var M_=/^[^\/()?;#]+/;function _l(t){let e=t.match(M_);return e?e[0]:""}var A_=/^[^\/()?;=#]+/;function T_(t){let e=t.match(A_);return e?e[0]:""}var N_=/^[^=?&#]+/;function x_(t){let e=t.match(N_);return e?e[0]:""}var R_=/^[^&#]+/;function O_(t){let e=t.match(R_);return e?e[0]:""}var Ml=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new X([],{}):new X([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[F]=new X(e,r)),n}parseSegment(){let e=_l(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new T(4009,!1);return this.capture(e),new pn(To(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=T_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=_l(this.remaining);i&&(n=i,this.capture(n))}e[To(r)]=To(n)}parseQueryParam(e){let r=x_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=O_(this.remaining);s&&(n=s,this.capture(n))}let i=ah(r),o=ah(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=_l(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new T(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=F);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[F]:new X([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new T(4011,!1)}};function Ch(t){return t.segments.length>0?new X([],{[F]:t}):t}function _h(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=_h(i);if(n===F&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new X(t.segments,e);return L_(r)}function L_(t){if(t.numberOfChildren===1&&t.children[F]){let e=t.children[F];return new X(t.segments.concat(e.segments),e.children)}return t}function Xn(t){return t instanceof Vt}function F_(t,e,r=null,n=null){let i=Eh(t);return Dh(i,e,r,n)}function Eh(t){let e;function r(o){let s={};for(let l of o.children){let u=r(l);s[l.outlet]=u}let a=new X(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Ch(n);return e??i}function Dh(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return El(i,i,i,r,n);let o=P_(e);if(o.toRoot())return El(i,i,new X([],{}),r,n);let s=k_(o,i,t),a=s.processChildren?Fr(s.segmentGroup,s.index,o.commands):bh(s.segmentGroup,s.index,o.commands);return El(i,s.segmentGroup,a,r,n)}function xo(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Vr(t){return typeof t=="object"&&t!=null&&t.outlets}function El(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,u])=>{o[l]=Array.isArray(u)?u.map(d=>`${d}`):`${u}`});let s;t===e?s=r:s=Ih(t,e,r);let a=Ch(_h(s));return new Vt(a,o,i)}function Ih(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=Ih(o,e,r)}),new X(t.segments,n)}var Ro=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&xo(n[0]))throw new T(4003,!1);let i=n.find(Vr);if(i&&i!==fh(n))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function P_(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ro(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,u])=>{a[l]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ro(r,e,n)}var Zn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function k_(t,e,r){if(t.isAbsolute)return new Zn(e,!0,0);if(!r)return new Zn(e,!1,NaN);if(r.parent===null)return new Zn(r,!0,0);let n=xo(t.commands[0])?0:1,i=r.segments.length-1+n;return V_(r,i,t.numberOfDoubleDots)}function V_(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new T(4005,!1);i=n.segments.length}return new Zn(n,!1,i-o)}function j_(t){return Vr(t[0])?t[0].outlets:{[F]:t}}function bh(t,e,r){if(t??=new X([],{}),t.segments.length===0&&t.hasChildren())return Fr(t,e,r);let n=B_(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==F)&&t.children[F]&&t.numberOfChildren===1&&t.children[F].segments.length===0){let o=Fr(t.children[F],e,r);return new X(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=bh(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new X(t.segments,i)}}function B_(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Vr(a))break;let l=`${a}`,u=n0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!uh(l,u,s))return o;n+=2}else{if(!uh(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Al(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Al(new X([],{}),0,n))}),e}function lh(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function uh(t,e,r){return t==r.path&&ft(e,r.parameters)}var Pr="imperative",ve=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(ve||{}),We=class{constructor(e,r){this.id=e,this.url=r}},jr=class extends We{constructor(e,r,n="imperative",i=null){super(e,r),this.type=ve.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},mn=class extends We{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=ve.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ke=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(ke||{}),Tl=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Tl||{}),jt=class extends We{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=ve.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},vn=class extends We{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=ve.NavigationSkipped}},Br=class extends We{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=ve.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Oo=class extends We{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=ve.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Nl=class extends We{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=ve.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xl=class extends We{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=ve.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Rl=class extends We{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=ve.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ol=class extends We{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=ve.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ll=class{constructor(e){this.route=e,this.type=ve.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Fl=class{constructor(e){this.route=e,this.type=ve.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Pl=class{constructor(e){this.snapshot=e,this.type=ve.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},kl=class{constructor(e){this.snapshot=e,this.type=ve.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vl=class{constructor(e){this.snapshot=e,this.type=ve.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jl=class{constructor(e){this.snapshot=e,this.type=ve.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ur=class{},Hr=class{constructor(e){this.url=e}};var Bl=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new jo,this.attachRef=null}},jo=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Bl,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Lo=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Ul(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Ul(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Hl(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Hl(e,this._root).map(r=>r.value)}};function Ul(t,e){if(t===e.value)return e;for(let r of e.children){let n=Ul(t,r);if(n)return n}return null}function Hl(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Hl(t,r);if(n.length)return n.unshift(e),n}return[]}var Pe=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Yn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Fo=class extends Lo{constructor(e,r){super(e),this.snapshot=r,Jl(this,e)}toString(){return this.snapshot.toString()}};function wh(t){let e=H_(t),r=new pe([new pn("",{})]),n=new pe({}),i=new pe({}),o=new pe({}),s=new pe(""),a=new Jn(r,n,o,s,i,F,t,e.root);return a.snapshot=e.root,new Fo(new Pe(a,[]),e)}function H_(t){let e={},r={},n={},i="",o=new $r([],e,n,i,r,F,t,null,{});return new Po("",new Pe(o,[]))}var Jn=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(H(u=>u[zr]))??O(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(H(e=>Kn(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(H(e=>Kn(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Xl(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:I(I({},e.params),t.params),data:I(I({},e.data),t.data),resolve:I(I(I(I({},t.data),e.data),i?.data),t._resolvedData)}:n={params:I({},t.params),data:I({},t.data),resolve:I(I({},t.data),t._resolvedData??{})},i&&Mh(i)&&(n.resolve[zr]=i.title),n}var $r=class{get title(){return this.data?.[zr]}constructor(e,r,n,i,o,s,a,l,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Kn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Kn(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Po=class extends Lo{constructor(e,r){super(r),this.url=e,Jl(this,r)}toString(){return Sh(this._root)}};function Jl(t,e){e.value._routerState=t,e.children.forEach(r=>Jl(t,r))}function Sh(t){let e=t.children.length>0?` { ${t.children.map(Sh).join(", ")} } `:"";return`${t.value}${e}`}function Dl(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,ft(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),ft(e.params,r.params)||t.paramsSubject.next(r.params),v_(e.url,r.url)||t.urlSubject.next(r.url),ft(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function $l(t,e){let r=ft(t.params,e.params)&&E_(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||$l(t.parent,e.parent))}function Mh(t){return typeof t.title=="string"||t.title===null}var $_=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=F,this.activateEvents=new _e,this.deactivateEvents=new _e,this.attachEvents=new _e,this.detachEvents=new _e,this.parentContexts=D(jo),this.location=D(Sr),this.changeDetector=D(fn),this.environmentInjector=D(Ue),this.inputBinder=D(eu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new T(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new T(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,u=new Gl(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=be({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Un]});let t=e;return t})(),Gl=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Jn?this.route:e===jo?this.childContexts:this.parent.get(e,r)}},eu=new k("");function G_(t,e,r){let n=Gr(t,e._root,r?r._root:void 0);return new Fo(n,e)}function Gr(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=W_(t,e,r);return new Pe(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Gr(t,a)),s}}let n=z_(e.value),i=e.children.map(o=>Gr(t,o));return new Pe(n,i)}}function W_(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Gr(t,n,i);return Gr(t,n)})}function z_(t){return new Jn(new pe(t.url),new pe(t.params),new pe(t.queryParams),new pe(t.fragment),new pe(t.data),t.outlet,t.component,t)}var Ah="ngNavigationCancelingError";function Th(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Xn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Nh(!1,ke.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function Nh(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[Ah]=!0,r.cancellationCode=e,r}function q_(t){return xh(t)&&Xn(t.url)}function xh(t){return!!t&&t[Ah]}var Y_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=to({type:e,selectors:[["ng-component"]],standalone:!0,features:[vo],decls:1,vars:0,template:function(i,o){i&1&&ol(0,"router-outlet")},dependencies:[$_],encapsulation:2});let t=e;return t})();function Z_(t,e){return t.providers&&!t._injector&&(t._injector=il(t.providers,e,`Route: ${t.path}`)),t._injector??e}function tu(t){let e=t.children&&t.children.map(tu),r=e?te(I({},t),{children:e}):I({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==F&&(r.component=Y_),r}function ht(t){return t.outlet||F}function Q_(t,e){let r=t.filter(n=>ht(n)===e);return r.push(...t.filter(n=>ht(n)!==e)),r}function qr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var K_=(t,e,r,n)=>H(i=>(new Wl(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Wl=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Dl(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Yn(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Yn(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Yn(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Yn(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new jl(o.value.snapshot))}),e.children.length&&this.forwardEvent(new kl(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Dl(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Dl(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=qr(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},ko=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Qn=class{constructor(e,r){this.component=e,this.route=r}};function X_(t,e,r){let n=t._root,i=e?e._root:null;return Or(n,i,r,[n.value])}function J_(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function tr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Rc(t)?t:e.get(t):n}function Or(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Yn(e);return t.children.forEach(s=>{eE(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>kr(a,r.getContext(s),i)),i}function eE(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=tE(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ko(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Or(t,e,a?a.children:null,n,i):Or(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Qn(a.outlet.component,s))}else s&&kr(e,a,i),i.canActivateChecks.push(new ko(n)),o.component?Or(t,null,a?a.children:null,n,i):Or(t,null,r,n,i);return i}function tE(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!gn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!gn(t.url,e.url)||!ft(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$l(t,e)||!ft(t.queryParams,e.queryParams);case"paramsChange":default:return!$l(t,e)}}function kr(t,e,r){let n=Yn(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?kr(s,e.children.getContext(o),r):kr(s,null,r):kr(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Qn(e.outlet.component,i)):r.canDeactivateChecks.push(new Qn(null,i)):r.canDeactivateChecks.push(new Qn(null,i))}function Yr(t){return typeof t=="function"}function nE(t){return typeof t=="boolean"}function rE(t){return t&&Yr(t.canLoad)}function iE(t){return t&&Yr(t.canActivate)}function oE(t){return t&&Yr(t.canActivateChild)}function sE(t){return t&&Yr(t.canDeactivate)}function aE(t){return t&&Yr(t.canMatch)}function Rh(t){return t instanceof gt||t?.name==="EmptyError"}var So=Symbol("INITIAL_VALUE");function er(){return Ye(t=>Di(t.map(e=>e.pipe(mt(1),Es(So)))).pipe(H(e=>{for(let r of e)if(r!==!0){if(r===So)return So;if(r===!1||r instanceof Vt)return r}return!0}),qe(e=>e!==So),mt(1)))}function lE(t,e){return de(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?O(te(I({},r),{guardsResult:!0})):uE(s,n,i,t).pipe(de(a=>a&&nE(a)?cE(n,o,t,e):O(a)),H(a=>te(I({},r),{guardsResult:a})))})}function uE(t,e,r,n){return se(t).pipe(de(i=>gE(i.component,i.route,r,e,n)),nt(i=>i!==!0,!0))}function cE(t,e,r,n){return se(e).pipe(Mn(i=>Sn(fE(i.route.parent,n),dE(i.route,n),pE(t,i.path,r),hE(t,i.route,r))),nt(i=>i!==!0,!0))}function dE(t,e){return t!==null&&e&&e(new Vl(t)),O(!0)}function fE(t,e){return t!==null&&e&&e(new Pl(t)),O(!0)}function hE(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return O(!0);let i=n.map(o=>Ii(()=>{let s=qr(e)??r,a=tr(o,s),l=iE(a)?a.canActivate(e,t):rn(s,()=>a(e,t));return Bt(l).pipe(nt())}));return O(i).pipe(er())}function pE(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>J_(s)).filter(s=>s!==null).map(s=>Ii(()=>{let a=s.guards.map(l=>{let u=qr(s.node)??r,d=tr(l,u),f=oE(d)?d.canActivateChild(n,t):rn(u,()=>d(n,t));return Bt(f).pipe(nt())});return O(a).pipe(er())}));return O(o).pipe(er())}function gE(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let s=o.map(a=>{let l=qr(e)??i,u=tr(a,l),d=sE(u)?u.canDeactivate(t,e,r,n):rn(l,()=>u(t,e,r,n));return Bt(d).pipe(nt())});return O(s).pipe(er())}function mE(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return O(!0);let o=i.map(s=>{let a=tr(s,t),l=rE(a)?a.canLoad(e,r):rn(t,()=>a(e,r));return Bt(l)});return O(o).pipe(er(),Oh(n))}function Oh(t){return ds(ge(e=>{if(Xn(e))throw Th(t,e)}),H(e=>e===!0))}function vE(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return O(!0);let o=i.map(s=>{let a=tr(s,t),l=aE(a)?a.canMatch(e,r):rn(t,()=>a(e,r));return Bt(l)});return O(o).pipe(er(),Oh(n))}var Wr=class{constructor(e){this.segmentGroup=e||null}},Vo=class extends Error{constructor(e){super(),this.urlTree=e}};function qn(t){return wn(new Wr(t))}function yE(t){return wn(new T(4e3,!1))}function CE(t){return wn(Nh(!1,ke.GuardRejected))}var zl=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return O(n);if(i.numberOfChildren>1||!i.children[F])return yE(e.redirectTo);i=i.children[F]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new Vo(i);return i}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new Vt(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new X(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new T(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},ql={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _E(t,e,r,n,i){let o=nu(t,e,r);return o.matched?(n=Z_(e,n),vE(n,e,r,i).pipe(H(s=>s===!0?o:I({},ql)))):O(o)}function nu(t,e,r){if(e.path==="**")return EE(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?I({},ql):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||m_)(r,t,e);if(!i)return I({},ql);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?I(I({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function EE(t){return{matched:!0,parameters:t.length>0?fh(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function ch(t,e,r,n){return r.length>0&&bE(t,r,n)?{segmentGroup:new X(e,IE(n,new X(r,t.children))),slicedSegments:[]}:r.length===0&&wE(t,r,n)?{segmentGroup:new X(t.segments,DE(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new X(t.segments,t.children),slicedSegments:r}}function DE(t,e,r,n){let i={};for(let o of r)if(Bo(t,e,o)&&!n[ht(o)]){let s=new X([],{});i[ht(o)]=s}return I(I({},n),i)}function IE(t,e){let r={};r[F]=e;for(let n of t)if(n.path===""&&ht(n)!==F){let i=new X([],{});r[ht(n)]=i}return r}function bE(t,e,r){return r.some(n=>Bo(t,e,n)&&ht(n)!==F)}function wE(t,e,r){return r.some(n=>Bo(t,e,n))}function Bo(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function SE(t,e,r,n){return ht(t)!==n&&(n===F||!Bo(e,r,t))?!1:nu(e,t,r).matched}function ME(t,e,r){return e.length===0&&!t.children[r]}var Yl=class{};function AE(t,e,r,n,i,o,s="emptyOnly"){return new Zl(t,e,r,n,i,s,o).recognize()}var TE=31,Zl=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new zl(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new T(4002,`'${e.segmentGroup}'`)}recognize(){let e=ch(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(H(r=>{let n=new $r([],Object.freeze({}),Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,{},F,this.rootComponentType,null,{}),i=new Pe(n,r),o=new Po("",i),s=F_(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,F).pipe(St(n=>{if(n instanceof Vo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Wr?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=Xl(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(H(o=>o instanceof Pe?[o]:[]))}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return se(i).pipe(Mn(o=>{let s=n.children[o],a=Q_(r,o);return this.processSegmentGroup(e,a,s,o)}),_s((o,s)=>(o.push(...s),o)),Mt(null),Cs(),de(o=>{if(o===null)return qn(n);let s=Lh(o);return NE(s),O(s)}))}processSegment(e,r,n,i,o,s){return se(r).pipe(Mn(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(St(l=>{if(l instanceof Wr)return O(null);throw l}))),nt(a=>!!a),St(a=>{if(Rh(a))return ME(n,i,o)?O(new Yl):qn(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return SE(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):qn(i):qn(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:u,remainingSegments:d}=nu(r,i,o);if(!a)return qn(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>TE&&(this.allowRedirects=!1));let f=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,u);return this.applyRedirects.lineralizeSegments(i,f).pipe(de(h=>this.processSegment(e,n,r,h.concat(d),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o){let s=_E(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(Ye(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Ye(({routes:l})=>{let u=n._loadedInjector??e,{consumedSegments:d,remainingSegments:f,parameters:h}=a,g=new $r(d,h,Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,RE(n),ht(n),n.component??n._loadedComponent??null,n,OE(n)),{segmentGroup:_,slicedSegments:M}=ch(r,d,f,l);if(M.length===0&&_.hasChildren())return this.processChildren(u,l,_).pipe(H(V=>V===null?null:new Pe(g,V)));if(l.length===0&&M.length===0)return O(new Pe(g,[]));let A=ht(n)===o;return this.processSegment(u,l,_,M,A?F:o,!0).pipe(H(V=>new Pe(g,V instanceof Pe?[V]:[])))}))):qn(r)))}getChildConfig(e,r,n){return r.children?O({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?O({routes:r._loadedRoutes,injector:r._loadedInjector}):mE(e,r,n,this.urlSerializer).pipe(de(i=>i?this.configLoader.loadChildren(e,r).pipe(ge(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):CE(r))):O({routes:[],injector:e})}};function NE(t){t.sort((e,r)=>e.value.outlet===F?-1:r.value.outlet===F?1:e.value.outlet.localeCompare(r.value.outlet))}function xE(t){let e=t.value.routeConfig;return e&&e.path===""}function Lh(t){let e=[],r=new Set;for(let n of t){if(!xE(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Lh(n.children);e.push(new Pe(n.value,i))}return e.filter(n=>!r.has(n))}function RE(t){return t.data||{}}function OE(t){return t.resolve||{}}function LE(t,e,r,n,i,o){return de(s=>AE(t,e,r,n,s.extractedUrl,i,o).pipe(H(({state:a,tree:l})=>te(I({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function FE(t,e){return de(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return O(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let u of Fh(l))s.add(u);let a=0;return se(s).pipe(Mn(l=>o.has(l)?PE(l,n,t,e):(l.data=Xl(l,l.parent,t).resolve,O(void 0))),ge(()=>a++),An(1),de(l=>a===s.size?O(r):xe))})}function Fh(t){let e=t.children.map(r=>Fh(r)).flat();return[t,...e]}function PE(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!Mh(i)&&(o[zr]=i.title),kE(o,t,e,n).pipe(H(s=>(t._resolvedData=s,t.data=Xl(t,t.parent,r).resolve,null)))}function kE(t,e,r,n){let i=wl(t);if(i.length===0)return O({});let o={};return se(i).pipe(de(s=>VE(t[s],e,r,n).pipe(nt(),ge(a=>{o[s]=a}))),An(1),ys(o),St(s=>Rh(s)?xe:wn(s)))}function VE(t,e,r,n){let i=qr(e)??n,o=tr(t,i),s=o.resolve?o.resolve(e,r):rn(i,()=>o(e,r));return Bt(s)}function Il(t){return Ye(e=>{let r=t(e);return r?se(r).pipe(H(()=>e)):O(e)})}var Ph=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===F);return i}getResolvedTitleForRoute(n){return n.data[zr]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>D(jE),providedIn:"root"});let t=e;return t})(),jE=(()=>{let e=class e extends Ph{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(q(oh))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ru=new k("",{providedIn:"root",factory:()=>({})}),iu=new k(""),BE=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=D(al)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return O(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Bt(n.loadComponent()).pipe(H(kh),ge(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),lr(()=>{this.componentLoaders.delete(n)})),o=new bn(i,()=>new De).pipe(In());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=UE(i,this.compiler,n,this.onLoadEndListener).pipe(lr(()=>{this.childrenLoaders.delete(i)})),a=new bn(s,()=>new De).pipe(In());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function UE(t,e,r,n){return Bt(t.loadChildren()).pipe(H(kh),de(i=>i instanceof _r||Array.isArray(i)?O(i):se(e.compileModuleAsync(i))),H(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(iu,[],{optional:!0,self:!0}).flat()),{routes:s.map(tu),injector:o}}))}function HE(t){return t&&typeof t=="object"&&"default"in t}function kh(t){return HE(t)?t.default:t}var ou=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>D($E),providedIn:"root"});let t=e;return t})(),$E=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),GE=new k("");var WE=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new De,this.transitionAbortSubject=new De,this.configLoader=D(BE),this.environmentInjector=D(Ue),this.urlSerializer=D(Kl),this.rootContexts=D(jo),this.location=D(Ar),this.inputBindingEnabled=D(eu,{optional:!0})!==null,this.titleStrategy=D(Ph),this.options=D(ru,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=D(ou),this.createViewTransition=D(GE,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Ll(o)),i=o=>this.events.next(new Fl(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(te(I(I({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new pe({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Pr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(qe(s=>s.id!==0),H(s=>te(I({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ye(s=>{let a=!1,l=!1;return O(s).pipe(Ye(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),xe;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?te(I({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!d&&f!=="reload"){let h="";return this.events.next(new vn(u.id,this.urlSerializer.serialize(u.rawUrl),h,Tl.IgnoredSameUrlNavigation)),u.resolve(null),xe}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return O(u).pipe(Ye(h=>{let g=this.transitions?.getValue();return this.events.next(new jr(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),g!==this.transitions?.getValue()?xe:Promise.resolve(h)}),LE(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ge(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=te(I({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let g=new Oo(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(g)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:g,source:_,restoredState:M,extras:A}=u,V=new jr(h,this.urlSerializer.serialize(g),_,M);this.events.next(V);let L=wh(this.rootComponentType).snapshot;return this.currentTransition=s=te(I({},u),{targetSnapshot:L,urlAfterRedirects:g,extras:te(I({},A),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,O(s)}else{let h="";return this.events.next(new vn(u.id,this.urlSerializer.serialize(u.extractedUrl),h,Tl.IgnoredByUrlHandlingStrategy)),u.resolve(null),xe}}),ge(u=>{let d=new Nl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),H(u=>(this.currentTransition=s=te(I({},u),{guards:X_(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),lE(this.environmentInjector,u=>this.events.next(u)),ge(u=>{if(s.guardsResult=u.guardsResult,Xn(u.guardsResult))throw Th(this.urlSerializer,u.guardsResult);let d=new xl(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(d)}),qe(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",ke.GuardRejected),!1)),Il(u=>{if(u.guards.canActivateChecks.length)return O(u).pipe(ge(d=>{let f=new Rl(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}),Ye(d=>{let f=!1;return O(d).pipe(FE(this.paramsInheritanceStrategy,this.environmentInjector),ge({next:()=>f=!0,complete:()=>{f||this.cancelNavigationTransition(d,"",ke.NoDataFromResolver)}}))}),ge(d=>{let f=new Ol(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}))}),Il(u=>{let d=f=>{let h=[];f.routeConfig?.loadComponent&&!f.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(f.routeConfig).pipe(ge(g=>{f.component=g}),H(()=>{})));for(let g of f.children)h.push(...d(g));return h};return Di(d(u.targetSnapshot.root)).pipe(Mt(null),mt(1))}),Il(()=>this.afterPreactivation()),Ye(()=>{let{currentSnapshot:u,targetSnapshot:d}=s,f=this.createViewTransition?.(this.environmentInjector,u.root,d.root);return f?se(f).pipe(H(()=>s)):O(s)}),H(u=>{let d=G_(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=te(I({},u),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),ge(()=>{this.events.next(new Ur)}),K_(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),mt(1),ge({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new mn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Ds(this.transitionAbortSubject.pipe(ge(u=>{throw u}))),lr(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),St(u=>{if(l=!0,xh(u))this.events.next(new jt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),q_(u)?this.events.next(new Hr(u.url)):s.resolve(!1);else{this.events.next(new Br(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(u))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return xe}))}))}cancelNavigationTransition(n,i,o){let s=new jt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function zE(t){return t!==Pr}var qE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>D(YE),providedIn:"root"});let t=e;return t})(),Ql=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},YE=(()=>{let e=class e extends Ql{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=$n(e)))(o||e)}})(),e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:()=>D(ZE),providedIn:"root"});let t=e;return t})(),ZE=(()=>{let e=class e extends Vh{constructor(){super(...arguments),this.location=D(Ar),this.urlSerializer=D(Kl),this.options=D(ru,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=D(ou),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Vt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=wh(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof jr)this.stateMemento=this.createStateMemento();else if(n instanceof vn)this.rawUrlTree=i.initialUrl;else if(n instanceof Oo){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Ur?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof jt&&(n.code===ke.GuardRejected||n.code===ke.NoDataFromResolver)?this.restoreHistory(i):n instanceof Br?this.restoreHistory(i,!0):n instanceof mn&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=I(I({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=I(I({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=$n(e)))(o||e)}})(),e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Lr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Lr||{});function QE(t,e){t.events.pipe(qe(r=>r instanceof mn||r instanceof jt||r instanceof Br||r instanceof vn),H(r=>r instanceof mn||r instanceof vn?Lr.COMPLETE:(r instanceof jt?r.code===ke.Redirect||r.code===ke.SupersededByNewNavigation:!1)?Lr.REDIRECTING:Lr.FAILED),qe(r=>r!==Lr.REDIRECTING),mt(1)).subscribe(()=>{e()})}function KE(t){throw t}var XE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},JE={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},jh=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=D(yo),this.stateManager=D(Vh),this.options=D(ru,{optional:!0})||{},this.pendingTasks=D(go),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=D(WE),this.urlSerializer=D(Kl),this.location=D(Ar),this.urlHandlingStrategy=D(ou),this._events=new De,this.errorHandler=this.options.errorHandler||KE,this.navigated=!1,this.routeReuseStrategy=D(qE),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=D(iu,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!D(eu,{optional:!0}),this.eventsSubscription=new ce,this.isNgZoneEnabled=D(le)instanceof le&&le.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof jt&&i.code!==ke.Redirect&&i.code!==ke.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof mn)this.navigated=!0;else if(i instanceof Hr){let a=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||zE(o.source)};this.scheduleNavigation(a,Pr,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}tD(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Pr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=I({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(tu),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:u}=i,d=u?this.currentUrlTree.fragment:a,f=null;switch(l){case"merge":f=I(I({},this.currentUrlTree.queryParams),s);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=s||null}f!==null&&(f=this.removeEmptyProps(f));let h;try{let g=o?o.snapshot:this.routerState.snapshot.root;h=Eh(g)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),h=this.currentUrlTree.root}return Dh(h,n,f,d??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Xn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Pr,null,i)}navigate(n,i={skipLocationChange:!1}){return eD(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=I({},XE):i===!1?o=I({},JE):o=i,Xn(n))return sh(this.currentUrlTree,n,o);let s=this.parseUrl(n);return sh(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,u,d;a?(l=a.resolve,u=a.reject,d=a.promise):d=new Promise((h,g)=>{l=h,u=g});let f=this.pendingTasks.add();return QE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:u,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function eD(t){for(let e=0;er.\u0275providers)])}function rD(t){return t.routerState.root}function iD(){let t=D(on);return e=>{let r=t.get(Mr);if(e!==r.components[0])return;let n=t.get(jh),i=t.get(oD);t.get(sD)===1&&n.initialNavigation(),t.get(aD,null,j.Optional)?.setUpPreloading(),t.get(nD,null,j.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var oD=new k("",{factory:()=>new De}),sD=new k("",{providedIn:"root",factory:()=>1});var aD=new k("");var Uh=[];var Hh={providers:[Bh(Uh)]};var nr=class{constructor(e,r){this.firstName=e,this.lastName=r,this.getName=this.getName.bind(this)}getName(){return`${this.firstName} ${this.lastName}`}get name(){return`${this.firstName} ${this.lastName}`}};var Qh=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(Z(an),Z(Lt))},e.\u0275dir=be({type:e});let t=e;return t})(),au=(()=>{let e=class e extends Qh{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=$n(e)))(o||e)}})(),e.\u0275dir=be({type:e,features:[dt]});let t=e;return t})(),qo=new k("");var lD={provide:qo,useExisting:Rt(()=>Yo),multi:!0};function uD(){let t=Dt()?Dt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var cD=new k(""),Yo=(()=>{let e=class e extends Qh{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!uD())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(Z(an),Z(Lt),Z(cD,8))},e.\u0275dir=be({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&un("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Wn([lD]),dt]});let t=e;return t})();var Kh=new k(""),Xh=new k("");function Jh(t){return t!=null}function ep(t){return dn(t)?se(t):t}function tp(t){let e={};return t.forEach(r=>{e=r!=null?I(I({},e),r):e}),Object.keys(e).length===0?null:e}function np(t,e){return e.map(r=>r(t))}function dD(t){return!t.validate}function rp(t){return t.map(e=>dD(e)?e:r=>e.validate(r))}function fD(t){if(!t)return null;let e=t.filter(Jh);return e.length==0?null:function(r){return tp(np(r,e))}}function lu(t){return t!=null?fD(rp(t)):null}function hD(t){if(!t)return null;let e=t.filter(Jh);return e.length==0?null:function(r){let n=np(r,e).map(ep);return vs(n).pipe(H(tp))}}function uu(t){return t!=null?hD(rp(t)):null}function $h(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function pD(t){return t._rawValidators}function gD(t){return t._rawAsyncValidators}function su(t){return t?Array.isArray(t)?t:[t]:[]}function Ho(t,e){return Array.isArray(t)?t.includes(e):t===e}function Gh(t,e){let r=su(e);return su(t).forEach(i=>{Ho(r,i)||r.push(i)}),r}function Wh(t,e){return su(e).filter(r=>!Ho(t,r))}var $o=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=lu(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=uu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},ir=class extends $o{get formDirective(){return null}get path(){return null}},or=class extends $o{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Go=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},mD={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},PT=te(I({},mD),{"[class.ng-submitted]":"isSubmitted"}),ip=(()=>{let e=class e extends Go{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(Z(or,2))},e.\u0275dir=be({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&mo("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[dt]});let t=e;return t})(),op=(()=>{let e=class e extends Go{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(Z(ir,10))},e.\u0275dir=be({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&mo("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[dt]});let t=e;return t})();var Zr="VALID",Uo="INVALID",rr="PENDING",Qr="DISABLED";function sp(t){return(Zo(t)?t.validators:t)||null}function vD(t){return Array.isArray(t)?lu(t):t||null}function ap(t,e){return(Zo(e)?e.asyncValidators:t)||null}function yD(t){return Array.isArray(t)?uu(t):t||null}function Zo(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function CD(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new T(1e3,"");if(!n[r])throw new T(1001,"")}function _D(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new T(1002,"")})}var Wo=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Zr}get invalid(){return this.status===Uo}get pending(){return this.status==rr}get disabled(){return this.status===Qr}get enabled(){return this.status!==Qr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Gh(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Gh(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Wh(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Wh(e,this._rawAsyncValidators))}hasValidator(e){return Ho(this._rawValidators,e)}hasAsyncValidator(e){return Ho(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=rr,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Qr,this.errors=null,this._forEachChild(n=>{n.disable(te(I({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(te(I({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Zr,this._forEachChild(n=>{n.enable(te(I({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(te(I({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zr||this.status===rr)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Qr:Zr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=rr,this._hasOwnPendingAsyncValidator=!0;let r=ep(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new _e,this.statusChanges=new _e}_calculateStatus(){return this._allControlsDisabled()?Qr:this.errors?Uo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rr)?rr:this._anyControlsHaveStatus(Uo)?Uo:Zr}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Zo(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=vD(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=yD(this._rawAsyncValidators)}},zo=class extends Wo{constructor(e,r,n){super(sp(r),ap(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){_D(this,!0,e),Object.keys(e).forEach(n=>{CD(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Qo=new k("CallSetDisabledState",{providedIn:"root",factory:()=>Ko}),Ko="always";function ED(t,e){return[...e.path,t]}function lp(t,e,r=Ko){up(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),ID(t,e),wD(t,e),bD(t,e),DD(t,e)}function zh(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function DD(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function up(t,e){let r=pD(t);e.validator!==null?t.setValidators($h(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=gD(t);e.asyncValidator!==null?t.setAsyncValidators($h(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();zh(e._rawValidators,i),zh(e._rawAsyncValidators,i)}function ID(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&cp(t,e)})}function bD(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&cp(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function cp(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function wD(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function SD(t,e){t==null,up(t,e)}function MD(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function AD(t){return Object.getPrototypeOf(t.constructor)===au}function TD(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function ND(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Yo?r=o:AD(o)?n=o:i=o}),i||n||r||null}var xD={provide:ir,useExisting:Rt(()=>cu)},Kr=Promise.resolve(),cu=(()=>{let e=class e extends ir{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new _e,this.form=new zo({},lu(n),uu(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Kr.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),lp(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Kr.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Kr.then(()=>{let i=this._findContainer(n.path),o=new zo({});SD(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Kr.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Kr.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,TD(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(Z(Kh,10),Z(Xh,10),Z(Qo,8))},e.\u0275dir=be({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&un("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[Re.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Wn([xD]),dt]});let t=e;return t})();function qh(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Yh(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var RD=class extends Wo{constructor(e=null,r,n){super(sp(r),ap(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Zo(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Yh(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){qh(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){qh(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Yh(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var OD={provide:or,useExisting:Rt(()=>du)},Zh=Promise.resolve(),du=(()=>{let e=class e extends or{constructor(n,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new RD,this._registered=!1,this.name="",this.update=new _e,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=ND(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),MD(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){lp(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Zh.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Co(i);Zh.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?ED(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(Z(ir,9),Z(Kh,10),Z(Xh,10),Z(qo,10),Z(fn,8),Z(Qo,8))},e.\u0275dir=be({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Re.None,"disabled","isDisabled"],model:[Re.None,"ngModel","model"],options:[Re.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Wn([OD]),dt,Un]});let t=e;return t})(),dp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=be({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})(),LD={provide:qo,useExisting:Rt(()=>fu),multi:!0},fu=(()=>{let e=class e extends au{writeValue(n){let i=n??"";this.setProperty("value",i)}registerOnChange(n){this.onChange=i=>{n(i==""?null:parseFloat(i))}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=$n(e)))(o||e)}})(),e.\u0275dir=be({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){i&1&&un("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[Wn([LD]),dt]});let t=e;return t})(),FD={provide:qo,useExisting:Rt(()=>hu),multi:!0};var PD=(()=>{let e=class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n){this._accessors.splice(i,1);return}}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return n[0].control?n[0]._parent===i._control._parent&&n[1].name===i.name:!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),hu=(()=>{let e=class e extends au{constructor(n,i,o,s){super(n,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=D(Qo,{optional:!0})??Ko}ngOnInit(){this._control=this._injector.get(or),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(i){return new(i||e)(Z(an),Z(Lt),Z(PD),Z(on))},e.\u0275dir=be({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&un("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Wn([FD]),dt]});let t=e;return t})();var kD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ut({});let t=e;return t})();var pu=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Qo,useValue:n.callSetDisabledState??Ko}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ut({imports:[kD]});let t=e;return t})();var Xr=(()=>{let e=class e{static isFoundOnWalking(n,i){let o=n,s=!1;do if(o.hasOwnProperty(i)||Object.getOwnPropertyDescriptor(o,i)){s=!0;break}while(o=Object.getPrototypeOf(o));return s}static isNumber(n){return!isNaN(parseInt(n,10))&&isFinite(n)}static getValue(n){return typeof n=="function"?n():n}filterByString(n){return n&&(n=n.toLowerCase()),i=>!n||(i?(""+i).toLowerCase().indexOf(n)!==-1:!1)}filterByBoolean(n){return i=>!!i===n}filterByObject(n){return i=>{for(let o in n){if(o==="$or"){if(!this.filterByOr(n.$or)(e.getValue(i)))return!1;continue}if(!i||!e.isFoundOnWalking(i,o)||!this.isMatching(n[o],e.getValue(i[o])))return!1}return!0}}isMatching(n,i){switch(typeof n){case"boolean":return this.filterByBoolean(n)(i);case"string":return this.filterByString(n)(i);case"object":return this.filterByObject(n)(i)}return this.filterDefault(n)(i)}filterByOr(n){return i=>{let o=n.length,s=u=>i.indexOf(n[u])!==-1,a=u=>this.isMatching(n[u],i),l=Array.isArray(i)?s:a;for(let u=0;un===void 0||n==i}transform(n,i){if(!n)return n;switch(typeof i){case"boolean":return n.filter(this.filterByBoolean(i));case"string":return e.isNumber(i)?n.filter(this.filterDefault(i)):n.filter(this.filterByString(i));case"object":return n.filter(this.filterByObject(i));case"function":return n.filter(i)}return n.filter(this.filterDefault(i))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=no({name:"filterBy",type:e,pure:!1}),e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();var gu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ut({providers:[Xr]});let t=e;return t})();var fp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ut({imports:[pu,gu,pu,gu]});let t=e;return t})();function BD(t,e){if(t&1&&(E(0,"tr")(1,"td",25),w(2),Fe(3,"json"),y()()),t&2){let r=e.$implicit;ne(2),cn(Pt(3,1,r))}}function UD(t,e){if(t&1&&(E(0,"tr")(1,"td"),w(2),y()()),t&2){let r=e.$implicit;ne(2),cn(r)}}function HD(t,e){if(t&1&&(E(0,"tr")(1,"td"),w(2),y()()),t&2){let r=e.$implicit;ne(2),cn(r)}}function $D(t,e){if(t&1&&(E(0,"tr")(1,"td"),w(2),y()()),t&2){let r=e.$implicit;ne(2),cn(r)}}function GD(t,e){if(t&1&&(E(0,"tr")(1,"td"),w(2),Fe(3,"json"),y()()),t&2){let r=e.$implicit;ne(2),cn(Pt(3,1,r))}}var hp=(()=>{let e=class e{constructor(n){this.filter=n,this.objectsFilter={test:"value",num:1,bool:!0,nested:{val:1}},this.objects=[{test:"value",num:1,bool:!0,nested:{val:1}},{test:"value1",num:12,bool:!1},{test:"value2",num:25,bool:!0},{test:"value3",num:111,bool:!1,nested:{val:2}}],this.stringsFilter="a",this.strings=["asd","qwe","zxc"],this.numbersFilter=1,this.numbers=[1,2,3,12,30,21,111],this.boolFilter=!0,this.booleans=[!0,!1],this.objectsWithGetters=[new nr("first","last"),new nr("firstName","lastName"),new nr("Mario","Rossi")],this.objectsWithGettersFilter={name:null},console.log(n.transform(this.objects,{test:"value"}))}};e.\u0275fac=function(i){return new(i||e)(Z(Xr))},e.\u0275cmp=to({type:e,selectors:[["app-root"]],standalone:!0,features:[vo],decls:205,vars:55,consts:[["mdl","",1,"mdl-layout","mdl-js-layout","mdl-layout--fixed-header"],[1,"mdl-layout__header","mdl-layout--no-drawer-button"],[1,"mdl-layout__header-row"],[1,"mdl-layout-title"],[1,"mdl-layout__content"],[1,"page-content"],[1,"mdl-grid"],[1,"mdl-cell","mdl-cell--10-col","mdl-cell--1-offset-tablet","mdl-cell--1-offset-desktop"],[1,"mdl-cell","mdl-cell--12-col"],[1,"short-description"],["href","https://github.com/VadimDez/ngx-filter-pipe"],[1,"mdl-cell","mdl-cell--6-col"],[1,"mdl-textfield","mdl-js-textfield","mdl-textfield--floating-label"],["type","text","id","object.test",1,"mdl-textfield__input",3,"ngModelChange","ngModel","value"],["for","object.test",1,"mdl-textfield__label"],["type","text","id","object.num",1,"mdl-textfield__input",3,"ngModelChange","ngModel","value"],["for","object.num",1,"mdl-textfield__label"],["id","objectFilter__bool"],["for","option1-true",1,"mdl-radio","mdl-js-radio","mdl-js-ripple-effect"],["type","radio","id","option1-true","name","options","checked","",1,"mdl-radio__button",3,"ngModelChange","ngModel","value"],[1,"mdl-radio__label"],["for","option1-false",1,"mdl-radio","mdl-js-radio","mdl-js-ripple-effect"],["type","radio","id","option1-false","name","options",1,"mdl-radio__button",3,"ngModelChange","ngModel","value"],["type","text","id","object.nested.val",1,"mdl-textfield__input",3,"ngModelChange","ngModel","value"],[1,"mdl-data-table","mdl-js-data-table","mdl-shadow--2dp"],[1,"mdl-data-table__cell--non-numeric"],[4,"ngFor","ngForOf"],["type","text","id","filter-string",1,"mdl-textfield__input",3,"ngModelChange","ngModel","value"],["for","filter-string",1,"mdl-textfield__label"],["type","number","id","filter-number",1,"mdl-textfield__input",3,"ngModelChange","ngModel","value"],["for","filter-number",1,"mdl-textfield__label"],["for","option-true",1,"mdl-radio","mdl-js-radio","mdl-js-ripple-effect"],["type","radio","id","option-true","name","options","checked","",1,"mdl-radio__button",3,"ngModelChange","ngModel","value"],["for","option-false",1,"mdl-radio","mdl-js-radio","mdl-js-ripple-effect"],["type","radio","id","option-false","name","options",1,"mdl-radio__button",3,"ngModelChange","ngModel","value"],["type","text","id","objectsWithGettersFilter.name",1,"mdl-textfield__input",3,"ngModelChange","ngModel","value"],["for","objectsWithGettersFilter.name",1,"mdl-textfield__label"],[1,"mdl-mini-footer"],[1,"mdl-mini-footer__left-section"],[1,"mdl-logo"],[1,"mdl-mini-footer__link-list"],["href","https://github.com/VadimDez"]],template:function(i,o){i&1&&(E(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),w(4,"ngx-filter-pipe"),y()()(),E(5,"main",4)(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",6)(10,"div",8)(11,"h2"),w(12,"Filter pipe"),y(),E(13,"p",9),w(14,"Simplifies array filtering"),y(),E(15,"p")(16,"a",10),w(17,"Read more on GitHub"),y()()()(),E(18,"div",6)(19,"div",8)(20,"h4"),w(21,"Objects"),y()(),E(22,"div",11)(23,"h5"),w(24,"Before filtering"),y(),w(25),Fe(26,"json"),y(),E(27,"div",11)(28,"h5"),w(29,"After filtering"),y(),w(30," Filters: "),E(31,"div")(32,"div",12)(33,"input",13),$e("ngModelChange",function(a){return et(o.objectsFilter.test,a)||(o.objectsFilter.test=a),a}),y(),E(34,"label",14),w(35,"object.test"),y()()(),E(36,"div")(37,"div",12)(38,"input",15),$e("ngModelChange",function(a){return et(o.objectsFilter.num,a)||(o.objectsFilter.num=a),a}),y(),E(39,"label",16),w(40,"object.num"),y()()(),E(41,"div")(42,"form",17)(43,"div")(44,"label"),w(45,"object.bool"),y()(),E(46,"label",18)(47,"input",19),$e("ngModelChange",function(a){return et(o.objectsFilter.bool,a)||(o.objectsFilter.bool=a),a}),y(),E(48,"span",20),w(49,"True"),y()(),E(50,"label",21)(51,"input",22),$e("ngModelChange",function(a){return et(o.objectsFilter.bool,a)||(o.objectsFilter.bool=a),a}),y(),E(52,"span",20),w(53,"False"),y()()()(),E(54,"div")(55,"div",12)(56,"input",23),$e("ngModelChange",function(a){return et(o.objectsFilter.nested.val,a)||(o.objectsFilter.nested.val=a),a}),y(),E(57,"label",16),w(58,"object.nested.val"),y()()(),E(59,"div")(60,"table",24)(61,"thead")(62,"tr")(63,"th",25),w(64,"Object"),y()()(),E(65,"tbody"),ln(66,BD,4,3,"tr",26),Fe(67,"filterBy"),y()()()()()(),E(68,"div",7)(69,"div",6)(70,"div",8)(71,"h4"),w(72,"Strings"),y()(),E(73,"div",11)(74,"h5"),w(75,"Before filtering"),y(),w(76),Fe(77,"json"),y(),E(78,"div",11)(79,"h5"),w(80,"After filtering"),y(),E(81,"div"),w(82," Filters: "),y(),E(83,"div",12)(84,"input",27),$e("ngModelChange",function(a){return et(o.stringsFilter,a)||(o.stringsFilter=a),a}),y(),E(85,"label",28),w(86,"Filter by string"),y()(),E(87,"div")(88,"table",24)(89,"thead")(90,"tr")(91,"th"),w(92,"String"),y()()(),E(93,"tbody"),ln(94,UD,3,1,"tr",26),Fe(95,"filterBy"),y()()()()()(),E(96,"div",7)(97,"div",6)(98,"div",8)(99,"h4"),w(100,"Numbers"),y()(),E(101,"div",11)(102,"h5"),w(103,"Before filtering"),y(),w(104),Fe(105,"json"),y(),E(106,"div",11)(107,"h5"),w(108,"After filtering"),y(),E(109,"div"),w(110," Filters: "),y(),E(111,"div",12)(112,"input",29),$e("ngModelChange",function(a){return et(o.numbersFilter,a)||(o.numbersFilter=a),a}),y(),E(113,"label",30),w(114,"Filter by number"),y()(),E(115,"div")(116,"table",24)(117,"thead")(118,"tr")(119,"th"),w(120,"Number"),y()()(),E(121,"tbody"),ln(122,HD,3,1,"tr",26),Fe(123,"filterBy"),y()()()()()(),E(124,"div",7)(125,"div",6)(126,"div",8)(127,"h4"),w(128,"Booleans"),y()(),E(129,"div",11)(130,"h5"),w(131,"Before filtering"),y(),w(132),Fe(133,"json"),y(),E(134,"div",11)(135,"h5"),w(136,"After filtering"),y(),E(137,"div"),w(138," Filters: "),y(),E(139,"div",12)(140,"form")(141,"label",31)(142,"input",32),$e("ngModelChange",function(a){return et(o.boolFilter,a)||(o.boolFilter=a),a}),y(),E(143,"span",20),w(144,"True"),y()(),E(145,"label",33)(146,"input",34),$e("ngModelChange",function(a){return et(o.boolFilter,a)||(o.boolFilter=a),a}),y(),E(147,"span",20),w(148,"False"),y()()()(),E(149,"div")(150,"table",24)(151,"thead")(152,"tr")(153,"th"),w(154,"Boolean"),y()()(),E(155,"tbody"),ln(156,$D,3,1,"tr",26),Fe(157,"filterBy"),y()()()()()(),E(158,"div",7)(159,"div",6)(160,"div",8)(161,"h4"),w(162,"Getters"),y(),E(163,"p"),w(164," Filter by comparing to function results. "),y(),E(165,"p"),w(166," In this example each object has a getter "),E(167,"b"),w(168,"name"),y(),w(169," that return full name by concatenating first name and last name. "),y()(),E(170,"div",11)(171,"h5"),w(172,"Before filtering"),y(),w(173),Fe(174,"json"),y(),E(175,"div",11)(176,"h5"),w(177,"After filtering"),y(),E(178,"div"),w(179," Filters: "),y(),E(180,"div")(181,"div",12)(182,"input",35),$e("ngModelChange",function(a){return et(o.objectsWithGettersFilter.name,a)||(o.objectsWithGettersFilter.name=a),a}),y(),E(183,"label",36),w(184,"Filter by name"),y()()(),E(185,"div")(186,"table",24)(187,"thead")(188,"tr")(189,"th"),w(190,"Object"),y()()(),E(191,"tbody"),ln(192,GD,4,3,"tr",26),Fe(193,"filterBy"),y()()()()()()()()(),E(194,"footer",37)(195,"div",38)(196,"div",39),w(197,"ngx-filter-pipe"),y(),E(198,"ul",40)(199,"li")(200,"a",10),w(201,"Github"),y()(),E(202,"li")(203,"a",41),w(204,"Vadym Yatsyuk"),y()()()()()()),i&2&&(ne(25),Ft(" ",Pt(26,30,o.objects)," "),ne(8),He("ngModel",o.objectsFilter.test),me("value",o.objectsFilter.test),ne(5),He("ngModel",o.objectsFilter.num),me("value",o.objectsFilter.num),ne(9),He("ngModel",o.objectsFilter.bool),me("value",!0),ne(4),He("ngModel",o.objectsFilter.bool),me("value",!1),ne(5),He("ngModel",o.objectsFilter.nested.val),me("value",o.objectsFilter.nested.val),ne(10),me("ngForOf",zn(67,32,o.objects,o.objectsFilter)),ne(10),Ft(" ",Pt(77,35,o.strings)," "),ne(8),He("ngModel",o.stringsFilter),me("value",o.stringsFilter),ne(10),me("ngForOf",zn(95,37,o.strings,o.stringsFilter)),ne(10),Ft(" ",Pt(105,40,o.numbers)," "),ne(8),He("ngModel",o.numbersFilter),me("value",o.numbersFilter),ne(10),me("ngForOf",zn(123,42,o.numbers,o.numbersFilter)),ne(10),Ft(" ",Pt(133,45,o.booleans)," "),ne(10),He("ngModel",o.boolFilter),me("value",!0),ne(4),He("ngModel",o.boolFilter),me("value",!1),ne(10),me("ngForOf",zn(157,47,o.booleans,o.boolFilter)),ne(17),Ft(" ",Pt(174,50,o.objectsWithGetters)," "),ne(9),He("ngModel",o.objectsWithGettersFilter.name),me("value",o.objectsWithGettersFilter.name),ne(10),me("ngForOf",zn(193,52,o.objectsWithGetters,o.objectsWithGettersFilter)))},dependencies:[Yf,Zf,fp,dp,Yo,fu,hu,ip,op,du,cu,Xr],styles:["#objectFilter__bool[_ngcontent-%COMP%] div[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#009688;font-size:12px}.short-description[_ngcontent-%COMP%]{color:#a7a7a7;font-size:18px;border-left:solid 5px #a7a7a7;padding-left:10px}"]});let t=e;return t})();(function(){"use strict";function t(c,p){if(c){if(p.element_.classList.contains(p.CssClasses_.MDL_JS_RIPPLE_EFFECT)){var m=document.createElement("span");m.classList.add(p.CssClasses_.MDL_RIPPLE_CONTAINER),m.classList.add(p.CssClasses_.MDL_JS_RIPPLE_EFFECT);var v=document.createElement("span");v.classList.add(p.CssClasses_.MDL_RIPPLE),m.appendChild(v),c.appendChild(m)}c.addEventListener("click",function(b){if(c.getAttribute("href").charAt(0)==="#"){b.preventDefault();var S=c.href.split("#")[1],G=p.element_.querySelector("#"+S);p.resetTabState_(),p.resetPanelState_(),c.classList.add(p.CssClasses_.ACTIVE_CLASS),G.classList.add(p.CssClasses_.ACTIVE_CLASS)}})}}function e(c,p,m,v){function b(){var W=c.href.split("#")[1],ye=v.content_.querySelector("#"+W);v.resetTabState_(p),v.resetPanelState_(m),c.classList.add(v.CssClasses_.IS_ACTIVE),ye.classList.add(v.CssClasses_.IS_ACTIVE)}if(v.tabBar_.classList.contains(v.CssClasses_.JS_RIPPLE_EFFECT)){var S=document.createElement("span");S.classList.add(v.CssClasses_.RIPPLE_CONTAINER),S.classList.add(v.CssClasses_.JS_RIPPLE_EFFECT);var G=document.createElement("span");G.classList.add(v.CssClasses_.RIPPLE),S.appendChild(G),c.appendChild(S)}v.tabBar_.classList.contains(v.CssClasses_.TAB_MANUAL_SWITCH)||c.addEventListener("click",function(W){c.getAttribute("href").charAt(0)==="#"&&(W.preventDefault(),b())}),c.show=b}var r={upgradeDom:function(c,p){},upgradeElement:function(c,p){},upgradeElements:function(c){},upgradeAllRegistered:function(){},registerUpgradedCallback:function(c,p){},register:function(c){},downgradeElements:function(c){}};r=function(){function c(C,B){for(var P=0;P"u"&&typeof B>"u")for(var P=0;P"u"){var fe=c(oe);fe&&(B=fe.cssClass)}for(var tt=document.querySelectorAll("."+B),Te=0;Te0&&G(B.children))}function W(C){var B=typeof C.widget>"u"&&typeof C.widget>"u",P=!0;B||(P=C.widget||C.widget);var oe={classConstructor:C.constructor||C.constructor,className:C.classAsString||C.classAsString,cssClass:C.cssClass||C.cssClass,widget:P,callbacks:[]};if(Ce.forEach(function(tt){if(tt.cssClass===oe.cssClass)throw new Error("The provided cssClass has already been registered: "+tt.cssClass);if(tt.className===oe.className)throw new Error("The provided className has already been registered")}),C.constructor.prototype.hasOwnProperty(bt))throw new Error("MDL component classes must not have "+bt+" defined as a property.");var fe=c(C.classAsString,oe);fe||Ce.push(oe)}function ye(C,B){var P=c(C);P&&P.callbacks.push(B)}function It(){for(var C=0;C0&&this.container_.classList.contains(this.CssClasses_.IS_VISIBLE)&&(c.keyCode===this.Keycodes_.UP_ARROW?(c.preventDefault(),p[p.length-1].focus()):c.keyCode===this.Keycodes_.DOWN_ARROW&&(c.preventDefault(),p[0].focus()))}},d.prototype.handleItemKeyboardEvent_=function(c){if(this.element_&&this.container_){var p=this.element_.querySelectorAll("."+this.CssClasses_.ITEM+":not([disabled])");if(p&&p.length>0&&this.container_.classList.contains(this.CssClasses_.IS_VISIBLE)){var m=Array.prototype.slice.call(p).indexOf(c.target);if(c.keyCode===this.Keycodes_.UP_ARROW)c.preventDefault(),m>0?p[m-1].focus():p[p.length-1].focus();else if(c.keyCode===this.Keycodes_.DOWN_ARROW)c.preventDefault(),p.length>m+1?p[m+1].focus():p[0].focus();else if(c.keyCode===this.Keycodes_.SPACE||c.keyCode===this.Keycodes_.ENTER){c.preventDefault();var v=new MouseEvent("mousedown");c.target.dispatchEvent(v),v=new MouseEvent("mouseup"),c.target.dispatchEvent(v),c.target.click()}else c.keyCode===this.Keycodes_.ESCAPE&&(c.preventDefault(),this.hide())}}},d.prototype.handleItemClick_=function(c){c.target.hasAttribute("disabled")?c.stopPropagation():(this.closing_=!0,window.setTimeout(function(p){this.hide(),this.closing_=!1}.bind(this),this.Constant_.CLOSE_TIMEOUT))},d.prototype.applyClip_=function(c,p){this.element_.classList.contains(this.CssClasses_.UNALIGNED)?this.element_.style.clip="":this.element_.classList.contains(this.CssClasses_.BOTTOM_RIGHT)?this.element_.style.clip="rect(0 "+p+"px 0 "+p+"px)":this.element_.classList.contains(this.CssClasses_.TOP_LEFT)?this.element_.style.clip="rect("+c+"px 0 "+c+"px 0)":this.element_.classList.contains(this.CssClasses_.TOP_RIGHT)?this.element_.style.clip="rect("+c+"px "+p+"px "+c+"px "+p+"px)":this.element_.style.clip=""},d.prototype.removeAnimationEndListener_=function(c){c.target.classList.remove(d.prototype.CssClasses_.IS_ANIMATING)},d.prototype.addAnimationEndListener_=function(){this.element_.addEventListener("transitionend",this.removeAnimationEndListener_),this.element_.addEventListener("webkitTransitionEnd",this.removeAnimationEndListener_)},d.prototype.show=function(c){if(this.element_&&this.container_&&this.outline_){var p=this.element_.getBoundingClientRect().height,m=this.element_.getBoundingClientRect().width;this.container_.style.width=m+"px",this.container_.style.height=p+"px",this.outline_.style.width=m+"px",this.outline_.style.height=p+"px";for(var v=this.Constant_.TRANSITION_DURATION_SECONDS*this.Constant_.TRANSITION_DURATION_FRACTION,b=this.element_.querySelectorAll("."+this.CssClasses_.ITEM),S=0;S0&&this.showSnackbar(this.queuedNotifications_.shift())},_.prototype.cleanup_=function(){this.element_.classList.remove(this.cssClasses_.ACTIVE),setTimeout(function(){this.element_.setAttribute("aria-hidden","true"),this.textElement_.textContent="",this.actionElement_.getAttribute("aria-hidden")||(this.setActionHidden_(!0),this.actionElement_.textContent="",this.actionElement_.removeEventListener("click",this.actionHandler_)),this.actionHandler_=void 0,this.message_=void 0,this.actionText_=void 0,this.active=!1,this.checkQueue_()}.bind(this),this.Constant_.ANIMATION_LENGTH)},_.prototype.setActionHidden_=function(c){c?this.actionElement_.setAttribute("aria-hidden","true"):this.actionElement_.removeAttribute("aria-hidden")},r.register({constructor:_,classAsString:"MaterialSnackbar",cssClass:"mdl-js-snackbar",widget:!0});var M=function(c){this.element_=c,this.init()};window.MaterialSpinner=M,M.prototype.Constant_={MDL_SPINNER_LAYER_COUNT:4},M.prototype.CssClasses_={MDL_SPINNER_LAYER:"mdl-spinner__layer",MDL_SPINNER_CIRCLE_CLIPPER:"mdl-spinner__circle-clipper",MDL_SPINNER_CIRCLE:"mdl-spinner__circle",MDL_SPINNER_GAP_PATCH:"mdl-spinner__gap-patch",MDL_SPINNER_LEFT:"mdl-spinner__left",MDL_SPINNER_RIGHT:"mdl-spinner__right"},M.prototype.createLayer=function(c){var p=document.createElement("div");p.classList.add(this.CssClasses_.MDL_SPINNER_LAYER),p.classList.add(this.CssClasses_.MDL_SPINNER_LAYER+"-"+c);var m=document.createElement("div");m.classList.add(this.CssClasses_.MDL_SPINNER_CIRCLE_CLIPPER),m.classList.add(this.CssClasses_.MDL_SPINNER_LEFT);var v=document.createElement("div");v.classList.add(this.CssClasses_.MDL_SPINNER_GAP_PATCH);var b=document.createElement("div");b.classList.add(this.CssClasses_.MDL_SPINNER_CIRCLE_CLIPPER),b.classList.add(this.CssClasses_.MDL_SPINNER_RIGHT);for(var S=[m,v,b],G=0;G=this.maxRows&&c.preventDefault()},L.prototype.onFocus_=function(c){this.element_.classList.add(this.CssClasses_.IS_FOCUSED)},L.prototype.onBlur_=function(c){this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},L.prototype.onReset_=function(c){this.updateClasses_()},L.prototype.updateClasses_=function(){this.checkDisabled(),this.checkValidity(),this.checkDirty(),this.checkFocus()},L.prototype.checkDisabled=function(){this.input_.disabled?this.element_.classList.add(this.CssClasses_.IS_DISABLED):this.element_.classList.remove(this.CssClasses_.IS_DISABLED)},L.prototype.checkDisabled=L.prototype.checkDisabled,L.prototype.checkFocus=function(){this.element_.querySelector(":focus")?this.element_.classList.add(this.CssClasses_.IS_FOCUSED):this.element_.classList.remove(this.CssClasses_.IS_FOCUSED)},L.prototype.checkFocus=L.prototype.checkFocus,L.prototype.checkValidity=function(){this.input_.validity&&(this.input_.validity.valid?this.element_.classList.remove(this.CssClasses_.IS_INVALID):this.element_.classList.add(this.CssClasses_.IS_INVALID))},L.prototype.checkValidity=L.prototype.checkValidity,L.prototype.checkDirty=function(){this.input_.value&&this.input_.value.length>0?this.element_.classList.add(this.CssClasses_.IS_DIRTY):this.element_.classList.remove(this.CssClasses_.IS_DIRTY)},L.prototype.checkDirty=L.prototype.checkDirty,L.prototype.disable=function(){this.input_.disabled=!0,this.updateClasses_()},L.prototype.disable=L.prototype.disable,L.prototype.enable=function(){this.input_.disabled=!1,this.updateClasses_()},L.prototype.enable=L.prototype.enable,L.prototype.change=function(c){this.input_.value=c||"",this.updateClasses_()},L.prototype.change=L.prototype.change,L.prototype.init=function(){if(this.element_&&(this.label_=this.element_.querySelector("."+this.CssClasses_.LABEL),this.input_=this.element_.querySelector("."+this.CssClasses_.INPUT),this.input_)){this.input_.hasAttribute(this.Constant_.MAX_ROWS_ATTRIBUTE)&&(this.maxRows=parseInt(this.input_.getAttribute(this.Constant_.MAX_ROWS_ATTRIBUTE),10),isNaN(this.maxRows)&&(this.maxRows=this.Constant_.NO_MAX_ROWS)),this.input_.hasAttribute("placeholder")&&this.element_.classList.add(this.CssClasses_.HAS_PLACEHOLDER),this.boundUpdateClassesHandler=this.updateClasses_.bind(this),this.boundFocusHandler=this.onFocus_.bind(this),this.boundBlurHandler=this.onBlur_.bind(this),this.boundResetHandler=this.onReset_.bind(this),this.input_.addEventListener("input",this.boundUpdateClassesHandler),this.input_.addEventListener("focus",this.boundFocusHandler),this.input_.addEventListener("blur",this.boundBlurHandler),this.input_.addEventListener("reset",this.boundResetHandler),this.maxRows!==this.Constant_.NO_MAX_ROWS&&(this.boundKeyDownHandler=this.onKeyDown_.bind(this),this.input_.addEventListener("keydown",this.boundKeyDownHandler));var c=this.element_.classList.contains(this.CssClasses_.IS_INVALID);this.updateClasses_(),this.element_.classList.add(this.CssClasses_.IS_UPGRADED),c&&this.element_.classList.add(this.CssClasses_.IS_INVALID),this.input_.hasAttribute("autofocus")&&(this.element_.focus(),this.checkFocus())}},r.register({constructor:L,classAsString:"MaterialTextfield",cssClass:"mdl-js-textfield",widget:!0});var ie=function(c){this.element_=c,this.init()};window.MaterialTooltip=ie,ie.prototype.Constant_={},ie.prototype.CssClasses_={IS_ACTIVE:"is-active",BOTTOM:"mdl-tooltip--bottom",LEFT:"mdl-tooltip--left",RIGHT:"mdl-tooltip--right",TOP:"mdl-tooltip--top"},ie.prototype.handleMouseEnter_=function(c){var p=c.target.getBoundingClientRect(),m=p.left+p.width/2,v=p.top+p.height/2,b=-1*(this.element_.offsetWidth/2),S=-1*(this.element_.offsetHeight/2);this.element_.classList.contains(this.CssClasses_.LEFT)||this.element_.classList.contains(this.CssClasses_.RIGHT)?(m=p.width/2,v+S<0?(this.element_.style.top="0",this.element_.style.marginTop="0"):(this.element_.style.top=v+"px",this.element_.style.marginTop=S+"px")):m+b<0?(this.element_.style.left="0",this.element_.style.marginLeft="0"):(this.element_.style.left=m+"px",this.element_.style.marginLeft=b+"px"),this.element_.classList.contains(this.CssClasses_.TOP)?this.element_.style.top=p.top-this.element_.offsetHeight-10+"px":this.element_.classList.contains(this.CssClasses_.RIGHT)?this.element_.style.left=p.left+p.width+10+"px":this.element_.classList.contains(this.CssClasses_.LEFT)?this.element_.style.left=p.left-this.element_.offsetWidth-10+"px":this.element_.style.top=p.top+p.height+10+"px",this.element_.classList.add(this.CssClasses_.IS_ACTIVE)},ie.prototype.hideTooltip_=function(){this.element_.classList.remove(this.CssClasses_.IS_ACTIVE)},ie.prototype.init=function(){if(this.element_){var c=this.element_.getAttribute("for")||this.element_.getAttribute("data-mdl-for");c&&(this.forElement_=document.getElementById(c)),this.forElement_&&(this.forElement_.hasAttribute("tabindex")||this.forElement_.setAttribute("tabindex","0"),this.boundMouseEnterHandler=this.handleMouseEnter_.bind(this),this.boundMouseLeaveAndScrollHandler=this.hideTooltip_.bind(this),this.forElement_.addEventListener("mouseenter",this.boundMouseEnterHandler,!1),this.forElement_.addEventListener("touchend",this.boundMouseEnterHandler,!1),this.forElement_.addEventListener("mouseleave",this.boundMouseLeaveAndScrollHandler,!1),window.addEventListener("scroll",this.boundMouseLeaveAndScrollHandler,!0),window.addEventListener("touchstart",this.boundMouseLeaveAndScrollHandler))}},r.register({constructor:ie,classAsString:"MaterialTooltip",cssClass:"mdl-tooltip"});var J=function(c){this.element_=c,this.init()};window.MaterialLayout=J,J.prototype.Constant_={MAX_WIDTH:"(max-width: 1024px)",TAB_SCROLL_PIXELS:100,RESIZE_TIMEOUT:100,MENU_ICON:"",CHEVRON_LEFT:"chevron_left",CHEVRON_RIGHT:"chevron_right"},J.prototype.Keycodes_={ENTER:13,ESCAPE:27,SPACE:32},J.prototype.Mode_={STANDARD:0,SEAMED:1,WATERFALL:2,SCROLL:3},J.prototype.CssClasses_={CONTAINER:"mdl-layout__container",HEADER:"mdl-layout__header",DRAWER:"mdl-layout__drawer",CONTENT:"mdl-layout__content",DRAWER_BTN:"mdl-layout__drawer-button",ICON:"material-icons",JS_RIPPLE_EFFECT:"mdl-js-ripple-effect",RIPPLE_CONTAINER:"mdl-layout__tab-ripple-container",RIPPLE:"mdl-ripple",RIPPLE_IGNORE_EVENTS:"mdl-js-ripple-effect--ignore-events",HEADER_SEAMED:"mdl-layout__header--seamed",HEADER_WATERFALL:"mdl-layout__header--waterfall",HEADER_SCROLL:"mdl-layout__header--scroll",FIXED_HEADER:"mdl-layout--fixed-header",OBFUSCATOR:"mdl-layout__obfuscator",TAB_BAR:"mdl-layout__tab-bar",TAB_CONTAINER:"mdl-layout__tab-bar-container",TAB:"mdl-layout__tab",TAB_BAR_BUTTON:"mdl-layout__tab-bar-button",TAB_BAR_LEFT_BUTTON:"mdl-layout__tab-bar-left-button",TAB_BAR_RIGHT_BUTTON:"mdl-layout__tab-bar-right-button",TAB_MANUAL_SWITCH:"mdl-layout__tab-manual-switch",PANEL:"mdl-layout__tab-panel",HAS_DRAWER:"has-drawer",HAS_TABS:"has-tabs",HAS_SCROLLING_HEADER:"has-scrolling-header",CASTING_SHADOW:"is-casting-shadow",IS_COMPACT:"is-compact",IS_SMALL_SCREEN:"is-small-screen",IS_DRAWER_OPEN:"is-visible",IS_ACTIVE:"is-active",IS_UPGRADED:"is-upgraded",IS_ANIMATING:"is-animating",ON_LARGE_SCREEN:"mdl-layout--large-screen-only",ON_SMALL_SCREEN:"mdl-layout--small-screen-only"},J.prototype.contentScrollHandler_=function(){if(!this.header_.classList.contains(this.CssClasses_.IS_ANIMATING)){var c=!this.element_.classList.contains(this.CssClasses_.IS_SMALL_SCREEN)||this.element_.classList.contains(this.CssClasses_.FIXED_HEADER);this.content_.scrollTop>0&&!this.header_.classList.contains(this.CssClasses_.IS_COMPACT)?(this.header_.classList.add(this.CssClasses_.CASTING_SHADOW),this.header_.classList.add(this.CssClasses_.IS_COMPACT),c&&this.header_.classList.add(this.CssClasses_.IS_ANIMATING)):this.content_.scrollTop<=0&&this.header_.classList.contains(this.CssClasses_.IS_COMPACT)&&(this.header_.classList.remove(this.CssClasses_.CASTING_SHADOW),this.header_.classList.remove(this.CssClasses_.IS_COMPACT),c&&this.header_.classList.add(this.CssClasses_.IS_ANIMATING))}},J.prototype.keyboardEventHandler_=function(c){c.keyCode===this.Keycodes_.ESCAPE&&this.drawer_.classList.contains(this.CssClasses_.IS_DRAWER_OPEN)&&this.toggleDrawer()},J.prototype.screenSizeHandler_=function(){this.screenSizeMediaQuery_.matches?this.element_.classList.add(this.CssClasses_.IS_SMALL_SCREEN):(this.element_.classList.remove(this.CssClasses_.IS_SMALL_SCREEN),this.drawer_&&(this.drawer_.classList.remove(this.CssClasses_.IS_DRAWER_OPEN),this.obfuscator_.classList.remove(this.CssClasses_.IS_DRAWER_OPEN)))},J.prototype.drawerToggleHandler_=function(c){if(c&&c.type==="keydown"){if(c.keyCode!==this.Keycodes_.SPACE&&c.keyCode!==this.Keycodes_.ENTER)return;c.preventDefault()}this.toggleDrawer()},J.prototype.headerTransitionEndHandler_=function(){this.header_.classList.remove(this.CssClasses_.IS_ANIMATING)},J.prototype.headerClickHandler_=function(){this.header_.classList.contains(this.CssClasses_.IS_COMPACT)&&(this.header_.classList.remove(this.CssClasses_.IS_COMPACT),this.header_.classList.add(this.CssClasses_.IS_ANIMATING))},J.prototype.resetTabState_=function(c){for(var p=0;p0?pt.classList.add(this.CssClasses_.IS_ACTIVE):pt.classList.remove(this.CssClasses_.IS_ACTIVE),this.tabBar_.scrollLeft0)return;this.setFrameCount(1);var v,b,S=c.currentTarget.getBoundingClientRect();if(c.clientX===0&&c.clientY===0)v=Math.round(S.width/2),b=Math.round(S.height/2);else{var G=c.clientX!==void 0?c.clientX:c.touches[0].clientX,W=c.clientY!==void 0?c.clientY:c.touches[0].clientY;v=Math.round(G-S.left),b=Math.round(W-S.top)}this.setRippleXY(v,b),this.setRippleStyles(!0),window.requestAnimationFrame(this.animFrameHandler.bind(this))}},ue.prototype.upHandler_=function(c){c&&c.detail!==2&&window.setTimeout(function(){this.rippleElement_.classList.remove(this.CssClasses_.IS_VISIBLE)}.bind(this),0)},ue.prototype.init=function(){if(this.element_){var c=this.element_.classList.contains(this.CssClasses_.RIPPLE_CENTER);this.element_.classList.contains(this.CssClasses_.RIPPLE_EFFECT_IGNORE_EVENTS)||(this.rippleElement_=this.element_.querySelector("."+this.CssClasses_.RIPPLE),this.frameCount_=0,this.rippleSize_=0,this.x_=0,this.y_=0,this.ignoringMouseDown_=!1,this.boundDownHandler=this.downHandler_.bind(this),this.element_.addEventListener("mousedown",this.boundDownHandler),this.element_.addEventListener("touchstart",this.boundDownHandler),this.boundUpHandler=this.upHandler_.bind(this),this.element_.addEventListener("mouseup",this.boundUpHandler),this.element_.addEventListener("mouseleave",this.boundUpHandler),this.element_.addEventListener("touchend",this.boundUpHandler),this.element_.addEventListener("blur",this.boundUpHandler),this.getFrameCount=function(){return this.frameCount_},this.setFrameCount=function(p){this.frameCount_=p},this.getRippleElement=function(){return this.rippleElement_},this.setRippleXY=function(p,m){this.x_=p,this.y_=m},this.setRippleStyles=function(p){if(this.rippleElement_!==null){var m,v,b,S="translate("+this.x_+"px, "+this.y_+"px)";p?(v=this.Constant_.INITIAL_SCALE,b=this.Constant_.INITIAL_SIZE):(v=this.Constant_.FINAL_SCALE,b=this.rippleSize_+"px",c&&(S="translate("+this.boundWidth/2+"px, "+this.boundHeight/2+"px)")),m="translate(-50%, -50%) "+S+v,this.rippleElement_.style.webkitTransform=m,this.rippleElement_.style.msTransform=m,this.rippleElement_.style.transform=m,p?this.rippleElement_.classList.remove(this.CssClasses_.IS_ANIMATING):this.rippleElement_.classList.add(this.CssClasses_.IS_ANIMATING)}},this.animFrameHandler=function(){this.frameCount_-- >0?window.requestAnimationFrame(this.animFrameHandler.bind(this)):this.setRippleStyles(!1)})}},r.register({constructor:ue,classAsString:"MaterialRipple",cssClass:"mdl-js-ripple-effect",widget:!1})})();ih(hp,Hh).catch(t=>console.error(t)); diff --git a/docs/main.64b58d6b31245a0a6604.bundle.js b/docs/main.64b58d6b31245a0a6604.bundle.js deleted file mode 100644 index 224b1c4f..00000000 --- a/docs/main.64b58d6b31245a0a6604.bundle.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([1],{0:function(e,t,n){e.exports=n("cDNt")},"1j/l":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},"2kLc":function(e,t,n){"use strict";var r=n("AP4T"),o=n("6Xbx"),i=function(e){function t(t,n){e.call(this),this.value=t,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return Object(o.b)(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.value,n=e.subscriber;e.done?n.complete():(n.next(t),n.closed||(e.done=!0,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.value,r=this.scheduler;if(r)return r.schedule(t.dispatch,0,{done:!1,value:n,subscriber:e});e.next(n),e.closed||e.complete()},t}(r.a),l=n("Ecq+");function u(e){return e&&"function"==typeof e.schedule}var s=function(e){function t(t,n){e.call(this),this.array=t,this.scheduler=n,n||1!==t.length||(this._isScalar=!0,this.value=t[0])}return Object(o.b)(t,e),t.create=function(e,n){return new t(e,n)},t.of=function(){for(var e=[],n=0;n1?new t(e,r):1===o?new i(e[0],r):new l.a(r)},t.dispatch=function(e){var t=e.array,n=e.index,r=e.subscriber;n>=e.count?r.complete():(r.next(t[n]),r.closed||(e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(t.dispatch,0,{array:n,index:0,count:r,subscriber:e});for(var i=0;i0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(c.a);function f(e){return e}t.a=function(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof i&&(n=e.pop()),null===o&&1===e.length&&e[0]instanceof r.a?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof t&&(n=t,t=null),r.lift(new d(e,t,n))}}(f,null,e)}(n)(new s(e,o))}},"6Xbx":function(e,t,n){"use strict";t.b=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},n.d(t,"a",function(){return o});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var l=t[i];o.push(i+":"+("string"==typeof l?JSON.stringify(l):V(l)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(U,"\n ")}function G(e,t){return new Error(z(e,t))}var Z="ngDebugContext",W="ngOriginalError",q="ngErrorLogger";function Q(e){return e[Z]}function $(e){return e[W]}function K(e){for(var t=[],n=1;n0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+V(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Qe(e,t){return Array.isArray(t)?t.reduce(Qe,e):Object(r.a)({},e,t)}var $e=function(){function e(e,t,n,r,u,s){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=u,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ze(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var c=new o.a(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),d=new o.a(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Te.assertNotInAngularZone(),E(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Te.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(i.a)(c,l.a.call(d))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof pe?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof be?null:this._injector.get(we),i=n.create(k.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var l=i.injector.get(Ie,null);return l&&i.injector.get(Me).registerApplication(i.location.nativeElement,l),this._loadComponent(i),ze()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Ve(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Ke(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ue,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Ke(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=xe("ApplicationRef#tick()"),e}();function Ke(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ye=function(){},Je=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Xe=function(){},et=function(e){this.nativeElement=e},tt=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Oe}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[C()]=function(){return this._results[C()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),nt=function(){},rt=function(){},ot=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof it?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),it=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return Object(r.b)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,[o+1,0].concat(t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return lt(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return ut(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(ot);function lt(e,t,n){e.childNodes.forEach(function(e){e instanceof it&&(t(e)&&n.push(e),lt(e,t,n))})}function ut(e,t,n){e instanceof it&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof it&&ut(e,t,n)})}var st=new Map;function at(e){return st.get(e)||null}function ct(e){st.set(e.nativeNode,e)}function dt(e,t){var n=ht(e),r=ht(t);return n&&r?function(e,t,n){for(var r=e[C()](),o=t[C()]();;){var i=r.next(),l=o.next();if(i.done&&l.done)return!0;if(i.done||l.done)return!1;if(!n(i.value,l.value))return!1}}(e,t,dt):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||x(e,t)}var pt=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),ft=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function ht(e){return!!gt(e)&&(Array.isArray(e)||!(e instanceof Map)&&C()in e)}function gt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var yt=function(){function e(){}return e.prototype.supports=function(e){return ht(e)},e.prototype.create=function(e){return new _t(e)},e}(),vt=function(e,t){return t},_t=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||vt}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Wn(n,t),Wt.dirtyParentQueries(r),Gn(r),r}function zn(e,t,n){var r=t?fn(t,t.def.lastRenderRootNode):e.renderElement;wn(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Gn(e){wn(e,3,null,null,void 0)}function Zn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wn(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var qn=new Object;function Qn(e,t,n,r,o,i){return new $n(e,t,n,r,o,i)}var $n=function(e){function t(t,n,r,o,i,l){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=l,u.viewDefFactory=r,u}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=bn(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,l=Wt.createRootView(e,t||[],n,o,r,qn),u=zt(l,i).instance;return n&&l.renderer.setAttribute(Bt(l,0).renderElement,"ng-version",f.full),new Kn(l,new er(l),u)},t}(pe),Kn=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return Object(r.b)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new et(Bt(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new or(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(function(){});function Yn(e,t,n){return new Jn(e,t,n)}var Jn=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new et(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new or(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=pn(e),e=e.parent;return e?new or(e,t):new or(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Bn(this._data,e);Wt.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new er(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof be||(o=i.get(we));var l=e.create(i,r,void 0,o);return this.insert(l.hostView,t),l},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,l=e;return o=l._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,Zn(i,r,o),function(e,t){var n=dn(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),Wt.dirtyParentQueries(o),zn(n,r>0?i[r-1]:null,o),l.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,l,u=this._embeddedViews.indexOf(e._view);return o=t,l=(i=(n=this._data).viewContainer._embeddedViews)[r=u],Wn(i,r),null==o&&(o=i.length),Zn(i,o,l),Wt.dirtyParentQueries(l),Gn(l),zn(n,o>0?i[o-1]:null,l),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Bn(this._data,e);t&&Wt.destroyView(t)},e.prototype.detach=function(e){var t=Bn(this._data,e);return t?new er(t):null},e}();function Xn(e){return new er(e)}var er=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return wn(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){sn(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Wt.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Wt.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Wt.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Gn(this._view),Wt.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function tr(e,t){return new nr(e,t)}var nr=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.b)(t,e),t.prototype.createEmbeddedView=function(e){return new er(Wt.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new et(Bt(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(nt);function rr(e,t){return new or(e,t)}var or=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=k.THROW_IF_NOT_FOUND),Wt.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Jt(e)},t)},e}();function ir(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Bt(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ht(e,n.nodeIndex).renderText;if(20240&n.flags)return zt(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function lr(e){return new ur(e.renderer)}var ur=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Tn(t),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0,r=t.provider;switch(201347067&t.flags){case 512:return Or(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(Ar(e,t,n,o[0]));case 2:return r(Ar(e,t,n,o[0]),Ar(e,t,n,o[1]));case 3:return r(Ar(e,t,n,o[0]),Ar(e,t,n,o[1]),Ar(e,t,n,o[2]));default:for(var l=Array(i),u=0;u0)a=g,zr(g)||(c=g);else for(;a&&h===a.nodeIndex+a.childCount;){var _=a.parent;_&&(_.childFlags|=a.childFlags,_.childMatchedQueries|=a.childMatchedQueries),c=(a=_)&&zr(a)?a.renderParent:a}}return{factory:null,nodeFlags:l,rootNodeFlags:u,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||Kt,updateRenderer:r||Kt,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function zr(e){return 0!=(1&e.flags)&&null===e.element.name}function Gr(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Zr(e,t,n,r){var o=Qr(e.root,e.renderer,e,t,n);return $r(o,e.component,r),Kr(o),o}function Wr(e,t,n){var r=Qr(e,e.renderer,null,null,t);return $r(r,n,n),Kr(r),r}function qr(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Qr(e.root,o,e,t.element.componentProvider,n)}function Qr(e,t,n,r,o){var i=new Array(o.nodes.length),l=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:l,initIndex:-1}}function $r(e,t,n){e.component=t,e.context=n}function Kr(e){var t;hn(e)&&(t=Bt(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&In(e,t,0,n)&&(f=!0),p>1&&In(e,t,1,r)&&(f=!0),p>2&&In(e,t,2,o)&&(f=!0),p>3&&In(e,t,3,i)&&(f=!0),p>4&&In(e,t,4,l)&&(f=!0),p>5&&In(e,t,5,u)&&(f=!0),p>6&&In(e,t,6,s)&&(f=!0),p>7&&In(e,t,7,a)&&(f=!0),p>8&&In(e,t,8,c)&&(f=!0),p>9&&In(e,t,9,d)&&(f=!0),f}(e,t,n,r,o,i,l,u,s,a,c,d);case 2:return function(e,t,n,r,o,i,l,u,s,a,c,d){var p=!1,f=t.bindings,h=f.length;if(h>0&&ln(e,t,0,n)&&(p=!0),h>1&&ln(e,t,1,r)&&(p=!0),h>2&&ln(e,t,2,o)&&(p=!0),h>3&&ln(e,t,3,i)&&(p=!0),h>4&&ln(e,t,4,l)&&(p=!0),h>5&&ln(e,t,5,u)&&(p=!0),h>6&&ln(e,t,6,s)&&(p=!0),h>7&&ln(e,t,7,a)&&(p=!0),h>8&&ln(e,t,8,c)&&(p=!0),h>9&&ln(e,t,9,d)&&(p=!0),p){var g=t.text.prefix;h>0&&(g+=Hr(n,f[0])),h>1&&(g+=Hr(r,f[1])),h>2&&(g+=Hr(o,f[2])),h>3&&(g+=Hr(i,f[3])),h>4&&(g+=Hr(l,f[4])),h>5&&(g+=Hr(u,f[5])),h>6&&(g+=Hr(s,f[6])),h>7&&(g+=Hr(a,f[7])),h>8&&(g+=Hr(c,f[8])),h>9&&(g+=Hr(d,f[9]));var y=Ht(e,t.nodeIndex).renderText;e.renderer.setValue(y,g)}return p}(e,t,n,r,o,i,l,u,s,a,c,d);case 16384:return function(e,t,n,r,o,i,l,u,s,a,c,d){var p=zt(e,t.nodeIndex),f=p.instance,h=!1,g=void 0,y=t.bindings.length;return y>0&&on(e,t,0,n)&&(h=!0,g=Pr(e,p,t,0,n,g)),y>1&&on(e,t,1,r)&&(h=!0,g=Pr(e,p,t,1,r,g)),y>2&&on(e,t,2,o)&&(h=!0,g=Pr(e,p,t,2,o,g)),y>3&&on(e,t,3,i)&&(h=!0,g=Pr(e,p,t,3,i,g)),y>4&&on(e,t,4,l)&&(h=!0,g=Pr(e,p,t,4,l,g)),y>5&&on(e,t,5,u)&&(h=!0,g=Pr(e,p,t,5,u,g)),y>6&&on(e,t,6,s)&&(h=!0,g=Pr(e,p,t,6,s,g)),y>7&&on(e,t,7,a)&&(h=!0,g=Pr(e,p,t,7,a,g)),y>8&&on(e,t,8,c)&&(h=!0,g=Pr(e,p,t,8,c,g)),y>9&&on(e,t,9,d)&&(h=!0,g=Pr(e,p,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&Lt(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),h}(e,t,n,r,o,i,l,u,s,a,c,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,l,u,s,a,c,d){var p=t.bindings,f=!1,h=p.length;if(h>0&&ln(e,t,0,n)&&(f=!0),h>1&&ln(e,t,1,r)&&(f=!0),h>2&&ln(e,t,2,o)&&(f=!0),h>3&&ln(e,t,3,i)&&(f=!0),h>4&&ln(e,t,4,l)&&(f=!0),h>5&&ln(e,t,5,u)&&(f=!0),h>6&&ln(e,t,6,s)&&(f=!0),h>7&&ln(e,t,7,a)&&(f=!0),h>8&&ln(e,t,8,c)&&(f=!0),h>9&&ln(e,t,9,d)&&(f=!0),f){var g=Gt(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(p.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=l),h>5&&(y[5]=u),h>6&&(y[6]=s),h>7&&(y[7]=a),h>8&&(y[8]=c),h>9&&(y[9]=d);break;case 64:y={},h>0&&(y[p[0].name]=n),h>1&&(y[p[1].name]=r),h>2&&(y[p[2].name]=o),h>3&&(y[p[3].name]=i),h>4&&(y[p[4].name]=l),h>5&&(y[p[5].name]=u),h>6&&(y[p[6].name]=s),h>7&&(y[p[7].name]=a),h>8&&(y[p[8].name]=c),h>9&&(y[p[9].name]=d);break;case 128:var v=n;switch(h){case 1:y=v.transform(n);break;case 2:y=v.transform(r);break;case 3:y=v.transform(r,o);break;case 4:y=v.transform(r,o,i);break;case 5:y=v.transform(r,o,i,l);break;case 6:y=v.transform(r,o,i,l,u);break;case 7:y=v.transform(r,o,i,l,u,s);break;case 8:y=v.transform(r,o,i,l,u,s,a);break;case 9:y=v.transform(r,o,i,l,u,s,a,c);break;case 10:y=v.transform(r,o,i,l,u,s,a,c,d)}}g.value=y}return f}(e,t,n,r,o,i,l,u,s,a,c,d);default:throw"unreachable"}}(e,t,r,o,i,l,u,s,a,c,d,p):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o0&&un(e,t,0,n),p>1&&un(e,t,1,r),p>2&&un(e,t,2,o),p>3&&un(e,t,3,i),p>4&&un(e,t,4,l),p>5&&un(e,t,5,u),p>6&&un(e,t,6,s),p>7&&un(e,t,7,a),p>8&&un(e,t,8,c),p>9&&un(e,t,9,d)}(e,t,r,o,i,l,u,s,a,c,d,p):function(e,t,n){for(var r=0;r1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(l.a),d=function(e){function t(t,n){e.call(this),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return Object(r.b)(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new u.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed?(this._connection=null,e=u.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return s()(this)},t}(i.a).prototype,p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:d._subscribe},_isComplete:{value:d._isComplete,writable:!0},getSubject:{value:d.getSubject},connect:{value:d.connect},refCount:{value:d.refCount}},f=function(e){function t(t,n){e.call(this,t),this.connectable=n}return Object(r.b)(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(o.b);function h(){return new o.a}t.a=function(){return this,s()((e=h,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,p);return r.source=t,r.subjectFactory=n,r})(this));var e}},V7AE:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("xIGM").a.Symbol,o="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber"},YuZA:function(e,t){function n(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="YuZA"},cDNt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("LMZF"),o=function(){},i=function(){function e(){}return e.isFoundOnWalking=function(e,t){var n=e,r=!1;do{if(n.hasOwnProperty(t)||Object.getOwnPropertyDescriptor(n,t)){r=!0;break}}while(n=Object.getPrototypeOf(n));return r},e.isNumber=function(e){return!isNaN(parseInt(e,10))&&isFinite(e)},e.getValue=function(e){return"function"==typeof e?e():e},e.prototype.filterByString=function(e){return e&&(e=e.toLowerCase()),function(t){return!e||!!t&&-1!==(""+t).toLowerCase().indexOf(e)}},e.prototype.filterByBoolean=function(e){return function(t){return Boolean(t)===e}},e.prototype.filterByObject=function(t){var n=this;return function(r){for(var o in t)if("$or"!==o){if(!r||!e.isFoundOnWalking(r,o))return!1;if(!n.isMatching(t[o],e.getValue(r[o])))return!1}else if(!n.filterByOr(t.$or)(e.getValue(r)))return!1;return!0}},e.prototype.isMatching=function(e,t){switch(typeof e){case"boolean":return this.filterByBoolean(e)(t);case"string":return this.filterByString(e)(t);case"object":return this.filterByObject(e)(t)}return this.filterDefault(e)(t)},e.prototype.filterByOr=function(e){var t=this;return function(n){for(var r=e.length,o=Array.isArray(n)?function(t){return-1!==n.indexOf(e[t])}:function(r){return t.isMatching(e[r],n)},i=0;i0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;u||(u=e[l]=[]);var a=Te(t)?Zone.root:Zone.current;if(0===u.length)u.push({zone:a,handler:i});else{for(var c=!1,d=0;d-1},t}(le),Ie=["alt","control","meta","shift"],Me={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},De=function(e){function t(t){return e.call(this,t)||this}return Object(s.b)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return U().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(Ie.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var l={};return l.domEventName=r,l.fullKey=i,l},t.getEventFullKey=function(e){var t="",n=U().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ie.forEach(function(r){r!=n&&(0,Me[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(le),Re=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Fe=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ue(e){return(e=String(e)).match(Re)||e.match(Fe)?e:(Object(r.L)()&&U().log("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}var Le=null,He=null;function Be(e){for(var t={},n=0,r=e.split(",");n")):this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=He.nodeName(e).toLowerCase();Qe.hasOwnProperty(t)&&!Ge.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(nt(e))},e}();function Xe(e,t){if(t&&He.contains(e,t))throw new Error("Failed to sanitize html because the element is clobbered: "+He.getOuterHTML(e));return t}var et=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tt=/([^\#-~ |!])/g;function nt(e){return e.replace(/&/g,"&").replace(et,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(tt,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function rt(e){He.attributeMap(e).forEach(function(t,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||He.removeAttribute(e,n)});for(var t=0,n=He.childNodesAsList(e);te?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return bt(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return wt.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(bt(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(bt(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(Et);return 0==t.length?null:function(e){return Vt(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(Et);return 0==t.length?null:function(e){var n=function(e,n){return t.map(function(t){return t(e)})}(e).map(xt);return(function(e,t){return function(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new D(e,t))}}(e,t)(this)}).call(P(n),Vt)}},e}();function Et(e){return null!=e}function xt(e){var t=Object(r._0)(e)?I(e):e;if(!Object(r.Z)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function Vt(e){var t=e.reduce(function(e,t){return null!=t?Object(s.a)({},e,t):e},{});return 0===Object.keys(t).length?null:t}var Ot=new r.l("NgValueAccessor"),Tt=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),At=new r.l("CompositionEventMode"),St=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=U()?U().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function Pt(e){return e.validate?function(t){return e.validate(t)}:e}function kt(e){return e.validate?function(t){return e.validate(t)}:e}var jt=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function Nt(){throw new Error("unimplemented")}var It=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return Object(s.b)(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return Nt()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Nt()},enumerable:!0,configurable:!0}),t}(_t),Mt=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),Dt=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(It),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},e}();function Rt(e,t){return t.path.concat([e])}function Ft(e,t){e||Lt(t,"Cannot find control with"),t.valueAccessor||Lt(t,"No value accessor for form control with"),e.validator=Ct.compose([e.validator,t.validator]),e.asyncValidator=Ct.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Ut(e,t)})}(e,t),function(e,t){e.registerOnChange(function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Ut(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(function(e){t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})}),t._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})})}function Ut(e,t){t.viewToModelUpdate(e._pendingValue),e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),e._pendingChange=!1}function Lt(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function Ht(e){return null!=e?Ct.compose(e.map(Pt)):null}function Bt(e){return null!=e?Ct.composeAsync(e.map(kt)):null}var zt=[Tt,function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),jt,function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r._1}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){for(var t=0,n=Array.from(this._optionMap.keys());t-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},t}(Yt),en=function(e){function t(t,n,r){var o=e.call(this,Qt(n),$t(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(s.b)(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof Jt?e.value:e.getRawValue()})},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,n){e(t,n)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")})},t.prototype._allControlsDisabled=function(){for(var e=0,t=this.controls;e0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(Yt),tn=Promise.resolve(null),nn=function(e){function t(t,n){var o=e.call(this)||this;return o.submitted=!1,o._directives=[],o.ngSubmit=new r.j,o.form=new Xt({},Ht(t),Bt(n)),o}return Object(s.b)(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;tn.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Ft(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;tn.then(function(){var n,r,o=t._findContainer(e.path);o&&o.removeControl(e.name),(r=(n=t._directives).indexOf(e))>-1&&n.splice(r,1)})},t.prototype.addFormGroup=function(e){var t=this;tn.then(function(){var n=t._findContainer(e.path),r=new Xt({});(function(e,t){null==e&&Lt(t,"Cannot find control with"),e.validator=Ct.compose([e.validator,t.validator]),e.asyncValidator=Ct.composeAsync([e.asyncValidator,t.asyncValidator])})(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;tn.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;tn.then(function(){n.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(mt),rn='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',on='\n
\n
\n \n
\n
',ln=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+rn+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+on)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+rn+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+on)},e}(),un=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return Object(s.b)(t,e),t.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof nn||ln.modelGroupParentException()},t}(Gt),sn=Promise.resolve(null),an=function(e){function t(t,n,o,i){var l=e.call(this)||this;return l.control=new Jt,l._registered=!1,l.update=new r.j,l._parent=t,l._rawValidators=n||[],l._rawAsyncValidators=o||[],l.valueAccessor=function(e,t){if(!t)return null;var n=void 0,r=void 0,o=void 0;return t.forEach(function(t){var i;t.constructor===St?n=t:(i=t,zt.some(function(e){return i.constructor===e})?(r&&Lt(e,"More than one built-in value accessor matches form control with"),r=t):(o&&Lt(e,"More than one custom value accessor matches form control with"),o=t))}),o||r||n||(Lt(e,"No valid value accessor for form control with"),null)}(l,i),l}return Object(s.b)(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(r._1)(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?Rt(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Ht(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Bt(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){Ft(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof un)&&this._parent instanceof Gt?ln.formGroupNameException():this._parent instanceof un||this._parent instanceof nn||ln.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ln.missingNameException()},t.prototype._updateValue=function(e){var t=this;sn.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;sn.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t}(It),cn=function(){},dn=function(){},pn=function(){},fn=r.T({encapsulation:0,styles:[["#objectFilter__bool[_ngcontent-%COMP%] div[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#009688;font-size:12px}.short-description[_ngcontent-%COMP%]{color:#a7a7a7;font-size:18px;border-left:5px solid #a7a7a7;padding-left:10px}"]],data:{}});function hn(e){return r._13(0,[(e()(),r.V(0,0,null,null,5,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(2,0,null,null,2,"td",[["class","mdl-data-table__cell--non-numeric"]],null,null,null,null,null)),(e()(),r._11(3,null,["",""])),r._7(0,m,[]),(e()(),r._11(-1,null,["\n "]))],null,function(e,t){e(t,3,0,r._12(t,3,0,r._5(t,4).transform(t.context.$implicit)))})}function gn(e){return r._13(0,[(e()(),r.V(0,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(2,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),r._11(3,null,["",""])),(e()(),r._11(-1,null,["\n "]))],null,function(e,t){e(t,3,0,t.context.$implicit)})}function yn(e){return r._13(0,[(e()(),r.V(0,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(2,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),r._11(3,null,["",""])),(e()(),r._11(-1,null,["\n "]))],null,function(e,t){e(t,3,0,t.context.$implicit)})}function vn(e){return r._13(0,[(e()(),r.V(0,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(2,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),r._11(3,null,["",""])),(e()(),r._11(-1,null,["\n "]))],null,function(e,t){e(t,3,0,t.context.$implicit)})}function _n(e){return r._13(0,[(e()(),r.V(0,0,null,null,5,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),r._11(3,null,["",""])),r._7(0,m,[]),(e()(),r._11(-1,null,["\n "]))],null,function(e,t){e(t,3,0,r._12(t,3,0,r._5(t,4).transform(t.context.$implicit)))})}function mn(e){return r._13(0,[(e()(),r.V(0,0,null,null,487,"div",[["class","mdl-layout mdl-js-layout mdl-layout--fixed-header"],["mdl",""]],null,null,null,null,null)),r.U(1,8404992,null,0,C,[],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(3,0,null,null,7,"header",[["class","mdl-layout__header mdl-layout--no-drawer-button"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(5,0,null,null,4,"div",[["class","mdl-layout__header-row"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(7,0,null,null,1,"span",[["class","mdl-layout-title"]],null,null,null,null,null)),(e()(),r._11(-1,null,["ngx-filter-pipe"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(12,0,null,null,454,"main",[["class","mdl-layout__content"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(14,0,null,null,451,"div",[["class","page-content"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(16,0,null,null,448,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(18,0,null,null,155,"div",[["class","mdl-cell mdl-cell--10-col mdl-cell--1-offset-tablet mdl-cell--1-offset-desktop"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(20,0,null,null,16,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(22,0,null,null,13,"div",[["class","mdl-cell mdl-cell--12-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(24,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Filter pipe"])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(27,0,null,null,1,"p",[["class","short-description"]],null,null,null,null,null)),(e()(),r._11(-1,null,["Simplifies array filtering"])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(30,0,null,null,4,"p",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(32,0,null,null,1,"a",[["href","https://github.com/VadimDez/ngx-filter-pipe"]],null,null,null,null,null)),(e()(),r._11(-1,null,["Read more on GitHub"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(38,0,null,null,134,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(40,0,null,null,4,"div",[["class","mdl-cell mdl-cell--12-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(42,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Objects"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(46,0,null,null,5,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(48,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Before filtering"])),(e()(),r._11(50,null,["\n ","\n "])),r._7(0,m,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(53,0,null,null,118,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(55,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["After filtering"])),(e()(),r._11(-1,null,["\n Filters:\n "])),(e()(),r.V(58,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(60,0,null,null,11,"div",[["class","mdl-textfield mdl-js-textfield mdl-textfield--floating-label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(62,0,null,null,5,"input",[["class","mdl-textfield__input"],["id","object.test"],["type","text"]],[[8,"value",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,63)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,63).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,63)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,63)._compositionEnd(n.target.value)&&o),"ngModelChange"===t&&(o=!1!==(i.objectsFilter.test=n)&&o),o},null,null)),r.U(63,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r._8(1024,null,Ot,function(e){return[e]},[St]),r.U(65,671744,null,0,an,[[8,null],[8,null],[8,null],[2,Ot]],{model:[0,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(67,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(69,0,null,null,1,"label",[["class","mdl-textfield__label"],["for","object.test"]],null,null,null,null,null)),(e()(),r._11(-1,null,["object.test"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(74,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(76,0,null,null,11,"div",[["class","mdl-textfield mdl-js-textfield mdl-textfield--floating-label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(78,0,null,null,5,"input",[["class","mdl-textfield__input"],["id","object.num"],["type","text"]],[[8,"value",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,79)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,79).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,79)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,79)._compositionEnd(n.target.value)&&o),"ngModelChange"===t&&(o=!1!==(i.objectsFilter.num=n)&&o),o},null,null)),r.U(79,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r._8(1024,null,Ot,function(e){return[e]},[St]),r.U(81,671744,null,0,an,[[8,null],[8,null],[8,null],[2,Ot]],{model:[0,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(83,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(85,0,null,null,1,"label",[["class","mdl-textfield__label"],["for","object.num"]],null,null,null,null,null)),(e()(),r._11(-1,null,["object.num"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(90,0,null,null,42,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(92,0,null,null,39,"form",[["id","objectFilter__bool"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var o=!0;return"submit"===t&&(o=!1!==r._5(e,94).onSubmit(n)&&o),"reset"===t&&(o=!1!==r._5(e,94).onReset()&&o),o},null,null)),r.U(93,16384,null,0,cn,[],null,null),r.U(94,4210688,null,0,nn,[[8,null],[8,null]],null,null),r._8(2048,null,mt,null,[nn]),r.U(96,16384,null,0,qt,[mt],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(98,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(100,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),r._11(-1,null,["object.bool"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(104,0,null,null,12,"label",[["class","mdl-radio mdl-js-radio mdl-js-ripple-effect"],["for","option1-true"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(106,0,null,null,6,"input",[["checked",""],["class","mdl-radio__button"],["id","option1-true"],["name","options"],["type","radio"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,107)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,107).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,107)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,107)._compositionEnd(n.target.value)&&o),"change"===t&&(o=!1!==r._5(e,108).onChange()&&o),"blur"===t&&(o=!1!==r._5(e,108).onTouched()&&o),"ngModelChange"===t&&(o=!1!==(i.objectsFilter.bool=n)&&o),o},null,null)),r.U(107,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r.U(108,212992,null,0,Dt,[r.w,r.h,Mt,r.m],{name:[0,"name"],value:[1,"value"]},null),r._8(1024,null,Ot,function(e,t){return[e,t]},[St,Dt]),r.U(110,671744,null,0,an,[[2,mt],[8,null],[8,null],[2,Ot]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(112,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(114,0,null,null,1,"span",[["class","mdl-radio__label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["True"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(118,0,null,null,12,"label",[["class","mdl-radio mdl-js-radio mdl-js-ripple-effect"],["for","option1-false"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(120,0,null,null,6,"input",[["class","mdl-radio__button"],["id","option1-false"],["name","options"],["type","radio"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,121)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,121).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,121)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,121)._compositionEnd(n.target.value)&&o),"change"===t&&(o=!1!==r._5(e,122).onChange()&&o),"blur"===t&&(o=!1!==r._5(e,122).onTouched()&&o),"ngModelChange"===t&&(o=!1!==(i.objectsFilter.bool=n)&&o),o},null,null)),r.U(121,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r.U(122,212992,null,0,Dt,[r.w,r.h,Mt,r.m],{name:[0,"name"],value:[1,"value"]},null),r._8(1024,null,Ot,function(e,t){return[e,t]},[St,Dt]),r.U(124,671744,null,0,an,[[2,mt],[8,null],[8,null],[2,Ot]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(126,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(128,0,null,null,1,"span",[["class","mdl-radio__label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["False"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(134,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(136,0,null,null,11,"div",[["class","mdl-textfield mdl-js-textfield mdl-textfield--floating-label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(138,0,null,null,5,"input",[["class","mdl-textfield__input"],["id","object.nested.val"],["type","text"]],[[8,"value",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,139)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,139).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,139)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,139)._compositionEnd(n.target.value)&&o),"ngModelChange"===t&&(o=!1!==(i.objectsFilter.nested.val=n)&&o),o},null,null)),r.U(139,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r._8(1024,null,Ot,function(e){return[e]},[St]),r.U(141,671744,null,0,an,[[8,null],[8,null],[8,null],[2,Ot]],{model:[0,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(143,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(145,0,null,null,1,"label",[["class","mdl-textfield__label"],["for","object.num"]],null,null,null,null,null)),(e()(),r._11(-1,null,["object.nested.val"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(150,0,null,null,20,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(152,0,null,null,17,"table",[["class","mdl-data-table mdl-js-data-table mdl-shadow--2dp"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(154,0,null,null,7,"thead",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(156,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(158,0,null,null,1,"th",[["class","mdl-data-table__cell--non-numeric"]],null,null,null,null,null)),(e()(),r._11(-1,null,["Object"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(163,0,null,null,5,"tbody",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.Q(16777216,null,null,2,null,hn)),r.U(166,802816,null,0,v,[r.E,r.B,r.n],{ngForOf:[0,"ngForOf"]},null),r._7(0,i,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(175,0,null,null,61,"div",[["class","mdl-cell mdl-cell--10-col mdl-cell--1-offset-tablet mdl-cell--1-offset-desktop"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(177,0,null,null,58,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(179,0,null,null,4,"div",[["class","mdl-cell mdl-cell--12-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(181,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Strings"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(185,0,null,null,5,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(187,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Before filtering"])),(e()(),r._11(189,null,["\n ","\n "])),r._7(0,m,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(192,0,null,null,42,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(194,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["After filtering"])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(197,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n Filters:\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(200,0,null,null,11,"div",[["class","mdl-textfield mdl-js-textfield mdl-textfield--floating-label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(202,0,null,null,5,"input",[["class","mdl-textfield__input"],["id","filter-string"],["type","text"]],[[8,"value",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,203)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,203).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,203)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,203)._compositionEnd(n.target.value)&&o),"ngModelChange"===t&&(o=!1!==(i.stringsFilter=n)&&o),o},null,null)),r.U(203,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r._8(1024,null,Ot,function(e){return[e]},[St]),r.U(205,671744,null,0,an,[[8,null],[8,null],[8,null],[2,Ot]],{model:[0,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(207,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(209,0,null,null,1,"label",[["class","mdl-textfield__label"],["for","filter-string"]],null,null,null,null,null)),(e()(),r._11(-1,null,["Filter by string"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(213,0,null,null,20,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(215,0,null,null,17,"table",[["class","mdl-data-table mdl-js-data-table mdl-shadow--2dp"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(217,0,null,null,7,"thead",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(219,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(221,0,null,null,1,"th",[],null,null,null,null,null)),(e()(),r._11(-1,null,["String"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(226,0,null,null,5,"tbody",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.Q(16777216,null,null,2,null,gn)),r.U(229,802816,null,0,v,[r.E,r.B,r.n],{ngForOf:[0,"ngForOf"]},null),r._7(0,i,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(238,0,null,null,62,"div",[["class","mdl-cell mdl-cell--10-col mdl-cell--1-offset-tablet mdl-cell--1-offset-desktop"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(240,0,null,null,59,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(242,0,null,null,4,"div",[["class","mdl-cell mdl-cell--12-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(244,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Numbers"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(248,0,null,null,5,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(250,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Before filtering"])),(e()(),r._11(252,null,["\n ","\n "])),r._7(0,m,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(255,0,null,null,43,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(257,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["After filtering"])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(260,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n Filters:\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(263,0,null,null,12,"div",[["class","mdl-textfield mdl-js-textfield mdl-textfield--floating-label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(265,0,null,null,6,"input",[["class","mdl-textfield__input"],["id","filter-number"],["type","number"]],[[8,"value",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,266)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,266).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,266)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,266)._compositionEnd(n.target.value)&&o),"change"===t&&(o=!1!==r._5(e,267).onChange(n.target.value)&&o),"input"===t&&(o=!1!==r._5(e,267).onChange(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,267).onTouched()&&o),"ngModelChange"===t&&(o=!1!==(i.numbersFilter=n)&&o),o},null,null)),r.U(266,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r.U(267,16384,null,0,jt,[r.w,r.h],null,null),r._8(1024,null,Ot,function(e,t){return[e,t]},[St,jt]),r.U(269,671744,null,0,an,[[8,null],[8,null],[8,null],[2,Ot]],{model:[0,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(271,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(273,0,null,null,1,"label",[["class","mdl-textfield__label"],["for","filter-number"]],null,null,null,null,null)),(e()(),r._11(-1,null,["Filter by number"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(277,0,null,null,20,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(279,0,null,null,17,"table",[["class","mdl-data-table mdl-js-data-table mdl-shadow--2dp"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(281,0,null,null,7,"thead",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(283,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(285,0,null,null,1,"th",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Number"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(290,0,null,null,5,"tbody",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.Q(16777216,null,null,2,null,yn)),r.U(293,802816,null,0,v,[r.E,r.B,r.n],{ngForOf:[0,"ngForOf"]},null),r._7(0,i,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(302,0,null,null,86,"div",[["class","mdl-cell mdl-cell--10-col mdl-cell--1-offset-tablet mdl-cell--1-offset-desktop"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(304,0,null,null,83,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(306,0,null,null,4,"div",[["class","mdl-cell mdl-cell--12-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(308,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Booleans"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(312,0,null,null,5,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(314,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Before filtering"])),(e()(),r._11(316,null,["\n ","\n "])),r._7(0,m,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(319,0,null,null,67,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(321,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["After filtering"])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(324,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n Filters:\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(327,0,null,null,36,"div",[["class","mdl-textfield mdl-js-textfield mdl-textfield--floating-label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(329,0,null,null,33,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var o=!0;return"submit"===t&&(o=!1!==r._5(e,331).onSubmit(n)&&o),"reset"===t&&(o=!1!==r._5(e,331).onReset()&&o),o},null,null)),r.U(330,16384,null,0,cn,[],null,null),r.U(331,4210688,null,0,nn,[[8,null],[8,null]],null,null),r._8(2048,null,mt,null,[nn]),r.U(333,16384,null,0,qt,[mt],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(335,0,null,null,12,"label",[["class","mdl-radio mdl-js-radio mdl-js-ripple-effect"],["for","option-true"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(337,0,null,null,6,"input",[["checked",""],["class","mdl-radio__button"],["id","option-true"],["name","options"],["type","radio"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,338)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,338).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,338)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,338)._compositionEnd(n.target.value)&&o),"change"===t&&(o=!1!==r._5(e,339).onChange()&&o),"blur"===t&&(o=!1!==r._5(e,339).onTouched()&&o),"ngModelChange"===t&&(o=!1!==(i.boolFilter=n)&&o),o},null,null)),r.U(338,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r.U(339,212992,null,0,Dt,[r.w,r.h,Mt,r.m],{name:[0,"name"],value:[1,"value"]},null),r._8(1024,null,Ot,function(e,t){return[e,t]},[St,Dt]),r.U(341,671744,null,0,an,[[2,mt],[8,null],[8,null],[2,Ot]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(343,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(345,0,null,null,1,"span",[["class","mdl-radio__label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["True"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(349,0,null,null,12,"label",[["class","mdl-radio mdl-js-radio mdl-js-ripple-effect"],["for","option-false"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(351,0,null,null,6,"input",[["class","mdl-radio__button"],["id","option-false"],["name","options"],["type","radio"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,352)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,352).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,352)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,352)._compositionEnd(n.target.value)&&o),"change"===t&&(o=!1!==r._5(e,353).onChange()&&o),"blur"===t&&(o=!1!==r._5(e,353).onTouched()&&o),"ngModelChange"===t&&(o=!1!==(i.boolFilter=n)&&o),o},null,null)),r.U(352,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r.U(353,212992,null,0,Dt,[r.w,r.h,Mt,r.m],{name:[0,"name"],value:[1,"value"]},null),r._8(1024,null,Ot,function(e,t){return[e,t]},[St,Dt]),r.U(355,671744,null,0,an,[[2,mt],[8,null],[8,null],[2,Ot]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(357,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(359,0,null,null,1,"span",[["class","mdl-radio__label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["False"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(365,0,null,null,20,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(367,0,null,null,17,"table",[["class","mdl-data-table mdl-js-data-table mdl-shadow--2dp"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(369,0,null,null,7,"thead",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(371,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(373,0,null,null,1,"th",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Boolean"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(378,0,null,null,5,"tbody",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.Q(16777216,null,null,2,null,vn)),r.U(381,802816,null,0,v,[r.E,r.B,r.n],{ngForOf:[0,"ngForOf"]},null),r._7(0,i,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(390,0,null,null,73,"div",[["class","mdl-cell mdl-cell--10-col mdl-cell--1-offset-tablet mdl-cell--1-offset-desktop"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(392,0,null,null,70,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(394,0,null,null,13,"div",[["class","mdl-cell mdl-cell--12-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(396,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Getters"])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(399,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n Filter by comparing to function results.\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(402,0,null,null,4,"p",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n In this example each object has a getter "])),(e()(),r.V(404,0,null,null,1,"b",[],null,null,null,null,null)),(e()(),r._11(-1,null,["name"])),(e()(),r._11(-1,null,[" that return full name by concatenating first name and last name.\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(409,0,null,null,5,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(411,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Before filtering"])),(e()(),r._11(413,null,["\n ","\n "])),r._7(0,m,[]),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(416,0,null,null,45,"div",[["class","mdl-cell mdl-cell--6-col"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(418,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),r._11(-1,null,["After filtering"])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(421,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n Filters:\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(424,0,null,null,14,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(426,0,null,null,11,"div",[["class","mdl-textfield mdl-js-textfield mdl-textfield--floating-label"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(428,0,null,null,5,"input",[["class","mdl-textfield__input"],["id","objectsWithGettersFilter.name"],["type","text"]],[[8,"value",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var o=!0,i=e.component;return"input"===t&&(o=!1!==r._5(e,429)._handleInput(n.target.value)&&o),"blur"===t&&(o=!1!==r._5(e,429).onTouched()&&o),"compositionstart"===t&&(o=!1!==r._5(e,429)._compositionStart()&&o),"compositionend"===t&&(o=!1!==r._5(e,429)._compositionEnd(n.target.value)&&o),"ngModelChange"===t&&(o=!1!==(i.objectsWithGettersFilter.name=n)&&o),o},null,null)),r.U(429,16384,null,0,St,[r.w,r.h,[2,At]],null,null),r._8(1024,null,Ot,function(e){return[e]},[St]),r.U(431,671744,null,0,an,[[8,null],[8,null],[8,null],[2,Ot]],{model:[0,"model"]},{update:"ngModelChange"}),r._8(2048,null,It,null,[an]),r.U(433,16384,null,0,Wt,[It],null,null),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(435,0,null,null,1,"label",[["class","mdl-textfield__label"],["for","objectsWithGettersFilter.name"]],null,null,null,null,null)),(e()(),r._11(-1,null,["Filter by name"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r.V(440,0,null,null,20,"div",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(442,0,null,null,17,"table",[["class","mdl-data-table mdl-js-data-table mdl-shadow--2dp"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(444,0,null,null,7,"thead",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(446,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(448,0,null,null,1,"th",[],null,null,null,null,null)),(e()(),r._11(-1,null,["Object"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(453,0,null,null,5,"tbody",[],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.Q(16777216,null,null,2,null,_n)),r.U(456,802816,null,0,v,[r.E,r.B,r.n],{ngForOf:[0,"ngForOf"]},null),r._7(0,i,[]),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n\n\n "])),(e()(),r.V(468,0,null,null,18,"footer",[["class","mdl-mini-footer"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(470,0,null,null,15,"div",[["class","mdl-mini-footer__left-section"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(472,0,null,null,1,"div",[["class","mdl-logo"]],null,null,null,null,null)),(e()(),r._11(-1,null,["ngx-filter-pipe"])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(475,0,null,null,9,"ul",[["class","mdl-mini-footer__link-list"]],null,null,null,null,null)),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(477,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),r.V(478,0,null,null,1,"a",[["href","https://github.com/VadimDez/ngx-filter-pipe"]],null,null,null,null,null)),(e()(),r._11(-1,null,["Github"])),(e()(),r._11(-1,null,["\n "])),(e()(),r.V(481,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),r.V(482,0,null,null,1,"a",[["href","https://github.com/VadimDez"]],null,null,null,null,null)),(e()(),r._11(-1,null,["Vadym Yatsyuk"])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n "])),(e()(),r._11(-1,null,["\n"])),(e()(),r._11(-1,null,["\n"]))],function(e,t){var n=t.component;e(t,65,0,n.objectsFilter.test),e(t,81,0,n.objectsFilter.num),e(t,108,0,"options",!0),e(t,110,0,"options",n.objectsFilter.bool),e(t,122,0,"options",!1),e(t,124,0,"options",n.objectsFilter.bool),e(t,141,0,n.objectsFilter.nested.val),e(t,166,0,r._12(t,166,0,r._5(t,167).transform(n.objects,n.objectsFilter))),e(t,205,0,n.stringsFilter),e(t,229,0,r._12(t,229,0,r._5(t,230).transform(n.strings,n.stringsFilter))),e(t,269,0,n.numbersFilter),e(t,293,0,r._12(t,293,0,r._5(t,294).transform(n.numbers,n.numbersFilter))),e(t,339,0,"options",!0),e(t,341,0,"options",n.boolFilter),e(t,353,0,"options",!1),e(t,355,0,"options",n.boolFilter),e(t,381,0,r._12(t,381,0,r._5(t,382).transform(n.booleans,n.boolFilter))),e(t,431,0,n.objectsWithGettersFilter.name),e(t,456,0,r._12(t,456,0,r._5(t,457).transform(n.objectsWithGetters,n.objectsWithGettersFilter)))},function(e,t){var n=t.component;e(t,50,0,r._12(t,50,0,r._5(t,51).transform(n.objects))),e(t,62,0,n.objectsFilter.test,r._5(t,67).ngClassUntouched,r._5(t,67).ngClassTouched,r._5(t,67).ngClassPristine,r._5(t,67).ngClassDirty,r._5(t,67).ngClassValid,r._5(t,67).ngClassInvalid,r._5(t,67).ngClassPending),e(t,78,0,n.objectsFilter.num,r._5(t,83).ngClassUntouched,r._5(t,83).ngClassTouched,r._5(t,83).ngClassPristine,r._5(t,83).ngClassDirty,r._5(t,83).ngClassValid,r._5(t,83).ngClassInvalid,r._5(t,83).ngClassPending),e(t,92,0,r._5(t,96).ngClassUntouched,r._5(t,96).ngClassTouched,r._5(t,96).ngClassPristine,r._5(t,96).ngClassDirty,r._5(t,96).ngClassValid,r._5(t,96).ngClassInvalid,r._5(t,96).ngClassPending),e(t,106,0,r._5(t,112).ngClassUntouched,r._5(t,112).ngClassTouched,r._5(t,112).ngClassPristine,r._5(t,112).ngClassDirty,r._5(t,112).ngClassValid,r._5(t,112).ngClassInvalid,r._5(t,112).ngClassPending),e(t,120,0,r._5(t,126).ngClassUntouched,r._5(t,126).ngClassTouched,r._5(t,126).ngClassPristine,r._5(t,126).ngClassDirty,r._5(t,126).ngClassValid,r._5(t,126).ngClassInvalid,r._5(t,126).ngClassPending),e(t,138,0,n.objectsFilter.nested.val,r._5(t,143).ngClassUntouched,r._5(t,143).ngClassTouched,r._5(t,143).ngClassPristine,r._5(t,143).ngClassDirty,r._5(t,143).ngClassValid,r._5(t,143).ngClassInvalid,r._5(t,143).ngClassPending),e(t,189,0,r._12(t,189,0,r._5(t,190).transform(n.strings))),e(t,202,0,n.stringsFilter,r._5(t,207).ngClassUntouched,r._5(t,207).ngClassTouched,r._5(t,207).ngClassPristine,r._5(t,207).ngClassDirty,r._5(t,207).ngClassValid,r._5(t,207).ngClassInvalid,r._5(t,207).ngClassPending),e(t,252,0,r._12(t,252,0,r._5(t,253).transform(n.numbers))),e(t,265,0,n.numbersFilter,r._5(t,271).ngClassUntouched,r._5(t,271).ngClassTouched,r._5(t,271).ngClassPristine,r._5(t,271).ngClassDirty,r._5(t,271).ngClassValid,r._5(t,271).ngClassInvalid,r._5(t,271).ngClassPending),e(t,316,0,r._12(t,316,0,r._5(t,317).transform(n.booleans))),e(t,329,0,r._5(t,333).ngClassUntouched,r._5(t,333).ngClassTouched,r._5(t,333).ngClassPristine,r._5(t,333).ngClassDirty,r._5(t,333).ngClassValid,r._5(t,333).ngClassInvalid,r._5(t,333).ngClassPending),e(t,337,0,r._5(t,343).ngClassUntouched,r._5(t,343).ngClassTouched,r._5(t,343).ngClassPristine,r._5(t,343).ngClassDirty,r._5(t,343).ngClassValid,r._5(t,343).ngClassInvalid,r._5(t,343).ngClassPending),e(t,351,0,r._5(t,357).ngClassUntouched,r._5(t,357).ngClassTouched,r._5(t,357).ngClassPristine,r._5(t,357).ngClassDirty,r._5(t,357).ngClassValid,r._5(t,357).ngClassInvalid,r._5(t,357).ngClassPending),e(t,413,0,r._12(t,413,0,r._5(t,414).transform(n.objectsWithGetters))),e(t,428,0,n.objectsWithGettersFilter.name,r._5(t,433).ngClassUntouched,r._5(t,433).ngClassTouched,r._5(t,433).ngClassPristine,r._5(t,433).ngClassDirty,r._5(t,433).ngClassValid,r._5(t,433).ngClassInvalid,r._5(t,433).ngClassPending)})}var bn=r.R("app-root",u,function(e){return r._13(0,[(e()(),r.V(0,0,null,null,1,"app-root",[],null,null,null,mn,fn)),r.U(1,49152,null,0,u,[i],null,null)],null,null)},{},{},[]),wn=function(){},Cn=r.S(o,[u],function(e){return r._2([r._3(512,r.g,r.O,[[8,[bn]],[3,r.g],r.q]),r._3(5120,r.p,r._9,[[3,r.p]]),r._3(4608,h,g,[r.p,[2,f]]),r._3(4608,r.f,r.f,[]),r._3(5120,r.a,r.X,[]),r._3(5120,r.n,r._4,[]),r._3(5120,r.o,r._6,[]),r._3(4608,lt,ut,[w]),r._3(6144,r.z,null,[lt]),r._3(4608,ke,je,[]),r._3(5120,oe,function(e,t,n,r,o){return[new Se(e,t),new De(n),new Ne(r,o)]},[w,r.s,w,w,ke]),r._3(4608,ie,ie,[oe,r.s]),r._3(135680,se,se,[w]),r._3(4608,ge,ge,[ie,se]),r._3(6144,r.x,null,[ge]),r._3(6144,ue,null,[se]),r._3(4608,r.C,r.C,[r.s]),r._3(4608,K,K,[w]),r._3(4608,ee,ee,[w]),r._3(4608,Mt,Mt,[]),r._3(4608,i,i,[]),r._3(512,b,b,[]),r._3(1024,r.i,yt,[]),r._3(1024,r.b,function(e){return[(t=e,te("probe",re),te("coreTokens",Object(s.a)({},ne,(t||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return re})];var t},[[2,r.r]]),r._3(512,r.c,r.c,[[2,r.b]]),r._3(131584,r.e,r.e,[r.s,r.P,r.m,r.i,r.g,r.c]),r._3(512,r.d,r.d,[r.e]),r._3(512,vt,vt,[[3,vt]]),r._3(512,dn,dn,[]),r._3(512,pn,pn,[]),r._3(512,wn,wn,[]),r._3(512,o,o,[])])});Object(r.I)(),gt().bootstrapModuleFactory(Cn).catch(function(e){return console.log(e)})},fRUx:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},grVA:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={closed:!0,next:function(e){},error:function(e){throw e},complete:function(){}}},lI6h:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("6Xbx"),o=function(e){function t(){e.apply(this,arguments)}return Object(r.b)(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(n("E9/g").a)},mz3w:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){var t,r=n("xIGM").a.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}()},qLnt:function(e,t,n){"use strict";var r,o=n("1j/l"),i=n("NGRF"),l=n("B1iP"),u={e:{}};function s(){try{return r.apply(this,arguments)}catch(e){return u.e=e,u}}function a(e){return r=e,s}var c=n("6Xbx"),d=function(e){function t(t){e.call(this),this.errors=t;var n=Error.call(this,t?t.length+" errors occurred during unsubscription:\n "+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return Object(c.b)(t,e),t}(Error);n.d(t,"a",function(){return p});var p=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,s=this._unsubscribe,c=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var p=-1,h=r?r.length:0;n;)n.remove(this),n=++p",this._properties=i&&i.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,i)}get(r){let i=this.getZoneWith(r);if(i)return i._properties[r]}getZoneWith(r){let i=this;for(;i;){if(i._properties.hasOwnProperty(r))return i;i=i._parent}return null}fork(r){if(!r)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,r)}wrap(r,i){if(typeof r!="function")throw new Error("Expecting function got: "+r);let s=this._zoneDelegate.intercept(this,r,i),v=this;return function(){return v.runGuarded(s,this,arguments,i)}}run(r,i,s,v){m={parent:m,zone:this};try{return this._zoneDelegate.invoke(this,r,i,s,v)}finally{m=m.parent}}runGuarded(r,i=null,s,v){m={parent:m,zone:this};try{try{return this._zoneDelegate.invoke(this,r,i,s,v)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{m=m.parent}}runTask(r,i,s){if(r.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(r.zone||ne).name+"; Execution: "+this.name+")");if(r.state===z&&(r.type===F||r.type===g))return;let v=r.state!=G;v&&r._transitionTo(G,d),r.runCount++;let x=O;O=r,m={parent:m,zone:this};try{r.type==g&&r.data&&!r.data.isPeriodic&&(r.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,i,s)}catch(M){if(this._zoneDelegate.handleError(this,M))throw M}}finally{r.state!==z&&r.state!==X&&(r.type==F||r.data&&r.data.isPeriodic?v&&r._transitionTo(d,G):(r.runCount=0,this._updateTaskCount(r,-1),v&&r._transitionTo(z,G,z))),m=m.parent,O=x}}scheduleTask(r){if(r.zone&&r.zone!==this){let s=this;for(;s;){if(s===r.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${r.zone.name}`);s=s.parent}}r._transitionTo(k,z);let i=[];r._zoneDelegates=i,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(s){throw r._transitionTo(X,k,z),this._zoneDelegate.handleError(this,s),s}return r._zoneDelegates===i&&this._updateTaskCount(r,1),r.state==k&&r._transitionTo(d,k),r}scheduleMicroTask(r,i,s,v){return this.scheduleTask(new _(V,r,i,s,v,void 0))}scheduleMacroTask(r,i,s,v,x){return this.scheduleTask(new _(g,r,i,s,v,x))}scheduleEventTask(r,i,s,v,x){return this.scheduleTask(new _(F,r,i,s,v,x))}cancelTask(r){if(r.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(r.zone||ne).name+"; Execution: "+this.name+")");if(!(r.state!==d&&r.state!==G)){r._transitionTo(W,d,G);try{this._zoneDelegate.cancelTask(this,r)}catch(i){throw r._transitionTo(X,W),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(r,-1),r._transitionTo(z,W),r.runCount=0,r}}_updateTaskCount(r,i){let s=r._zoneDelegates;i==-1&&(r._zoneDelegates=null);for(let v=0;vA.hasTask(i,s),onScheduleTask:(A,r,i,s)=>A.scheduleTask(i,s),onInvokeTask:(A,r,i,s,v,x)=>A.invokeTask(i,s,v,x),onCancelTask:(A,r,i,s)=>A.cancelTask(i,s)};class u{get zone(){return this._zone}constructor(r,i,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=r,this._parentDelegate=i,this._forkZS=s&&(s&&s.onFork?s:i._forkZS),this._forkDlgt=s&&(s.onFork?i:i._forkDlgt),this._forkCurrZone=s&&(s.onFork?this._zone:i._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:i._interceptZS),this._interceptDlgt=s&&(s.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:i._invokeZS),this._invokeDlgt=s&&(s.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:i._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:i._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:i._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:i._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=s&&s.onHasTask,x=i&&i._hasTaskZS;(v||x)&&(this._hasTaskZS=v?s:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,s.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),s.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),s.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(r,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,r,i):new t(r,i)}intercept(r,i,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,r,i,s):i}invoke(r,i,s,v,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,r,i,s,v,x):i.apply(s,v)}handleError(r,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,r,i):!0}scheduleTask(r,i){let s=i;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,r,i),s||(s=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==V)U(i);else throw new Error("Task is missing scheduleFn.");return s}invokeTask(r,i,s,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,r,i,s,v):i.callback.apply(s,v)}cancelTask(r,i){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,r,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");s=i.cancelFn(i)}return s}hasTask(r,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,r,i)}catch(s){this.handleError(r,s)}}_updateTaskCount(r,i){let s=this._taskCounts,v=s[r],x=s[r]=v+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(v==0||x==0){let M={microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:r};this.hasTask(this._zone,M)}}}class _{constructor(r,i,s,v,x,M){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=r,this.source=i,this.data=v,this.scheduleFn=x,this.cancelFn=M,!s)throw new Error("callback is not defined");this.callback=s;let he=this;r===F&&v&&v.useG?this.invoke=_.invokeTask:this.invoke=function(){return _.invokeTask.call(se,he,this,arguments)}}static invokeTask(r,i,s){r||(r=this),K++;try{return r.runCount++,r.zone.runTask(r,i,s)}finally{K==1&&j(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(z,k)}_transitionTo(r,i,s){if(this._state===i||this._state===s)this._state=r,r==z&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${r}', expecting state '${i}'${s?" or '"+s+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let E=ee("setTimeout"),y=ee("Promise"),C=ee("then"),T=[],I=!1,w;function Z(A){if(w||se[y]&&(w=se[y].resolve(0)),w){let r=w[C];r||(r=w.then),r.call(w,A)}else se[E](A,0)}function U(A){K===0&&T.length===0&&Z(j),A&&T.push(A)}function j(){if(!I){for(I=!0;T.length;){let A=T;T=[];for(let r=0;rm,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:U,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:Z},m={parent:null,zone:new t(null,null)},O=null,K=0;function q(){}return a("Zone","Zone"),t}function ft(){let e=globalThis,n=e[ee("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(n||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=ut(),e.Zone}var ke=Object.getOwnPropertyDescriptor,Ze=Object.defineProperty,je=Object.getPrototypeOf,ht=Object.create,dt=Array.prototype.slice,Ae="addEventListener",He="removeEventListener",Ne=ee(Ae),Ie=ee(He),ie="true",ce="false",ve=ee("");function xe(e,n){return Zone.current.wrap(e,n)}function Ge(e,n,a,t,c){return Zone.current.scheduleMacroTask(e,n,a,t,c)}var H=ee,Ce=typeof window<"u",Te=Ce?window:void 0,$=Ce&&Te||globalThis,_t="removeAttribute";function Ve(e,n){for(let a=e.length-1;a>=0;a--)typeof e[a]=="function"&&(e[a]=xe(e[a],n+"_"+a));return e}function Et(e,n){let a=e.constructor.name;for(let t=0;t{let y=function(){return E.apply(this,Ve(arguments,a+"."+c))};return le(y,E),y})(u)}}}function Ke(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var Qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Se=!("nw"in $)&&typeof $.process<"u"&&{}.toString.call($.process)==="[object process]",Fe=!Se&&!Qe&&!!(Ce&&Te.HTMLElement),et=typeof $.process<"u"&&{}.toString.call($.process)==="[object process]"&&!Qe&&!!(Ce&&Te.HTMLElement),Re={},Xe=function(e){if(e=e||$.event,!e)return;let n=Re[e.type];n||(n=Re[e.type]=H("ON_PROPERTY"+e.type));let a=this||e.target||$,t=a[n],c;if(Fe&&a===Te&&e.type==="error"){let u=e;c=t&&t.call(this,u.message,u.filename,u.lineno,u.colno,u.error),c===!0&&e.preventDefault()}else c=t&&t.apply(this,arguments),c!=null&&!c&&e.preventDefault();return c};function Ye(e,n,a){let t=ke(e,n);if(!t&&a&&ke(a,n)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let c=H("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete t.writable,delete t.value;let u=t.get,_=t.set,E=n.slice(2),y=Re[E];y||(y=Re[E]=H("ON_PROPERTY"+E)),t.set=function(C){let T=this;if(!T&&e===$&&(T=$),!T)return;typeof T[y]=="function"&&T.removeEventListener(E,Xe),_&&_.call(T,null),T[y]=C,typeof C=="function"&&T.addEventListener(E,Xe,!1)},t.get=function(){let C=this;if(!C&&e===$&&(C=$),!C)return null;let T=C[y];if(T)return T;if(u){let I=u.call(this);if(I)return t.set.call(this,I),typeof C[_t]=="function"&&C.removeAttribute(n),I}return null},Ze(e,n,t),e[c]=!0}function tt(e,n,a){if(n)for(let t=0;tfunction(_,E){let y=a(_,E);return y.cbIdx>=0&&typeof E[y.cbIdx]=="function"?Ge(y.name,E[y.cbIdx],y,c):u.apply(_,E)})}function le(e,n){e[H("OriginalDelegate")]=n}var $e=!1,Me=!1;function gt(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function yt(){if($e)return Me;$e=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Me=!0)}catch{}return Me}var Ee=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Ee=!1}var pt={useG:!0},te={},nt={},rt=new RegExp("^"+ve+"(\\w+)(true|false)$"),ot=H("propagationStopped");function st(e,n){let a=(n?n(e):e)+ce,t=(n?n(e):e)+ie,c=ve+a,u=ve+t;te[e]={},te[e][ce]=c,te[e][ie]=u}function mt(e,n,a,t){let c=t&&t.add||Ae,u=t&&t.rm||He,_=t&&t.listeners||"eventListeners",E=t&&t.rmAll||"removeAllListeners",y=H(c),C="."+c+":",T="prependListener",I="."+T+":",w=function(k,d,G){if(k.isRemoved)return;let W=k.callback;typeof W=="object"&&W.handleEvent&&(k.callback=g=>W.handleEvent(g),k.originalDelegate=W);let X;try{k.invoke(k,d,[G])}catch(g){X=g}let V=k.options;if(V&&typeof V=="object"&&V.once){let g=k.originalDelegate?k.originalDelegate:k.callback;d[u].call(d,G.type,g,V)}return X};function Z(k,d,G){if(d=d||e.event,!d)return;let W=k||d.target||e,X=W[te[d.type][G?ie:ce]];if(X){let V=[];if(X.length===1){let g=w(X[0],W,d);g&&V.push(g)}else{let g=X.slice();for(let F=0;F{throw F})}}}let U=function(k){return Z(this,k,!1)},j=function(k){return Z(this,k,!0)};function ne(k,d){if(!k)return!1;let G=!0;d&&d.useG!==void 0&&(G=d.useG);let W=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let V=!1;d&&d.rt!==void 0&&(V=d.rt);let g=k;for(;g&&!g.hasOwnProperty(c);)g=je(g);if(!g&&k[c]&&(g=k),!g||g[y])return!1;let F=d&&d.eventNameToString,N={},R=g[y]=g[c],m=g[H(u)]=g[u],O=g[H(_)]=g[_],K=g[H(E)]=g[E],q;d&&d.prepend&&(q=g[H(d.prepend)]=g[d.prepend]);function Y(o,l){return!Ee&&typeof o=="object"&&o?!!o.capture:!Ee||!l?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let A=function(o){if(!N.isExisting)return R.call(N.target,N.eventName,N.capture?j:U,N.options)},r=function(o){if(!o.isRemoved){let l=te[o.eventName],h;l&&(h=l[o.capture?ie:ce]);let b=h&&o.target[h];if(b){for(let S=0;S{oe.zone.cancelTask(oe)},{once:!0})),N.target=null,pe&&(pe.taskData=null),Be&&(Q.once=!0),!Ee&&typeof oe.options=="boolean"||(oe.options=Q),oe.target=P,oe.capture=De,oe.eventName=D,B&&(oe.originalDelegate=L),p?de.unshift(oe):de.push(oe),S)return P}};return g[c]=f(R,C,x,M,V),q&&(g[T]=f(q,I,s,M,V,!0)),g[u]=function(){let o=this||e,l=arguments[0];d&&d.transferEventName&&(l=d.transferEventName(l));let h=arguments[2],b=h?typeof h=="boolean"?!0:h.capture:!1,S=arguments[1];if(!S)return m.apply(this,arguments);if(W&&!W(m,S,o,arguments))return;let p=te[l],P;p&&(P=p[b?ie:ce]);let D=P&&o[P];if(D)for(let L=0;Lfunction(c,u){c[ot]=!0,t&&t.apply(c,u)})}function vt(e,n){n.patchMethod(e,"queueMicrotask",a=>function(t,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var we=H("zoneTask");function _e(e,n,a,t){let c=null,u=null;n+=t,a+=t;let _={};function E(C){let T=C.data;return T.args[0]=function(){return C.invoke.apply(this,arguments)},T.handleId=c.apply(e,T.args),C}function y(C){return u.call(e,C.data.handleId)}c=ae(e,n,C=>function(T,I){if(typeof I[0]=="function"){let w={isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?I[1]||0:void 0,args:I},Z=I[0];I[0]=function(){try{return Z.apply(this,arguments)}finally{w.isPeriodic||(typeof w.handleId=="number"?delete _[w.handleId]:w.handleId&&(w.handleId[we]=null))}};let U=Ge(n,I[0],w,E,y);if(!U)return U;let j=U.data.handleId;return typeof j=="number"?_[j]=U:j&&(j[we]=U),j&&j.ref&&j.unref&&typeof j.ref=="function"&&typeof j.unref=="function"&&(U.ref=j.ref.bind(j),U.unref=j.unref.bind(j)),typeof j=="number"||j?j:U}else return C.apply(e,I)}),u=ae(e,a,C=>function(T,I){let w=I[0],Z;typeof w=="number"?Z=_[w]:(Z=w&&w[we],Z||(Z=w)),Z&&typeof Z.type=="string"?Z.state!=="notScheduled"&&(Z.cancelFn&&Z.data.isPeriodic||Z.runCount===0)&&(typeof w=="number"?delete _[w]:w&&(w[we]=null),Z.zone.cancelTask(Z)):C.apply(e,I)})}function bt(e,n){let{isBrowser:a,isMix:t}=n.getGlobalObjects();if(!a&&!t||!e.customElements||!("customElements"in e))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",c)}function Pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:t,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:_}=n.getGlobalObjects();for(let y=0;yu.target===e);if(!t||t.length===0)return n;let c=t[0].ignoreProperties;return n.filter(u=>c.indexOf(u)===-1)}function Je(e,n,a,t){if(!e)return;let c=ct(e,n,a);tt(e,c,t)}function Le(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Rt(e,n){if(Se&&!et||Zone[e.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,t=[];if(Fe){let c=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let u=gt()?[{target:c,ignoreProperties:["error"]}]:[];Je(c,Le(c),a&&a.concat(u),je(c))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[e.__symbol__("legacyPatch")];a&&a()}),e.__load_patch("timers",n=>{let a="set",t="clear";_e(n,a,t,"Timeout"),_e(n,a,t,"Interval"),_e(n,a,t,"Immediate")}),e.__load_patch("requestAnimationFrame",n=>{_e(n,"request","cancel","AnimationFrame"),_e(n,"mozRequest","mozCancel","AnimationFrame"),_e(n,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(n,a)=>{let t=["alert","prompt","confirm"];for(let c=0;cfunction(C,T){return a.current.run(_,n,T,y)})}}),e.__load_patch("EventTarget",(n,a,t)=>{wt(n,t),Pt(n,t);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&t.patchEventTarget(n,t,[c.prototype])}),e.__load_patch("MutationObserver",(n,a,t)=>{me("MutationObserver"),me("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(n,a,t)=>{me("IntersectionObserver")}),e.__load_patch("FileReader",(n,a,t)=>{me("FileReader")}),e.__load_patch("on_property",(n,a,t)=>{Rt(t,n)}),e.__load_patch("customElements",(n,a,t)=>{bt(n,t)}),e.__load_patch("XHR",(n,a)=>{C(n);let t=H("xhrTask"),c=H("xhrSync"),u=H("xhrListener"),_=H("xhrScheduled"),E=H("xhrURL"),y=H("xhrErrorBeforeScheduled");function C(T){let I=T.XMLHttpRequest;if(!I)return;let w=I.prototype;function Z(R){return R[t]}let U=w[Ne],j=w[Ie];if(!U){let R=T.XMLHttpRequestEventTarget;if(R){let m=R.prototype;U=m[Ne],j=m[Ie]}}let ne="readystatechange",z="scheduled";function k(R){let m=R.data,O=m.target;O[_]=!1,O[y]=!1;let K=O[u];U||(U=O[Ne],j=O[Ie]),K&&j.call(O,ne,K);let q=O[u]=()=>{if(O.readyState===O.DONE)if(!m.aborted&&O[_]&&R.state===z){let A=O[a.__symbol__("loadfalse")];if(O.status!==0&&A&&A.length>0){let r=R.invoke;R.invoke=function(){let i=O[a.__symbol__("loadfalse")];for(let s=0;sfunction(R,m){return R[c]=m[2]==!1,R[E]=m[1],W.apply(R,m)}),X="XMLHttpRequest.send",V=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),F=ae(w,"send",()=>function(R,m){if(a.current[g]===!0||R[c])return F.apply(R,m);{let O={target:R,url:R[E],isPeriodic:!1,args:m,aborted:!1},K=Ge(X,d,O,k,G);R&&R[y]===!0&&!O.aborted&&K.state===z&&K.invoke()}}),N=ae(w,"abort",()=>function(R,m){let O=Z(R);if(O&&typeof O.type=="string"){if(O.cancelFn==null||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(a.current[V]===!0)return N.apply(R,m)})}}),e.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&Et(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(n,a)=>{function t(c){return function(u){it(n,c).forEach(E=>{let y=n.PromiseRejectionEvent;if(y){let C=new y(c,{promise:u.promise,reason:u.rejection});E.invoke(C)}})}}n.PromiseRejectionEvent&&(a[H("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),a[H("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(n,a,t)=>{vt(n,t)})}function St(e){e.__load_patch("ZoneAwarePromise",(n,a,t)=>{let c=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function _(f){if(f&&f.toString===Object.prototype.toString){let o=f.constructor&&f.constructor.name;return(o||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let E=t.symbol,y=[],C=n[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,T=E("Promise"),I=E("then"),w="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){let o=f&&f.rejection;o?console.error("Unhandled Promise rejection:",o instanceof Error?o.message:o,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",o,o instanceof Error?o.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;y.length;){let f=y.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(o){U(o)}}};let Z=E("unhandledPromiseRejectionHandler");function U(f){t.onUnhandledError(f);try{let o=a[Z];typeof o=="function"&&o.call(this,f)}catch{}}function j(f){return f&&f.then}function ne(f){return f}function z(f){return M.reject(f)}let k=E("state"),d=E("value"),G=E("finally"),W=E("parentPromiseValue"),X=E("parentPromiseState"),V="Promise.then",g=null,F=!0,N=!1,R=0;function m(f,o){return l=>{try{Y(f,o,l)}catch(h){Y(f,!1,h)}}}let O=function(){let f=!1;return function(l){return function(){f||(f=!0,l.apply(null,arguments))}}},K="Promise resolved with itself",q=E("currentTaskTrace");function Y(f,o,l){let h=O();if(f===l)throw new TypeError(K);if(f[k]===g){let b=null;try{(typeof l=="object"||typeof l=="function")&&(b=l&&l.then)}catch(S){return h(()=>{Y(f,!1,S)})(),f}if(o!==N&&l instanceof M&&l.hasOwnProperty(k)&&l.hasOwnProperty(d)&&l[k]!==g)r(l),Y(f,l[k],l[d]);else if(o!==N&&typeof b=="function")try{b.call(l,h(m(f,o)),h(m(f,!1)))}catch(S){h(()=>{Y(f,!1,S)})()}else{f[k]=o;let S=f[d];if(f[d]=l,f[G]===G&&o===F&&(f[k]=f[X],f[d]=f[W]),o===N&&l instanceof Error){let p=a.currentTask&&a.currentTask.data&&a.currentTask.data[w];p&&u(l,q,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let P=f[d],D=!!l&&G===l[G];D&&(l[W]=P,l[X]=S);let L=o.run(p,void 0,D&&p!==z&&p!==ne?[]:[P]);Y(l,!0,L)}catch(P){Y(l,!1,P)}},l)}let s="function ZoneAwarePromise() { [native code] }",v=function(){},x=n.AggregateError;class M{static toString(){return s}static resolve(o){return o instanceof M?o:Y(new this(null),F,o)}static reject(o){return Y(new this(null),N,o)}static withResolvers(){let o={};return o.promise=new M((l,h)=>{o.resolve=l,o.reject=h}),o}static any(o){if(!o||typeof o[Symbol.iterator]!="function")return Promise.reject(new x([],"All promises were rejected"));let l=[],h=0;try{for(let p of o)h++,l.push(M.resolve(p))}catch{return Promise.reject(new x([],"All promises were rejected"))}if(h===0)return Promise.reject(new x([],"All promises were rejected"));let b=!1,S=[];return new M((p,P)=>{for(let D=0;D{b||(b=!0,p(L))},L=>{S.push(L),h--,h===0&&(b=!0,P(new x(S,"All promises were rejected")))})})}static race(o){let l,h,b=new this((P,D)=>{l=P,h=D});function S(P){l(P)}function p(P){h(P)}for(let P of o)j(P)||(P=this.resolve(P)),P.then(S,p);return b}static all(o){return M.allWithCallback(o)}static allSettled(o){return(this&&this.prototype instanceof M?this:M).allWithCallback(o,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(o,l){let h,b,S=new this((L,B)=>{h=L,b=B}),p=2,P=0,D=[];for(let L of o){j(L)||(L=this.resolve(L));let B=P;try{L.then(J=>{D[B]=l?l.thenCallback(J):J,p--,p===0&&h(D)},J=>{l?(D[B]=l.errorCallback(J),p--,p===0&&h(D)):b(J)})}catch(J){b(J)}p++,P++}return p-=2,p===0&&h(D),S}constructor(o){let l=this;if(!(l instanceof M))throw new Error("Must be an instanceof Promise.");l[k]=g,l[d]=[];try{let h=O();o&&o(h(m(l,F)),h(m(l,N)))}catch(h){Y(l,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(o,l){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||M);let b=new h(v),S=a.current;return this[k]==g?this[d].push(S,b,o,l):i(this,S,b,o,l),b}catch(o){return this.then(null,o)}finally(o){let l=this.constructor?.[Symbol.species];(!l||typeof l!="function")&&(l=M);let h=new l(v);h[G]=G;let b=a.current;return this[k]==g?this[d].push(b,h,o,o):i(this,b,h,o,o),h}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[T]=n.Promise;n.Promise=M;let ge=E("thenPatched");function ue(f){let o=f.prototype,l=c(o,"then");if(l&&(l.writable===!1||!l.configurable))return;let h=o.then;o[I]=h,f.prototype.then=function(b,S){return new M((P,D)=>{h.call(this,P,D)}).then(b,S)},f[ge]=!0}t.patchThen=ue;function be(f){return function(o,l){let h=f.apply(o,l);if(h instanceof M)return h;let b=h.constructor;return b[ge]||ue(b),h}}return he&&(ue(he),ae(n,"fetch",f=>be(f))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,M})}function Dt(e){e.__load_patch("toString",n=>{let a=Function.prototype.toString,t=H("OriginalDelegate"),c=H("Promise"),u=H("Error"),_=function(){if(typeof this=="function"){let T=this[t];if(T)return typeof T=="function"?a.call(T):Object.prototype.toString.call(T);if(this===Promise){let I=n[c];if(I)return a.call(I)}if(this===Error){let I=n[u];if(I)return a.call(I)}}return a.call(this)};_[t]=a,Function.prototype.toString=_;let E=Object.prototype.toString,y="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?y:E.call(this)}})}function Ot(e,n,a,t,c){let u=Zone.__symbol__(t);if(n[u])return;let _=n[u]=n[t];n[t]=function(E,y,C){return y&&y.prototype&&c.forEach(function(T){let I=`${a}.${t}::`+T,w=y.prototype;try{if(w.hasOwnProperty(T)){let Z=e.ObjectGetOwnPropertyDescriptor(w,T);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,I),e._redefineProperty(y.prototype,T,Z)):w[T]&&(w[T]=e.wrapWithCurrentZone(w[T],I))}else w[T]&&(w[T]=e.wrapWithCurrentZone(w[T],I))}catch{}}),_.call(n,E,y,C)},e.attachOriginToPatched(n[t],_)}function Nt(e){e.__load_patch("util",(n,a,t)=>{let c=Le(n);t.patchOnProperties=tt,t.patchMethod=ae,t.bindArguments=Ve,t.patchMacroTask=Tt;let u=a.__symbol__("BLACK_LISTED_EVENTS"),_=a.__symbol__("UNPATCHED_EVENTS");n[_]&&(n[u]=n[_]),n[u]&&(a[u]=a[_]=n[u]),t.patchEventPrototype=kt,t.patchEventTarget=mt,t.isIEOrEdge=yt,t.ObjectDefineProperty=Ze,t.ObjectGetOwnPropertyDescriptor=ke,t.ObjectCreate=ht,t.ArraySlice=dt,t.patchClass=me,t.wrapWithCurrentZone=xe,t.filterProperties=ct,t.attachOriginToPatched=le,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Ot,t.getGlobalObjects=()=>({globalSources:nt,zoneSymbolEventNames:te,eventNames:c,isBrowser:Fe,isMix:et,isNode:Se,TRUE_STR:ie,FALSE_STR:ce,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:Ae,REMOVE_EVENT_LISTENER_STR:He})})}function It(e){St(e),Dt(e),Nt(e)}var at=ft();It(at);Ct(at); diff --git a/docs/polyfills.76a4b2f563eb1bcf8463.bundle.js b/docs/polyfills.76a4b2f563eb1bcf8463.bundle.js deleted file mode 100644 index b32cf565..00000000 --- a/docs/polyfills.76a4b2f563eb1bcf8463.bundle.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([0],{"+GRi":function(e,t,s){var n=s("Wo2w"),i=s("Wy9r");e.exports=function(e){return n(i(e))}},"+iEx":function(e,t,s){s("fHxy"),s("5GJ3"),s("X0O/"),s("HCkn"),s("ncNB"),s("soMw"),s("8sYH"),s("IJ3P"),s("t6ta"),e.exports=s("b4gG").Reflect},"+pQw":function(e,t,s){var n=s("JXkd");e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},1:function(e,t,s){e.exports=s("TU+8")},"2Fuj":function(e,t,s){var n=s("R5c1"),i=s("a/Sk");e.exports=Object.keys||function(e){return n(e,i)}},"3LDD":function(e,t,s){"use strict";var n=s("tose").f,i=s("51pc"),r=s("pBmS"),o=s("pa70"),a=s("Lcie"),l=s("p/bR"),c=s("WsSm"),u=s("w/BM"),h=s("KpXt"),d=s("V+0c"),p=s("xI8H").fastKey,_=s("Y5fy"),f=d?"_s":"size",m=function(e,t){var s,n=p(t);if("F"!==n)return e._i[n];for(s=e._f;s;s=s.n)if(s.k==t)return s};e.exports={getConstructor:function(e,t,s,c){var u=e(function(e,n){a(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[f]=0,void 0!=n&&l(n,s,e[c],e)});return r(u.prototype,{clear:function(){for(var e=_(this,t),s=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete s[n.i];e._f=e._l=void 0,e[f]=0},delete:function(e){var s=_(this,t),n=m(s,e);if(n){var i=n.n,r=n.p;delete s._i[n.i],n.r=!0,r&&(r.n=i),i&&(i.p=r),s._f==n&&(s._f=i),s._l==n&&(s._l=r),s[f]--}return!!n},forEach:function(e){_(this,t);for(var s,n=o(e,arguments.length>1?arguments[1]:void 0,3);s=s?s.n:this._f;)for(n(s.v,s.k,this);s&&s.r;)s=s.p},has:function(e){return!!m(_(this,t),e)}}),d&&n(u.prototype,"size",{get:function(){return _(this,t)[f]}}),u},def:function(e,t,s){var n,i,r=m(e,t);return r?r.v=s:(e._l=r={i:i=p(t,!0),k:t,v:s,p:n=e._l,n:void 0,r:!1},e._f||(e._f=r),n&&(n.n=r),e[f]++,"F"!==i&&(e._i[i]=r)),e},getEntry:m,setStrong:function(e,t,s){c(e,t,function(e,s){this._t=_(e,t),this._k=s,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},s?"entries":"values",!s,!0),h(t)}}},"3r0D":function(e,t,s){var n=s("Iclu")("wks"),i=s("c09d"),r=s("ptrv").Symbol,o="function"==typeof r;(e.exports=function(e){return n[e]||(n[e]=o&&r[e]||(o?r:i)("Symbol."+e))}).store=n},"51pc":function(e,t,s){var n=s("+pQw"),i=s("ewdp"),r=s("a/Sk"),o=s("yIWP")("IE_PROTO"),a=function(){},l=function(){var e,t=s("BQSv")("iframe"),n=r.length;for(t.style.display="none",s("Ed9o").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("