diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt new file mode 100644 index 00000000..3e61bc58 --- /dev/null +++ b/3rdpartylicenses.txt @@ -0,0 +1,317 @@ +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2022 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/forms +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2022 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/platform-browser +MIT + +core-js +MIT +Copyright (c) 2014-2020 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: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2022 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/assets/example-new.png b/assets/example-new.png new file mode 100644 index 00000000..8595e99a Binary files /dev/null and b/assets/example-new.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 00000000..8081c7ce Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 00000000..43027394 --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + NgxMatSelectSearch + + + + + + + + + + + \ No newline at end of file diff --git a/main.476ed0bcdaa84e1f.js b/main.476ed0bcdaa84e1f.js new file mode 100644 index 00000000..f3e2bb15 --- /dev/null +++ b/main.476ed0bcdaa84e1f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkngx_mat_select_search=self.webpackChunkngx_mat_select_search||[]).push([[179],{5016:()=>{function ci(n){return"function"==typeof n}let wo=!1;const Ut={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else wo&&console.log("RxJS: Back to a better error behavior. Thank you. <3");wo=n},get useDeprecatedSynchronousErrorHandling(){return wo}};function li(n){setTimeout(()=>{throw n},0)}const Xs={closed:!0,next(n){},error(n){if(Ut.useDeprecatedSynchronousErrorHandling)throw n;li(n)},complete(){}},sr=Array.isArray||(n=>n&&"number"==typeof n.length);function Fl(n){return null!==n&&"object"==typeof n}const Zs=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class ue{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof ue)e.remove(this);else if(null!==e)for(let s=0;st.concat(e instanceof Zs?e.errors:e),[])}ue.EMPTY=((n=new ue).closed=!0,n);const Qs="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Ae extends ue{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Xs;break;case 1:if(!t){this.destination=Xs;break}if("object"==typeof t){t instanceof Ae?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new Jf(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new Jf(this,t,e,i)}}[Qs](){return this}static create(t,e,i){const r=new Ae(t,e,i);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class Jf extends Ae{constructor(t,e,i,r){super(),this._parentSubscriber=t;let o,s=this;ci(e)?o=e:e&&(o=e.next,i=e.error,r=e.complete,e!==Xs&&(s=Object.create(e),ci(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=i,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;Ut.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=Ut;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):li(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;li(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);Ut.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),Ut.useDeprecatedSynchronousErrorHandling)throw i;li(i)}}__tryOrSetError(t,e,i){if(!Ut.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return Ut.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(li(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const xo="function"==typeof Symbol&&Symbol.observable||"@@observable";function em(n){return n}let ke=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const{operator:o}=this,s=function kC(n,t,e){if(n){if(n instanceof Ae)return n;if(n[Qs])return n[Qs]()}return n||t||e?new Ae(n,t,e):new Ae(Xs)}(e,i,r);if(s.add(o?o.call(s,this.source):this.source||Ut.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Ut.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){Ut.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function MC(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof Ae?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=nm(i))((r,o)=>{let s;s=this.subscribe(a=>{try{e(a)}catch(c){o(c),s&&s.unsubscribe()}},o,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[xo](){return this}pipe(...e){return 0===e.length?this:function tm(n){return 0===n.length?em:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=nm(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function nm(n){if(n||(n=Ut.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const Di=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class im extends ue{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class rm extends Ae{constructor(t){super(t),this.destination=t}}let ne=(()=>{class n extends ke{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Qs](){return new rm(this)}lift(e){const i=new om(this,this);return i.operator=e,i}next(e){if(this.closed)throw new Di;if(!this.isStopped){const{observers:i}=this,r=i.length,o=i.slice();for(let s=0;snew om(t,e),n})();class om extends ne{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):ue.EMPTY}}function ar(n){return n&&"function"==typeof n.schedule}function Pe(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new TC(n,t))}}class TC{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new IC(t,this.project,this.thisArg))}}class IC extends Ae{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const sm=n=>t=>{for(let e=0,i=n.length;en&&"number"==typeof n.length&&"function"!=typeof n;function cm(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const Ol=n=>{if(n&&"function"==typeof n[xo])return(n=>t=>{const e=n[xo]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(am(n))return sm(n);if(cm(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,li),t))(n);if(n&&"function"==typeof n[Js])return(n=>t=>{const e=n[Js]();for(;;){let i;try{i=e.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${Fl(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Rl(n,t){return new ke(e=>{const i=new ue;let r=0;return i.add(t.schedule(function(){r!==n.length?(e.next(n[r++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function Co(n,t){return t?function HC(n,t){if(null!=n){if(function VC(n){return n&&"function"==typeof n[xo]}(n))return function PC(n,t){return new ke(e=>{const i=new ue;return i.add(t.schedule(()=>{const r=n[xo]();i.add(r.subscribe({next(o){i.add(t.schedule(()=>e.next(o)))},error(o){i.add(t.schedule(()=>e.error(o)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(cm(n))return function NC(n,t){return new ke(e=>{const i=new ue;return i.add(t.schedule(()=>n.then(r=>{i.add(t.schedule(()=>{e.next(r),i.add(t.schedule(()=>e.complete()))}))},r=>{i.add(t.schedule(()=>e.error(r)))}))),i})}(n,t);if(am(n))return Rl(n,t);if(function BC(n){return n&&"function"==typeof n[Js]}(n)||"string"==typeof n)return function LC(n,t){if(!n)throw new Error("Iterable cannot be null");return new ke(e=>{const i=new ue;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=n[Js](),i.add(t.schedule(function(){if(e.closed)return;let o,s;try{const a=r.next();o=a.value,s=a.done}catch(a){return void e.error(a)}s?e.complete():(e.next(o),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof ke?n:new ke(Ol(n))}class Do extends Ae{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Eo extends Ae{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function So(n,t){if(t.closed)return;if(n instanceof ke)return n.subscribe(t);let e;try{e=Ol(n)(t)}catch(i){t.error(i)}return e}function Pl(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(Pl((r,o)=>Co(n(r,o)).pipe(Pe((s,a)=>t(r,s,o,a))),e)):("number"==typeof t&&(e=t),i=>i.lift(new jC(n,e)))}class jC{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new zC(t,this.project,this.concurrent))}}class zC extends Eo{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function lm(n=Number.POSITIVE_INFINITY){return Pl(em,n)}function Nl(n,t){return t?Rl(n,t):new ke(sm(n))}function cr(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return ar(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof ke?n[0]:lm(t)(Nl(n,e))}function dm(){return function(t){return t.lift(new UC(t))}}class UC{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const r=new $C(t,i),o=e.subscribe(r);return r.closed||(r.connection=i.connect()),o}}class $C extends Ae{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,r=t._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class GC extends ke{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new ue,t.add(this.source.subscribe(new qC(this.getSubject(),this))),t.closed&&(this._connection=null,t=ue.EMPTY)),t}refCount(){return dm()(this)}}const WC=(()=>{const n=GC.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class qC extends rm{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class XC{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,r=this.subjectFactory(),o=i(r).subscribe(t);return o.add(e.subscribe(r)),o}}function ZC(){return new ne}function um(){return n=>dm()(function KC(n,t){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new XC(r,t));const o=Object.create(i,WC);return o.source=i,o.subjectFactory=r,o}}(ZC)(n))}function Ee(n){for(let t in n)if(n[t]===Ee)return t;throw Error("Could not find renamed property on target object.")}function Ll(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Se(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Se).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Vl(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const QC=Ee({__forward_ref__:Ee});function pe(n){return n.__forward_ref__=pe,n.toString=function(){return Se(this())},n}function L(n){return Bl(n)?n():n}function Bl(n){return"function"==typeof n&&n.hasOwnProperty(QC)&&n.__forward_ref__===pe}function Hl(n){return n&&!!n.\u0275providers}const ea="https://g.co/ng/security#xss";class x extends Error{constructor(t,e){super(function ta(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function G(n){return"string"==typeof n?n:null==n?"":String(n)}function na(n,t){throw new x(-201,!1)}function $t(n,t){null==n&&function ve(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function R(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ie(n){return{providers:n.providers||[],imports:n.imports||[]}}function ia(n){return hm(n,ra)||hm(n,mm)}function hm(n,t){return n.hasOwnProperty(t)?n[t]:null}function fm(n){return n&&(n.hasOwnProperty(jl)||n.hasOwnProperty(sD))?n[jl]:null}const ra=Ee({\u0275prov:Ee}),jl=Ee({\u0275inj:Ee}),mm=Ee({ngInjectableDef:Ee}),sD=Ee({ngInjectorDef:Ee});var U=(()=>((U=U||{})[U.Default=0]="Default",U[U.Host=1]="Host",U[U.Self=2]="Self",U[U.SkipSelf=4]="SkipSelf",U[U.Optional=8]="Optional",U))();let zl;function Gt(n){const t=zl;return zl=n,t}function pm(n,t,e){const i=ia(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&U.Optional?null:void 0!==t?t:void na(Se(n))}const Te=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Mo={},Ul="__NG_DI_FLAG__",oa="ngTempTokenPath",lD=/\n/gm,gm="__source";let ko;function lr(n){const t=ko;return ko=n,t}function uD(n,t=U.Default){if(void 0===ko)throw new x(-203,!1);return null===ko?pm(n,void 0,t):ko.get(n,t&U.Optional?null:void 0,t)}function y(n,t=U.Default){return(function aD(){return zl}()||uD)(L(n),t)}function Vn(n,t=U.Default){return y(n,sa(t))}function sa(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function $l(n){const t=[];for(let e=0;e((en=en||{})[en.OnPush=0]="OnPush",en[en.Default=1]="Default",en))(),tn=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(tn||(tn={})),tn))();const Bn={},ge=[],aa=Ee({\u0275cmp:Ee}),Gl=Ee({\u0275dir:Ee}),Wl=Ee({\u0275pipe:Ee}),bm=Ee({\u0275mod:Ee}),Hn=Ee({\u0275fac:Ee}),Io=Ee({__NG_ELEMENT_ID__:Ee});let pD=0;function Me(n){return di(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===en.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||ge,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||tn.Emulated,id:"c"+pD++,styles:n.styles||ge,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=n.dependencies,s=n.features;return r.inputs=wm(n.inputs,i),r.outputs=wm(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(ym).filter(vm):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(ft).filter(vm):null,r})}function ym(n){return we(n)||ot(n)}function vm(n){return null!==n}function re(n){return di(()=>({type:n.type,bootstrap:n.bootstrap||ge,declarations:n.declarations||ge,imports:n.imports||ge,exports:n.exports||ge,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function wm(n,t){if(null==n)return Bn;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const F=Me;function vt(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function we(n){return n[aa]||null}function ot(n){return n[Gl]||null}function ft(n){return n[Wl]||null}const X=11;function Tt(n){return Array.isArray(n)&&"object"==typeof n[1]}function rn(n){return Array.isArray(n)&&!0===n[1]}function Yl(n){return 0!=(4&n.flags)}function fa(n){return n.componentOffset>-1}function ma(n){return 1==(1&n.flags)}function on(n){return null!==n.template}function vD(n){return 0!=(256&n[2])}function Si(n,t){return n.hasOwnProperty(Hn)?n[Hn]:null}class CD{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function sn(){return Mm}function Mm(n){return n.type.prototype.ngOnChanges&&(n.setInput=ED),DD}function DD(){const n=Tm(this),t=n?.current;if(t){const e=n.previous;if(e===Bn)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function ED(n,t,e,i){const r=this.declaredInputs[e],o=Tm(n)||function SD(n,t){return n[km]=t}(n,{previous:Bn,current:null}),s=o.current||(o.current={}),a=o.previous,c=a[r];s[r]=new CD(c&&c.currentValue,t,a===Bn),n[i]=t}sn.ngInherit=!0;const km="__ngSimpleChanges__";function Tm(n){return n[km]||null}function tt(n){for(;Array.isArray(n);)n=n[0];return n}function pa(n,t){return tt(t[n])}function It(n,t){return tt(t[n.index])}function Im(n,t){return n.data[t]}function mr(n,t){return n[t]}function At(n,t){const e=t[n];return Tt(e)?e:e[0]}function ga(n){return 64==(64&n[2])}function ui(n,t){return null==t?null:n[t]}function Am(n){n[18]=0}function Ql(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const $={lFrame:jm(null),bindingsEnabled:!0};function Om(){return $.bindingsEnabled}function w(){return $.lFrame.lView}function ae(){return $.lFrame.tView}function pr(n){return $.lFrame.contextLView=n,n[8]}function gr(n){return $.lFrame.contextLView=null,n}function nt(){let n=Rm();for(;null!==n&&64===n.type;)n=n.parent;return n}function Rm(){return $.lFrame.currentTNode}function vn(n,t){const e=$.lFrame;e.currentTNode=n,e.isParent=t}function Jl(){return $.lFrame.isParent}function ed(){$.lFrame.isParent=!1}function pt(){const n=$.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function _r(){return $.lFrame.bindingIndex++}function zn(n){const t=$.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function jD(n,t){const e=$.lFrame;e.bindingIndex=e.bindingRootIndex=n,td(t)}function td(n){$.lFrame.currentDirectiveIndex=n}function Vm(){return $.lFrame.currentQueryIndex}function id(n){$.lFrame.currentQueryIndex=n}function UD(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Bm(n,t,e){if(e&U.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&U.Host||(r=UD(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=$.lFrame=Hm();return i.currentTNode=t,i.lView=n,!0}function rd(n){const t=Hm(),e=n[1];$.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Hm(){const n=$.lFrame,t=null===n?null:n.child;return null===t?jm(n):t}function jm(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function zm(){const n=$.lFrame;return $.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Um=zm;function od(){const n=zm();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function gt(){return $.lFrame.selectedIndex}function Mi(n){$.lFrame.selectedIndex=n}function Ne(){const n=$.lFrame;return Im(n.tView,n.selectedIndex)}function ki(){$.lFrame.currentNamespace="svg"}function No(){!function qD(){$.lFrame.currentNamespace=null}()}function _a(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[c]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Lo{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function ld(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let dd=!0;function xa(n){const t=dd;return dd=n,t}let nE=0;const wn={};function Ca(n,t){const e=Zm(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,ud(i.data,n),ud(t,null),ud(i.blueprint,null));const r=hd(n,t),o=n.injectorIndex;if(Ym(r)){const s=va(r),a=wa(r,t),c=a[1].data;for(let l=0;l<8;l++)t[o+l]=a[s+l]|c[s+l]}return t[o+8]=r,o}function ud(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Zm(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function hd(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=rp(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function fd(n,t,e){!function iE(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Io)&&(i=e[Io]),null==i&&(i=e[Io]=nE++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:aE:t}(e);if("function"==typeof o){if(!Bm(t,n,i))return i&U.Host?Qm(r,0,i):Jm(t,e,i,r);try{const s=o(i);if(null!=s||i&U.Optional)return s;na()}finally{Um()}}else if("number"==typeof o){let s=null,a=Zm(n,t),c=-1,l=i&U.Host?t[16][6]:null;for((-1===a||i&U.SkipSelf)&&(c=-1===a?hd(n,t):t[a+8],-1!==c&&ip(i,!1)?(s=t[1],a=va(c),t=wa(c,t)):a=-1);-1!==a;){const d=t[1];if(np(o,a,d.data)){const u=oE(a,t,e,s,i,l);if(u!==wn)return u}c=t[a+8],-1!==c&&ip(i,t[1].data[a+8]===l)&&np(o,a,t)?(s=d,a=va(c),t=wa(c,t)):a=-1}}return r}function oE(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],d=Da(a,s,e,null==i?fa(a)&&dd:i!=s&&0!=(3&a.type),r&U.Host&&o===a);return null!==d?yr(t,s,d,a):wn}function Da(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,c=n.directiveStart,d=o>>20,h=r?a+d:n.directiveEnd;for(let f=i?a:a+d;f=c&&m.type===e)return f}if(r){const f=s[c];if(f&&on(f)&&f.type===e)return c}return null}function yr(n,t,e,i){let r=n[e];const o=t.data;if(function ZD(n){return n instanceof Lo}(r)){const s=r;s.resolving&&function JC(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new x(-200,`Circular dependency in DI detected for ${n}${e}`)}(function ye(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():G(n)}(o[e]));const a=xa(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Gt(s.injectImpl):null;Bm(n,i,U.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function KD(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Mm(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==c&&Gt(c),xa(a),s.resolving=!1,Um()}}return r}function np(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[Hn]||md(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Hn]||md(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function md(n){return Bl(n)?()=>{const t=md(L(n));return t&&t()}:Si(n)}function rp(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Ti(n){return function rE(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function pd(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(c,l,d){const u=c.hasOwnProperty(xr)?c[xr]:Object.defineProperty(c,xr,{value:[]})[xr];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),c}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class M{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=R({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ft(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?Ii(e,t):t(e))}function sp(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Ea(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function jo(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function hE(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function _d(n,t){const e=Er(n,t);if(e>=0)return n[1|e]}function Er(n,t){return function lp(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<((wt=wt||{})[wt.Important=1]="Important",wt[wt.DashCase=2]="DashCase",wt))();const Cd=new Map;let RE=0;const Ed="__ngContext__";function ct(n,t){Tt(t)?(n[Ed]=t[20],function NE(n){Cd.set(n[20],n)}(t)):n[Ed]=t}function Md(n,t){return undefined(n,t)}function Wo(n){const t=n[3];return rn(t)?t[3]:t}function kd(n){return Ip(n[13])}function Td(n){return Ip(n[4])}function Ip(n){for(;null!==n&&!rn(n);)n=n[4];return n}function Mr(n,t,e,i,r){if(null!=i){let o,s=!1;rn(i)?o=i:Tt(i)&&(s=!0,i=i[0]);const a=tt(i);0===n&&null!==e?null==r?Np(t,e,a):Fi(t,e,a,r||null,!0):1===n&&null!==e?Fi(t,e,a,r||null,!0):2===n?function Nd(n,t,e){const i=Ta(n,t);i&&function iS(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function sS(n,t,e,i,r){const o=e[7];o!==tt(e)&&Mr(t,n,i,o,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const o=Ea(n,10+t);!function KE(n,t){qo(n,t,t[X],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Op(n,t){if(!(128&t[2])){const e=t[X];e.destroyNode&&qo(n,t,e,3,null,null),function QE(n){let t=n[13];if(!t)return Od(n[1],n);for(;t;){let e=null;if(Tt(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)Tt(t)&&Od(t[1],t),t=t[3];null===t&&(t=n),Tt(t)&&Od(t[1],t),e=t&&t[4]}t=e}}(t)}}function Od(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function nS(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=s]():i[r=-s].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===tn.None||o===tn.Emulated)return null}return It(i,e)}}(n,t.parent,e)}function Fi(n,t,e,i,r){n.insertBefore(t,e,i,r)}function Np(n,t,e){n.appendChild(t,e)}function Lp(n,t,e,i,r){null!==i?Fi(n,t,e,i,r):Np(n,t,e)}function Ta(n,t){return n.parentNode(t)}function Vp(n,t,e){return Hp(n,t,e)}let Fa,Bd,Hp=function Bp(n,t,e){return 40&n.type?It(n,e):null};function Ia(n,t,e,i){const r=Rp(n,i,t),o=t[X],a=Vp(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(e))for(let c=0;cn,createScript:n=>n,createScriptURL:n=>n})}catch{}return Fa}()?.createHTML(n)||n}class Ri{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ea})`}}class fS extends Ri{getTypeName(){return"HTML"}}class mS extends Ri{getTypeName(){return"Style"}}class pS extends Ri{getTypeName(){return"Script"}}class gS extends Ri{getTypeName(){return"URL"}}class _S extends Ri{getTypeName(){return"ResourceURL"}}function Rt(n){return n instanceof Ri?n.changingThisBreaksApplicationSecurity:n}function xn(n,t){const e=function bS(n){return n instanceof Ri&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${ea})`)}return e===t}class DS{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Oi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class ES{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Oi(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Oi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0"),!0}endElement(t){const e=t.nodeName.toLowerCase();jd.hasOwnProperty(e)&&!Zp.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(tg(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const IS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,AS=/([^\#-~ |!])/g;function tg(n){return n.replace(/&/g,"&").replace(IS,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(AS,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Pa;function ng(n,t){let e=null;try{Pa=Pa||function Xp(n){const t=new ES(n);return function SS(){try{return!!(new window.DOMParser).parseFromString(Oi(""),"text/html")}catch{return!1}}()?new DS(t):t}(n);let i=t?String(t):"";e=Pa.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Pa.getInertBodyElement(i)}while(i!==o);return Oi((new TS).sanitizeChildren(Ud(e)||e))}finally{if(e){const i=Ud(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Ud(n){return"content"in n&&function FS(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var _e=(()=>((_e=_e||{})[_e.NONE=0]="NONE",_e[_e.HTML=1]="HTML",_e[_e.STYLE=2]="STYLE",_e[_e.SCRIPT=3]="SCRIPT",_e[_e.URL=4]="URL",_e[_e.RESOURCE_URL=5]="RESOURCE_URL",_e))();const og=new M("ENVIRONMENT_INITIALIZER"),sg=new M("INJECTOR",-1),ag=new M("INJECTOR_DEF_TYPES");class cg{get(t,e=Mo){if(e===Mo){const i=new Error(`NullInjectorError: No provider for ${Se(t)}!`);throw i.name="NullInjectorError",i}return e}}function HS(...n){return{\u0275providers:lg(0,n),\u0275fromNgModule:!0}}function lg(n,...t){const e=[],i=new Set;let r;return Ii(t,o=>{const s=o;$d(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&dg(r,e),e}function dg(n,t){for(let e=0;e{t.push(o)})}}function $d(n,t,e,i){if(!(n=L(n)))return!1;let r=null,o=fm(n);const s=!o&&we(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const c=n.ngModule;if(o=fm(c),!o)return!1;r=c}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)$d(l,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let l;i.add(r);try{Ii(o.imports,d=>{$d(d,t,e,i)&&(l||(l=[]),l.push(d))})}finally{}void 0!==l&&dg(l,t)}if(!a){const l=Si(r)||(()=>new r);t.push({provide:r,useFactory:l,deps:ge},{provide:ag,useValue:r,multi:!0},{provide:og,useValue:()=>y(r),multi:!0})}const c=o.providers;null==c||a||Gd(c,d=>{t.push(d)})}}return r!==n&&void 0!==n.providers}function Gd(n,t){for(let e of n)Hl(e)&&(e=e.\u0275providers),Array.isArray(e)?Gd(e,t):t(e)}const jS=Ee({provide:String,useValue:Ee});function Wd(n){return null!==n&&"object"==typeof n&&jS in n}function Pi(n){return"function"==typeof n}const qd=new M("Set Injector scope."),Na={},US={};let Yd;function La(){return void 0===Yd&&(Yd=new cg),Yd}class kr{}class fg extends kr{constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xd(t,s=>this.processProvider(s)),this.records.set(sg,Tr(void 0,this)),r.has("environment")&&this.records.set(kr,Tr(void 0,this));const o=this.records.get(qd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ag.multi,ge,U.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=lr(this),i=Gt(void 0);try{return t()}finally{lr(e),Gt(i)}}get(t,e=Mo,i=U.Default){this.assertNotDestroyed(),i=sa(i);const r=lr(this),o=Gt(void 0);try{if(!(i&U.SkipSelf)){let a=this.records.get(t);if(void 0===a){const c=function YS(n){return"function"==typeof n||"object"==typeof n&&n instanceof M}(t)&&ia(t);a=c&&this.injectableDefInScope(c)?Tr(Kd(t),Na):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&U.Self?La():this.parent).get(t,e=i&U.Optional&&e===Mo?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[oa]=s[oa]||[]).unshift(Se(t)),r)throw s;return function fD(n,t,e,i){const r=n[oa];throw t[gm]&&r.unshift(t[gm]),n.message=function mD(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=Se(t);if(Array.isArray(t))r=t.map(Se).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Se(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(lD,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[oa]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Gt(o),lr(r)}}resolveInjectorInitializers(){const t=lr(this),e=Gt(void 0);try{const i=this.get(og.multi,ge,U.Self);for(const r of i)r()}finally{lr(t),Gt(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(Se(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){let e=Pi(t=L(t))?t:L(t&&t.provide);const i=function GS(n){return Wd(n)?Tr(void 0,n.useValue):Tr(mg(n),Na)}(t);if(Pi(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Tr(void 0,Na,!0),r.factory=()=>$l(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Na&&(e.value=US,e.value=e.factory()),"object"==typeof e.value&&e.value&&function qS(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=L(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Kd(n){const t=ia(n),e=null!==t?t.factory:Si(n);if(null!==e)return e;if(n instanceof M)throw new x(204,!1);if(n instanceof Function)return function $S(n){const t=n.length;if(t>0)throw jo(t,"?"),new x(204,!1);const e=function rD(n){const t=n&&(n[ra]||n[mm]);if(t){const e=function oD(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new x(204,!1)}function mg(n,t,e){let i;if(Pi(n)){const r=L(n);return Si(r)||Kd(r)}if(Wd(n))i=()=>L(n.useValue);else if(function hg(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...$l(n.deps||[]));else if(function ug(n){return!(!n||!n.useExisting)}(n))i=()=>y(L(n.useExisting));else{const r=L(n&&(n.useClass||n.provide));if(!function WS(n){return!!n.deps}(n))return Si(r)||Kd(r);i=()=>new r(...$l(n.deps))}return i}function Tr(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Xd(n,t){for(const e of n)Array.isArray(e)?Xd(e,t):e&&Hl(e)?Xd(e.\u0275providers,t):t(e)}class KS{}class pg{}class ZS{resolveComponentFactory(t){throw function XS(n){const t=Error(`No component factory found for ${Se(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Xo=(()=>{class n{}return n.NULL=new ZS,n})();function QS(){return Ir(nt(),w())}function Ir(n,t){return new oe(It(n,t))}let oe=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=QS,n})();function JS(n){return n instanceof oe?n.nativeElement:n}class Zo{}let Ni=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function eM(){const n=w(),e=At(nt().index,n);return(Tt(e)?e:n)[X]}(),n})(),tM=(()=>{class n{}return n.\u0275prov=R({token:n,providedIn:"root",factory:()=>null}),n})();class Ar{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const nM=new Ar("15.0.2"),Zd={};function Jd(n){return n.ngOriginalError}class $n{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Jd(t);for(;e&&Jd(e);)e=Jd(e);return e||null}}function bg(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const yg="ng-template";function fM(n,t,e){let i=0;for(;io?"":r[u+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==bg(f,l,0)||2&i&&l!==h){if(an(i))return!1;s=!0}}}}else{if(!s&&!an(i)&&!an(c))return!1;if(s&&an(c))continue;s=!1,i=c|1&i}}return an(i)||s}function an(n){return 0==(1&n)}function gM(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!an(s)&&(t+=xg(o,r),r=""),i=s,o=o||!an(i);e++}return""!==r&&(t+=xg(o,r)),t}const W={};function E(n){Cg(ae(),w(),gt()+n,!1)}function Cg(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&ba(t,o,e)}else{const o=n.preOrderHooks;null!==o&&ya(t,o,0,e)}Mi(e)}function Mg(n,t=null,e=null,i){const r=kg(n,t,e,i);return r.resolveInjectorInitializers(),r}function kg(n,t=null,e=null,i,r=new Set){const o=[e||ge,HS(n)];return i=i||("object"==typeof n?void 0:Se(n)),new fg(o,t||La(),i||null,r)}let cn=(()=>{class n{static create(e,i){if(Array.isArray(e))return Mg({name:""},i,e,"");{const r=e.name??"";return Mg({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=Mo,n.NULL=new cg,n.\u0275prov=R({token:n,providedIn:"any",factory:()=>y(sg)}),n.__NG_ELEMENT_ID__=-1,n})();function p(n,t=U.Default){const e=w();return null===e?y(n,t):ep(nt(),e,L(n),t)}function Rr(){throw new Error("invalid")}function Pg(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i22&&Cg(n,t,22,!1),e(i,r)}finally{Mi(o)}}function su(n,t,e){if(Yl(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,o)}}(n,t,i,Qo(n,e,r.hostVars,W),r)}function sk(n,t,e){const i=It(t,n),r=Lg(e),o=n[10],s=ja(n,Ba(n,r,null,e.onPush?32:16,i,t,o,o.createRenderer(i,e),null,null,null));n[t.index]=s}function Cn(n,t,e,i,r,o){const s=It(n,t);!function hu(n,t,e,i,r,o,s){if(null==o)n.removeAttribute(t,r,e);else{const a=null==s?G(o):s(o,i||"",r);n.setAttribute(t,r,a,e)}}(t[X],s,o,n.value,e,i,r)}function ak(n,t,e,i,r,o){const s=o[t];if(null!==s){const a=i.setInput;for(let c=0;c0&&fu(e)}}function fu(n){for(let i=kd(n);null!==i;i=Td(i))for(let r=10;r0&&fu(o)}const e=n[1].components;if(null!==e)for(let i=0;i0&&fu(r)}}function hk(n,t){const e=At(t,n),i=e[1];(function fk(n,t){for(let e=t.length;e-1&&(Fd(t,i),Ea(e,i))}this._attachedToViewContainer=!1}Op(this._lView[1],this._lView)}onDestroy(t){Vg(this._lView[1],this._lView,null,t)}markForCheck(){mu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){za(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ZE(n,t){qo(n,t,t[X],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t}}class mk extends Jo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;za(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Kg extends Xo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=we(t);return new es(e,this.ngModule)}}function Xg(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class gk{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=sa(i);const r=this.injector.get(t,Zd,i);return r!==Zd||e===Zd?r:this.parentInjector.get(t,e,i)}}class es extends pg{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function xM(n){return n.map(wM).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Xg(this.componentDef.inputs)}get outputs(){return Xg(this.componentDef.outputs)}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof kr?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new gk(t,o):t,a=s.get(Zo,null);if(null===a)throw new x(407,!1);const c=s.get(tM,null),l=a.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",u=i?function WM(n,t,e){return n.selectRootElement(t,e===tn.ShadowDom)}(l,i,this.componentDef.encapsulation):Ad(l,d,function pk(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(d)),h=this.componentDef.onPush?288:272,f=lu(0,null,null,1,0,null,null,null,null,null),m=Ba(null,f,null,h,null,null,a,l,c,s,null);let g,_;rd(m);try{const v=this.componentDef;let k,b=null;v.findHostDirectiveDefs?(k=[],b=new Map,v.findHostDirectiveDefs(v,k,b),k.push(v)):k=[v];const A=function bk(n,t){const e=n[1];return n[22]=t,Pr(e,22,2,"#host",null)}(m,u),le=function yk(n,t,e,i,r,o,s,a){const c=r[1];!function vk(n,t,e,i){for(const r of n)t.mergedAttrs=Vo(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Ua(t,t.mergedAttrs,!0),null!==e&&Gp(i,e,t))}(i,n,t,s);const l=o.createRenderer(t,e),d=Ba(r,Lg(e),null,e.onPush?32:16,r[n.index],n,o,l,a||null,null,null);return c.firstCreatePass&&uu(c,n,i.length-1),ja(r,d),r[n.index]=d}(A,u,v,k,m,a,l);_=Im(f,22),u&&function xk(n,t,e,i){if(i)ld(n,e,["ng-version",nM.full]);else{const{attrs:r,classes:o}=function CM(n){const t=[],e=[];let i=1,r=2;for(;i0&&$p(n,e,o.join(" "))}}(l,v,u,i),void 0!==e&&function Ck(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Vo(r.hostAttrs,e=Vo(e,r.hostAttrs))}}(i)}function _u(n){return n===Bn?{}:n===ge?[]:n}function Sk(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function Mk(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function kk(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let Ga=null;function Li(){if(!Ga){const n=Te.Symbol;if(n&&n.iterator)Ga=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;es(tt(A[i.index])):i.index;let b=null;if(!s&&a&&(b=function zk(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;oc?a[c]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=o,b.__ngLastListenerFn__=o,h=!1;else{o=p_(i,t,d,o,!1);const A=e.listen(_,r,o);u.push(o,A),l&&l.push(r,k,v,v+1)}}else o=p_(i,t,d,o,!1);const f=i.outputs;let m;if(h&&null!==f&&(m=f[r])){const g=m.length;if(g)for(let _=0;_-1?At(n.index,t):t);let c=m_(t,0,i,s),l=o.__ngNextListenerFn__;for(;l;)c=m_(t,0,l,s)&&c,l=l.__ngNextListenerFn__;return r&&!1===c&&(s.preventDefault(),s.returnValue=!1),c}}function De(n=1){return function $D(n){return($.lFrame.contextLView=function GD(n,t){for(;n>0;)t=t[15],n--;return t}(n,$.lFrame.contextLView))[8]}(n)}function Uk(n,t){let e=null;const i=function _M(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function Cu(n){return 2|n}function Bi(n){return(131068&n)>>2}function Du(n,t){return-131069&n|t<<2}function Eu(n){return 1|n}function E_(n,t,e,i,r){const o=n[e+1],s=null===t;let a=i?hi(o):Bi(o),c=!1;for(;0!==a&&(!1===c||s);){const d=n[a+1];Kk(n[a],t)&&(c=!0,n[a+1]=i?Eu(d):Cu(d)),a=i?hi(d):Bi(d)}c&&(n[e+1]=i?Cu(o):Eu(o))}function Kk(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&Er(n,t)>=0}const Xe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function S_(n){return n.substring(Xe.key,Xe.keyEnd)}function M_(n,t){const e=Xe.textEnd;return e===t?-1:(t=Xe.keyEnd=function Jk(n,t,e){for(;t32;)t++;return t}(n,Xe.key=t,e),Gr(n,t,e))}function Gr(n,t,e){for(;t=0;e=M_(t,e))Ot(n,S_(t),!0)}function ln(n,t,e,i){const r=w(),o=ae(),s=zn(2);o.firstUpdatePass&&O_(o,n,s,i),t!==W&<(r,s,t)&&P_(o,o.data[gt()],r,r[X],n,r[s+1]=function dT(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Se(Rt(n)))),n}(t,e),i,s)}function F_(n,t){return t>=n.expandoStartIndex}function O_(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[gt()],s=F_(n,e);L_(o,i)&&null===t&&!s&&(t=!1),t=function rT(n,t,e,i){const r=function nd(n){const t=$.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=os(e=Su(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=Su(r,n,t,e,i),null===o){let c=function oT(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Bi(i))return n[hi(i)]}(n,t,i);void 0!==c&&Array.isArray(c)&&(c=Su(null,n,t,c[1],i),c=os(c,t.attrs,i),function sT(n,t,e,i){n[hi(e?t.classBindings:t.styleBindings)]=i}(n,t,i,c))}else o=function aT(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(l=!0)}else d=e;if(r)if(0!==c){const h=hi(n[a+1]);n[i+1]=Ya(h,a),0!==h&&(n[h+1]=Du(n[h+1],i)),n[a+1]=function Gk(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=Ya(a,0),0!==a&&(n[a+1]=Du(n[a+1],i)),a=i;else n[i+1]=Ya(c,0),0===a?a=i:n[c+1]=Du(n[c+1],i),c=i;l&&(n[i+1]=Cu(n[i+1])),E_(n,d,i,!0),E_(n,d,i,!1),function Yk(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&Er(o,t)>=0&&(e[i+1]=Eu(e[i+1]))}(t,d,n,i,o),s=Ya(a,c),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}function Su(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const c=n[r],l=Array.isArray(c),d=l?c[1]:c,u=null===d;let h=e[r+1];h===W&&(h=u?ge:void 0);let f=u?_d(h,i):d===i?h:void 0;if(l&&!Ka(f)&&(f=_d(c,i)),Ka(f)&&(a=f,s))return a;const m=n[r+1];r=s?hi(m):Bi(m)}if(null!==t){let c=o?t.residualClasses:t.residualStyles;null!=c&&(a=_d(c,i))}return a}function Ka(n){return void 0!==n}function L_(n,t){return 0!=(n.flags&(t?8:16))}function V(n,t=""){const e=w(),i=ae(),r=n+22,o=i.firstCreatePass?Pr(i,r,1,t,null):i.data[r],s=e[r]=function Id(n,t){return n.createText(t)}(e[X],t);Ia(i,e,s,o),vn(o,!1)}function Yn(n){return $e("",n,""),Yn}function $e(n,t,e){const i=w(),r=Lr(i,n,t,e);return r!==W&&function Wn(n,t,e){const i=pa(t,n);!function Ap(n,t,e){n.setValue(t,e)}(n[X],i,e)}(i,gt(),r),$e}function W_(n,t,e){!function dn(n,t,e,i){const r=ae(),o=zn(2);r.firstUpdatePass&&O_(r,null,o,i);const s=w();if(e!==W&<(s,o,e)){const a=r.data[gt()];if(L_(a,i)&&!F_(r,o)){let c=i?a.classesWithoutHost:a.stylesWithoutHost;null!==c&&(e=Vl(c,e||"")),yu(r,a,s,e,i)}else!function lT(n,t,e,i,r,o,s,a){r===W&&(r=ge);let c=0,l=0,d=0>20;if(Pi(n)||!n.multi){const f=new Lo(c,r,p),m=Au(a,t,r?d:d+h,u);-1===m?(fd(Ca(l,s),o,a),Iu(o,n,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),e.push(f),s.push(f)):(e[m]=f,s[m]=f)}else{const f=Au(a,t,d+h,u),m=Au(a,t,d,d+h),g=f>=0&&e[f],_=m>=0&&e[m];if(r&&!_||!r&&!g){fd(Ca(l,s),o,a);const v=function MI(n,t,e,i,r){const o=new Lo(n,e,p);return o.multi=[],o.index=t,o.componentProviders=0,Ib(o,r,i&&!e),o}(r?SI:EI,e.length,r,i,c);!r&&_&&(e[m].providerFactory=v),Iu(o,n,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),e.push(v),s.push(v)}else Iu(o,n,f>-1?f:m,Ib(e[r?m:f],c,!r&&i));!r&&i&&_&&e[m].componentProviders++}}}function Iu(n,t,e,i){const r=Pi(t),o=function zS(n){return!!n.useClass}(t);if(r||o){const c=(o?L(t.useClass):t).prototype.ngOnDestroy;if(c){const l=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const d=l.indexOf(e);-1===d?l.push(e,[i,c]):l[d+1].push(i,c)}else l.push(e,c)}}}function Ib(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Au(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function DI(n,t,e){const i=ae();if(i.firstCreatePass){const r=on(n);Tu(e,i.data,i.blueprint,r,!0),Tu(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class Kr{}class kI{}class Ab extends Kr{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Kg(this);const i=function kt(n,t){const e=n[bm]||null;if(!e&&!0===t)throw new Error(`Type ${Se(n)} does not have '\u0275mod' property.`);return e}(t);this._bootstrapComponents=function Gn(n){return n instanceof Function?n():n}(i.bootstrap),this._r3Injector=kg(t,e,[{provide:Kr,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],Se(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ou extends kI{constructor(t){super(),this.moduleType=t}create(t){return new Ab(this.moduleType,t)}}function Bb(n,t,e,i,r){return function jb(n,t,e,i,r,o,s){const a=t+e;return function Vi(n,t,e,i){const r=lt(n,t,e);return lt(n,t+1,i)||r}(n,a,r,o)?Dn(n,a+2,s?i.call(s,r,o):i(r,o)):us(n,a+2)}(w(),pt(),n,t,e,i,r)}function us(n,t){const e=n[t];return e===W?void 0:e}function Mn(n,t){const e=ae();let i;const r=n+22;e.firstCreatePass?(i=function XI(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Si(i.type)),s=Gt(p);try{const a=xa(!1),c=o();return xa(a),function Bk(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,w(),r,c),c}finally{Gt(s)}}function kn(n,t,e){const i=n+22,r=w(),o=mr(r,i);return function hs(n,t){return n[1].data[t].pure}(r,i)?function Hb(n,t,e,i,r,o){const s=t+e;return lt(n,s,r)?Dn(n,s+1,o?i.call(o,r):i(r)):us(n,s+1)}(r,pt(),t,o.transform,e,o):o.transform(e)}function Pu(n){return t=>{setTimeout(n,void 0,t)}}const ce=class tA extends ne{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){const c=t;r=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=Pu(o),r&&(r=Pu(r)),s&&(s=Pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof ue&&t.add(a),a}};function nA(){return this._results[Li()]()}class fs{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Li(),i=fs.prototype;i[e]||(i[e]=nA)}get changes(){return this._changes||(this._changes=new ce)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=Ft(t);(this._changesDetected=!function dE(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=oA,n})();const iA=Tn,rA=class extends iA{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=Ba(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),ou(i,r,t),new Jo(r)}};function oA(){return ec(nt(),w())}function ec(n,t){return 4&n.type?new rA(t,n,Ir(n,t)):null}let Yt=(()=>{class n{}return n.__NG_ELEMENT_ID__=sA,n})();function sA(){return qb(nt(),w())}const aA=Yt,Gb=class extends aA{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new vr(this._hostTNode,this._hostLView)}get parentInjector(){const t=hd(this._hostTNode,this._hostLView);if(Ym(t)){const e=wa(t,this._hostLView),i=va(t);return new vr(e[1].data[i+8],e)}return new vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Wb(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function Ho(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const u=e||{};a=u.index,i=u.injector,r=u.projectableNodes,o=u.environmentInjector||u.ngModuleRef}const c=s?t:new es(we(t)),l=i||this.parentInjector;if(!o&&null==c.ngModule){const h=(s?l:this.parentInjector).get(kr,null);h&&(o=h)}const d=c.create(l,r,void 0,o);return this.insert(d.hostView,a),d}insert(t,e){const i=t._lView,r=i[1];if(function OD(n){return rn(n[3])}(i)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const u=i[3],h=new Gb(u,u[6],u[3]);h.detach(h.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function JE(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i0)i.push(s[a/2]);else{const l=o[a+1],d=t[-c];for(let u=10;u{class n{constructor(e){this.appInits=e,this.resolve=nc,this.reject=nc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:c})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(y(_y,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Qr=new M("AppId",{providedIn:"root",factory:function by(){return`${Wu()}${Wu()}${Wu()}`}});function Wu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yy=new M("Platform Initializer"),qu=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),PA=new M("appBootstrapListener"),Lt=new M("AnimationModuleType"),In=new M("LocaleId",{providedIn:"root",factory:()=>Vn(In,U.Optional|U.SkipSelf)||function NA(){return typeof $localize<"u"&&$localize.locale||Yr}()}),jA=(()=>Promise.resolve(0))();function Yu(n){typeof Zone>"u"?jA.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class J{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function zA(){let n=Te.requestAnimationFrame,t=Te.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GA(n){const t=()=>{!function $A(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Te,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Xu(n),n.isCheckStableRunning=!0,Ku(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Xu(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return xy(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),Cy(n)}},onInvoke:(e,i,r,o,s,a,c)=>{try{return xy(n),e.invoke(r,o,s,a,c)}finally{n.shouldCoalesceRunChangeDetection&&t(),Cy(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,Xu(n),Ku(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!J.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(J.isInAngularZone())throw new x(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,UA,nc,nc);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const UA={};function Ku(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Xu(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function xy(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Cy(n){n._nesting--,Ku(n)}class WA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const Dy=new M(""),rc=new M("");let Ju,Zu=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ju||(function qA(n){Ju=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{J.assertNotInAngularZone(),Yu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Yu(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(y(J),y(Qu),y(rc))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})(),Qu=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Ju?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),fi=null;const Ey=new M("AllowMultipleToken"),eh=new M("PlatformDestroyListeners");function My(n,t,e=[]){const i=`Platform: ${t}`,r=new M(i);return(o=[])=>{let s=th();if(!s||s.injector.get(Ey,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function XA(n){if(fi&&!fi.get(Ey,!1))throw new x(400,!1);fi=n;const t=n.get(Ty);(function Sy(n){const t=n.get(yy,null);t&&t.forEach(e=>e())})(n)}(function ky(n=[],t){return cn.create({name:t,providers:[{provide:qd,useValue:"platform"},{provide:eh,useValue:new Set([()=>fi=null])},...n]})}(a,i))}return function QA(n){const t=th();if(!t)throw new x(401,!1);return t}()}}function th(){return fi?.get(Ty)??null}let Ty=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function Ay(n,t){let e;return e="noop"===n?new WA:("zone.js"===n?void 0:n)||new J(t),e}(i?.ngZone,function Iy(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:J,useValue:r}];return r.run(()=>{const s=cn.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),c=a.injector.get($n,null);if(!c)throw new x(402,!1);return r.runOutsideAngular(()=>{const l=r.onError.subscribe({next:d=>{c.handleError(d)}});a.onDestroy(()=>{oc(this._modules,a),l.unsubscribe()})}),function Fy(n,t,e){try{const i=e();return qa(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(c,r,()=>{const l=a.injector.get(ic);return l.runInitializers(),l.donePromise.then(()=>(function sb(n){$t(n,"Expected localeId to be defined"),"string"==typeof n&&(ob=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(In,Yr)||Yr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=Oy({},i);return function YA(n,t,e){const i=new Ou(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(gs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new x(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new x(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(eh,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(y(cn))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function Oy(n,t){return Array.isArray(t)?t.reduce(Oy,n):{...n,...t}}let gs=(()=>{class n{constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ke(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ke(a=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{J.assertNotInAngularZone(),Yu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{c.unsubscribe(),l.unsubscribe()}});this.isStable=cr(o,s.pipe(um()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof pg;if(!this._injector.get(ic).done)throw!r&&function Ao(n){const t=we(n)||ot(n)||ft(n);return null!==t&&t.standalone}(e),new x(405,false);let s;s=r?e:this._injector.get(Xo).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function KA(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Kr),l=s.create(cn.NULL,[],i||s.selector,a),d=l.location.nativeElement,u=l.injector.get(Dy,null);return u?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),oc(this.components,l),u?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new x(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;oc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(PA,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>oc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new x(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(y(J),y(kr),y($n))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function oc(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let An=(()=>{class n{}return n.__NG_ELEMENT_ID__=e1,n})();function e1(n){return function t1(n,t,e){if(fa(n)&&!e){const i=At(n.index,t);return new Jo(i,i)}return 47&n.type?new Jo(t[16],t):null}(nt(),w(),16==(16&n))}class Vy{constructor(){}supports(t){return ts(t)}create(t){return new c1(t)}}const a1=(n,t)=>t;class c1{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||a1}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new l1(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new By),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new By),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class l1{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class d1{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class By{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new d1,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Hy(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new h1(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class h1{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function zy(){return new cc([new Vy])}let cc=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||zy()),deps:[[n,new zo,new Ai]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new x(901,!1)}}return n.\u0275prov=R({token:n,providedIn:"root",factory:zy}),n})();function Uy(){return new _s([new jy])}let _s=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||Uy()),deps:[[n,new zo,new Ai]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new x(901,!1)}}return n.\u0275prov=R({token:n,providedIn:"root",factory:Uy}),n})();const p1=My(null,"core",[]);let g1=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(y(gs))},n.\u0275mod=re({type:n}),n.\u0275inj=ie({}),n})();let lc=null;function Fn(){return lc}class y1{}const ee=new M("DocumentToken");let $y=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:function(){return function v1(){return y(Gy)}()},providedIn:"platform"}),n})(),Gy=(()=>{class n extends $y{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fn().getBaseHref(this._doc)}onPopState(e){const i=Fn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Fn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,r){Wy()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){Wy()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(y(ee))},n.\u0275prov=R({token:n,factory:function(){return function w1(){return new Gy(y(ee))}()},providedIn:"platform"}),n})();function Wy(){return!!window.history.pushState}function qy(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function Yy(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Ui(n){return n&&"?"!==n[0]?"?"+n:n}let ah=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:function(){return Vn(C1)},providedIn:"root"}),n})();const x1=new M("appBaseHref");let C1=(()=>{class n extends ah{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Vn(ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return qy(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Ui(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Ui(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Ui(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(y($y),y(x1,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ky=(()=>{class n{constructor(e){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=Yy(Xy(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Ui(i))}normalize(e){return n.stripTrailingSlash(function E1(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,Xy(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ui(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ui(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Ui,n.joinWithSlash=qy,n.stripTrailingSlash=Yy,n.\u0275fac=function(e){return new(e||n)(y(ah))},n.\u0275prov=R({token:n,factory:function(){return function D1(){return new Ky(y(ah))}()},providedIn:"root"}),n})();function Xy(n){return n.replace(/\/index.html$/,"")}let yc=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(ts(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Se(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(p(cc),p(_s),p(oe),p(Ni))},n.\u0275dir=F({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class dF{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Zn=(()=>{class n{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new dF(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),av(a,r)}});for(let r=0,o=i.length;r{av(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(p(Yt),p(Tn),p(cc))},n.\u0275dir=F({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function av(n,t){n.context.$implicit=t.item}let Jr=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new hF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){cv("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){cv("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(p(Yt),p(Tn))},n.\u0275dir=F({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class hF{constructor(){this.$implicit=null,this.ngIf=null}}function cv(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Se(t)}'.`)}class _h{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let vs=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new _h(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(p(Yt),p(Tn),p(vs,9))},n.\u0275dir=F({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),lv=(()=>{class n{constructor(e,i,r){r._addDefault(new _h(e,i))}}return n.\u0275fac=function(e){return new(e||n)(p(Yt),p(Tn),p(vs,9))},n.\u0275dir=F({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),yh=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(p(Yt))},n.\u0275dir=F({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]}),n})();class pF{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class gF{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const _F=new gF,bF=new pF;let On=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(qa(e))return _F;if(d_(e))return bF;throw function fn(n,t){return new x(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(p(An,16))},n.\u0275pipe=vt({name:"async",type:n,pure:!1,standalone:!0}),n})(),Qn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({}),n})();const hv="browser";class pO extends y1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Dh extends pO{static makeCurrent(){!function b1(n){lc||(lc=n)}(new Dh)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function gO(){return xs=xs||document.querySelector("base"),xs?xs.getAttribute("href"):null}();return null==e?null:function _O(n){wc=wc||document.createElement("a"),wc.setAttribute("href",n);const t=wc.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){xs=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function cF(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let wc,xs=null;const yv=new M("TRANSITION_ID"),yO=[{provide:_y,useFactory:function bO(n,t,e){return()=>{e.get(ic).donePromise.then(()=>{const i=Fn(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();const xc=new M("EventManagerPlugins");let Cc=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})(),Cs=(()=>{class n extends wv{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(xv),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(xv))}}return n.\u0275fac=function(e){return new(e||n)(y(ee))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();function xv(n){Fn().remove(n)}const Eh={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/"},Sh=/%COMP%/g;function Dc(n,t,e){for(let i=0;i{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ec=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Mh(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case tn.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new MO(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case tn.ShadowDom:return new kO(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=Dc(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(y(Cc),y(Cs),y(Qr))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();class Mh{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(Eh[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(Mv(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(Mv(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=Eh[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=Eh[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(wt.DashCase|wt.Important)?t.style.setProperty(e,i,r&wt.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&wt.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Ev(i)):this.eventManager.addEventListener(t,e,Ev(i))}}function Mv(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class MO extends Mh{constructor(t,e,i,r){super(t),this.component=i;const o=Dc(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function DO(n){return"_ngcontent-%COMP%".replace(Sh,n)}(r+"-"+i.id),this.hostAttr=function EO(n){return"_nghost-%COMP%".replace(Sh,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class kO extends Mh{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Dc(r.id,r.styles,[]);for(let s=0;s{class n extends vv{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(y(ee))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();const kv=["alt","control","meta","shift"],IO={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},AO={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let FO=(()=>{class n extends vv{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fn().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),kv.forEach(l=>{const d=i.indexOf(l);d>-1&&(i.splice(d,1),s+=l+".")}),s+=o,0!=i.length||0===o.length)return null;const c={};return c.domEventName=r,c.fullKey=s,c}static matchEventFullKeyCode(e,i){let r=IO[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),kv.forEach(s=>{s!==r&&(0,AO[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(y(ee))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();const Iv=[{provide:qu,useValue:hv},{provide:yy,useValue:function OO(){Dh.makeCurrent()},multi:!0},{provide:ee,useFactory:function PO(){return function hS(n){Bd=n}(document),document},deps:[]}],NO=My(p1,"browser",Iv),Av=new M(""),Fv=[{provide:rc,useClass:class vO{addToWindow(t){Te.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},Te.getAllAngularTestabilities=()=>t.getAllTestabilities(),Te.getAllAngularRootElements=()=>t.getAllRootElements(),Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(i=>{const r=Te.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(c){s=s||c,o--,0==o&&i(s)};r.forEach(function(c){c.whenStable(a)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Fn().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:Dy,useClass:Zu,deps:[J,Qu,rc]},{provide:Zu,useClass:Zu,deps:[J,Qu,rc]}],Ov=[{provide:qd,useValue:"root"},{provide:$n,useFactory:function RO(){return new $n},deps:[]},{provide:xc,useClass:TO,multi:!0,deps:[ee,J,qu]},{provide:xc,useClass:FO,multi:!0,deps:[ee]},{provide:Ec,useClass:Ec,deps:[Cc,Cs,Qr]},{provide:Zo,useExisting:Ec},{provide:wv,useExisting:Cs},{provide:Cs,useClass:Cs,deps:[ee]},{provide:Cc,useClass:Cc,deps:[xc,J]},{provide:class zF{},useClass:wO,deps:[]},[]];let Rv=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Qr,useValue:e.appId},{provide:yv,useExisting:Qr},yO]}}}return n.\u0275fac=function(e){return new(e||n)(y(Av,12))},n.\u0275mod=re({type:n}),n.\u0275inj=ie({providers:[...Ov,...Fv],imports:[Qn,g1]}),n})();typeof window<"u"&&window;let Ih=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:function(e){let i=null;return i=e?new(e||n):y(Lv),i},providedIn:"root"}),n})(),Lv=(()=>{class n extends Ih{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case _e.NONE:return i;case _e.HTML:return xn(i,"HTML")?Rt(i):ng(this._doc,String(i)).toString();case _e.STYLE:return xn(i,"Style")?Rt(i):i;case _e.SCRIPT:if(xn(i,"Script"))return Rt(i);throw new Error("unsafe value used in a script context");case _e.URL:return xn(i,"URL")?Rt(i):Ra(String(i));case _e.RESOURCE_URL:if(xn(i,"ResourceURL"))return Rt(i);throw new Error(`unsafe value used in a resource URL context (see ${ea})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${ea})`)}}bypassSecurityTrustHtml(e){return function yS(n){return new fS(n)}(e)}bypassSecurityTrustStyle(e){return function vS(n){return new mS(n)}(e)}bypassSecurityTrustScript(e){return function wS(n){return new pS(n)}(e)}bypassSecurityTrustUrl(e){return function xS(n){return new gS(n)}(e)}bypassSecurityTrustResourceUrl(e){return function CS(n){return new _S(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(y(ee))},n.\u0275prov=R({token:n,factory:function(e){let i=null;return i=e?new e:function GO(n){return new Lv(n.get(ee))}(y(cn)),i},providedIn:"root"}),n})();class Vv{}class WO{}const Jn="*";function Sc(n,t){return{type:7,name:n,definitions:t,options:{}}}function Ds(n,t=null){return{type:4,styles:t,timings:n}}function Bv(n,t=null){return{type:2,steps:n,options:t}}function ei(n){return{type:6,styles:n,offset:null}}function Mc(n,t,e){return{type:0,name:n,styles:t,options:e}}function eo(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function qO(n=null){return{type:9,options:n}}function YO(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function Hv(n){Promise.resolve().then(n)}class Es{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Hv(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class jv{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?Hv(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function zv(n){return new x(3e3,!1)}function TR(){return typeof window<"u"&&typeof window.document<"u"}function Fh(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function pi(n){switch(n.length){case 0:return new Es;case 1:return n[0];default:return new jv(n)}}function Uv(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let c=-1,l=null;if(i.forEach(d=>{const u=d.get("offset"),h=u==c,f=h&&l||new Map;d.forEach((m,g)=>{let _=g,v=m;if("offset"!==g)switch(_=t.normalizePropertyName(_,s),v){case"!":v=r.get(g);break;case Jn:v=o.get(g);break;default:v=t.normalizeStyleValue(g,_,v,s)}f.set(_,v)}),h||a.push(f),l=f,c=u}),s.length)throw function _R(n){return new x(3502,!1)}();return a}function Oh(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Rh(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Rh(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Rh(e,"destroy",n)))}}function Rh(n,t,e){const o=Ph(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function Ph(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Vt(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function $v(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let Nh=(n,t)=>!1,Gv=(n,t,e)=>[],Wv=null;function Lh(n){const t=n.parentNode||n.host;return t===Wv?null:t}(Fh()||typeof Element<"u")&&(TR()?(Wv=(()=>document.documentElement)(),Nh=(n,t)=>{for(;t;){if(t===n)return!0;t=Lh(t)}return!1}):Nh=(n,t)=>n.contains(t),Gv=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let $i=null,qv=!1;const Yv=Nh,Kv=Gv;let Xv=(()=>{class n{validateStyleProperty(e){return function AR(n){$i||($i=function FR(){return typeof document<"u"?document.body:null}()||{},qv=!!$i.style&&"WebkitAppearance"in $i.style);let t=!0;return $i.style&&!function IR(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in $i.style,!t&&qv&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in $i.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return Yv(e,i)}getParentElement(e){return Lh(e)}query(e,i,r){return Kv(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],c){return new Es(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})(),Vh=(()=>{class n{}return n.NOOP=new Xv,n})();const Bh="ng-enter",kc="ng-leave",Tc="ng-trigger",Ic=".ng-trigger",Qv="ng-animating",Hh=".ng-animating";function ti(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:jh(parseFloat(t[1]),t[2])}function jh(n,t){return"s"===t?1e3*n:n}function Ac(n,t,e){return n.hasOwnProperty("duration")?n:function PR(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(zv()),{duration:0,delay:0,easing:""};r=jh(parseFloat(a[1]),a[2]);const c=a[3];null!=c&&(o=jh(parseFloat(c),a[4]));const l=a[5];l&&(s=l)}else r=n;if(!e){let a=!1,c=t.length;r<0&&(t.push(function KO(){return new x(3100,!1)}()),a=!0),o<0&&(t.push(function XO(){return new x(3101,!1)}()),a=!0),a&&t.splice(c,0,zv())}return{duration:r,delay:o,easing:s}}(n,t,e)}function Ss(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function Jv(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function gi(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function t0(n,t,e){return e?t+":"+e+";":""}function n0(n){let t="";for(let e=0;e{const o=Uh(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),Fh()&&n0(n))}function Gi(n,t){n.style&&(t.forEach((e,i)=>{const r=Uh(i);n.style[r]=""}),Fh()&&n0(n))}function Ms(n){return Array.isArray(n)?1==n.length?n[0]:Bv(n):n}const zh=new RegExp("{{\\s*(.+?)\\s*}}","g");function r0(n){let t=[];if("string"==typeof n){let e;for(;e=zh.exec(n);)t.push(e[1]);zh.lastIndex=0}return t}function ks(n,t,e){const i=n.toString(),r=i.replace(zh,(o,s)=>{let a=t[s];return null==a&&(e.push(function QO(n){return new x(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function Fc(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const VR=/-+([a-z0-9])/g;function Uh(n){return n.replace(VR,(...t)=>t[1].toUpperCase())}function BR(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Bt(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function JO(n){return new x(3004,!1)}()}}function o0(n,t){return window.getComputedStyle(n)[t]}function GR(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function WR(n,t,e){if(":"==n[0]){const c=function qR(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof c)return void t.push(c);n=c}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function hR(n){return new x(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(s0(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(s0(s,r))}(i,e,t)):e.push(n),e}const Nc=new Set(["true","1"]),Lc=new Set(["false","0"]);function s0(n,t){const e=Nc.has(n)||Lc.has(n),i=Nc.has(t)||Lc.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?Nc.has(n):Lc.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?Nc.has(t):Lc.has(t)),s&&a}}const YR=new RegExp("s*:selfs*,?","g");function $h(n,t,e,i){return new KR(n).build(t,e,i)}class KR{constructor(t){this._driver=t}build(t,e,i){const r=new QR(e);return this._resetContextStyleTimingState(r),Bt(this,Ms(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function tR(){return new x(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(d=>{c.name=d,o.push(this.visitState(c,e))}),c.name=l}else if(1==a.type){const c=this.visitTransition(a,e);i+=c.queryCount,r+=c.depCount,s.push(c)}else e.errors.push(function nR(){return new x(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{r0(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size&&(Fc(o.values()),e.errors.push(function iR(n,t){return new x(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Bt(this,Ms(t.animation),e);return{type:1,matchers:GR(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Wi(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Bt(this,i,e)),options:Wi(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Bt(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:Wi(t.options)}}visitAnimate(t,e){const i=function eP(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Gh(Ac(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Gh(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=Ac(e,t);return Gh(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:ei({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const l={};i.easing&&(l.easing=i.easing),s=ei(l)}e.currentTime+=i.duration+i.delay;const c=this.visitStyle(s,e);c.isEmptyStep=a,r=c}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===Jn?i.push(a):e.errors.push(new x(3002,!1)):i.push(Jv(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let c of a.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,c)=>{const l=e.collectedStyles.get(e.currentQuerySelector),d=l.get(c);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(function oR(n,t,e,i,r){return new x(3010,!1)}()),u=!1),o=d.startTime),u&&l.set(c,{startTime:o,endTime:r}),e.options&&function LR(n,t,e){const i=t.params||{},r=r0(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function ZO(n){return new x(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function sR(){return new x(3011,!1)}()),i;let o=0;const s=[];let a=!1,c=!1,l=0;const d=t.steps.map(v=>{const k=this._makeStyleAst(v,e);let b=null!=k.offset?k.offset:function JR(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(k.styles),A=0;return null!=b&&(o++,A=k.offset=b),c=c||A<0||A>1,a=a||A0&&o{const b=h>0?k==f?1:h*k:s[k],A=b*_;e.currentTime=m+g.delay+A,g.duration=A,this._validateStyleAst(v,e),v.offset=b,i.styles.push(v)}),i}visitReference(t,e){return{type:8,animation:Bt(this,Ms(t.animation),e),options:Wi(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Wi(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Wi(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function XR(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(YR,"")),n=n.replace(/@\*/g,Ic).replace(/@\w+/g,e=>Ic+"-"+e.slice(1)).replace(/:animating/g,Hh),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Vt(e.collectedStyles,e.currentQuerySelector,new Map);const a=Bt(this,Ms(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Wi(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function dR(){return new x(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:Ac(t.timings,e.errors,!0);return{type:12,animation:Bt(this,Ms(t.animation),e),timings:i,options:null}}}class QR{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Wi(n){return n?(n=Ss(n)).params&&(n.params=function ZR(n){return n?Ss(n):null}(n.params)):n={},n}function Gh(n,t,e){return{duration:n,delay:t,easing:e}}function Wh(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Vc{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const iP=new RegExp(":enter","g"),oP=new RegExp(":leave","g");function qh(n,t,e,i,r,o=new Map,s=new Map,a,c,l=[]){return(new sP).buildKeyframes(n,t,e,i,r,o,s,a,c,l)}class sP{buildKeyframes(t,e,i,r,o,s,a,c,l,d=[]){l=l||new Vc;const u=new Yh(t,e,l,r,o,d,[]);u.options=c;const h=c.delay?ti(c.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,c),Bt(this,i,u);const f=u.timelines.filter(m=>m.containsAnimation());if(f.length&&a.size){let m;for(let g=f.length-1;g>=0;g--){const _=f[g];if(_.element===e){m=_;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,c)}return f.length?f.map(m=>m.buildKeyframes()):[Wh(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const s="number"==typeof o?o:ti(ks(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?ti(i.duration):null,a=null!=i.delay?ti(i.delay):null;return 0!==s&&t.forEach(c=>{const l=e.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Bt(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Bc);const s=ti(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Bt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?ti(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Bt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return Ac(e.params?ks(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(c=>{a.forwardTime((c.offset||0)*o),a.setStyles(c.styles,c.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?ti(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Bc);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let c=null;a.forEach((l,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(t.options,l);o&&u.delayNextStep(o),l===e.element&&(c=u.currentTimeline),Bt(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),c&&(e.currentTimeline.mergeTimelineCollectedStyles(c),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let c=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=i.currentStaggerTime}const d=e.currentTimeline;c&&d.delayNextStep(c);const u=d.currentTime;Bt(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const Bc={};class Yh{constructor(t,e,i,r,o,s,a,c){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Hc(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=ti(i.duration)),null!=i.delay&&(r.delay=ti(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=ks(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new Yh(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Bc,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new aP(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(iP,"."+this._enterClassName)).replace(oP,"."+this._leaveClassName);let l=this._driver.query(this.element,t,1!=i);0!==i&&(l=i<0?l.slice(l.length+i,l.length):l.slice(0,i)),a.push(...l)}return!o&&0==a.length&&s.push(function uR(n){return new x(3014,!1)}()),a}}class Hc{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Hc(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Jn),this._currentKeyframe.set(e,Jn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function cP(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,Jn)}else gi(r,e)}),e}(t,this._globalTimelineStyles);for(let[a,c]of s){const l=ks(c,o,i);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Jn),this._updateStyle(a,l)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,c)=>{const l=gi(a,new Map,this._backFill);l.forEach((d,u)=>{"!"===d?t.add(u):d===Jn&&e.add(u)}),i||l.set("offset",c/this.duration),r.push(l)});const o=t.size?Fc(t.values()):[],s=e.size?Fc(e.values()):[];if(i){const a=r[0],c=new Map(a);a.set("offset",0),c.set("offset",1),r=[a,c]}return Wh(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class aP extends Hc{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,c=gi(t[0]);c.set("offset",0),o.push(c);const l=gi(t[0]);l.set("offset",l0(a)),o.push(l);const d=t.length-1;for(let u=1;u<=d;u++){let h=gi(t[u]);const f=h.get("offset");h.set("offset",l0((e+f*i)/s)),o.push(h)}i=s,e=0,r="",t=o}return Wh(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function l0(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class Kh{}const lP=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class dP extends Kh{normalizePropertyName(t,e){return Uh(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(lP.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function eR(n,t){return new x(3005,!1)}())}return s+o}}function d0(n,t,e,i,r,o,s,a,c,l,d,u,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:d,totalTime:u,errors:h}}const Xh={};class u0{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function uP(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,c,l,d){const u=[],h=this.ast.options&&this.ast.options.params||Xh,m=this.buildStyles(i,a&&a.params||Xh,u),g=c&&c.params||Xh,_=this.buildStyles(r,g,u),v=new Set,k=new Map,b=new Map,A="void"===r,le={params:hP(g,h),delay:this.ast.options?.delay},me=d?[]:qh(t,e,this.ast.animation,o,s,m,_,le,l,u);let ut=0;if(me.forEach(si=>{ut=Math.max(si.duration+si.delay,ut)}),u.length)return d0(e,this._triggerName,i,r,A,m,_,[],[],k,b,ut,u);me.forEach(si=>{const ai=si.element,CC=Vt(k,ai,new Set);si.preStyleProps.forEach(rr=>CC.add(rr));const Ks=Vt(b,ai,new Set);si.postStyleProps.forEach(rr=>Ks.add(rr)),ai!==e&&v.add(ai)});const oi=Fc(v.values());return d0(e,this._triggerName,i,r,A,m,_,me,oi,k,b,ut)}}function hP(n,t){const e=Ss(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class fP{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Ss(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=ks(s,r,e));const c=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,c,s,e),i.set(c,s)})}),i}}class pP{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new fP(r.style,r.options&&r.options.params||{},i))}),h0(this.states,"true","1"),h0(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new u0(t,r,this.states))}),this.fallbackTransition=function gP(n,t,e){return new u0(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function h0(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const _P=new Vc;class bP{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=$h(this._driver,e,i,[]);if(i.length)throw function bR(n){return new x(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=Uv(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=qh(this._driver,e,o,Bh,kc,new Map,new Map,i,_P,r),s.forEach(d=>{const u=Vt(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function yR(){return new x(3300,!1)}()),s=[]),r.length)throw function vR(n){return new x(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,Jn))})});const l=pi(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(t,l),l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function wR(n){return new x(3301,!1)}();return e}listen(t,e,i,r){const o=Ph(e,"","","");return Oh(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const f0="ng-animate-queued",Zh="ng-animate-disabled",CP=[],m0={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},DP={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zt="__ng_removed";class Qh{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function kP(n){return n??null}(i?t.value:t),i){const o=Ss(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Ts="void",Jh=new Qh(Ts);class EP{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Qt(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function xR(n,t){return new x(3302,!1)}();if(null==i||0==i.length)throw function CR(n){return new x(3303,!1)}();if(!function TP(n){return"start"==n||"done"==n}(i))throw function DR(n,t){return new x(3400,!1)}();const o=Vt(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=Vt(this._engine.statesByElement,t,new Map);return a.has(e)||(Qt(t,Tc),Qt(t,Tc+"-"+e),a.set(e,Jh)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function ER(n){return new x(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new ef(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(Qt(t,Tc),Qt(t,Tc+"-"+e),this._engine.statesByElement.set(t,a=new Map));let c=a.get(e);const l=new Qh(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(e,l),c||(c=Jh),l.value!==Ts&&c.value===l.value){if(!function FP(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{Gi(t,_),Rn(t,v)})}return}const h=Vt(this._engine.playersByElement,t,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==e&&g.queued&&g.destroy()});let f=o.matchTransition(c.value,l.value,t,l.params),m=!1;if(!f){if(!r)return;f=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:c,toState:l,player:s,isFallbackTransition:m}),m||(Qt(t,f0),s.onStart(()=>{to(t,f0)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const _=this._engine.playersByElement.get(t);if(_){let v=_.indexOf(s);v>=0&&_.splice(v,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,Ic,!0);i.forEach(r=>{if(r[Zt])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){const d=this.trigger(t,l,Ts,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&pi(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const c=this._triggers.get(s).fallbackTransition,l=i.get(s)||Jh,d=new Qh(Ts),u=new ef(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:c,fromState:l,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Zt];(!o||o===m0)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Qt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const c=Ph(o,i.triggerName,i.fromState.value,i.toState.value);c._data=t,Oh(i.player,a.phase,c,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class SP{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new EP(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const c=r.get(a);if(c){const l=i.indexOf(c);i.splice(l+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(jc(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!jc(e))return;const o=e[Zt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Qt(t,Zh)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),to(t,Zh))}removeNode(t,e,i,r){if(jc(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Zt]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return jc(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,Ic,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Hh,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return pi(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Zt];if(e&&e.setForRemoval){if(t[Zt]=m0,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Zh)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?pi(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function SR(n){return new x(3402,!1)}()}_flushAnimations(t,e){const i=new Vc,r=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,d=new Set;this.disabledNodes.forEach(O=>{d.add(O);const P=this.driver.query(O,".ng-animate-queued",!0);for(let j=0;j{const j=Bh+g++;m.set(P,j),O.forEach(de=>Qt(de,j))});const _=[],v=new Set,k=new Set;for(let O=0;Ov.add(de)):k.add(P))}const b=new Map,A=_0(h,Array.from(v));A.forEach((O,P)=>{const j=kc+g++;b.set(P,j),O.forEach(de=>Qt(de,j))}),t.push(()=>{f.forEach((O,P)=>{const j=m.get(P);O.forEach(de=>to(de,j))}),A.forEach((O,P)=>{const j=b.get(P);O.forEach(de=>to(de,j))}),_.forEach(O=>{this.processLeaveNode(O)})});const le=[],me=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(j=>{const de=j.player,et=j.element;if(le.push(de),this.collectedEnterElements.length){const ht=et[Zt];if(ht&&ht.setForMove){if(ht.previousTriggersValues&&ht.previousTriggersValues.has(j.triggerName)){const or=ht.previousTriggersValues.get(j.triggerName),Jt=this.statesByElement.get(j.element);if(Jt&&Jt.has(j.triggerName)){const Al=Jt.get(j.triggerName);Al.value=or,Jt.set(j.triggerName,Al)}}return void de.destroy()}}const Nn=!u||!this.driver.containsElement(u,et),zt=b.get(et),Ci=m.get(et),Be=this._buildInstruction(j,i,Ci,zt,Nn);if(Be.errors&&Be.errors.length)return void me.push(Be);if(Nn)return de.onStart(()=>Gi(et,Be.fromStyles)),de.onDestroy(()=>Rn(et,Be.toStyles)),void r.push(de);if(j.isFallbackTransition)return de.onStart(()=>Gi(et,Be.fromStyles)),de.onDestroy(()=>Rn(et,Be.toStyles)),void r.push(de);const SC=[];Be.timelines.forEach(ht=>{ht.stretchStartingKeyframe=!0,this.disabledNodes.has(ht.element)||SC.push(ht)}),Be.timelines=SC,i.append(et,Be.timelines),s.push({instruction:Be,player:de,element:et}),Be.queriedElements.forEach(ht=>Vt(a,ht,[]).push(de)),Be.preStyleProps.forEach((ht,or)=>{if(ht.size){let Jt=c.get(or);Jt||c.set(or,Jt=new Set),ht.forEach((Al,Zf)=>Jt.add(Zf))}}),Be.postStyleProps.forEach((ht,or)=>{let Jt=l.get(or);Jt||l.set(or,Jt=new Set),ht.forEach((Al,Zf)=>Jt.add(Zf))})});if(me.length){const O=[];me.forEach(P=>{O.push(function MR(n,t){return new x(3505,!1)}())}),le.forEach(P=>P.destroy()),this.reportError(O)}const ut=new Map,oi=new Map;s.forEach(O=>{const P=O.element;i.has(P)&&(oi.set(P,P),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,ut))}),r.forEach(O=>{const P=O.element;this._getPreviousPlayers(P,!1,O.namespaceId,O.triggerName,null).forEach(de=>{Vt(ut,P,[]).push(de),de.destroy()})});const si=_.filter(O=>y0(O,c,l)),ai=new Map;g0(ai,this.driver,k,l,Jn).forEach(O=>{y0(O,c,l)&&si.push(O)});const Ks=new Map;f.forEach((O,P)=>{g0(Ks,this.driver,new Set(O),c,"!")}),si.forEach(O=>{const P=ai.get(O),j=Ks.get(O);ai.set(O,new Map([...Array.from(P?.entries()??[]),...Array.from(j?.entries()??[])]))});const rr=[],DC=[],EC={};s.forEach(O=>{const{element:P,player:j,instruction:de}=O;if(i.has(P)){if(d.has(P))return j.onDestroy(()=>Rn(P,de.toStyles)),j.disabled=!0,j.overrideTotalTime(de.totalTime),void r.push(j);let et=EC;if(oi.size>1){let zt=P;const Ci=[];for(;zt=zt.parentNode;){const Be=oi.get(zt);if(Be){et=Be;break}Ci.push(zt)}Ci.forEach(Be=>oi.set(Be,et))}const Nn=this._buildAnimation(j.namespaceId,de,ut,o,Ks,ai);if(j.setRealPlayer(Nn),et===EC)rr.push(j);else{const zt=this.playersByElement.get(et);zt&&zt.length&&(j.parentPlayer=pi(zt)),r.push(j)}}else Gi(P,de.fromStyles),j.onDestroy(()=>Rn(P,de.toStyles)),DC.push(j),d.has(P)&&r.push(j)}),DC.forEach(O=>{const P=o.get(O.element);if(P&&P.length){const j=pi(P);O.setRealPlayer(j)}}),r.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O<_.length;O++){const P=_[O],j=P[Zt];if(to(P,kc),j&&j.hasAnimation)continue;let de=[];if(a.size){let Nn=a.get(P);Nn&&Nn.length&&de.push(...Nn);let zt=this.driver.query(P,Hh,!0);for(let Ci=0;Ci!Nn.destroyed);et.length?IP(this,P,et):this.processLeaveNode(P)}return _.length=0,rr.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();const P=this.players.indexOf(O);this.players.splice(P,1)}),O.play()}),rr}elementContainsData(t,e){let i=!1;const r=e[Zt];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const c=!o||o==Ts;a.forEach(l=>{l.queued||!c&&l.triggerName!=r||s.push(l)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const c of e.timelines){const l=c.element,d=l!==o,u=Vt(i,l,[]);this._getPreviousPlayers(l,d,s,a,e.toState).forEach(f=>{const m=f.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),f.destroy(),u.push(f)})}Gi(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,c=e.element,l=[],d=new Set,u=new Set,h=e.timelines.map(m=>{const g=m.element;d.add(g);const _=g[Zt];if(_&&_.removedBeforeQueried)return new Es(m.duration,m.delay);const v=g!==c,k=function AP(n){const t=[];return b0(n,t),t}((i.get(g)||CP).map(ut=>ut.getRealPlayer())).filter(ut=>!!ut.element&&ut.element===g),b=o.get(g),A=s.get(g),le=Uv(0,this._normalizer,0,m.keyframes,b,A),me=this._buildPlayer(m,le,k);if(m.subTimeline&&r&&u.add(g),v){const ut=new ef(t,a,g);ut.setRealPlayer(me),l.push(ut)}return me});l.forEach(m=>{Vt(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function MP(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>Qt(m,Qv));const f=pi(h);return f.onDestroy(()=>{d.forEach(m=>to(m,Qv)),Rn(c,e.toStyles)}),u.forEach(m=>{Vt(r,m,[]).push(f)}),f}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Es(t.duration,t.delay)}}class ef{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Es,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Oh(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Vt(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function jc(n){return n&&1===n.nodeType}function p0(n,t){const e=n.style.display;return n.style.display=t??"none",e}function g0(n,t,e,i,r){const o=[];e.forEach(c=>o.push(p0(c)));const s=[];i.forEach((c,l)=>{const d=new Map;c.forEach(u=>{const h=t.computeStyle(l,u,r);d.set(u,h),(!h||0==h.length)&&(l[Zt]=DP,s.push(l))}),n.set(l,d)});let a=0;return e.forEach(c=>p0(c,o[a++])),s}function _0(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let c=o.get(a);if(c)return c;const l=a.parentNode;return c=e.has(l)?l:r.has(l)?1:s(l),o.set(a,c),c}return t.forEach(a=>{const c=s(a);1!==c&&e.get(c).push(a)}),e}function Qt(n,t){n.classList?.add(t)}function to(n,t){n.classList?.remove(t)}function IP(n,t,e){pi(e).onDone(()=>n.processLeaveNode(t))}function b0(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class zc{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new SP(t,e,i),this._timelineEngine=new bP(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const c=[],d=$h(this._driver,o,c,[]);if(c.length)throw function gR(n,t){return new x(3404,!1)}();a=function mP(n,t,e){return new pP(n,t,e)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=$v(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=$v(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let RP=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Rn(this._element,this._initialStyles),this._endStyles&&(Rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Gi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Gi(this._element,this._endStyles),this._endStyles=null),Rn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function tf(n){let t=null;return n.forEach((e,i)=>{(function PP(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class v0{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:o0(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class NP{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return Yv(t,e)}getParentElement(t){return Lh(t)}query(t,e,i){return Kv(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const c={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(c.easing=o);const l=new Map,d=s.filter(f=>f instanceof v0);(function HR(n,t){return 0===n||0===t})(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((m,g)=>l.set(g,m))});let u=function NR(n){return n.length?n[0]instanceof Map?n:n.map(t=>Jv(t)):[]}(e).map(f=>gi(f));u=function jR(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,o0(n,a)))}}return t}(t,u,l);const h=function OP(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=tf(t[0]),t.length>1&&(i=tf(t[t.length-1]))):t instanceof Map&&(e=tf(t)),e||i?new RP(n,e,i):null}(t,u);return new v0(t,u,c,h)}}let LP=(()=>{class n extends Vv{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:tn.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?Bv(e):e;return w0(this._renderer,null,i,"register",[r]),new VP(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(y(Zo),y(ee))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();class VP extends WO{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new BP(this._id,t,e||{},this._renderer)}}class BP{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return w0(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function w0(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const x0="@.disabled";let HP=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let d=this._rendererCache.get(o);return d||(d=new C0("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const c=d=>{Array.isArray(d)?d.forEach(c):this.engine.registerTrigger(s,a,e,d.name,d)};return i.data.animation.forEach(c),new jP(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(y(Zo),y(zc),y(J))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();class C0{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==x0?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class jP extends C0{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==x0?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function zP(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function UP(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}let $P=(()=>{class n extends zc{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(y(ee),y(Vh),y(Kh),y(gs))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();const D0=[{provide:Vv,useClass:LP},{provide:Kh,useFactory:function GP(){return new dP}},{provide:zc,useClass:$P},{provide:Zo,useFactory:function WP(n,t,e){return new HP(n,t,e)},deps:[Ec,zc,J]}],nf=[{provide:Vh,useFactory:()=>new NP},{provide:Lt,useValue:"BrowserAnimations"},...D0],E0=[{provide:Vh,useClass:Xv},{provide:Lt,useValue:"NoopAnimations"},...D0];let qP=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?E0:nf}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({providers:nf,imports:[Rv]}),n})();function S0(...n){if(1===n.length){const t=n[0];if(sr(t))return $c(t,null);if(Fl(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return $c(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return $c(n=1===n.length&&sr(n[0])?n[0]:n,null).pipe(Pe(e=>t(...e)))}return $c(n,null)}function $c(n,t){return new ke(e=>{const i=n.length;if(0===i)return void e.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a{l||(l=!0,s++),r[a]=d},error:d=>e.error(d),complete:()=>{o++,(o===i||!l)&&(s===i&&e.next(t?t.reduce((d,u,h)=>(d[u]=r[h],d),{}):r),e.complete())}}))}})}let M0=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(p(Ni),p(oe))},n.\u0275dir=F({type:n}),n})(),qi=(()=>{class n extends M0{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ue(n)))(i||n)}}(),n.\u0275dir=F({type:n,features:[B]}),n})();const Ht=new M("NgValueAccessor"),KP={provide:Ht,useExisting:pe(()=>Gc),multi:!0},ZP=new M("CompositionEventMode");let Gc=(()=>{class n extends M0{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function XP(){const n=Fn()?Fn().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(p(Ni),p(oe),p(ZP,8))},n.\u0275dir=F({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&be("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[fe([KP]),B]}),n})();function _i(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function T0(n){return null!=n&&"number"==typeof n.length}const Je=new M("NgValidators"),bi=new M("NgAsyncValidators"),JP=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class eN{static min(t){return function I0(n){return t=>{if(_i(t.value)||_i(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(_i(t.value)||_i(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function F0(n){return _i(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function O0(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function R0(n){return _i(n.value)||JP.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function P0(n){return t=>_i(t.value)||!T0(t.value)?null:t.value.lengthT0(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function L0(n){if(!n)return Wc;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(_i(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return U0(t)}static composeAsync(t){return $0(t)}}function Wc(n){return null}function V0(n){return null!=n}function B0(n){return qa(n)?Co(n):n}function H0(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function j0(n,t){return t.map(e=>e(n))}function z0(n){return n.map(t=>function tN(n){return!n.validate}(t)?t:e=>t.validate(e))}function U0(n){if(!n)return null;const t=n.filter(V0);return 0==t.length?null:function(e){return H0(j0(e,t))}}function rf(n){return null!=n?U0(z0(n)):null}function $0(n){if(!n)return null;const t=n.filter(V0);return 0==t.length?null:function(e){return S0(j0(e,t).map(B0)).pipe(Pe(H0))}}function sf(n){return null!=n?$0(z0(n)):null}function G0(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function W0(n){return n._rawValidators}function q0(n){return n._rawAsyncValidators}function af(n){return n?Array.isArray(n)?n:[n]:[]}function qc(n,t){return Array.isArray(n)?n.includes(t):n===t}function Y0(n,t){const e=af(t);return af(n).forEach(r=>{qc(e,r)||e.push(r)}),e}function K0(n,t){return af(t).filter(e=>!qc(n,e))}class X0{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=rf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=sf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class yt extends X0{get formDirective(){return null}get path(){return null}}class ni extends X0{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Z0{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let mn=(()=>{class n extends Z0{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(p(ni,2))},n.\u0275dir=F({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Ce("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[B]}),n})();const Is="VALID",Kc="INVALID",no="PENDING",As="DISABLED";function uf(n){return(Xc(n)?n.validators:n)||null}function hf(n,t){return(Xc(t)?t.asyncValidators:n)||null}function Xc(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class tw{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Is}get invalid(){return this.status===Kc}get pending(){return this.status==no}get disabled(){return this.status===As}get enabled(){return this.status!==As}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Y0(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Y0(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(K0(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(K0(t,this._rawAsyncValidators))}hasValidator(t){return qc(this._rawValidators,t)}hasAsyncValidator(t){return qc(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=no,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=As,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Is,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Is||this.status===no)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?As:Is}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=no,this._hasOwnPendingAsyncValidator=!0;const e=B0(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ce,this.statusChanges=new ce}_calculateStatus(){return this._allControlsDisabled()?As:this.errors?Kc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(no)?no:this._anyControlsHaveStatus(Kc)?Kc:Is}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Xc(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function lN(n){return Array.isArray(n)?rf(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function dN(n){return Array.isArray(n)?sf(n):n||null}(this._rawAsyncValidators)}}class ff extends tw{constructor(t,e,i){super(uf(e),hf(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){(function ew(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new x(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function J0(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new x(1e3,"");if(!i[e])throw new x(1001,"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const io=new M("CallSetDisabledState",{providedIn:"root",factory:()=>Zc}),Zc="always";function Fs(n,t,e=Zc){mf(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function fN(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&nw(n,t)})}(n,t),function pN(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function mN(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&nw(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function hN(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Jc(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),tl(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function el(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function mf(n,t){const e=W0(n);null!==t.validator?n.setValidators(G0(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=q0(n);null!==t.asyncValidator?n.setAsyncValidators(G0(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();el(t._rawValidators,r),el(t._rawAsyncValidators,r)}function tl(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=W0(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=q0(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return el(t._rawValidators,i),el(t._rawAsyncValidators,i),e}function nw(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function iw(n,t){mf(n,t)}function gf(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function rw(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function _f(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Gc?e=o:function bN(n){return Object.getPrototypeOf(n.constructor)===qi}(o)?i=o:r=o}),r||i||e||null}const vN={provide:yt,useExisting:pe(()=>nl)},Os=(()=>Promise.resolve())();let nl=(()=>{class n extends yt{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ce,this.form=new ff({},rf(e),sf(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Os.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Fs(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Os.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Os.then(()=>{const i=this._findContainer(e.path),r=new ff({});iw(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Os.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Os.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,rw(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(p(Je,10),p(bi,10),p(io,8))},n.\u0275dir=F({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&be("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[fe([vN]),B]}),n})();function ow(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function sw(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const it=class extends tw{constructor(t=null,e,i){super(uf(e),hf(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Xc(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=sw(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ow(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ow(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){sw(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},CN={provide:ni,useExisting:pe(()=>bf)},lw=(()=>Promise.resolve())();let bf=(()=>{class n extends ni{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new it,this._registered=!1,this.update=new ce,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=_f(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),gf(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Fs(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){lw.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function sh(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);lw.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function Qc(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(p(yt,9),p(Je,10),p(bi,10),p(Ht,10),p(An,8),p(io,8))},n.\u0275dir=F({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[fe([CN]),B,sn]}),n})(),uw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({}),n})();const yf=new M("NgModelWithFormControlWarning"),TN={provide:ni,useExisting:pe(()=>pn)};let pn=(()=>{class n extends ni{constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this.update=new ce,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=_f(0,r)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&Jc(i,this,!1),Fs(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}gf(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Jc(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(p(Je,10),p(bi,10),p(Ht,10),p(yf,8),p(io,8))},n.\u0275dir=F({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[fe([TN]),B,sn]}),n})();const IN={provide:yt,useExisting:pe(()=>il)};let Ef,il=(()=>{class n extends yt{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ce,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Fs(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Jc(e.control||null,e,!1),function yN(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,rw(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(Jc(i||null,e),(n=>n instanceof it)(r)&&(Fs(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);iw(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function gN(n,t){return tl(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){mf(this.form,this),this._oldForm&&tl(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(p(Je,10),p(bi,10),p(io,8))},n.\u0275dir=F({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&be("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[fe([IN]),B,sn]}),n})(),Sw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[uw]}),n})(),YN=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:io,useValue:e.callSetDisabledState??Zc}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Sw]}),n})(),Mw=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:yf,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:io,useValue:e.callSetDisabledState??Zc}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Sw]}),n})();try{Ef=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ef=!1}let Rs,Ki,Sf,dt=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function HF(n){return n===hv}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Ef)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(y(qu))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ol(n){return function XN(){if(null==Rs&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Rs=!0}))}finally{Rs=Rs||!1}return Rs}()?n:!!n.capture}function ZN(){if(null==Ki){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ki=!1,Ki;if("scrollBehavior"in document.documentElement.style)Ki=!0;else{const n=Element.prototype.scrollTo;Ki=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Ki}function Xi(n){return n.composedPath?n.composedPath()[0]:n.target}function Mf(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}class Tw extends ne{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Di;return this._value}next(t){super.next(this._value=t)}}function gn(...n){let t=n[n.length-1];return ar(t)?(n.pop(),Rl(n,t)):Nl(n)}function oo(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function yi(){}function Zi(n,t,e){return function(r){return r.lift(new cL(n,t,e))}}class cL{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new lL(t,this.nextOrObserver,this.error,this.complete))}}class lL extends Ae{constructor(t,e,i,r){super(t),this._tapNext=yi,this._tapError=yi,this._tapComplete=yi,this._tapError=i||yi,this._tapComplete=r||yi,ci(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||yi,this._tapError=e.error||yi,this._tapComplete=e.complete||yi)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class dL extends ue{constructor(t,e){super()}schedule(t,e=0){return this}}class ul extends dL{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let Lw=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,r){return new this.SchedulerAction(this,e).schedule(r,i)}}return n.now=()=>Date.now(),n})();class _n extends Lw{constructor(t,e=Lw.now){super(t,()=>_n.delegate&&_n.delegate!==this?_n.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return _n.delegate&&_n.delegate!==this?_n.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const hl=new _n(ul);function fl(n,t=hl){return e=>e.lift(new uL(n,t))}class uL{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new hL(t,this.dueTime,this.scheduler))}}class hL extends Ae{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(fL,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function fL(n){n.debouncedNext()}function Qi(n,t){return function(i){return i.lift(new mL(n,t))}}class mL{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new pL(t,this.predicate,this.thisArg))}}class pL extends Ae{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}function Vw(n){return t=>t.lift(new gL(n))}class gL{constructor(t){this.total=t}call(t,e){return e.subscribe(new _L(t,this.total))}}class _L extends Ae{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}function Bw(n,t){return e=>e.lift(new bL(n,t))}class bL{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new yL(t,this.compare,this.keySelector))}}class yL extends Ae{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:r}=this;e=r?r(t):t}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}function q(n){return t=>t.lift(new vL(n))}class vL{constructor(t){this.notifier=t}call(t,e){const i=new wL(t),r=So(this.notifier,new Do(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class wL extends Eo{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function Re(n){return null!=n&&"false"!=`${n}`}function vi(n,t=0){return function xL(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function ml(n){return Array.isArray(n)?n:[n]}function Ye(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Ji(n){return n instanceof oe?n.nativeElement:n}let Hw=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),CL=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Ji(e);return new ke(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new ne,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(y(Hw))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),DL=(()=>{class n{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new ce,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Re(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=vi(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(fl(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(p(CL),p(oe),p(J))},n.\u0275dir=F({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),jw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({providers:[Hw]}),n})();class EL extends Ae{notifyNext(t,e,i,r,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class SL extends Ae{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function ML(n,t,e,i,r=new SL(n,e,i)){if(!r.closed)return t instanceof ke?t.subscribe(r):Ol(t)(r)}const zw={};function Uw(...n){let t,e;return ar(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&sr(n[0])&&(n=n[0]),Nl(n,e).lift(new kL(t))}class kL{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new TL(t,this.resultSelector))}}class TL extends EL{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(zw),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})(),FL=new ke(n=>n.complete());function Af(n){return n?function OL(n){return new ke(t=>n.schedule(()=>t.complete()))}(n):FL}function Et(n){return t=>0===n?Af():t.lift(new RL(n))}class RL{constructor(t){if(this.total=t,this.total<0)throw new AL}call(t,e){return e.subscribe(new PL(t,this.total))}}class PL extends Ae{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function pl(...n){const t=n[n.length-1];return ar(t)?(n.pop(),e=>If(n,e,t)):e=>If(n,e)}const $w=new Set;let so,NL=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):VL}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function LL(n){if(!$w.has(n))try{so||(so=document.createElement("style"),so.setAttribute("type","text/css"),document.head.appendChild(so)),so.sheet&&(so.sheet.insertRule(`@media ${n} {body{ }}`,0),$w.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(y(dt))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function VL(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let BL=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new ne}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Gw(ml(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Uw(Gw(ml(e)).map(s=>this._registerQuery(s).observable));return o=If(o.pipe(Et(1)),o.pipe(Vw(1),fl(0))),o.pipe(Pe(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new ke(s=>{const a=c=>this._zone.run(()=>s.next(c));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(pl(i),Pe(({matches:s})=>({query:e,matches:s})),q(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(y(NL),y(J))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Gw(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function gl(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const qw="cdk-describedby-message",_l="cdk-describedby-host";let Ff=0,zL=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ff++,this._document=e,this._id=Vn(Qr)+"-"+Ff++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=Of(i,r);"string"!=typeof i?(Yw(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=Of(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const s=this._messageRegistry.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${_l}="${this._id}"]`);for(let i=0;i0!=r.indexOf(qw));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function HL(n,t,e){const i=gl(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(_l,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function jL(n,t,e){const r=gl(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(_l)}_isElementDescribedByMessage(e,i){const r=gl(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(y(ee),y(dt))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Of(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function Yw(n,t){n.id||(n.id=`${qw}-${t}-${Ff++}`)}class UL{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ne,this._typeaheadSubscription=ue.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ne,this.change=new ne,t instanceof fs&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Zi(e=>this._pressedLetters.push(e)),fl(t),Qi(()=>this._pressedLetters.length>0),Pe(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof fs?this._items.toArray():this._items}}class $L extends UL{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}function Xw(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function Zw(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const XL=new M("cdk-input-modality-detector-options"),ZL={ignoreKeys:[18,17,224,91,16]},ao=ol({passive:!0,capture:!0});let QL=(()=>{class n{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Tw(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Xi(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Xw(s)?"keyboard":"mouse"),this._mostRecentTarget=Xi(s))},this._onTouchstart=s=>{Zw(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Xi(s))},this._options={...ZL,...o},this.modalityDetected=this._modality.pipe(Vw(1)),this.modalityChanged=this.modalityDetected.pipe(Bw()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,ao),r.addEventListener("mousedown",this._onMousedown,ao),r.addEventListener("touchstart",this._onTouchstart,ao)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ao),document.removeEventListener("mousedown",this._onMousedown,ao),document.removeEventListener("touchstart",this._onTouchstart,ao))}}return n.\u0275fac=function(e){return new(e||n)(y(dt),y(J),y(ee),y(XL,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const JL=new M("liveAnnouncerElement",{providedIn:"root",factory:function eV(){return null}}),tV=new M("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let nV=0,iV=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ne,this._rootNodeFocusAndBlurListener=a=>{for(let l=Xi(a);l;l=l.parentElement)"focus"===a.type?this._onFocus(a,l):this._onBlur(a,l)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const r=Ji(e);if(!this._platform.isBrowser||1!==r.nodeType)return gn(null);const o=function JN(n){if(function QN(){if(null==Sf){const n=typeof document<"u"?document.head:null;Sf=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Sf}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ne,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Ji(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Ji(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,c])=>this._originChanged(a,i,c)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Xi(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,bl),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,bl)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(q(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,bl),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,bl),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Vn(BL).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Pf,Jw,ex),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Pf,Jw):2===i&&e.add(Pf,ex)}}}return n.\u0275fac=function(e){return new(e||n)(y(dt),y(ee))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),oV=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(y(tx))},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[jw]}),n})();const sV=new M("cdk-dir-doc",{providedIn:"root",factory:function aV(){return Vn(ee)}}),cV=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ps=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new ce,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function lV(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?cV.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(y(sV,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ns=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({}),n})();const dV=["*",[["mat-option"],["ng-container"]]],uV=["*","mat-option, ng-container"],hV=["text"];function fV(n,t){if(1&n&&se(0,"mat-pseudo-checkbox",5),2&n){const e=De();S("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function mV(n,t){if(1&n&&(D(0,"span",6),V(1),C()),2&n){const e=De();E(1),$e("(",e.group.label,")")}}const pV=[[["mat-icon"]],"*"],gV=["mat-icon","*"],Nf=new Ar("15.0.1"),bV=new M("mat-sanity-checks",{providedIn:"root",factory:function _V(){return!0}});let Ve=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Mf()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(y(tx),y(bV,8),y(ee))},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ns,Ns]}),n})();function Ls(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Re(t)}}}function co(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function yl(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Re(t)}}}function Lf(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?vi(e):this.defaultTabIndex}}}function yV(n){return class extends n{constructor(...t){super(...t),this.errorState=!1}updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}}}let wV=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class xV{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ix={enterDuration:225,exitDuration:150},Vf=ol({passive:!0}),rx=["mousedown","touchstart"],ox=["mouseup","mouseleave","touchend","touchcancel"];class DV{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Ji(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...ix,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function EV(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,c=e-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=c-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),f=u.transitionDuration,m="none"===u.transitionProperty||"0s"===f||"0s, 0s"===f||0===r.width&&0===r.height,g=new xV(this,d,i,m);d.style.transform="scale3d(1, 1, 1)",g.state=0,i.persistent||(this._mostRecentTransientRipple=g);let _=null;return!m&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>this._finishRippleTransition(g),k=()=>this._destroyRipple(g);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",k),_={onTransitionEnd:v,onTransitionCancel:k}}),this._activeRipples.set(g,_),(m||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...ix,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Ji(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(rx))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ox),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=Xw(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,Vf)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(rx.forEach(t=>{this._triggerElement.removeEventListener(t,this,Vf)}),this._pointerUpEventsRegistered&&ox.forEach(t=>{this._triggerElement.removeEventListener(t,this,Vf)}))}}const SV=new M("mat-ripple-global-options");let er=(()=>{class n{constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new DV(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(J),p(dt),p(SV,8),p(Lt,8))},n.\u0275dir=F({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Ce("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),vl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ve,Ve]}),n})(),MV=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(p(Lt,8))},n.\u0275cmp=Me({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Ce("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),n})(),kV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ve]}),n})();const Bf=new M("MAT_OPTION_PARENT_COMPONENT"),TV=Ls(class{});let IV=0,AV=(()=>{class n extends TV{constructor(e){super(),this._labelId="mat-optgroup-label-"+IV++,this._inert=e?.inertGroups??!1}}return n.\u0275fac=function(e){return new(e||n)(p(Bf,8))},n.\u0275dir=F({type:n,inputs:{label:"label"},features:[B]}),n})();const Hf=new M("MatOptgroup");let FV=(()=>{class n extends AV{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ue(n)))(i||n)}}(),n.\u0275cmp=Me({type:n,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(e,i){2&e&&he("role",i._inert?null:"group")("aria-disabled",i._inert?null:i.disabled.toString())("aria-labelledby",i._inert?null:i._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[fe([{provide:Hf,useExisting:n}]),B],ngContentSelectors:uV,decls:5,vars:4,consts:[["aria-hidden","true",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(e,i){1&e&&(Nt(dV),D(0,"span",0)(1,"span",1),V(2),xe(3),C()(),xe(4,1)),2&e&&(Ce("mdc-list-item--disabled",i.disabled),S("id",i._labelId),E(2),$e("",i.label," "))},styles:[".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"],encapsulation:2,changeDetection:0}),n})(),OV=0;class RV{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let PV=(()=>{class n{constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+OV++,this.onSelectionChange=new ce,this._stateChanges=new ne}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Re(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!oo(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new RV(this,e))}}return n.\u0275fac=function(e){Rr()},n.\u0275dir=F({type:n,viewQuery:function(e,i){if(1&e&&Oe(hV,7),2&e){let r;Z(r=Q())&&(i._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Pn=(()=>{class n extends PV{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(An),p(Bf,8),p(Hf,8))},n.\u0275cmp=Me({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,i){1&e&&be("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Wr("id",i.id),he("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Ce("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[B],ngContentSelectors:gV,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Nt(pV),z(0,fV,1,2,"mat-pseudo-checkbox",0),xe(1),D(2,"span",1,2),xe(4,1),C(),z(5,mV,2,1,"span",3),se(6,"div",4)),2&e&&(S("ngIf",i.multiple),E(5),S("ngIf",i.group&&i.group._inert),E(1),S("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[er,Jr,MV],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),sx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[vl,Qn,Ve,kV]}),n})();const VV=["mat-button",""],BV=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],HV=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],zV=["mat-icon-button",""],UV=["*"],$V=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],GV=co(Ls(yl(class{constructor(n){this._elementRef=n}})));let ax=(()=>{class n extends GV{constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=Vn(Rf),this._isFab=!1;const s=e.nativeElement.classList;for(const a of $V)this._hasHostAttributes(a.selector)&&a.mdcClasses.forEach(c=>{s.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return n.\u0275fac=function(e){Rr()},n.\u0275dir=F({type:n,viewQuery:function(e,i){if(1&e&&Oe(er,5),2&e){let r;Z(r=Q())&&(i.ripple=r.first)}},features:[B]}),n})(),qV=(()=>{class n extends ax{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(dt),p(J),p(Lt,8))},n.\u0275cmp=Me({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(he("disabled",i.disabled||null),Ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[B],attrs:VV,ngContentSelectors:HV,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Nt(BV),se(0,"span",0),xe(1),D(2,"span",1),xe(3,1),C(),xe(4,2),se(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Ce("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),E(6),S("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[er],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),KV=(()=>{class n extends ax{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(dt),p(J),p(Lt,8))},n.\u0275cmp=Me({type:n,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(he("disabled",i.disabled||null),Ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[B],attrs:zV,ngContentSelectors:UV,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Nt(),se(0,"span",0),xe(1),se(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(E(3),S("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[er],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),cx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ve,vl,Ve]}),n})();const XV=["matFormFieldNotchedOutline",""],ZV=["*"],QV=["textField"],JV=["iconPrefixContainer"],e2=["textPrefixContainer"];function t2(n,t){1&n&&se(0,"span",19)}function n2(n,t){if(1&n){const e=rs();D(0,"label",17),be("cdkObserveContent",function(){return pr(e),gr(De(2)._refreshOutlineNotchWidth())}),xe(1,1),z(2,t2,1,0,"span",18),C()}if(2&n){const e=De(2);S("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),he("for",e._control.id)("aria-owns",e._control.id),E(2),S("ngIf",!e.hideRequiredMarker&&e._control.required)}}function r2(n,t){1&n&&z(0,n2,3,6,"label",16),2&n&&S("ngIf",De()._hasFloatingLabel())}function o2(n,t){1&n&&se(0,"div",20)}function s2(n,t){}function a2(n,t){1&n&&z(0,s2,0,0,"ng-template",22),2&n&&(De(2),S("ngTemplateOutlet",qn(1)))}function c2(n,t){if(1&n&&(D(0,"div",21),z(1,a2,1,1,"ng-template",9),C()),2&n){const e=De();S("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),E(1),S("ngIf",!e._forceDisplayInfixLabel())}}function l2(n,t){1&n&&(D(0,"div",23,24),xe(2,2),C())}function d2(n,t){1&n&&(D(0,"div",25,26),xe(2,3),C())}function u2(n,t){}function h2(n,t){1&n&&z(0,u2,0,0,"ng-template",22),2&n&&(De(),S("ngTemplateOutlet",qn(1)))}function f2(n,t){1&n&&(D(0,"div",27),xe(1,4),C())}function m2(n,t){1&n&&(D(0,"div",28),xe(1,5),C())}function p2(n,t){1&n&&se(0,"div",29)}function g2(n,t){1&n&&(D(0,"div",30),xe(1,6),C()),2&n&&S("@transitionMessages",De()._subscriptAnimationState)}function _2(n,t){if(1&n&&(D(0,"mat-hint",34),V(1),C()),2&n){const e=De(2);S("id",e._hintLabelId),E(1),Yn(e.hintLabel)}}function b2(n,t){if(1&n&&(D(0,"div",31),z(1,_2,2,2,"mat-hint",32),xe(2,7),se(3,"div",33),xe(4,8),C()),2&n){const e=De();S("@transitionMessages",e._subscriptAnimationState),E(1),S("ngIf",e.hintLabel)}}const y2=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],v2=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let lx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=F({type:n,selectors:[["mat-label"]]}),n})();const w2=new M("MatError");let x2=0,dx=(()=>{class n{constructor(){this.align="start",this.id="mat-mdc-hint-"+x2++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=F({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(Wr("id",i.id),he("align",null),Ce("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),n})();const C2=new M("MatPrefix"),D2=new M("MatSuffix");let ux=(()=>{class n{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function E2(n){if(null!==n.offsetParent)return n.scrollWidth;const e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(p(oe))},n.\u0275dir=F({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&Ce("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating"}}),n})();const hx="mdc-line-ripple--active",wl="mdc-line-ripple--deactivating";let fx=(()=>{class n{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,s=o.contains(wl);"opacity"===r.propertyName&&s&&o.remove(hx,wl)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(wl),e.add(hx)}deactivate(){this._elementRef.nativeElement.classList.add(wl)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(J))},n.\u0275dir=F({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),n})(),mx=(()=>{class n{constructor(e,i){this._elementRef=e,this._ngZone=i,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(J))},n.\u0275cmp=Me({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&Ce("mdc-notched-outline--notched",i.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:XV,ngContentSelectors:ZV,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(Nt(),se(0,"div",0),D(1,"div",1),xe(2),C(),se(3,"div",2)),2&e&&(E(1),Hi("width",i._getNotchWidth()))},encapsulation:2,changeDetection:0}),n})();const S2={transitionMessages:Sc("transitionMessages",[Mc("enter",ei({opacity:1,transform:"translateY(0%)"})),eo("void => enter",[ei({opacity:0,transform:"translateY(-5px)"}),Ds("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let px=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=F({type:n}),n})();const gx=new M("MatFormField"),M2=new M("MAT_FORM_FIELD_DEFAULT_OPTIONS");let _x=0,ii=(()=>{class n{constructor(e,i,r,o,s,a,c,l){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=c,this._document=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+_x++,this._hintLabelId="mat-mdc-hint-"+_x++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new ne,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=Boolean(a?.hideRequiredMarker),a.color&&(this.color=a.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Re(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(q(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),cr(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(q(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(q(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,s=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+s}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(An),p(J),p(Ps),p(dt),p(M2,8),p(Lt,8),p(ee))},n.\u0275cmp=Me({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(Ct(r,lx,5),Ct(r,lx,7),Ct(r,px,5),Ct(r,C2,5),Ct(r,D2,5),Ct(r,w2,5),Ct(r,dx,5)),2&e){let o;Z(o=Q())&&(i._labelChildNonStatic=o.first),Z(o=Q())&&(i._labelChildStatic=o.first),Z(o=Q())&&(i._formFieldControl=o.first),Z(o=Q())&&(i._prefixChildren=o),Z(o=Q())&&(i._suffixChildren=o),Z(o=Q())&&(i._errorChildren=o),Z(o=Q())&&(i._hintChildren=o)}},viewQuery:function(e,i){if(1&e&&(Oe(QV,5),Oe(JV,5),Oe(e2,5),Oe(ux,5),Oe(mx,5),Oe(fx,5)),2&e){let r;Z(r=Q())&&(i._textField=r.first),Z(r=Q())&&(i._iconPrefixContainer=r.first),Z(r=Q())&&(i._textPrefixContainer=r.first),Z(r=Q())&&(i._floatingLabel=r.first),Z(r=Q())&&(i._notchedOutline=r.first),Z(r=Q())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&Ce("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[fe([{provide:gx,useExisting:n}])],ngContentSelectors:v2,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(Nt(y2),z(0,r2,1,1,"ng-template",null,0,ms),D(2,"div",1,2),be("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),z(4,o2,1,0,"div",3),D(5,"div",4),z(6,c2,2,3,"div",5),z(7,l2,3,0,"div",6),z(8,d2,3,0,"div",7),D(9,"div",8),z(10,h2,1,1,"ng-template",9),xe(11),C(),z(12,f2,2,0,"div",10),z(13,m2,2,0,"div",11),C(),z(14,p2,1,0,"div",12),C(),D(15,"div",13),z(16,g2,2,1,"div",14),z(17,b2,5,2,"div",15),C()),2&e&&(E(2),Ce("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),E(2),S("ngIf",!i._hasOutline()&&!i._control.disabled),E(2),S("ngIf",i._hasOutline()),E(1),S("ngIf",i._hasIconPrefix),E(1),S("ngIf",i._hasTextPrefix),E(2),S("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),E(2),S("ngIf",i._hasTextSuffix),E(1),S("ngIf",i._hasIconSuffix),E(1),S("ngIf",!i._hasOutline()),E(1),Ce("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),S("ngSwitch",i._getDisplayedMessages()),E(1),S("ngSwitchCase","error"),E(1),S("ngSwitchCase","hint"))},dependencies:[Jr,yh,vs,bh,DL,dx,ux,mx,fx],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[S2.transitionMessages]},changeDetection:0}),n})(),vx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ve,Qn,jw,Ve]}),n})();function wx(n,t){return new ke(t?e=>t.schedule(I2,0,{error:n,subscriber:e}):e=>e.error(n))}function I2({error:n,subscriber:t}){t.error(n)}class F2{constructor(t){this.selector=t}call(t,e){return e.subscribe(new O2(t,this.selector,this.caught))}}class O2 extends Eo{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const i=new Do(this);this.add(i);const r=So(e,i);r!==i&&this.add(r)}}}class P2{constructor(t){this.callback=t}call(t,e){return e.subscribe(new N2(t,this.callback))}}class N2 extends Ae{constructor(t,e){super(t),this.add(new ue(e))}}class jf{}class wi{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof wi?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new wi;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof wi?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class V2{encodeKey(t){return Cx(t)}encodeValue(t){return Cx(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const H2=/%(\d[a-f0-9])/gi,j2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Cx(n){return encodeURIComponent(n).replace(H2,(t,e)=>j2[e]??t)}function xl(n){return`${n}`}class xi{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new V2,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function B2(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(xl):[xl(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new xi({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(xl(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(xl(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class z2{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Dx(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Ex(n){return typeof Blob<"u"&&n instanceof Blob}function Sx(n){return typeof FormData<"u"&&n instanceof FormData}class Bs{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function U2(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new wi),this.context||(this.context=new z2),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":au.set(h,t.setHeaders[h]),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((u,h)=>u.set(h,t.setParams[h]),l)),new Bs(e,i,o,{params:l,headers:c,context:d,reportProgress:a,responseType:r,withCredentials:s})}}var rt=(()=>((rt=rt||{})[rt.Sent=0]="Sent",rt[rt.UploadProgress=1]="UploadProgress",rt[rt.ResponseHeader=2]="ResponseHeader",rt[rt.DownloadProgress=3]="DownloadProgress",rt[rt.Response=4]="Response",rt[rt.User=5]="User",rt))();class G2{constructor(t,e=200,i="OK"){this.headers=t.headers||new wi,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class zf extends G2{constructor(t={}){super(t),this.type=rt.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new zf({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}function Uf(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let $f=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Bs)o=e;else{let c,l;c=r.headers instanceof wi?r.headers:new wi(r.headers),r.params&&(l=r.params instanceof xi?r.params:new xi({fromObject:r.params})),o=new Bs(e,i,void 0!==r.body?r.body:null,{headers:c,context:r.context,params:l,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=gn(o).pipe(function L2(n,t){return Pl(n,t,1)}(c=>this.handler.handle(c)));if(e instanceof Bs||"events"===r.observe)return s;const a=s.pipe(Qi(c=>c instanceof zf));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Pe(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(Pe(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(Pe(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(Pe(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new xi).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Uf(r,i))}post(e,i,r={}){return this.request("POST",e,Uf(r,i))}put(e,i,r={}){return this.request("PUT",e,Uf(r,i))}}return n.\u0275fac=function(e){return new(e||n)(y(jf))},n.\u0275prov=R({token:n,factory:n.\u0275fac}),n})();const rB=["*"];let Dl;function Hs(n){return function oB(){if(void 0===Dl&&(Dl=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(Dl=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Dl}()?.createHTML(n)||n}function Rx(n){return Error(`Unable to find icon with the name "${n}"`)}function Px(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Nx(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class tr{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let El=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new tr(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(_e.HTML,r);if(!s)throw Nx(r);const a=Hs(s);return this._addSvgIconConfig(e,i,new tr("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new tr(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(_e.HTML,i);if(!o)throw Nx(i);const s=Hs(o);return this._addSvgIconSetConfig(e,new tr("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(_e.RESOURCE_URL,e);if(!i)throw Px(e);const r=this._cachedIconsByUrl.get(i);return r?gn(Sl(r)):this._loadSvgIconFromConfig(new tr(e,null)).pipe(Zi(o=>this._cachedIconsByUrl.set(i,o)),Pe(o=>Sl(o)))}getNamedSvgIcon(e,i=""){const r=Lx(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):wx(Rx(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?gn(Sl(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Pe(i=>Sl(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);if(r)return gn(r);const o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(function A2(n){return function(e){const i=new F2(n),r=e.lift(i);return i.caught=r}}(a=>{const l=`Loading icon set URL: ${this._sanitizer.sanitize(_e.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),gn(null)})));return S0(o).pipe(Pe(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw Rx(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Zi(i=>e.svgText=i),Pe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?gn(null):this._fetchIcon(e).pipe(Zi(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Hs(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Hs("")),r=e.attributes;for(let o=0;oHs(l)),function R2(n){return t=>t.lift(new P2(n))}(()=>this._inProgressUrlFetches.delete(s)),um());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(Lx(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),Vx=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],fB=Vx.map(n=>`[${n}]`).join(", "),mB=/^url\(['"]?#(.*?)['"]?\)$/;let Wf=(()=>{class n extends lB{constructor(e,i,r,o,s,a){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ue.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Re(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(fB),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],c=a.getAttribute(s),l=c?c.match(mB):null;if(l){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Et(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(El),Ti("aria-hidden"),p(uB),p($n),p(dB,8))},n.\u0275cmp=Me({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(he("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Ce("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[B],ngContentSelectors:rB,decls:1,vars:0,template:function(e,i){1&e&&(Nt(),xe(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),Bx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ve,Ve]}),n})();function Hx(n,t,e,i){return ci(e)&&(i=e,e=void 0),i?Hx(n,t,e).pipe(Pe(r=>sr(r)?i(...r):i(r))):new ke(r=>{jx(n,t,function o(s){r.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},r,e)})}function jx(n,t,e,i,r){let o;if(function _B(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const s=n;n.addEventListener(t,e,r),o=()=>s.removeEventListener(t,e,r)}else if(function gB(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const s=n;n.on(t,e),o=()=>s.off(t,e)}else if(function pB(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const s=n;n.addListener(t,e),o=()=>s.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let s=0,a=n.length;s0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let wB=1;const xB=Promise.resolve(),Ml={};function zx(n){return n in Ml&&(delete Ml[n],!0)}const Ux={setImmediate(n){const t=wB++;return Ml[t]=!0,xB.then(()=>zx(t)&&n()),t},clearImmediate(n){zx(n)}};new class DB extends _n{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,o=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=Ux.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(Ux.clearImmediate(e),t.scheduled=void 0)}});class MB{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new kB(t,this.durationSelector))}}class kB extends Eo{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:r}=this;e=r(t)}catch(r){return this.destination.error(r)}const i=So(e,new Do(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function $x(n){return!sr(n)&&n-parseFloat(n)+1>=0}function IB(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}function Gx(n,t=hl){return function SB(n){return function(e){return e.lift(new MB(n))}}(()=>function TB(n=0,t,e){let i=-1;return $x(t)?i=Number(t)<1?1:Number(t):ar(t)&&(e=t),ar(e)||(e=hl),new ke(r=>{const o=$x(n)?n:+n-e.now();return e.schedule(IB,o,{index:0,period:i,subscriber:r})})}(n,t))}let Wx=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new ne,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new ke(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(Gx(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):gn()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Qi(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Ji(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Hx(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(y(J),y(dt),y(ee,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kl=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ne,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Gx(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(y(dt),y(J),y(ee,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Tl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({}),n})(),qx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ns,Tl,Ns,Tl]}),n})();class qf{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Yx extends qf{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class Kx extends qf{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class OB extends qf{constructor(t){super(),this.element=t instanceof oe?t.nativeElement:t}}class RB{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Yx?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Kx?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof OB?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class PB extends RB{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||cn.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let NB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({}),n})();class VB{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new BB(t,this.predicate,this.inclusive))}}class BB extends Ae{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(r){return void e.error(r)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}const Xx=ZN();class HB{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ye(-this._previousScrollPosition.left),t.style.top=Ye(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Xx&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Xx&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class jB{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Zx{enable(){}disable(){}attach(){}}function Yf(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function Qx(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class zB{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Yf(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let UB=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new Zx,this.close=s=>new jB(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new HB(this._viewportRuler,this._document),this.reposition=s=>new zB(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(y(Wx),y(kl),y(J),y(ee))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Jx{constructor(t){if(this.scrollStrategy=new Zx,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class $B{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let eC=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(y(ee))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),GB=(()=>{class n extends eC{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(y(ee),y(J,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),WB=(()=>{class n extends eC{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Xi(o)},this._clickListener=o=>{const s=Xi(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){const d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(y(ee),y(dt),y(J,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tC=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Mf()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new ne,this._outsidePointerEvents=new ne,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Et(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ye(this._config.width),t.height=Ye(this._config.height),t.minWidth=Ye(this._config.minWidth),t.minHeight=Ye(this._config.minHeight),t.maxWidth=Ye(this._config.maxWidth),t.maxHeight=Ye(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=ml(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(q(cr(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const nC="cdk-overlay-connected-position-bounding-box",YB=/([A-Za-z%]+)$/;class KB{constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ne,this._resizeSubscription=ue.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(nC),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let c=this._getOriginPoint(t,r,a),l=this._getOverlayPoint(c,e,a),d=this._getOverlayFit(l,e,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,c);this._canFitWithFlexibleDimensions(d,l,i)?o.push({position:a,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,a)}):(!s||s.overlayFit.visibleAreac&&(c=d,a=l)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&nr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(nC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=rC(e);let{x:s,y:a}=t,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(s+=c),l&&(a+=l);let h=0-a,f=a+o.height-i.height,m=this._subtractOverflows(o.width,0-s,s+o.width-i.width),g=this._subtractOverflows(o.height,h,f),_=m*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=iC(this._overlayRef.getConfig().minHeight),a=iC(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&l}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=rC(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),c=Math.max(o.top-i.top-t.y,0),l=Math.max(o.left-i.left-t.x,0);let d=0,u=0;return d=r.width<=o.width?l||-s:t.xm&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-m/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)h=i.width-t.x+this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)u=t.x,d=i.right-t.x;else{const f=Math.min(i.right-t.x+i.left,t.x),m=this._lastBoundingBoxSize.width;d=2*f,u=t.x-f,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-m/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ye(i.height),r.top=Ye(i.top),r.bottom=Ye(i.bottom),r.width=Ye(i.width),r.left=Ye(i.left),r.right=Ye(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ye(o)),s&&(r.maxWidth=Ye(s))}this._lastBoundingBoxSize=i,nr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){nr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){nr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();nr(i,this._getExactOverlayY(e,t,d)),nr(i,this._getExactOverlayX(e,t,d))}else i.position="static";let a="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ye(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ye(s.maxWidth):o&&(i.maxWidth="")),nr(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ye(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ye(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Qx(t,i),isOriginOutsideView:Yf(t,i),isOverlayClipped:Qx(e,i),isOverlayOutsideView:Yf(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&ml(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof oe)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function nr(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function iC(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(YB);return e&&"px"!==e?null:parseFloat(t)}return n||null}function rC(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const oC="cdk-global-overlay-wrapper";class XB{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(oC),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,c=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",m="",g="";c?g="flex-start":"center"===d?(g="center",h?m=u:f=u):h?"left"===d||"end"===d?(g="flex-end",f=u):("right"===d||"start"===d)&&(g="flex-start",m=u):"left"===d||"start"===d?(g="flex-start",f=u):("right"===d||"end"===d)&&(g="flex-end",m=u),t.position=this._cssPosition,t.marginLeft=c?"0":f,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":m,e.justifyContent=g,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(oC),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let ZB=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new XB}flexibleConnectedTo(e){return new KB(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(y(kl),y(ee),y(dt),y(tC))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),QB=0,ho=(()=>{class n{constructor(e,i,r,o,s,a,c,l,d,u,h,f){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=c,this._document=l,this._directionality=d,this._location=u,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Jx(e);return s.direction=s.direction||this._directionality.value,new qB(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+QB++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(gs)),new PB(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(y(UB),y(tC),y(Xo),y(ZB),y(GB),y(cn),y(J),y(ee),y(Ps),y(Ky),y(WB),y(Lt,8))},n.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const JB=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],sC=new M("cdk-connected-overlay-scroll-strategy");let Kf=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(p(oe))},n.\u0275dir=F({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),aC=(()=>{class n{constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ue.EMPTY,this._attachSubscription=ue.EMPTY,this._detachSubscription=ue.EMPTY,this._positionSubscription=ue.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ce,this.positionChange=new ce,this.attach=new ce,this.detach=new ce,this.overlayKeydown=new ce,this.overlayOutsideClick=new ce,this._templatePortal=new Kx(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Re(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Re(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Re(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Re(e)}get push(){return this._push}set push(e){this._push=Re(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=JB);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!oo(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Jx({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Kf?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function LB(n,t=!1){return e=>e.lift(new VB(n,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(p(ho),p(Tn),p(Yt),p(sC),p(Ps,8))},n.\u0275dir=F({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[sn]}),n})();const tH={provide:sC,deps:[ho],useFactory:function eH(n){return()=>n.scrollStrategies.reposition()}};let cC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({providers:[ho,tH],imports:[Ns,NB,qx,qx]}),n})();class nH{constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ne,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,t))return!0;return!1}return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}function js(n,t){return"function"==typeof t?e=>e.pipe(js((i,r)=>Co(n(i,r)).pipe(Pe((o,s)=>t(i,o,r,s))))):e=>e.lift(new rH(n))}class rH{constructor(t){this.project=t}call(t,e){return e.subscribe(new oH(t,this.project))}}class oH extends Eo{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new Do(this),r=this.destination;r.add(i),this.innerSubscription=So(t,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const sH=["trigger"],aH=["panel"];function cH(n,t){if(1&n&&(D(0,"span",10),V(1),C()),2&n){const e=De();E(1),Yn(e.placeholder)}}function lH(n,t){if(1&n&&(D(0,"span",14),V(1),C()),2&n){const e=De(2);E(1),Yn(e.triggerValue)}}function dH(n,t){1&n&&xe(0,0,["*ngSwitchCase","true"])}function uH(n,t){1&n&&(D(0,"span",11),z(1,lH,2,1,"span",12),z(2,dH,1,0,"ng-content",13),C()),2&n&&(S("ngSwitch",!!De().customTrigger),E(2),S("ngSwitchCase",!0))}function hH(n,t){if(1&n){const e=rs();ki(),No(),D(0,"div",15,16),be("@transformPanel.done",function(r){return pr(e),gr(De()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return pr(e),gr(De()._handleKeydown(r))}),xe(2,1),C()}if(2&n){const e=De();W_("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),S("ngClass",e.panelClass)("@transformPanel","showing"),he("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const fH=[[["mat-select-trigger"]],"*"],mH=["mat-select-trigger","*"],pH={transformPanelWrap:Sc("transformPanelWrap",[eo("* => void",YO("@transformPanel",[qO()],{optional:!0}))]),transformPanel:Sc("transformPanel",[Mc("void",ei({opacity:0,transform:"scale(1, 0.8)"})),eo("void => showing",Ds("120ms cubic-bezier(0, 0, 0.2, 1)",ei({opacity:1,transform:"scale(1, 1)"}))),eo("* => void",Ds("100ms linear",ei({opacity:0})))])};let lC=0;const dC=new M("mat-select-scroll-strategy"),_H=new M("MAT_SELECT_CONFIG"),bH={provide:dC,deps:[ho],useFactory:function gH(n){return()=>n.scrollStrategies.reposition()}},yH=new M("MatSelectTrigger");class vH{constructor(t,e){this.source=t,this.value=e}}const wH=yl(Lf(Ls(yV(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new ne}}))));let xH=(()=>{class n extends wH{constructor(e,i,r,o,s,a,c,l,d,u,h,f,m,g){super(s,o,c,l,u),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=d,this._liveAnnouncer=m,this._defaultOptions=g,this._panelOpen=!1,this._compareWith=(_,v)=>_===v,this._uid="mat-select-"+lC++,this._triggerAriaLabelledBy=null,this._destroy=new ne,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+lC++,this._panelDoneAnimatingStream=new ne,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=function iH(n){return new ke(t=>{let e;try{e=n()}catch(r){return void t.error(r)}return(e?Co(e):Af()).subscribe(t)})}(()=>{const _=this.options;return _?_.changes.pipe(pl(_),js(()=>cr(..._.map(v=>v.onSelectionChange)))):this._ngZone.onStable.pipe(Et(1),js(()=>this.optionSelectionChanges))}),this.openedChange=new ce,this._openedStream=this.openedChange.pipe(Qi(_=>_),Pe(()=>{})),this._closedStream=this.openedChange.pipe(Qi(_=>!_),Pe(()=>{})),this.selectionChange=new ce,this.valueChange=new ce,this.ngControl&&(this.ngControl.valueAccessor=this),null!=g?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=g.typeaheadDebounceInterval),this._scrollStrategyFactory=f,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(eN.required)??!1}set required(e){this._required=Re(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Re(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Re(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=vi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new nH(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Bw(),q(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(q(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(pl(null),q(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!oo(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const c=this.selected;c&&a!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||oo(e))if(!s&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(a?c.select():c.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Et(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new $L(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=cr(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(q(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),cr(...this.options.map(i=>i._stateChanges)).pipe(q(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(p(kl),p(An),p(J),p(wV),p(oe),p(Ps,8),p(nl,8),p(il,8),p(gx,8),p(ni,10),Ti("tabindex"),p(dC),p(iV),p(_H,8))},n.\u0275dir=F({type:n,viewQuery:function(e,i){if(1&e&&(Oe(sH,5),Oe(aH,5),Oe(aC,5)),2&e){let r;Z(r=Q())&&(i.trigger=r.first),Z(r=Q())&&(i.panel=r.first),Z(r=Q())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[B,sn]}),n})(),ri=(()=>{class n extends xH{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(q(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const r=this.panel.nativeElement,o=function NV(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;se+i?Math.max(0,n-i+t):e}(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new vH(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof Kf?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ue(n)))(i||n)}}(),n.\u0275cmp=Me({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Ct(r,yH,5),Ct(r,Pn,5),Ct(r,Hf,5)),2&e){let o;Z(o=Q())&&(i.customTrigger=o.first),Z(o=Q())&&(i.options=o),Z(o=Q())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&be("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(he("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Ce("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[fe([{provide:px,useExisting:n},{provide:Bf,useExisting:n}]),B],ngContentSelectors:mH,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Nt(fH),D(0,"div",0,1),be("click",function(){return i.toggle()}),D(3,"div",2),z(4,cH,2,1,"span",3),z(5,uH,3,2,"span",4),C(),D(6,"div",5)(7,"div",6),ki(),D(8,"svg",7),se(9,"path",8),C()()()(),z(10,hH,3,9,"ng-template",9),be("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=qn(1);he("aria-owns",i.panelOpen?i.id+"-panel":null),E(3),S("ngSwitch",i.empty),he("id",i._valueId),E(1),S("ngSwitchCase",!0),E(1),S("ngSwitchCase",!1),E(5),S("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[yc,vs,bh,lv,aC,Kf],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[pH.transformPanel]},changeDetection:0}),n})(),CH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({providers:[bH],imports:[Qn,cC,sx,Ve,Tl,vx,sx,Ve]}),n})();const DH=["*",[["mat-toolbar-row"]]],EH=["*","mat-toolbar-row"],SH=co(class{constructor(n){this._elementRef=n}});let MH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=F({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),kH=(()=>{class n extends SH{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(dt),p(ee))},n.\u0275cmp=Me({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Ct(r,MH,5),2&e){let o;Z(o=Q())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&Ce("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[B],ngContentSelectors:EH,decls:2,vars:0,template:function(e,i){1&e&&(Nt(DH),xe(0),xe(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),n})(),TH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ve,Ve]}),n})();const IH=["input"],AH=["label"],FH=["*"],OH=new M("mat-checkbox-default-options",{providedIn:"root",factory:uC});function uC(){return{color:"accent",clickAction:"check-indeterminate"}}const RH={provide:Ht,useExisting:pe(()=>fC),multi:!0};class PH{}let NH=0;const hC=uC(),LH=Lf(co(yl(Ls(class{constructor(n){this._elementRef=n}}))));let VH=(()=>{class n extends LH{constructor(e,i,r,o,s,a,c){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=a,this._options=c,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new ce,this.indeterminateChange=new ce,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||hC,this.color=this.defaultColor=this._options.color||hC.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`${e}${++NH}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Re(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=Re(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=Re(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=Re(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){Rr()},n.\u0275dir=F({type:n,viewQuery:function(e,i){if(1&e&&(Oe(IH,5),Oe(AH,5),Oe(er,5)),2&e){let r;Z(r=Q())&&(i._inputElement=r.first),Z(r=Q())&&(i._labelElement=r.first),Z(r=Q())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[B]}),n})(),fC=(()=>{class n extends VH{constructor(e,i,r,o,s,a){super("mat-mdc-checkbox-",e,i,r,o,s,a),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new PH;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(An),p(J),Ti("tabindex"),p(Lt,8),p(OH,8))},n.\u0275cmp=Me({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(Wr("id",i.id),he("tabindex",null)("aria-label",null)("aria-labelledby",null),Ce("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[fe([RH]),B],ngContentSelectors:FH,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(e,i){if(1&e&&(Nt(),D(0,"div",0),be("click",function(o){return i._preventBubblingFromLabel(o)}),D(1,"div",1,2)(3,"div",3),be("click",function(){return i._onInputClick()}),C(),D(4,"input",4,5),be("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(o){return i._onInteractionEvent(o)}),C(),se(6,"div",6),D(7,"div",7),ki(),D(8,"svg",8),se(9,"path",9),C(),No(),se(10,"div",10),C(),se(11,"div",11),C(),D(12,"label",12,13),xe(14),C()()),2&e){const r=qn(2);Ce("mdc-form-field--align-end","before"==i.labelPosition),E(4),Ce("mdc-checkbox--selected",i.checked),S("checked",i.checked)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),he("aria-checked",i._getAriaChecked())("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),E(7),S("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),E(1),S("for",i.inputId)}},dependencies:[er],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),mC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({}),n})(),jH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ve,vl,mC,Ve,mC]}),n})();const zH=["determinateSpinner"];function UH(n,t){if(1&n&&(ki(),D(0,"svg",11),se(1,"circle",12),C()),2&n){const e=De();he("viewBox",e._viewBox()),E(1),Hi("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),he("r",e._circleRadius())}}const $H=co(class{constructor(n){this._elementRef=n}},"primary"),GH=new M("mat-progress-spinner-default-options",{providedIn:"root",factory:function WH(){return{diameter:pC}}}),pC=100;let YH=(()=>{class n extends $H{constructor(e,i,r){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=pC,this._noopAnimations="NoopAnimations"===i&&!!r&&!r._forceAnimations,r&&(r.color&&(this.color=this.defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,vi(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=vi(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=vi(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(Lt,8),p(GH))},n.\u0275cmp=Me({type:n,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,i){if(1&e&&Oe(zH,5),2&e){let r;Z(r=Q())&&(i._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(e,i){2&e&&(he("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===i.mode?i.value:null)("mode",i.mode),Hi("width",i.diameter,"px")("height",i.diameter,"px"),Ce("_mat-animation-noopable",i._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===i.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[B],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,i){if(1&e&&(z(0,UH,2,8,"ng-template",null,0,ms),D(2,"div",1,2),ki(),D(4,"svg",3),se(5,"circle",4),C()(),No(),D(6,"div",5)(7,"div",6)(8,"div",7),is(9,8),C(),D(10,"div",9),is(11,8),C(),D(12,"div",10),is(13,8),C()()()),2&e){const r=qn(1);E(4),he("viewBox",i._viewBox()),E(1),Hi("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeDashOffset(),"px")("stroke-width",i._circleStrokeWidth(),"%"),he("r",i._circleRadius()),E(4),S("ngTemplateOutlet",r),E(2),S("ngTemplateOutlet",r),E(2),S("ngTemplateOutlet",r)}},dependencies:[yh],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),n})(),KH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Qn,Ve]}),n})();const XH=["tooltip"],gC=new M("mat-tooltip-scroll-strategy"),JH={provide:gC,deps:[ho],useFactory:function QH(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},tj=new M("mat-tooltip-default-options",{providedIn:"root",factory:function ej(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),_C="tooltip-panel",bC=ol({passive:!0});let aj=(()=>{class n{constructor(e,i,r,o,s,a,c,l,d,u,h,f){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=c,this._focusMonitor=l,this._dir=u,this._defaultOptions=h,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ne,this._scrollStrategy=d,this._document=f,h&&(h.position&&(this.position=h.position),h.positionAtOrigin&&(this.positionAtOrigin=h.positionAtOrigin),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.change.pipe(q(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Re(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Re(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=vi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=vi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(q(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,bC)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Yx(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(q(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof oe)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(q(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${_C}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(q(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(q(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(q(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!oo(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Et(1),q(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const c=`${this._cssClassPrefix}-${_C}-`;a.removePanelClass(c+this._currentPosition),a.addPanelClass(c+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,bC)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Rr()},n.\u0275dir=F({type:n,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),cj=(()=>{class n extends aj{constructor(e,i,r,o,s,a,c,l,d,u,h,f){super(e,i,r,o,s,a,c,l,d,u,h,f),this._tooltipComponent=dj,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return n.\u0275fac=function(e){return new(e||n)(p(ho),p(oe),p(Wx),p(Yt),p(J),p(dt),p(zL),p(Rf),p(gC),p(Ps,8),p(tj,8),p(ee))},n.\u0275dir=F({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[B]}),n})(),lj=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ne,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(p(An),p(Lt,8))},n.\u0275dir=F({type:n}),n})(),dj=(()=>{class n extends lj{constructor(e,i,r){super(e,r),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return n.\u0275fac=function(e){return new(e||n)(p(An),p(oe),p(Lt,8))},n.\u0275cmp=Me({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&Oe(XH,7),2&e){let r;Z(r=Q())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&be("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&Hi("zoom",i.isVisible()?1:null)},features:[B],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(D(0,"div",0,1),be("animationend",function(o){return i._handleAnimationEnd(o)}),D(2,"div",2),V(3),C()()),2&e&&(Ce("mdc-tooltip--multiline",i._isMultiline),S("ngClass",i.tooltipClass),E(3),Yn(i.message))},dependencies:[yc],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),n})(),uj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({providers:[JH],imports:[oV,Qn,cC,Ve,Ve,Tl]}),n})();class fo{}fo.\u0275fac=function(t){return new(t||fo)},fo.\u0275dir=F({type:fo,selectors:[["","ngxMatSelectSearchClear",""]]});class mo{}mo.\u0275fac=function(t){return new(t||mo)},mo.\u0275dir=F({type:mo,selectors:[["","ngxMatSelectNoEntriesFound",""]]});let hj=(()=>{class n{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=Re(e)}get inset(){return this._inset}set inset(e){this._inset=Re(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Me({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(he("aria-orientation",i.vertical?"vertical":"horizontal"),Ce("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),n})(),fj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[Ve,Ve]}),n})();class po{}po.\u0275fac=function(t){return new(t||po)},po.\u0275mod=re({type:po}),po.\u0275inj=ie({imports:[Qn,Mw,cx,jH,Bx,KH,uj,fj]});const pj=["switch"],gj=["*"],_j=new M("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),bj={provide:Ht,useExisting:pe(()=>vC),multi:!0};class yC{constructor(t,e){this.source=t,this.checked=e}}let yj=0;const vj=Lf(co(yl(Ls(class{constructor(n){this._elementRef=n}}))));let wj=(()=>{class n extends vj{constructor(e,i,r,o,s,a,c){super(e),this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=s,this._onChange=l=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new ce,this.toggleChange=new ce,this.tabIndex=parseInt(o)||0,this.color=this.defaultColor=s.color||"accent",this._noopAnimations="NoopAnimations"===a,this.id=this._uniqueId=`${c}${++yj}`}get required(){return this._required}set required(e){this._required=Re(e)}get checked(){return this._checked}set checked(e){this._checked=Re(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return n.\u0275fac=function(e){Rr()},n.\u0275dir=F({type:n,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[B]}),n})(),vC=(()=>{class n extends wj{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}get buttonId(){return`${this.id||this._uniqueId}-button`}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new yC(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(e){return new yC(this,e)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return n.\u0275fac=function(e){return new(e||n)(p(oe),p(Rf),p(An),Ti("tabindex"),p(_j),p(Lt,8))},n.\u0275cmp=Me({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&Oe(pj,5),2&e){let r;Z(r=Q())&&(i._switchElement=r.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(e,i){2&e&&(Wr("id",i.id),he("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Ce("mat-mdc-slide-toggle-focused",i._focused)("mat-mdc-slide-toggle-checked",i.checked)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[fe([bj]),B],ngContentSelectors:gj,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(e,i){if(1&e&&(Nt(),D(0,"div",0)(1,"button",1,2),be("click",function(){return i._handleClick()}),se(3,"div",3),D(4,"div",4)(5,"div",5)(6,"div",6),se(7,"div",7),C(),D(8,"div",8),se(9,"div",9),C(),D(10,"div",10),ki(),D(11,"svg",11),se(12,"path",12),C(),D(13,"svg",13),se(14,"path",14),C()()()()(),No(),D(15,"label",15),be("click",function(o){return o.stopPropagation()}),xe(16),C()()),2&e){const r=qn(2);Ce("mdc-form-field--align-end","before"==i.labelPosition),E(1),Ce("mdc-switch--selected",i.checked)("mdc-switch--unselected",!i.checked)("mdc-switch--checked",i.checked)("mdc-switch--disabled",i.disabled),S("tabIndex",i.tabIndex)("disabled",i.disabled),he("id",i.buttonId)("name",i.name)("aria-label",i.ariaLabel)("aria-labelledby",i._getAriaLabelledBy())("aria-describedby",i.ariaDescribedby)("aria-required",i.required||null)("aria-checked",i.checked),E(8),S("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),E(6),S("for",i.buttonId),he("id",i._labelId)}},dependencies:[er],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),n})(),wC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({}),n})(),Dj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=re({type:n}),n.\u0275inj=ie({imports:[wC,Ve,vl,Qn,wC,Ve]}),n})();const Mj=new class Sj extends _n{}(class Ej extends ul{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}});class St{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return gn(this.value);case"E":return wx(this.error);case"C":return Af()}throw new Error("unexpected notification kind value")}static createNext(t){return typeof t<"u"?new St("N",t):St.undefinedValueNotification}static createError(t){return new St("E",void 0,t)}static createComplete(){return St.completeNotification}}St.completeNotification=new St("C"),St.undefinedValueNotification=new St("N",void 0);class Il extends Ae{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Il.dispatch,this.delay,new Tj(t,this.destination)))}_next(t){this.scheduleMessage(St.createNext(t))}_error(t){this.scheduleMessage(St.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(St.createComplete()),this.unsubscribe()}}class Tj{constructor(t,e){this.notification=t,this.destination=e}}class ir extends ne{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new Ij(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;let s;if(this.closed)throw new Di;if(this.isStopped||this.hasError?s=ue.EMPTY:(this.observers.push(t),s=new im(this,t)),r&&t.add(t=new Il(t,r)),e)for(let a=0;ae&&(s=Math.max(s,o-e)),s>0&&r.splice(0,s),r}}class Ij{constructor(t,e){this.time=t,this.value=e}}const go=[{name:"Bank A (Switzerland)",id:"A"},{name:"Bank B (Switzerland)",id:"B"},{name:"Bank C (France)",id:"C"},{name:"Bank D (France)",id:"D"},{name:"Bank E (France)",id:"E"},{name:"Bank F (Italy)",id:"F"},{name:"Bank G (Italy)",id:"G"},{name:"Bank H (Italy)",id:"H"},{name:"Bank I (Italy)",id:"I"},{name:"Bank J (Italy)",id:"J"},{name:"Bank Kolombia (United States of America)",id:"K"},{name:"Bank L (Germany)",id:"L"},{name:"Bank M (Germany)",id:"M"},{name:"Bank N (Germany)",id:"N"},{name:"Bank O (Germany)",id:"O"},{name:"Bank P (Germany)",id:"P"},{name:"Bank Q (Germany)",id:"Q"},{name:"Bank R (Germany)",id:"R"}],Aj=[{name:"Switzerland",banks:[{name:"Bank A",id:"A"},{name:"Bank B",id:"B"}]},{name:"France",banks:[{name:"Bank C",id:"C"},{name:"Bank D",id:"D"},{name:"Bank E",id:"E"}]},{name:"Italy",banks:[{name:"Bank F",id:"F"},{name:"Bank G",id:"G"},{name:"Bank H",id:"H"},{name:"Bank I",id:"I"},{name:"Bank J",id:"J"}]},{name:"United States of America",banks:[{name:"Bank Kolombia",id:"K"}]},{name:"Germany",banks:[{name:"Bank L",id:"L"},{name:"Bank M",id:"M"},{name:"Bank N",id:"N"},{name:"Bank O",id:"O"},{name:"Bank P",id:"P"},{name:"Bank Q",id:"Q"},{name:"Bank R",id:"R"}]}];function xC(n,t=hl){const i=function Fj(n){return n instanceof Date&&!isNaN(+n)}(n)?+n-t.now():Math.abs(n);return r=>r.lift(new Oj(i,t))}class Oj{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new Xf(t,this.delay,this.scheduler))}}class Xf extends Ae{constructor(t,e,i){super(t),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,i=e.queue,r=t.scheduler,o=t.destination;for(;i.length>0&&i[0].time-r.now()<=0;)i.shift().notification.observe(o);if(i.length>0){const s=Math.max(0,i[0].time-r.now());this.schedule(t,s)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(Xf.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new Rj(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(St.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(St.createComplete()),this.unsubscribe()}}class Rj{constructor(t,e){this.time=t,this.notification=e}}const Pj=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],Nj=new M("mat-selectsearch-default-options"),Lj=["searchSelectInput"],Vj=["innerSelectSearch"];function Bj(n,t){if(1&n){const e=rs();D(0,"mat-checkbox",10),be("change",function(r){return pr(e),gr(De()._emitSelectAllBooleanToParent(r.checked))}),C()}if(2&n){const e=De();S("color",null==e.matFormField?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function Hj(n,t){1&n&&se(0,"mat-spinner",11)}function jj(n,t){1&n&&xe(0,1,["*ngIf","clearIcon; else defaultIcon"])}function zj(n,t){if(1&n&&(D(0,"mat-icon",15),V(1),C()),2&n){const e=De(2);S("svgIcon",e.closeSvgIcon),E(1),$e(" ",e.closeSvgIcon?null:e.closeIcon," ")}}function Uj(n,t){if(1&n){const e=rs();D(0,"button",12),be("click",function(){return pr(e),gr(De()._reset(!0))}),z(1,jj,1,0,"ng-content",13),z(2,zj,2,2,"ng-template",null,14,ms),C()}if(2&n){const e=qn(3),i=De();E(1),S("ngIf",i.clearIcon)("ngIfElse",e)}}function $j(n,t){1&n&&xe(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function Gj(n,t){1&n&&V(0),2&n&&Yn(De(2).noEntriesFoundLabel)}function Wj(n,t){if(1&n&&(D(0,"div",16),z(1,$j,1,0,"ng-content",13),z(2,Gj,1,1,"ng-template",null,17,ms),C()),2&n){const e=qn(3),i=De();E(1),S("ngIf",i.noEntriesFound)("ngIfElse",e)}}const qj=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],Yj=function(n,t){return{"mat-select-search-inner-multiple":n,"mat-select-search-inner-toggle-all":t}};class jt{constructor(t,e,i,r=null,o=null,s){this.matSelect=t,this.changeDetectorRef=e,this._viewportRuler=i,this.matOption=r,this.matFormField=o,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new ce,this.onTouched=a=>{},this._options$=new Tw(null),this.optionsList$=this._options$.pipe(js(a=>a?a.changes.pipe(Pe(c=>c.toArray()),pl(a.toArray())):gn(null))),this.optionsLength$=this.optionsList$.pipe(Pe(a=>a?a.length:0)),this._formControl=new it(""),this._showNoEntriesFound$=Uw([this._formControl.valueChanges,this.optionsLength$]).pipe(Pe(([a,c])=>this.noEntriesFoundLabel&&a&&c===this.getOptionsLengthOffset())),this._onDestroy=new ne,this.applyDefaultOptions(s)}get value(){return this._formControl.value}set _options(t){this._options$.next(t)}get _options(){return this._options$.getValue()}applyDefaultOptions(t){if(t)for(const e of Pj)t.hasOwnProperty(e)&&(this[e]=t[e])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(xC(1),q(this._onDestroy)).subscribe(t=>{t?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Et(1),js(t=>{this._options=this.matSelect.options;let e=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(Zi(()=>{setTimeout(()=>{const i=this._options.toArray(),r=i[this.getOptionsLengthOffset()],o=this.matSelect._keyManager;o&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(e,r)||!o.activeItem||!i.find(a=>this.matSelect.compareWith(a,o.activeItem)))&&o.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),e=r})}))})).pipe(q(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(q(this._onDestroy)).subscribe(t=>{this.matOption&&(t?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(q(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(q(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(t){this.toggleAll.emit(t)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(t){(t.key&&1===t.key.length||t.keyCode>=65&&t.keyCode<=90||t.keyCode>=48&&t.keyCode<=57||32===t.keyCode||this.preventHomeEndKeyPropagation&&(36===t.keyCode||35===t.keyCode))&&t.stopPropagation(),this.matSelect.multiple&&t.key&&13===t.keyCode&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&27===t.keyCode&&this.value&&(this._reset(!0),t.stopPropagation())}_handleKeyup(t){if(38===t.keyCode||40===t.keyCode){const e=this.matSelect._getAriaActiveDescendant(),i=this._options.toArray().findIndex(r=>r.id===e);-1!==i&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[i]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",e))}}writeValue(t){this._lastExternalInputValue=t,this._formControl.setValue(t),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(t){this._formControl.valueChanges.pipe(Qi(e=>e!==this._lastExternalInputValue),Zi(()=>this._lastExternalInputValue=void 0),q(this._onDestroy)).subscribe(t)}registerOnTouched(t){this.onTouched=t}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const t=this.matSelect.panel.nativeElement,e=t.scrollTop;this.searchSelectInput.nativeElement.focus(),t.scrollTop=e}_reset(t){this._formControl.setValue(""),t&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe(q(this._onDestroy)).subscribe(t=>{let e=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!t||!Array.isArray(t))&&(t=[]);const i=this.matSelect.options.map(r=>r.value);this.previousSelectedValues.forEach(r=>{!t.some(o=>this.matSelect.compareWith(o,r))&&!i.some(o=>this.matSelect.compareWith(o,r))&&(t.push(r),e=!0)})}this.previousSelectedValues=t,e&&this.matSelect._onChange(t)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e,t=this.innerSelectSearch.nativeElement;for(;t=t.parentElement;)if(t.classList.contains("mat-select-panel")){e=t;break}e&&(this.innerSelectSearch.nativeElement.style.width=e.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}jt.\u0275fac=function(t){return new(t||jt)(p(ri),p(An),p(kl),p(Pn,8),p(ii,8),p(Nj,8))},jt.\u0275cmp=Me({type:jt,selectors:[["ngx-mat-select-search"]],contentQueries:function(t,e,i){if(1&t&&(Ct(i,fo,5),Ct(i,mo,5)),2&t){let r;Z(r=Q())&&(e.clearIcon=r.first),Z(r=Q())&&(e.noEntriesFound=r.first)}},viewQuery:function(t,e){if(1&t&&(Oe(Lj,7,oe),Oe(Vj,7,oe)),2&t){let i;Z(i=Q())&&(e.searchSelectInput=i.first),Z(i=Q())&&(e.innerSelectSearch=i.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[fe([{provide:Ht,useExisting:pe(()=>jt),multi:!0}])],ngContentSelectors:[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],decls:13,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(t,e){1&t&&(Nt(qj),se(0,"input",0),D(1,"div",1,2)(3,"div",3),z(4,Bj,1,5,"mat-checkbox",4),D(5,"input",5,6),be("keydown",function(r){return e._handleKeydown(r)})("keyup",function(r){return e._handleKeyup(r)})("blur",function(){return e.onBlur()}),C(),z(7,Hj,1,0,"mat-spinner",7),z(8,Uj,4,2,"button",8),xe(9),C(),se(10,"mat-divider"),C(),z(11,Wj,4,2,"div",9),Mn(12,"async")),2&t&&(E(1),S("ngClass",Bb(11,Yj,e.matSelect.multiple,e._isToggleAllCheckboxVisible())),E(3),S("ngIf",e._isToggleAllCheckboxVisible()),E(1),S("type",e.type)("formControl",e._formControl)("placeholder",e.placeholderLabel),he("aria-label",e.ariaLabel),E(2),S("ngIf",e.searching),E(1),S("ngIf",!e.hideClearSearchButton&&e.value&&!e.searching),E(3),S("ngIf",kn(12,9,e._showNoEntriesFound$)))},dependencies:[yc,Jr,Gc,mn,pn,KV,fC,Wf,YH,cj,hj,On],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0});const Xj=["singleSelect"];function Zj(n,t){if(1&n&&(D(0,"mat-option",4),V(1),C()),2&n){const e=t.$implicit;S("value",e),E(1),$e(" ",e.name," ")}}class _o{constructor(){this.banks=go,this.bankCtrl=new it(null),this.bankFilterCtrl=new it(""),this.filteredBanks=new ir(1),this._onDestroy=new ne}ngOnInit(){this.bankCtrl.setValue(this.banks[10]),this.filteredBanks.next(this.banks.slice()),this.bankFilterCtrl.valueChanges.pipe(q(this._onDestroy)).subscribe(()=>{this.filterBanks()})}ngAfterViewInit(){this.setInitialValue()}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}setInitialValue(){this.filteredBanks.pipe(Et(1),q(this._onDestroy)).subscribe(()=>{this.singleSelect.compareWith=(t,e)=>t&&e&&t.id===e.id})}filterBanks(){if(!this.banks)return;let t=this.bankFilterCtrl.value;t?(t=t.toLowerCase(),this.filteredBanks.next(this.banks.filter(e=>e.name.toLowerCase().indexOf(t)>-1))):this.filteredBanks.next(this.banks.slice())}}_o.\u0275fac=function(t){return new(t||_o)},_o.\u0275cmp=Me({type:_o,selectors:[["app-single-selection-example"]],viewQuery:function(t,e){if(1&t&&Oe(Xj,7),2&t){let i;Z(i=Q())&&(e.singleSelect=i.first)}},decls:12,vars:6,consts:[["placeholder","Bank",3,"formControl"],["singleSelect",""],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(D(0,"h3"),V(1,"Single selection"),C(),D(2,"p")(3,"mat-form-field")(4,"mat-select",0,1)(6,"mat-option"),se(7,"ngx-mat-select-search",2),C(),z(8,Zj,2,2,"mat-option",3),Mn(9,"async"),C()()(),D(10,"p"),V(11),C()),2&t&&(E(4),S("formControl",e.bankCtrl),E(3),S("formControl",e.bankFilterCtrl),E(1),S("ngForOf",kn(9,4,e.filteredBanks)),E(3),$e(" Selected Bank: ",null==e.bankCtrl.value?null:e.bankCtrl.value.name,"\n"))},dependencies:[Zn,ii,ri,Pn,mn,pn,jt,On]});const Qj=["multiSelect"];function Jj(n,t){if(1&n&&(D(0,"mat-option",5),V(1),C()),2&n){const e=t.$implicit;S("value",e),E(1),$e(" ",e.name," ")}}function e8(n,t){if(1&n&&(D(0,"ul")(1,"li"),V(2),C()()),2&n){const e=t.$implicit;E(2),Yn(e.name)}}class zs{constructor(){this.banks=go,this.bankMultiCtrl=new it([]),this.bankMultiFilterCtrl=new it(""),this.filteredBanksMulti=new ir(1),this._onDestroy=new ne}ngOnInit(){this.bankMultiCtrl.setValue([this.banks[10],this.banks[11],this.banks[12]]),this.filteredBanksMulti.next(this.banks.slice()),this.bankMultiFilterCtrl.valueChanges.pipe(q(this._onDestroy)).subscribe(()=>{this.filterBanksMulti()})}ngAfterViewInit(){this.setInitialValue()}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}setInitialValue(){this.filteredBanksMulti.pipe(Et(1),q(this._onDestroy)).subscribe(()=>{this.multiSelect.compareWith=(t,e)=>t&&e&&t.id===e.id})}filterBanksMulti(){if(!this.banks)return;let t=this.bankMultiFilterCtrl.value;t?(t=t.toLowerCase(),this.filteredBanksMulti.next(this.banks.filter(e=>e.name.toLowerCase().indexOf(t)>-1))):this.filteredBanksMulti.next(this.banks.slice())}}function t8(n,t){1&n&&(D(0,"ngx-mat-select-search",4)(1,"mat-icon",5),V(2,"delete"),C()()),2&n&&S("formControl",De().bankFilterCtrl)("preventHomeEndKeyPropagation",!0)}function n8(n,t){if(1&n&&(D(0,"mat-option",6),V(1),C()),2&n){const e=t.$implicit;S("value",e),E(1),$e(" ",e.name," ")}}zs.\u0275fac=function(t){return new(t||zs)},zs.\u0275cmp=Me({type:zs,selectors:[["app-multiple-selection-example"]],viewQuery:function(t,e){if(1&t&&Oe(Qj,7),2&t){let i;Z(i=Q())&&(e.multiSelect=i.first)}},decls:13,vars:7,consts:[["placeholder","Banks",3,"formControl","multiple"],["multiSelect",""],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(D(0,"h3"),V(1,"Multiple selection"),C(),D(2,"p")(3,"mat-form-field")(4,"mat-select",0,1)(6,"mat-option"),se(7,"ngx-mat-select-search",2),C(),z(8,Jj,2,2,"mat-option",3),Mn(9,"async"),C()()(),D(10,"p"),V(11," Selected Banks:\n"),C(),z(12,e8,3,1,"ul",4)),2&t&&(E(4),S("formControl",e.bankMultiCtrl)("multiple",!0),E(3),S("formControl",e.bankMultiFilterCtrl),E(1),S("ngForOf",kn(9,5,e.filteredBanksMulti)),E(4),S("ngForOf",null==e.bankMultiCtrl?null:e.bankMultiCtrl.value))},dependencies:[Zn,ii,ri,Pn,mn,pn,jt,On]});class bo extends _o{ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit()}ngOnDestroy(){super.ngOnDestroy()}}bo.\u0275fac=function(){let n;return function(e){return(n||(n=Ue(bo)))(e||bo)}}(),bo.\u0275cmp=Me({type:bo,selectors:[["app-custom-clear-icon-example"]],features:[B],decls:12,vars:6,consts:[["placeholder","Bank",3,"formControl"],["singleSelect",""],[3,"formControl","preventHomeEndKeyPropagation",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"formControl","preventHomeEndKeyPropagation"],["ngxMatSelectSearchClear",""],[3,"value"]],template:function(t,e){1&t&&(D(0,"h3"),V(1,"Single selection with custom clear icon"),C(),D(2,"p")(3,"mat-form-field")(4,"mat-select",0,1)(6,"mat-option"),z(7,t8,3,2,"ngx-mat-select-search",2),C(),z(8,n8,2,2,"mat-option",3),Mn(9,"async"),C()()(),D(10,"p"),V(11),C()),2&t&&(E(4),S("formControl",e.bankCtrl),E(3),S("ngIf",!0),E(1),S("ngForOf",kn(9,4,e.filteredBanks)),E(3),$e(" Selected Bank: ",null==e.bankCtrl.value?null:e.bankCtrl.value.name,"\n"))},dependencies:[Zn,Jr,ii,Wf,ri,Pn,mn,pn,jt,fo,On]});const i8=["singleSelect"];function r8(n,t){1&n&&(D(0,"ngx-mat-select-search",4)(1,"span",5),V(2," No entries found "),D(3,"button",6),V(4," Add "),D(5,"mat-icon"),V(6,"add"),C()()()()),2&n&&S("formControl",De().bankFilterCtrl)("preventHomeEndKeyPropagation",!0)}function o8(n,t){if(1&n&&(D(0,"mat-option",7),V(1),C()),2&n){const e=t.$implicit;S("value",e),E(1),$e(" ",e.name," ")}}class Us{constructor(){this.banks=go,this.bankCtrl=new it(null),this.bankFilterCtrl=new it(""),this.filteredBanks=new ir(1),this._onDestroy=new ne}ngOnInit(){this.bankCtrl.setValue(this.banks[10]),this.filteredBanks.next(this.banks.slice()),this.bankFilterCtrl.valueChanges.pipe(q(this._onDestroy)).subscribe(()=>{this.filterBanks()})}ngAfterViewInit(){this.setInitialValue()}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}setInitialValue(){this.filteredBanks.pipe(Et(1),q(this._onDestroy)).subscribe(()=>{this.singleSelect.compareWith=(t,e)=>t&&e&&t.id===e.id})}filterBanks(){if(!this.banks)return;let t=this.bankFilterCtrl.value;t?(t=t.toLowerCase(),this.filteredBanks.next(this.banks.filter(e=>e.name.toLowerCase().indexOf(t)>-1))):this.filteredBanks.next(this.banks.slice())}}function s8(n,t){if(1&n&&(D(0,"mat-option",6),V(1),C()),2&n){const e=t.$implicit;S("value",e),E(1),$e(" ",e.name," ")}}function a8(n,t){if(1&n&&(D(0,"mat-optgroup",4),z(1,s8,2,2,"mat-option",5),C()),2&n){const e=t.$implicit;S("label",e.name),E(1),S("ngForOf",e.banks)}}Us.\u0275fac=function(t){return new(t||Us)},Us.\u0275cmp=Me({type:Us,selectors:[["app-custom-no-entries-found-example"]],viewQuery:function(t,e){if(1&t&&Oe(i8,7),2&t){let i;Z(i=Q())&&(e.singleSelect=i.first)}},decls:12,vars:6,consts:[["placeholder","Bank",3,"formControl"],["singleSelect",""],[3,"formControl","preventHomeEndKeyPropagation",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"formControl","preventHomeEndKeyPropagation"],["ngxMatSelectNoEntriesFound",""],["mat-button","","color","primary"],[3,"value"]],template:function(t,e){1&t&&(D(0,"h3"),V(1,"Single selection with custom no entries found element"),C(),D(2,"p")(3,"mat-form-field")(4,"mat-select",0,1)(6,"mat-option"),z(7,r8,7,2,"ngx-mat-select-search",2),C(),z(8,o8,2,2,"mat-option",3),Mn(9,"async"),C()()(),D(10,"p"),V(11),C()),2&t&&(E(4),S("formControl",e.bankCtrl),E(3),S("ngIf",!0),E(1),S("ngForOf",kn(9,4,e.filteredBanks)),E(3),$e(" Selected Bank: ",null==e.bankCtrl.value?null:e.bankCtrl.value.name,"\n"))},dependencies:[Zn,Jr,qV,ii,Wf,ri,Pn,mn,pn,jt,mo,On]});class $s{constructor(){this.bankGroups=Aj,this.bankGroupsCtrl=new it(null),this.bankGroupsFilterCtrl=new it(""),this.filteredBankGroups=new ir(1),this._onDestroy=new ne}ngOnInit(){this.filteredBankGroups.next(this.copyBankGroups(this.bankGroups)),this.bankGroupsFilterCtrl.valueChanges.pipe(q(this._onDestroy)).subscribe(()=>{this.filterBankGroups()})}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}filterBankGroups(){if(!this.bankGroups)return;let t=this.bankGroupsFilterCtrl.value;const e=this.copyBankGroups(this.bankGroups);t?(t=t.toLowerCase(),this.filteredBankGroups.next(e.filter(i=>(i.name.toLowerCase().indexOf(t)>-1||(i.banks=i.banks.filter(o=>o.name.toLowerCase().indexOf(t)>-1)),i.banks.length>0)))):this.filteredBankGroups.next(e)}copyBankGroups(t){const e=[];return t.forEach(i=>{e.push({name:i.name,banks:i.banks.slice()})}),e}}function c8(n,t){if(1&n&&(D(0,"mat-option",3),V(1),C()),2&n){const e=t.$implicit;S("value",e),E(1),$e(" ",e.name," ")}}$s.\u0275fac=function(t){return new(t||$s)},$s.\u0275cmp=Me({type:$s,selectors:[["app-option-groups-example"]],decls:12,vars:6,consts:[["placeholder","Bank",3,"formControl"],["singleSelect",""],[3,"formControl"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(D(0,"h3"),V(1,"Single selection with option groups"),C(),D(2,"p")(3,"mat-form-field")(4,"mat-select",0,1)(6,"mat-option"),se(7,"ngx-mat-select-search",2),C(),z(8,a8,2,2,"mat-optgroup",3),Mn(9,"async"),C()()(),D(10,"p"),V(11),C()),2&t&&(E(4),S("formControl",e.bankGroupsCtrl),E(3),S("formControl",e.bankGroupsFilterCtrl),E(1),S("ngForOf",kn(9,4,e.filteredBankGroups)),E(3),$e(" Selected Bank: ",null==e.bankGroupsCtrl.value?null:e.bankGroupsCtrl.value.name,"\n"))},dependencies:[Zn,ii,ri,Pn,FV,mn,pn,jt,On]});class Gs{constructor(){this.banks=go,this.bankServerSideCtrl=new it(null),this.bankServerSideFilteringCtrl=new it(""),this.searching=!1,this.filteredServerSideBanks=new ir(1),this._onDestroy=new ne}ngOnInit(){this.bankServerSideFilteringCtrl.valueChanges.pipe(Qi(t=>!!t),Zi(()=>this.searching=!0),q(this._onDestroy),fl(200),Pe(t=>this.banks?this.banks.filter(e=>e.name.toLowerCase().indexOf(t)>-1):[]),xC(500),q(this._onDestroy)).subscribe(t=>{this.searching=!1,this.filteredServerSideBanks.next(t)},t=>{this.searching=!1})}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}}Gs.\u0275fac=function(t){return new(t||Gs)},Gs.\u0275cmp=Me({type:Gs,selectors:[["app-server-side-search-example"]],decls:11,vars:7,consts:[["placeholder","Bank",3,"formControl"],[3,"formControl","searching"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(D(0,"h3"),V(1,"Server Side Search"),C(),D(2,"p")(3,"mat-form-field")(4,"mat-select",0)(5,"mat-option"),se(6,"ngx-mat-select-search",1),C(),z(7,c8,2,2,"mat-option",2),Mn(8,"async"),C()()(),D(9,"p"),V(10),C()),2&t&&(E(4),S("formControl",e.bankServerSideCtrl),E(2),S("formControl",e.bankServerSideFilteringCtrl)("searching",e.searching),E(1),S("ngForOf",kn(8,5,e.filteredServerSideBanks)),E(3),$e(" Selected Bank: ",null==e.bankServerSideCtrl.value?null:e.bankServerSideCtrl.value.name,"\n"))},dependencies:[Zn,ii,ri,Pn,mn,pn,jt,On]});const l8=["multiSelect"];function d8(n,t){if(1&n&&(D(0,"mat-option",6),V(1),C()),2&n){const e=t.$implicit;S("value",e),E(1),$e(" ",e.name," ")}}function u8(n,t){if(1&n&&(D(0,"ul")(1,"li"),V(2),C()()),2&n){const e=t.$implicit;E(2),Yn(e.name)}}class Ws{constructor(){this.banks=go,this.bankMultiCtrl=new it([]),this.bankMultiFilterCtrl=new it(""),this.filteredBanksMulti=new ir(1),this.filteredBanksCache=[],this.isIndeterminate=!1,this.isChecked=!1,this._onDestroy=new ne}ngOnInit(){this.bankMultiCtrl.setValue([this.banks[10],this.banks[11],this.banks[12]]),this.filteredBanksMulti.next(this.banks.slice()),this.bankMultiFilterCtrl.valueChanges.pipe(q(this._onDestroy)).subscribe(()=>{this.filterBanksMulti(),this.setToggleAllCheckboxState()}),this.bankMultiCtrl.valueChanges.pipe(q(this._onDestroy)).subscribe(()=>{this.setToggleAllCheckboxState()})}ngAfterViewInit(){this.setInitialValue()}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}toggleSelectAll(t){this.filteredBanksMulti.pipe(Et(1),q(this._onDestroy)).subscribe(e=>{this.bankMultiCtrl.patchValue(t?e:[])})}setInitialValue(){this.filteredBanksMulti.pipe(Et(1),q(this._onDestroy)).subscribe(()=>{this.multiSelect.compareWith=(t,e)=>t&&e&&t.id===e.id})}filterBanksMulti(){if(!this.banks)return;let t=this.bankMultiFilterCtrl.value;if(!t)return this.filteredBanksCache=this.banks.slice(),void this.filteredBanksMulti.next(this.filteredBanksCache);t=t.toLowerCase(),this.filteredBanksCache=this.banks.filter(e=>e.name.toLowerCase().indexOf(t)>-1),this.filteredBanksMulti.next(this.filteredBanksCache)}setToggleAllCheckboxState(){let t=0;this.bankMultiCtrl&&this.bankMultiCtrl.value&&(this.filteredBanksCache.forEach(e=>{this.bankMultiCtrl.value.indexOf(e)>-1&&t++}),this.isIndeterminate=t>0&&t0&&t===this.filteredBanksCache.length)}}Ws.\u0275fac=function(t){return new(t||Ws)},Ws.\u0275cmp=Me({type:Ws,selectors:[["app-multiple-selection-select-all-example"]],viewQuery:function(t,e){if(1&t&&Oe(l8,7),2&t){let i;Z(i=Q())&&(e.multiSelect=i.first)}},decls:13,vars:10,consts:[["color","accent"],["placeholder","Banks",3,"formControl","multiple"],["multiSelect",""],[3,"showToggleAllCheckbox","toggleAllCheckboxIndeterminate","toggleAllCheckboxChecked","formControl","toggleAll"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(D(0,"h3"),V(1,"Multiple selection with Select All Checkbox"),C(),D(2,"p")(3,"mat-form-field",0)(4,"mat-select",1,2)(6,"mat-option")(7,"ngx-mat-select-search",3),be("toggleAll",function(r){return e.toggleSelectAll(r)}),C()(),z(8,d8,2,2,"mat-option",4),Mn(9,"async"),C()()(),D(10,"p"),V(11," Selected Banks:\n"),C(),z(12,u8,3,1,"ul",5)),2&t&&(E(4),S("formControl",e.bankMultiCtrl)("multiple",!0),E(3),S("showToggleAllCheckbox",!0)("toggleAllCheckboxIndeterminate",e.isIndeterminate)("toggleAllCheckboxChecked",e.isChecked)("formControl",e.bankMultiFilterCtrl),E(1),S("ngForOf",kn(9,8,e.filteredBanksMulti)),E(4),S("ngForOf",null==e.bankMultiCtrl?null:e.bankMultiCtrl.value))},dependencies:[Zn,ii,ri,Pn,mn,pn,jt,On]});const h8=["multiSelect"];function f8(n,t){if(1&n&&(D(0,"mat-option",5),V(1),C()),2&n){const e=t.$implicit;S("value",e),E(1),$e(" ",e.name," ")}}class qs{constructor(){this.banks=go,this.bankMultiCtrl=new it([]),this.bankMultiFilterCtrl=new it(""),this.filteredBanksMulti=new ir(1),this.tooltipMessage="Select All / Unselect All",this._onDestroy=new ne}ngOnInit(){this.bankMultiCtrl.setValue([this.banks[10],this.banks[11],this.banks[12]]),this.filteredBanksMulti.next(this.banks.slice()),this.bankMultiFilterCtrl.valueChanges.pipe(q(this._onDestroy)).subscribe(()=>{this.filterBanksMulti()})}ngAfterViewInit(){this.setInitialValue()}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}toggleSelectAll(t){this.filteredBanksMulti.pipe(Et(1),q(this._onDestroy)).subscribe(()=>{this.bankMultiCtrl.patchValue(t?[...this.banks]:[])})}setInitialValue(){this.filteredBanksMulti.pipe(Et(1),q(this._onDestroy)).subscribe(()=>{this.multiSelect.compareWith=(t,e)=>t&&e&&t.id===e.id})}filterBanksMulti(){if(!this.banks)return;let t=this.bankMultiFilterCtrl.value;t?(t=t.toLowerCase(),this.filteredBanksMulti.next(this.banks.filter(e=>e.name.toLowerCase().indexOf(t)>-1))):this.filteredBanksMulti.next(this.banks.slice())}}qs.\u0275fac=function(t){return new(t||qs)},qs.\u0275cmp=Me({type:qs,selectors:[["app-tooltip-select-all-example"]],viewQuery:function(t,e){if(1&t&&Oe(h8,7),2&t){let i;Z(i=Q())&&(e.multiSelect=i.first)}},decls:10,vars:9,consts:[["color","accent"],["placeholder","Banks",3,"formControl","multiple"],["multiSelect",""],[3,"showToggleAllCheckbox","formControl","toggleAllCheckboxTooltipMessage","toggleAllCheckboxTooltipPosition","toggleAll"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(D(0,"h3"),V(1,"Tooltip on the Select All Checkbox"),C(),D(2,"p")(3,"mat-form-field",0)(4,"mat-select",1,2)(6,"mat-option")(7,"ngx-mat-select-search",3),be("toggleAll",function(r){return e.toggleSelectAll(r)}),C()(),z(8,f8,2,2,"mat-option",4),Mn(9,"async"),C()()()),2&t&&(E(4),S("formControl",e.bankMultiCtrl)("multiple",!0),E(3),S("showToggleAllCheckbox",!0)("formControl",e.bankMultiFilterCtrl)("toggleAllCheckboxTooltipMessage",e.tooltipMessage)("toggleAllCheckboxTooltipPosition","above"),E(1),S("ngForOf",kn(9,7,e.filteredBanksMulti)))},dependencies:[Zn,ii,ri,Pn,mn,pn,jt,On],styles:[".ngx-mat-select-search-toggle-all-tooltip{font-size:.8em}"]});class Ys{constructor(){this.version=Nf,this.matSelectSearchVersion="7.0.4",this.rightToLeft=!1}toggleRightToLeft(){this.rightToLeft=!this.rightToLeft,document.body.dir=this.rightToLeft?"rtl":""}}Ys.\u0275fac=function(t){return new(t||Ys)},Ys.\u0275cmp=Me({type:Ys,selectors:[["app-root"]],decls:33,vars:2,consts:[["color","primary"],[1,"basic-container"],["href","https://material.angular.io/components/select/overview","target","_blank"],["href","https://material.angular.io"],["href","https://github.com/bithost-gmbh/ngx-mat-select-search","target","_blank"],["ngModel","",3,"ngModelChange"],[1,"version-info"]],template:function(t,e){1&t&&(D(0,"mat-toolbar",0),V(1," Angular Material 2 App\n"),C(),D(2,"div",1)(3,"h1"),V(4,"ngx-mat-select-search"),C(),D(5,"p"),V(6,"Angular component providing an input field for searching / filtering "),D(7,"a",2),V(8,"MatSelect"),C(),V(9," options of the "),D(10,"a",3),V(11,"Angular Material"),C(),V(12," library."),C(),D(13,"p")(14,"a",4),V(15,"https://github.com/bithost-gmbh/ngx-mat-select-search"),C()(),D(16,"h2"),V(17,"Examples"),C(),se(18,"app-single-selection-example")(19,"app-multiple-selection-example")(20,"app-custom-clear-icon-example")(21,"app-custom-no-entries-found-example")(22,"app-option-groups-example")(23,"app-server-side-search-example")(24,"app-multiple-selection-select-all-example")(25,"app-tooltip-select-all-example"),D(26,"div")(27,"mat-slide-toggle",5),be("ngModelChange",function(){return e.toggleRightToLeft()}),V(28,"Right-to-left"),C()(),D(29,"div",6),V(30),se(31,"br"),V(32),C()()),2&t&&(E(30),$e(" ngx-mat-select-search Version: ",e.matSelectSearchVersion," "),E(2),$e(" Material Version: ",e.version.full," "))},dependencies:[kH,mn,bf,vC,_o,zs,bo,Us,$s,Gs,Ws,qs],styles:["[_nghost-%COMP%]{display:block;margin-bottom:200px}"]});class yo{}yo.\u0275fac=function(t){return new(t||yo)},yo.\u0275mod=re({type:yo}),yo.\u0275inj=ie({imports:[cx,vx,Bx,CH,TH]});class vo{}vo.\u0275fac=function(t){return new(t||vo)},vo.\u0275mod=re({type:vo,bootstrap:[Ys]}),vo.\u0275inj=ie({imports:[Rv,Qn,yo,YN,Mw,qP,po,Dj]}),NO().bootstrapModule(vo).catch(n=>console.log(n))}},ci=>{ci(ci.s=5016)}]); \ No newline at end of file diff --git a/polyfills.ef6fb21d407edebd.js b/polyfills.ef6fb21d407edebd.js new file mode 100644 index 00000000..cf9d2c2e --- /dev/null +++ b/polyfills.ef6fb21d407edebd.js @@ -0,0 +1 @@ +(self.webpackChunkngx_mat_select_search=self.webpackChunkngx_mat_select_search||[]).push([[429],{7435:(c,h,t)=>{"use strict";t(3499),t(7795),t(8583)},8583:()=>{"use strict";!function(r){const f=r.performance;function g(at){f&&f.mark&&f.mark(at)}function p(at,H){f&&f.measure&&f.measure(at,H)}g("Zone");const O=r.__Zone_symbol_prefix||"__zone_symbol__";function R(at){return O+at}const $=!0===r[R("forceDuplicateZoneCheck")];if(r.Zone){if($||"function"!=typeof r.Zone.__symbol__)throw new Error("Zone already loaded.");return r.Zone}let A=(()=>{class at{constructor(o,d){this._parent=o,this._name=d?d.name||"unnamed":"",this._properties=d&&d.properties||{},this._zoneDelegate=new K(this,this._parent&&this._parent._zoneDelegate,d)}static assertZonePatched(){if(r.Promise!==Ft.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let o=at.current;for(;o.parent;)o=o.parent;return o}static get current(){return mt.zone}static get currentTask(){return Lt}static __load_patch(o,d,z=!1){if(Ft.hasOwnProperty(o)){if(!z&&$)throw Error("Already loaded patch: "+o)}else if(!r["__Zone_disable_"+o]){const q="Zone:"+o;g(q),Ft[o]=d(r,at,St),p(q,q)}}get parent(){return this._parent}get name(){return this._name}get(o){const d=this.getZoneWith(o);if(d)return d._properties[o]}getZoneWith(o){let d=this;for(;d;){if(d._properties.hasOwnProperty(o))return d;d=d._parent}return null}fork(o){if(!o)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,o)}wrap(o,d){if("function"!=typeof o)throw new Error("Expecting function got: "+o);const z=this._zoneDelegate.intercept(this,o,d),q=this;return function(){return q.runGuarded(z,this,arguments,d)}}run(o,d,z,q){mt={parent:mt,zone:this};try{return this._zoneDelegate.invoke(this,o,d,z,q)}finally{mt=mt.parent}}runGuarded(o,d=null,z,q){mt={parent:mt,zone:this};try{try{return this._zoneDelegate.invoke(this,o,d,z,q)}catch(jt){if(this._zoneDelegate.handleError(this,jt))throw jt}}finally{mt=mt.parent}}runTask(o,d,z){if(o.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(o.zone||bt).name+"; Execution: "+this.name+")");if(o.state===ft&&(o.type===It||o.type===J))return;const q=o.state!=U;q&&o._transitionTo(U,ct),o.runCount++;const jt=Lt;Lt=o,mt={parent:mt,zone:this};try{o.type==J&&o.data&&!o.data.isPeriodic&&(o.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,o,d,z)}catch(b){if(this._zoneDelegate.handleError(this,b))throw b}}finally{o.state!==ft&&o.state!==Z&&(o.type==It||o.data&&o.data.isPeriodic?q&&o._transitionTo(ct,U):(o.runCount=0,this._updateTaskCount(o,-1),q&&o._transitionTo(ft,U,ft))),mt=mt.parent,Lt=jt}}scheduleTask(o){if(o.zone&&o.zone!==this){let z=this;for(;z;){if(z===o.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${o.zone.name}`);z=z.parent}}o._transitionTo(Rt,ft);const d=[];o._zoneDelegates=d,o._zone=this;try{o=this._zoneDelegate.scheduleTask(this,o)}catch(z){throw o._transitionTo(Z,Rt,ft),this._zoneDelegate.handleError(this,z),z}return o._zoneDelegates===d&&this._updateTaskCount(o,1),o.state==Rt&&o._transitionTo(ct,Rt),o}scheduleMicroTask(o,d,z,q){return this.scheduleTask(new W(st,o,d,z,q,void 0))}scheduleMacroTask(o,d,z,q,jt){return this.scheduleTask(new W(J,o,d,z,q,jt))}scheduleEventTask(o,d,z,q,jt){return this.scheduleTask(new W(It,o,d,z,q,jt))}cancelTask(o){if(o.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(o.zone||bt).name+"; Execution: "+this.name+")");o._transitionTo(ht,ct,U);try{this._zoneDelegate.cancelTask(this,o)}catch(d){throw o._transitionTo(Z,ht),this._zoneDelegate.handleError(this,d),d}return this._updateTaskCount(o,-1),o._transitionTo(ft,ht),o.runCount=0,o}_updateTaskCount(o,d){const z=o._zoneDelegates;-1==d&&(o._zoneDelegates=null);for(let q=0;qat.hasTask(o,d),onScheduleTask:(at,H,o,d)=>at.scheduleTask(o,d),onInvokeTask:(at,H,o,d,z,q)=>at.invokeTask(o,d,z,q),onCancelTask:(at,H,o,d)=>at.cancelTask(o,d)};class K{constructor(H,o,d){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=H,this._parentDelegate=o,this._forkZS=d&&(d&&d.onFork?d:o._forkZS),this._forkDlgt=d&&(d.onFork?o:o._forkDlgt),this._forkCurrZone=d&&(d.onFork?this.zone:o._forkCurrZone),this._interceptZS=d&&(d.onIntercept?d:o._interceptZS),this._interceptDlgt=d&&(d.onIntercept?o:o._interceptDlgt),this._interceptCurrZone=d&&(d.onIntercept?this.zone:o._interceptCurrZone),this._invokeZS=d&&(d.onInvoke?d:o._invokeZS),this._invokeDlgt=d&&(d.onInvoke?o:o._invokeDlgt),this._invokeCurrZone=d&&(d.onInvoke?this.zone:o._invokeCurrZone),this._handleErrorZS=d&&(d.onHandleError?d:o._handleErrorZS),this._handleErrorDlgt=d&&(d.onHandleError?o:o._handleErrorDlgt),this._handleErrorCurrZone=d&&(d.onHandleError?this.zone:o._handleErrorCurrZone),this._scheduleTaskZS=d&&(d.onScheduleTask?d:o._scheduleTaskZS),this._scheduleTaskDlgt=d&&(d.onScheduleTask?o:o._scheduleTaskDlgt),this._scheduleTaskCurrZone=d&&(d.onScheduleTask?this.zone:o._scheduleTaskCurrZone),this._invokeTaskZS=d&&(d.onInvokeTask?d:o._invokeTaskZS),this._invokeTaskDlgt=d&&(d.onInvokeTask?o:o._invokeTaskDlgt),this._invokeTaskCurrZone=d&&(d.onInvokeTask?this.zone:o._invokeTaskCurrZone),this._cancelTaskZS=d&&(d.onCancelTask?d:o._cancelTaskZS),this._cancelTaskDlgt=d&&(d.onCancelTask?o:o._cancelTaskDlgt),this._cancelTaskCurrZone=d&&(d.onCancelTask?this.zone:o._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const z=d&&d.onHasTask;(z||o&&o._hasTaskZS)&&(this._hasTaskZS=z?d:Y,this._hasTaskDlgt=o,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=H,d.onScheduleTask||(this._scheduleTaskZS=Y,this._scheduleTaskDlgt=o,this._scheduleTaskCurrZone=this.zone),d.onInvokeTask||(this._invokeTaskZS=Y,this._invokeTaskDlgt=o,this._invokeTaskCurrZone=this.zone),d.onCancelTask||(this._cancelTaskZS=Y,this._cancelTaskDlgt=o,this._cancelTaskCurrZone=this.zone))}fork(H,o){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,H,o):new A(H,o)}intercept(H,o,d){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,H,o,d):o}invoke(H,o,d,z,q){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,H,o,d,z,q):o.apply(d,z)}handleError(H,o){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,H,o)}scheduleTask(H,o){let d=o;if(this._scheduleTaskZS)this._hasTaskZS&&d._zoneDelegates.push(this._hasTaskDlgtOwner),d=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,H,o),d||(d=o);else if(o.scheduleFn)o.scheduleFn(o);else{if(o.type!=st)throw new Error("Task is missing scheduleFn.");_(o)}return d}invokeTask(H,o,d,z){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,H,o,d,z):o.callback.apply(d,z)}cancelTask(H,o){let d;if(this._cancelTaskZS)d=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,H,o);else{if(!o.cancelFn)throw Error("Task is not cancelable");d=o.cancelFn(o)}return d}hasTask(H,o){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,H,o)}catch(d){this.handleError(H,d)}}_updateTaskCount(H,o){const d=this._taskCounts,z=d[H],q=d[H]=z+o;if(q<0)throw new Error("More tasks executed then were scheduled.");0!=z&&0!=q||this.hasTask(this.zone,{microTask:d.microTask>0,macroTask:d.macroTask>0,eventTask:d.eventTask>0,change:H})}}class W{constructor(H,o,d,z,q,jt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=H,this.source=o,this.data=z,this.scheduleFn=q,this.cancelFn=jt,!d)throw new Error("callback is not defined");this.callback=d;const b=this;this.invoke=H===It&&z&&z.useG?W.invokeTask:function(){return W.invokeTask.call(r,b,this,arguments)}}static invokeTask(H,o,d){H||(H=this),Ct++;try{return H.runCount++,H.zone.runTask(H,o,d)}finally{1==Ct&&F(),Ct--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(ft,Rt)}_transitionTo(H,o,d){if(this._state!==o&&this._state!==d)throw new Error(`${this.type} '${this.source}': can not transition to '${H}', expecting state '${o}'${d?" or '"+d+"'":""}, was '${this._state}'.`);this._state=H,H==ft&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const it=R("setTimeout"),rt=R("Promise"),ot=R("then");let Dt,Et=[],ut=!1;function Ot(at){if(Dt||r[rt]&&(Dt=r[rt].resolve(0)),Dt){let H=Dt[ot];H||(H=Dt.then),H.call(Dt,at)}else r[it](at,0)}function _(at){0===Ct&&0===Et.length&&Ot(F),at&&Et.push(at)}function F(){if(!ut){for(ut=!0;Et.length;){const at=Et;Et=[];for(let H=0;Hmt,onUnhandledError:Tt,microtaskDrainDone:Tt,scheduleMicroTask:_,showUncaughtError:()=>!A[R("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Tt,patchMethod:()=>Tt,bindArguments:()=>[],patchThen:()=>Tt,patchMacroTask:()=>Tt,patchEventPrototype:()=>Tt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Tt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Tt,wrapWithCurrentZone:()=>Tt,filterProperties:()=>[],attachOriginToPatched:()=>Tt,_redefineProperty:()=>Tt,patchCallbacks:()=>Tt,nativeScheduleMicroTask:Ot};let mt={parent:null,zone:new A(null,null)},Lt=null,Ct=0;function Tt(){}p("Zone","Zone"),r.Zone=A}(typeof window<"u"&&window||typeof self<"u"&&self||global);const c=Object.getOwnPropertyDescriptor,h=Object.defineProperty,t=Object.getPrototypeOf,e=Object.create,n=Array.prototype.slice,i="addEventListener",a="removeEventListener",s=Zone.__symbol__(i),u=Zone.__symbol__(a),v="true",l="false",y=Zone.__symbol__("");function m(r,f){return Zone.current.wrap(r,f)}function P(r,f,g,p,O){return Zone.current.scheduleMacroTask(r,f,g,p,O)}const T=Zone.__symbol__,x=typeof window<"u",L=x?window:void 0,S=x&&L||"object"==typeof self&&self||global;function C(r,f){for(let g=r.length-1;g>=0;g--)"function"==typeof r[g]&&(r[g]=m(r[g],f+"_"+g));return r}function N(r){return!r||!1!==r.writable&&!("function"==typeof r.get&&typeof r.set>"u")}const j=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,M=!("nw"in S)&&typeof S.process<"u"&&"[object process]"==={}.toString.call(S.process),B=!M&&!j&&!(!x||!L.HTMLElement),Q=typeof S.process<"u"&&"[object process]"==={}.toString.call(S.process)&&!j&&!(!x||!L.HTMLElement),yt={},Mt=function(r){if(!(r=r||S.event))return;let f=yt[r.type];f||(f=yt[r.type]=T("ON_PROPERTY"+r.type));const g=this||r.target||S,p=g[f];let O;if(B&&g===L&&"error"===r.type){const R=r;O=p&&p.call(this,R.message,R.filename,R.lineno,R.colno,R.error),!0===O&&r.preventDefault()}else O=p&&p.apply(this,arguments),null!=O&&!O&&r.preventDefault();return O};function kt(r,f,g){let p=c(r,f);if(!p&&g&&c(g,f)&&(p={enumerable:!0,configurable:!0}),!p||!p.configurable)return;const O=T("on"+f+"patched");if(r.hasOwnProperty(O)&&r[O])return;delete p.writable,delete p.value;const R=p.get,$=p.set,A=f.slice(2);let Y=yt[A];Y||(Y=yt[A]=T("ON_PROPERTY"+A)),p.set=function(K){let W=this;!W&&r===S&&(W=S),W&&("function"==typeof W[Y]&&W.removeEventListener(A,Mt),$&&$.call(W,null),W[Y]=K,"function"==typeof K&&W.addEventListener(A,Mt,!1))},p.get=function(){let K=this;if(!K&&r===S&&(K=S),!K)return null;const W=K[Y];if(W)return W;if(R){let it=R.call(this);if(it)return p.set.call(this,it),"function"==typeof K.removeAttribute&&K.removeAttribute(f),it}return null},h(r,f,p),r[O]=!0}function Nt(r,f,g){if(f)for(let p=0;pfunction($,A){const Y=g($,A);return Y.cbIdx>=0&&"function"==typeof A[Y.cbIdx]?P(Y.name,A[Y.cbIdx],Y,O):R.apply($,A)})}function dt(r,f){r[T("OriginalDelegate")]=f}let gt=!1,wt=!1;function le(){if(gt)return wt;gt=!0;try{const r=L.navigator.userAgent;(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/")||-1!==r.indexOf("Edge/"))&&(wt=!0)}catch{}return wt}Zone.__load_patch("ZoneAwarePromise",(r,f,g)=>{const p=Object.getOwnPropertyDescriptor,O=Object.defineProperty,$=g.symbol,A=[],Y=!0===r[$("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],K=$("Promise"),W=$("then");g.onUnhandledError=b=>{if(g.showUncaughtError()){const k=b&&b.rejection;k?console.error("Unhandled Promise rejection:",k instanceof Error?k.message:k,"; Zone:",b.zone.name,"; Task:",b.task&&b.task.source,"; Value:",k,k instanceof Error?k.stack:void 0):console.error(b)}},g.microtaskDrainDone=()=>{for(;A.length;){const b=A.shift();try{b.zone.runGuarded(()=>{throw b.throwOriginal?b.rejection:b})}catch(k){ot(k)}}};const rt=$("unhandledPromiseRejectionHandler");function ot(b){g.onUnhandledError(b);try{const k=f[rt];"function"==typeof k&&k.call(this,b)}catch{}}function Et(b){return b&&b.then}function ut(b){return b}function Dt(b){return o.reject(b)}const Ot=$("state"),_=$("value"),F=$("finally"),bt=$("parentPromiseValue"),ft=$("parentPromiseState"),ct=null,U=!0,ht=!1;function st(b,k){return E=>{try{St(b,k,E)}catch(I){St(b,!1,I)}}}const J=function(){let b=!1;return function(E){return function(){b||(b=!0,E.apply(null,arguments))}}},Ft=$("currentTaskTrace");function St(b,k,E){const I=J();if(b===E)throw new TypeError("Promise resolved with itself");if(b[Ot]===ct){let V=null;try{("object"==typeof E||"function"==typeof E)&&(V=E&&E.then)}catch(X){return I(()=>{St(b,!1,X)})(),b}if(k!==ht&&E instanceof o&&E.hasOwnProperty(Ot)&&E.hasOwnProperty(_)&&E[Ot]!==ct)Lt(E),St(b,E[Ot],E[_]);else if(k!==ht&&"function"==typeof V)try{V.call(E,I(st(b,k)),I(st(b,!1)))}catch(X){I(()=>{St(b,!1,X)})()}else{b[Ot]=k;const X=b[_];if(b[_]=E,b[F]===F&&k===U&&(b[Ot]=b[ft],b[_]=b[bt]),k===ht&&E instanceof Error){const G=f.currentTask&&f.currentTask.data&&f.currentTask.data.__creationTrace__;G&&O(E,Ft,{configurable:!0,enumerable:!1,writable:!0,value:G})}for(let G=0;G{try{const tt=b[_],et=!!E&&F===E[F];et&&(E[bt]=tt,E[ft]=X);const nt=k.run(G,void 0,et&&G!==Dt&&G!==ut?[]:[tt]);St(E,!0,nt)}catch(tt){St(E,!1,tt)}},E)}const at=function(){},H=r.AggregateError;class o{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(k){return St(new this(null),U,k)}static reject(k){return St(new this(null),ht,k)}static any(k){if(!k||"function"!=typeof k[Symbol.iterator])return Promise.reject(new H([],"All promises were rejected"));const E=[];let I=0;try{for(let G of k)I++,E.push(o.resolve(G))}catch{return Promise.reject(new H([],"All promises were rejected"))}if(0===I)return Promise.reject(new H([],"All promises were rejected"));let V=!1;const X=[];return new o((G,tt)=>{for(let et=0;et{V||(V=!0,G(nt))},nt=>{X.push(nt),I--,0===I&&(V=!0,tt(new H(X,"All promises were rejected")))})})}static race(k){let E,I,V=new this((tt,et)=>{E=tt,I=et});function X(tt){E(tt)}function G(tt){I(tt)}for(let tt of k)Et(tt)||(tt=this.resolve(tt)),tt.then(X,G);return V}static all(k){return o.allWithCallback(k)}static allSettled(k){return(this&&this.prototype instanceof o?this:o).allWithCallback(k,{thenCallback:I=>({status:"fulfilled",value:I}),errorCallback:I=>({status:"rejected",reason:I})})}static allWithCallback(k,E){let I,V,X=new this((nt,vt)=>{I=nt,V=vt}),G=2,tt=0;const et=[];for(let nt of k){Et(nt)||(nt=this.resolve(nt));const vt=tt;try{nt.then(pt=>{et[vt]=E?E.thenCallback(pt):pt,G--,0===G&&I(et)},pt=>{E?(et[vt]=E.errorCallback(pt),G--,0===G&&I(et)):V(pt)})}catch(pt){V(pt)}G++,tt++}return G-=2,0===G&&I(et),X}constructor(k){const E=this;if(!(E instanceof o))throw new Error("Must be an instanceof Promise.");E[Ot]=ct,E[_]=[];try{const I=J();k&&k(I(st(E,U)),I(st(E,ht)))}catch(I){St(E,!1,I)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return o}then(k,E){var I;let V=null===(I=this.constructor)||void 0===I?void 0:I[Symbol.species];(!V||"function"!=typeof V)&&(V=this.constructor||o);const X=new V(at),G=f.current;return this[Ot]==ct?this[_].push(G,X,k,E):Ct(this,G,X,k,E),X}catch(k){return this.then(null,k)}finally(k){var E;let I=null===(E=this.constructor)||void 0===E?void 0:E[Symbol.species];(!I||"function"!=typeof I)&&(I=o);const V=new I(at);V[F]=F;const X=f.current;return this[Ot]==ct?this[_].push(X,V,k,k):Ct(this,X,V,k,k),V}}o.resolve=o.resolve,o.reject=o.reject,o.race=o.race,o.all=o.all;const d=r[K]=r.Promise;r.Promise=o;const z=$("thenPatched");function q(b){const k=b.prototype,E=p(k,"then");if(E&&(!1===E.writable||!E.configurable))return;const I=k.then;k[W]=I,b.prototype.then=function(V,X){return new o((tt,et)=>{I.call(this,tt,et)}).then(V,X)},b[z]=!0}return g.patchThen=q,d&&(q(d),lt(r,"fetch",b=>function jt(b){return function(k,E){let I=b.apply(k,E);if(I instanceof o)return I;let V=I.constructor;return V[z]||q(V),I}}(b))),Promise[f.__symbol__("uncaughtPromiseErrors")]=A,o}),Zone.__load_patch("toString",r=>{const f=Function.prototype.toString,g=T("OriginalDelegate"),p=T("Promise"),O=T("Error"),R=function(){if("function"==typeof this){const K=this[g];if(K)return"function"==typeof K?f.call(K):Object.prototype.toString.call(K);if(this===Promise){const W=r[p];if(W)return f.call(W)}if(this===Error){const W=r[O];if(W)return f.call(W)}}return f.call(this)};R[g]=f,Function.prototype.toString=R;const $=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":$.call(this)}});let Ut=!1;if(typeof window<"u")try{const r=Object.defineProperty({},"passive",{get:function(){Ut=!0}});window.addEventListener("test",r,r),window.removeEventListener("test",r,r)}catch{Ut=!1}const de={useG:!0},Zt={},qt={},te=new RegExp("^"+y+"(\\w+)(true|false)$"),ee=T("propagationStopped");function ne(r,f){const g=(f?f(r):r)+l,p=(f?f(r):r)+v,O=y+g,R=y+p;Zt[r]={},Zt[r][l]=O,Zt[r][v]=R}function he(r,f,g,p){const O=p&&p.add||i,R=p&&p.rm||a,$=p&&p.listeners||"eventListeners",A=p&&p.rmAll||"removeAllListeners",Y=T(O),K="."+O+":",rt=function(_,F,bt){if(_.isRemoved)return;const ft=_.callback;let Rt;"object"==typeof ft&&ft.handleEvent&&(_.callback=U=>ft.handleEvent(U),_.originalDelegate=ft);try{_.invoke(_,F,[bt])}catch(U){Rt=U}const ct=_.options;return ct&&"object"==typeof ct&&ct.once&&F[R].call(F,bt.type,_.originalDelegate?_.originalDelegate:_.callback,ct),Rt};function ot(_,F,bt){if(!(F=F||r.event))return;const ft=_||F.target||r,Rt=ft[Zt[F.type][bt?v:l]];if(Rt){const ct=[];if(1===Rt.length){const U=rt(Rt[0],ft,F);U&&ct.push(U)}else{const U=Rt.slice();for(let ht=0;ht{throw ht})}}}const Et=function(_){return ot(this,_,!1)},ut=function(_){return ot(this,_,!0)};function Dt(_,F){if(!_)return!1;let bt=!0;F&&void 0!==F.useG&&(bt=F.useG);const ft=F&&F.vh;let Rt=!0;F&&void 0!==F.chkDup&&(Rt=F.chkDup);let ct=!1;F&&void 0!==F.rt&&(ct=F.rt);let U=_;for(;U&&!U.hasOwnProperty(O);)U=t(U);if(!U&&_[O]&&(U=_),!U||U[Y])return!1;const ht=F&&F.eventNameToString,Z={},st=U[Y]=U[O],J=U[T(R)]=U[R],It=U[T($)]=U[$],Ft=U[T(A)]=U[A];let St;function mt(E,I){return!Ut&&"object"==typeof E&&E?!!E.capture:Ut&&I?"boolean"==typeof E?{capture:E,passive:!0}:E?"object"==typeof E&&!1!==E.passive?Object.assign(Object.assign({},E),{passive:!0}):E:{passive:!0}:E}F&&F.prepend&&(St=U[T(F.prepend)]=U[F.prepend]);const o=bt?function(E){if(!Z.isExisting)return st.call(Z.target,Z.eventName,Z.capture?ut:Et,Z.options)}:function(E){return st.call(Z.target,Z.eventName,E.invoke,Z.options)},d=bt?function(E){if(!E.isRemoved){const I=Zt[E.eventName];let V;I&&(V=I[E.capture?v:l]);const X=V&&E.target[V];if(X)for(let G=0;Gfunction(O,R){O[ee]=!0,p&&p.apply(O,R)})}function pe(r,f,g,p,O){const R=Zone.__symbol__(p);if(f[R])return;const $=f[R]=f[p];f[p]=function(A,Y,K){return Y&&Y.prototype&&O.forEach(function(W){const it=`${g}.${p}::`+W,rt=Y.prototype;try{if(rt.hasOwnProperty(W)){const ot=r.ObjectGetOwnPropertyDescriptor(rt,W);ot&&ot.value?(ot.value=r.wrapWithCurrentZone(ot.value,it),r._redefineProperty(Y.prototype,W,ot)):rt[W]&&(rt[W]=r.wrapWithCurrentZone(rt[W],it))}else rt[W]&&(rt[W]=r.wrapWithCurrentZone(rt[W],it))}catch{}}),$.call(f,A,Y,K)},r.attachOriginToPatched(f[p],$)}function oe(r,f,g){if(!g||0===g.length)return f;const p=g.filter(R=>R.target===r);if(!p||0===p.length)return f;const O=p[0].ignoreProperties;return f.filter(R=>-1===O.indexOf(R))}function se(r,f,g,p){r&&Nt(r,oe(r,f,g),p)}function Jt(r){return Object.getOwnPropertyNames(r).filter(f=>f.startsWith("on")&&f.length>2).map(f=>f.substring(2))}Zone.__load_patch("util",(r,f,g)=>{const p=Jt(r);g.patchOnProperties=Nt,g.patchMethod=lt,g.bindArguments=C,g.patchMacroTask=Pt;const O=f.__symbol__("BLACK_LISTED_EVENTS"),R=f.__symbol__("UNPATCHED_EVENTS");r[R]&&(r[O]=r[R]),r[O]&&(f[O]=f[R]=r[O]),g.patchEventPrototype=ve,g.patchEventTarget=he,g.isIEOrEdge=le,g.ObjectDefineProperty=h,g.ObjectGetOwnPropertyDescriptor=c,g.ObjectCreate=e,g.ArraySlice=n,g.patchClass=At,g.wrapWithCurrentZone=m,g.filterProperties=oe,g.attachOriginToPatched=dt,g._redefineProperty=Object.defineProperty,g.patchCallbacks=pe,g.getGlobalObjects=()=>({globalSources:qt,zoneSymbolEventNames:Zt,eventNames:p,isBrowser:B,isMix:Q,isNode:M,TRUE_STR:v,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y,ADD_EVENT_LISTENER_STR:i,REMOVE_EVENT_LISTENER_STR:a})});const Xt=T("zoneTask");function Wt(r,f,g,p){let O=null,R=null;g+=p;const $={};function A(K){const W=K.data;return W.args[0]=function(){return K.invoke.apply(this,arguments)},W.handleId=O.apply(r,W.args),K}function Y(K){return R.call(r,K.data.handleId)}O=lt(r,f+=p,K=>function(W,it){if("function"==typeof it[0]){const rt={isPeriodic:"Interval"===p,delay:"Timeout"===p||"Interval"===p?it[1]||0:void 0,args:it},ot=it[0];it[0]=function(){try{return ot.apply(this,arguments)}finally{rt.isPeriodic||("number"==typeof rt.handleId?delete $[rt.handleId]:rt.handleId&&(rt.handleId[Xt]=null))}};const Et=P(f,it[0],rt,A,Y);if(!Et)return Et;const ut=Et.data.handleId;return"number"==typeof ut?$[ut]=Et:ut&&(ut[Xt]=Et),ut&&ut.ref&&ut.unref&&"function"==typeof ut.ref&&"function"==typeof ut.unref&&(Et.ref=ut.ref.bind(ut),Et.unref=ut.unref.bind(ut)),"number"==typeof ut||ut?ut:Et}return K.apply(r,it)}),R=lt(r,g,K=>function(W,it){const rt=it[0];let ot;"number"==typeof rt?ot=$[rt]:(ot=rt&&rt[Xt],ot||(ot=rt)),ot&&"string"==typeof ot.type?"notScheduled"!==ot.state&&(ot.cancelFn&&ot.data.isPeriodic||0===ot.runCount)&&("number"==typeof rt?delete $[rt]:rt&&(rt[Xt]=null),ot.zone.cancelTask(ot)):K.apply(r,it)})}Zone.__load_patch("legacy",r=>{const f=r[Zone.__symbol__("legacyPatch")];f&&f()}),Zone.__load_patch("queueMicrotask",(r,f,g)=>{g.patchMethod(r,"queueMicrotask",p=>function(O,R){f.current.scheduleMicroTask("queueMicrotask",R[0])})}),Zone.__load_patch("timers",r=>{const f="set",g="clear";Wt(r,f,g,"Timeout"),Wt(r,f,g,"Interval"),Wt(r,f,g,"Immediate")}),Zone.__load_patch("requestAnimationFrame",r=>{Wt(r,"request","cancel","AnimationFrame"),Wt(r,"mozRequest","mozCancel","AnimationFrame"),Wt(r,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(r,f)=>{const g=["alert","prompt","confirm"];for(let p=0;pfunction(Y,K){return f.current.run(R,r,K,A)})}),Zone.__load_patch("EventTarget",(r,f,g)=>{(function me(r,f){f.patchEventPrototype(r,f)})(r,g),function ge(r,f){if(Zone[f.symbol("patchEventTarget")])return;const{eventNames:g,zoneSymbolEventNames:p,TRUE_STR:O,FALSE_STR:R,ZONE_SYMBOL_PREFIX:$}=f.getGlobalObjects();for(let Y=0;Y{At("MutationObserver"),At("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(r,f,g)=>{At("IntersectionObserver")}),Zone.__load_patch("FileReader",(r,f,g)=>{At("FileReader")}),Zone.__load_patch("on_property",(r,f,g)=>{!function ye(r,f){if(M&&!Q||Zone[r.symbol("patchEvents")])return;const g=f.__Zone_ignore_on_properties;let p=[];if(B){const O=window;p=p.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const R=function Kt(){try{const r=L.navigator.userAgent;if(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:O,ignoreProperties:["error"]}]:[];se(O,Jt(O),g&&g.concat(R),t(O))}p=p.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let O=0;O{!function Ee(r,f){const{isBrowser:g,isMix:p}=f.getGlobalObjects();(g||p)&&r.customElements&&"customElements"in r&&f.patchCallbacks(f,r.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(r,g)}),Zone.__load_patch("XHR",(r,f)=>{!function Y(K){const W=K.XMLHttpRequest;if(!W)return;const it=W.prototype;let ot=it[s],Et=it[u];if(!ot){const Z=K.XMLHttpRequestEventTarget;if(Z){const st=Z.prototype;ot=st[s],Et=st[u]}}const ut="readystatechange",Dt="scheduled";function Ot(Z){const st=Z.data,J=st.target;J[R]=!1,J[A]=!1;const It=J[O];ot||(ot=J[s],Et=J[u]),It&&Et.call(J,ut,It);const Ft=J[O]=()=>{if(J.readyState===J.DONE)if(!st.aborted&&J[R]&&Z.state===Dt){const mt=J[f.__symbol__("loadfalse")];if(0!==J.status&&mt&&mt.length>0){const Lt=Z.invoke;Z.invoke=function(){const Ct=J[f.__symbol__("loadfalse")];for(let Tt=0;Ttfunction(Z,st){return Z[p]=0==st[2],Z[$]=st[1],bt.apply(Z,st)}),Rt=T("fetchTaskAborting"),ct=T("fetchTaskScheduling"),U=lt(it,"send",()=>function(Z,st){if(!0===f.current[ct]||Z[p])return U.apply(Z,st);{const J={target:Z,url:Z[$],isPeriodic:!1,args:st,aborted:!1},It=P("XMLHttpRequest.send",_,J,Ot,F);Z&&!0===Z[A]&&!J.aborted&&It.state===Dt&&It.invoke()}}),ht=lt(it,"abort",()=>function(Z,st){const J=function rt(Z){return Z[g]}(Z);if(J&&"string"==typeof J.type){if(null==J.cancelFn||J.data&&J.data.aborted)return;J.zone.cancelTask(J)}else if(!0===f.current[Rt])return ht.apply(Z,st)})}(r);const g=T("xhrTask"),p=T("xhrSync"),O=T("xhrListener"),R=T("xhrScheduled"),$=T("xhrURL"),A=T("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function w(r,f){const g=r.constructor.name;for(let p=0;p{const Y=function(){return A.apply(this,C(arguments,g+"."+O))};return dt(Y,A),Y})(R)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(r,f)=>{function g(p){return function(O){re(r,p).forEach($=>{const A=r.PromiseRejectionEvent;if(A){const Y=new A(p,{promise:O.promise,reason:O.rejection});$.invoke(Y)}})}}r.PromiseRejectionEvent&&(f[T("unhandledPromiseRejectionHandler")]=g("unhandledrejection"),f[T("rejectionHandledHandler")]=g("rejectionhandled"))})},3499:(c,h,t)=>{t(1572),t(2139),t(685),t(5535),t(7347),t(3049),t(6633),t(8989),t(8270),t(4510),t(3984),t(5769),t(55),t(6014),t(5645)},7795:(c,h,t)=>{t(3364),t(1432),t(6562),t(4416),t(8681),t(2213),t(3471),t(4329),t(5159),t(5645)},4963:c=>{c.exports=function(h){if("function"!=typeof h)throw TypeError(h+" is not a function!");return h}},3328:c=>{c.exports=function(h,t,e,n){if(!(h instanceof t)||void 0!==n&&n in h)throw TypeError(e+": incorrect invocation!");return h}},7007:(c,h,t)=>{var e=t(5286);c.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},9490:(c,h,t)=>{var e=t(3531);c.exports=function(n,i){var a=[];return e(n,!1,a.push,a,i),a}},9315:(c,h,t)=>{var e=t(2110),n=t(875),i=t(2337);c.exports=function(a){return function(s,u,v){var P,l=e(s),y=n(l.length),m=i(v,y);if(a&&u!=u){for(;y>m;)if((P=l[m++])!=P)return!0}else for(;y>m;m++)if((a||m in l)&&l[m]===u)return a||m||0;return!a&&-1}}},50:(c,h,t)=>{var e=t(741),n=t(9797),i=t(508),a=t(875),s=t(6886);c.exports=function(u,v){var l=1==u,y=2==u,m=3==u,P=4==u,T=6==u,x=5==u||T,L=v||s;return function(S,D,C){for(var yt,Mt,w=i(S),N=n(w),j=e(D,C,3),M=a(N.length),B=0,Q=l?L(S,M):y?L(S,0):void 0;M>B;B++)if((x||B in N)&&(Mt=j(yt=N[B],B,w),u))if(l)Q[B]=Mt;else if(Mt)switch(u){case 3:return!0;case 5:return yt;case 6:return B;case 2:Q.push(yt)}else if(P)return!1;return T?-1:m||P?P:Q}}},2736:(c,h,t)=>{var e=t(5286),n=t(4302),i=t(6314)("species");c.exports=function(a){var s;return n(a)&&("function"==typeof(s=a.constructor)&&(s===Array||n(s.prototype))&&(s=void 0),e(s)&&null===(s=s[i])&&(s=void 0)),void 0===s?Array:s}},6886:(c,h,t)=>{var e=t(2736);c.exports=function(n,i){return new(e(n))(i)}},4398:(c,h,t)=>{"use strict";var e=t(4963),n=t(5286),i=t(7242),a=[].slice,s={},u=function(v,l,y){if(!(l in s)){for(var m=[],P=0;P{var e=t(2032),n=t(6314)("toStringTag"),i="Arguments"==e(function(){return arguments}());c.exports=function(s){var u,v,l;return void 0===s?"Undefined":null===s?"Null":"string"==typeof(v=function(s,u){try{return s[u]}catch{}}(u=Object(s),n))?v:i?e(u):"Object"==(l=e(u))&&"function"==typeof u.callee?"Arguments":l}},2032:c=>{var h={}.toString;c.exports=function(t){return h.call(t).slice(8,-1)}},9824:(c,h,t)=>{"use strict";var e=t(9275).f,n=t(2503),i=t(4408),a=t(741),s=t(3328),u=t(3531),v=t(2923),l=t(5436),y=t(2974),m=t(7057),P=t(4728).fastKey,T=t(1616),x=m?"_s":"size",L=function(S,D){var w,C=P(D);if("F"!==C)return S._i[C];for(w=S._f;w;w=w.n)if(w.k==D)return w};c.exports={getConstructor:function(S,D,C,w){var N=S(function(j,M){s(j,N,D,"_i"),j._t=D,j._i=n(null),j._f=void 0,j._l=void 0,j[x]=0,null!=M&&u(M,C,j[w],j)});return i(N.prototype,{clear:function(){for(var M=T(this,D),B=M._i,Q=M._f;Q;Q=Q.n)Q.r=!0,Q.p&&(Q.p=Q.p.n=void 0),delete B[Q.i];M._f=M._l=void 0,M[x]=0},delete:function(j){var M=T(this,D),B=L(M,j);if(B){var Q=B.n,yt=B.p;delete M._i[B.i],B.r=!0,yt&&(yt.n=Q),Q&&(Q.p=yt),M._f==B&&(M._f=Q),M._l==B&&(M._l=yt),M[x]--}return!!B},forEach:function(M){T(this,D);for(var Q,B=a(M,arguments.length>1?arguments[1]:void 0,3);Q=Q?Q.n:this._f;)for(B(Q.v,Q.k,this);Q&&Q.r;)Q=Q.p},has:function(M){return!!L(T(this,D),M)}}),m&&e(N.prototype,"size",{get:function(){return T(this,D)[x]}}),N},def:function(S,D,C){var N,j,w=L(S,D);return w?w.v=C:(S._l=w={i:j=P(D,!0),k:D,v:C,p:N=S._l,n:void 0,r:!1},S._f||(S._f=w),N&&(N.n=w),S[x]++,"F"!==j&&(S._i[j]=w)),S},getEntry:L,setStrong:function(S,D,C){v(S,D,function(w,N){this._t=T(w,D),this._k=N,this._l=void 0},function(){for(var w=this,N=w._k,j=w._l;j&&j.r;)j=j.p;return w._t&&(w._l=j=j?j.n:w._t._f)?l(0,"keys"==N?j.k:"values"==N?j.v:[j.k,j.v]):(w._t=void 0,l(1))},C?"entries":"values",!C,!0),y(D)}}},3657:(c,h,t)=>{"use strict";var e=t(4408),n=t(4728).getWeak,i=t(7007),a=t(5286),s=t(3328),u=t(3531),v=t(50),l=t(9181),y=t(1616),m=v(5),P=v(6),T=0,x=function(D){return D._l||(D._l=new L)},L=function(){this.a=[]},S=function(D,C){return m(D.a,function(w){return w[0]===C})};L.prototype={get:function(D){var C=S(this,D);if(C)return C[1]},has:function(D){return!!S(this,D)},set:function(D,C){var w=S(this,D);w?w[1]=C:this.a.push([D,C])},delete:function(D){var C=P(this.a,function(w){return w[0]===D});return~C&&this.a.splice(C,1),!!~C}},c.exports={getConstructor:function(D,C,w,N){var j=D(function(M,B){s(M,j,C,"_i"),M._t=C,M._i=T++,M._l=void 0,null!=B&&u(B,w,M[N],M)});return e(j.prototype,{delete:function(M){if(!a(M))return!1;var B=n(M);return!0===B?x(y(this,C)).delete(M):B&&l(B,this._i)&&delete B[this._i]},has:function(B){if(!a(B))return!1;var Q=n(B);return!0===Q?x(y(this,C)).has(B):Q&&l(Q,this._i)}}),j},def:function(D,C,w){var N=n(i(C),!0);return!0===N?x(D).set(C,w):N[D._i]=w,D},ufstore:x}},5795:(c,h,t)=>{"use strict";var e=t(3816),n=t(2985),i=t(7234),a=t(4408),s=t(4728),u=t(3531),v=t(3328),l=t(5286),y=t(4253),m=t(7462),P=t(2943),T=t(266);c.exports=function(x,L,S,D,C,w){var N=e[x],j=N,M=C?"set":"add",B=j&&j.prototype,Q={},yt=function(lt){var Pt=B[lt];i(B,lt,"delete"==lt?function(dt){return!(w&&!l(dt))&&Pt.call(this,0===dt?0:dt)}:"has"==lt?function(gt){return!(w&&!l(gt))&&Pt.call(this,0===gt?0:gt)}:"get"==lt?function(gt){return w&&!l(gt)?void 0:Pt.call(this,0===gt?0:gt)}:"add"==lt?function(gt){return Pt.call(this,0===gt?0:gt),this}:function(gt,wt){return Pt.call(this,0===gt?0:gt,wt),this})};if("function"==typeof j&&(w||B.forEach&&!y(function(){(new j).entries().next()}))){var Mt=new j,kt=Mt[M](w?{}:-0,1)!=Mt,Nt=y(function(){Mt.has(1)}),xt=m(function(lt){new j(lt)}),At=!w&&y(function(){for(var lt=new j,Pt=5;Pt--;)lt[M](Pt,Pt);return!lt.has(-0)});xt||((j=L(function(lt,Pt){v(lt,j,x);var dt=T(new N,lt,j);return null!=Pt&&u(Pt,C,dt[M],dt),dt})).prototype=B,B.constructor=j),(Nt||At)&&(yt("delete"),yt("has"),C&&yt("get")),(At||kt)&&yt(M),w&&B.clear&&delete B.clear}else j=D.getConstructor(L,x,C,M),a(j.prototype,S),s.NEED=!0;return P(j,x),Q[x]=j,n(n.G+n.W+n.F*(j!=N),Q),w||D.setStrong(j,x,C),j}},5645:c=>{var h=c.exports={version:"2.6.12"};"number"==typeof __e&&(__e=h)},741:(c,h,t)=>{var e=t(4963);c.exports=function(n,i,a){if(e(n),void 0===i)return n;switch(a){case 1:return function(s){return n.call(i,s)};case 2:return function(s,u){return n.call(i,s,u)};case 3:return function(s,u,v){return n.call(i,s,u,v)}}return function(){return n.apply(i,arguments)}}},1355:c=>{c.exports=function(h){if(null==h)throw TypeError("Can't call method on "+h);return h}},7057:(c,h,t)=>{c.exports=!t(4253)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},2457:(c,h,t)=>{var e=t(5286),n=t(3816).document,i=e(n)&&e(n.createElement);c.exports=function(a){return i?n.createElement(a):{}}},4430:c=>{c.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2985:(c,h,t)=>{var e=t(3816),n=t(5645),i=t(7728),a=t(7234),s=t(741),u="prototype",v=function(l,y,m){var N,j,M,B,P=l&v.F,T=l&v.G,L=l&v.P,S=l&v.B,D=T?e:l&v.S?e[y]||(e[y]={}):(e[y]||{})[u],C=T?n:n[y]||(n[y]={}),w=C[u]||(C[u]={});for(N in T&&(m=y),m)M=((j=!P&&D&&void 0!==D[N])?D:m)[N],B=S&&j?s(M,e):L&&"function"==typeof M?s(Function.call,M):M,D&&a(D,N,M,l&v.U),C[N]!=M&&i(C,N,B),L&&w[N]!=M&&(w[N]=M)};e.core=n,v.F=1,v.G=2,v.S=4,v.P=8,v.B=16,v.W=32,v.U=64,v.R=128,c.exports=v},4253:c=>{c.exports=function(h){try{return!!h()}catch{return!0}}},3531:(c,h,t)=>{var e=t(741),n=t(8851),i=t(6555),a=t(7007),s=t(875),u=t(9002),v={},l={},y=c.exports=function(m,P,T,x,L){var w,N,j,M,S=L?function(){return m}:u(m),D=e(T,x,P?2:1),C=0;if("function"!=typeof S)throw TypeError(m+" is not iterable!");if(i(S)){for(w=s(m.length);w>C;C++)if((M=P?D(a(N=m[C])[0],N[1]):D(m[C]))===v||M===l)return M}else for(j=S.call(m);!(N=j.next()).done;)if((M=n(j,D,N.value,P))===v||M===l)return M};y.BREAK=v,y.RETURN=l},18:(c,h,t)=>{c.exports=t(3825)("native-function-to-string",Function.toString)},3816:c=>{var h=c.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=h)},9181:c=>{var h={}.hasOwnProperty;c.exports=function(t,e){return h.call(t,e)}},7728:(c,h,t)=>{var e=t(9275),n=t(681);c.exports=t(7057)?function(i,a,s){return e.f(i,a,n(1,s))}:function(i,a,s){return i[a]=s,i}},639:(c,h,t)=>{var e=t(3816).document;c.exports=e&&e.documentElement},1734:(c,h,t)=>{c.exports=!t(7057)&&!t(4253)(function(){return 7!=Object.defineProperty(t(2457)("div"),"a",{get:function(){return 7}}).a})},266:(c,h,t)=>{var e=t(5286),n=t(7375).set;c.exports=function(i,a,s){var v,u=a.constructor;return u!==s&&"function"==typeof u&&(v=u.prototype)!==s.prototype&&e(v)&&n&&n(i,v),i}},7242:c=>{c.exports=function(h,t,e){var n=void 0===e;switch(t.length){case 0:return n?h():h.call(e);case 1:return n?h(t[0]):h.call(e,t[0]);case 2:return n?h(t[0],t[1]):h.call(e,t[0],t[1]);case 3:return n?h(t[0],t[1],t[2]):h.call(e,t[0],t[1],t[2]);case 4:return n?h(t[0],t[1],t[2],t[3]):h.call(e,t[0],t[1],t[2],t[3])}return h.apply(e,t)}},9797:(c,h,t)=>{var e=t(2032);c.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},6555:(c,h,t)=>{var e=t(2803),n=t(6314)("iterator"),i=Array.prototype;c.exports=function(a){return void 0!==a&&(e.Array===a||i[n]===a)}},4302:(c,h,t)=>{var e=t(2032);c.exports=Array.isArray||function(i){return"Array"==e(i)}},5286:c=>{c.exports=function(h){return"object"==typeof h?null!==h:"function"==typeof h}},8851:(c,h,t)=>{var e=t(7007);c.exports=function(n,i,a,s){try{return s?i(e(a)[0],a[1]):i(a)}catch(v){var u=n.return;throw void 0!==u&&e(u.call(n)),v}}},9988:(c,h,t)=>{"use strict";var e=t(2503),n=t(681),i=t(2943),a={};t(7728)(a,t(6314)("iterator"),function(){return this}),c.exports=function(s,u,v){s.prototype=e(a,{next:n(1,v)}),i(s,u+" Iterator")}},2923:(c,h,t)=>{"use strict";var e=t(4461),n=t(2985),i=t(7234),a=t(7728),s=t(2803),u=t(9988),v=t(2943),l=t(468),y=t(6314)("iterator"),m=!([].keys&&"next"in[].keys()),T="keys",x="values",L=function(){return this};c.exports=function(S,D,C,w,N,j,M){u(C,D,w);var Pt,dt,gt,B=function(wt){if(!m&&wt in kt)return kt[wt];switch(wt){case T:case x:return function(){return new C(this,wt)}}return function(){return new C(this,wt)}},Q=D+" Iterator",yt=N==x,Mt=!1,kt=S.prototype,Nt=kt[y]||kt["@@iterator"]||N&&kt[N],xt=Nt||B(N),At=N?yt?B("entries"):xt:void 0,lt="Array"==D&&kt.entries||Nt;if(lt&&(gt=l(lt.call(new S)))!==Object.prototype&>.next&&(v(gt,Q,!0),!e&&"function"!=typeof gt[y]&&a(gt,y,L)),yt&&Nt&&Nt.name!==x&&(Mt=!0,xt=function(){return Nt.call(this)}),(!e||M)&&(m||Mt||!kt[y])&&a(kt,y,xt),s[D]=xt,s[Q]=L,N)if(Pt={values:yt?xt:B(x),keys:j?xt:B(T),entries:At},M)for(dt in Pt)dt in kt||i(kt,dt,Pt[dt]);else n(n.P+n.F*(m||Mt),D,Pt);return Pt}},7462:(c,h,t)=>{var e=t(6314)("iterator"),n=!1;try{var i=[7][e]();i.return=function(){n=!0},Array.from(i,function(){throw 2})}catch{}c.exports=function(a,s){if(!s&&!n)return!1;var u=!1;try{var v=[7],l=v[e]();l.next=function(){return{done:u=!0}},v[e]=function(){return l},a(v)}catch{}return u}},5436:c=>{c.exports=function(h,t){return{value:t,done:!!h}}},2803:c=>{c.exports={}},4461:c=>{c.exports=!1},4728:(c,h,t)=>{var e=t(3953)("meta"),n=t(5286),i=t(9181),a=t(9275).f,s=0,u=Object.isExtensible||function(){return!0},v=!t(4253)(function(){return u(Object.preventExtensions({}))}),l=function(x){a(x,e,{value:{i:"O"+ ++s,w:{}}})},T=c.exports={KEY:e,NEED:!1,fastKey:function(x,L){if(!n(x))return"symbol"==typeof x?x:("string"==typeof x?"S":"P")+x;if(!i(x,e)){if(!u(x))return"F";if(!L)return"E";l(x)}return x[e].i},getWeak:function(x,L){if(!i(x,e)){if(!u(x))return!0;if(!L)return!1;l(x)}return x[e].w},onFreeze:function(x){return v&&T.NEED&&u(x)&&!i(x,e)&&l(x),x}}},133:(c,h,t)=>{var e=t(8416),n=t(2985),i=t(3825)("metadata"),a=i.store||(i.store=new(t(147))),s=function(T,x,L){var S=a.get(T);if(!S){if(!L)return;a.set(T,S=new e)}var D=S.get(x);if(!D){if(!L)return;S.set(x,D=new e)}return D};c.exports={store:a,map:s,has:function(T,x,L){var S=s(x,L,!1);return void 0!==S&&S.has(T)},get:function(T,x,L){var S=s(x,L,!1);return void 0===S?void 0:S.get(T)},set:function(T,x,L,S){s(L,S,!0).set(T,x)},keys:function(T,x){var L=s(T,x,!1),S=[];return L&&L.forEach(function(D,C){S.push(C)}),S},key:function(T){return void 0===T||"symbol"==typeof T?T:String(T)},exp:function(T){n(n.S,"Reflect",T)}}},5345:(c,h,t)=>{"use strict";var e=t(7057),n=t(7184),i=t(4548),a=t(4682),s=t(508),u=t(9797),v=Object.assign;c.exports=!v||t(4253)(function(){var l={},y={},m=Symbol(),P="abcdefghijklmnopqrst";return l[m]=7,P.split("").forEach(function(T){y[T]=T}),7!=v({},l)[m]||Object.keys(v({},y)).join("")!=P})?function(y,m){for(var P=s(y),T=arguments.length,x=1,L=i.f,S=a.f;T>x;)for(var j,D=u(arguments[x++]),C=L?n(D).concat(L(D)):n(D),w=C.length,N=0;w>N;)j=C[N++],(!e||S.call(D,j))&&(P[j]=D[j]);return P}:v},2503:(c,h,t)=>{var e=t(7007),n=t(5588),i=t(4430),a=t(9335)("IE_PROTO"),s=function(){},u="prototype",v=function(){var T,l=t(2457)("iframe"),y=i.length;for(l.style.display="none",t(639).appendChild(l),l.src="javascript:",(T=l.contentWindow.document).open(),T.write("