diff --git a/.editorconfig b/.editorconfig index e89330a..0e11559 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,8 +3,8 @@ root = true [*] charset = utf-8 -indent_style = space -indent_size = 2 +indent_style = tab +indent_size = 4 insert_final_newline = true trim_trailing_whitespace = true diff --git a/.gitignore b/.gitignore index ee5c9d8..bf7cbe5 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ testem.log # System Files .DS_Store Thumbs.db +.angular diff --git a/angular.json b/angular.json index 7329c9a..ec74375 100644 --- a/angular.json +++ b/angular.json @@ -15,11 +15,18 @@ }, "architect": { "build": { - "builder": "@angular-devkit/build-ng-packagr:build", + "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "tsConfig": "projects/carousel/tsconfig.lib.json", "project": "projects/carousel/ng-package.json" - } + }, + "configurations": { + "production": { + "tsConfig": "projects/carousel/tsconfig.lib.json" + }, + "development": {} + }, + "defaultConfiguration": "production" }, "test": { "builder": "@angular-devkit/build-angular:karma", @@ -77,7 +84,14 @@ "scripts": [], "allowedCommonJsDependencies": [ "hammerjs" - ] + ], + "aot": false, + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true }, "configurations": { "production": { @@ -90,7 +104,6 @@ "optimization": true, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, "aot": true, "extractLicenses": true, @@ -104,7 +117,8 @@ } ] } - } + }, + "defaultConfiguration": "" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", @@ -155,7 +169,6 @@ } } }, - "defaultProject": "carousel", "cli": { "analytics": "eee8f5cc-b6b7-42f8-adac-c0a89e7dee03" } diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index ab3e550..f843330 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -1,28 +1,3 @@ -@angular-devkit/build-angular -MIT -The MIT License - -Copyright (c) 2017 Google, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - @angular/animations MIT @@ -30,7 +5,7 @@ MIT MIT The MIT License -Copyright (c) 2020 Google LLC. +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 @@ -64,7 +39,7 @@ MIT MIT The MIT License -Copyright (c) 2020 Google LLC. +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 @@ -85,130 +60,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@angular/material/button - -@angular/material/card - -@angular/material/checkbox - -@angular/material/core - -@angular/material/expansion - -@angular/material/form-field - -@angular/material/icon - -@angular/material/menu - -@angular/material/select - -@angular/material/snack-bar - -@angular/material/toolbar - -@angular/material/tooltip - @angular/platform-browser MIT -@babel/runtime -MIT -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @ngbmodule/material-carousel MIT -MIT License - -Copyright (c) 2018 Gabriel Sanches - -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. - - -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. - - -css-loader -MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - hammerjs MIT @@ -235,55 +91,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -material2-carousel -MIT License - -Copyright (c) 2018 Gabriel Sanches - -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. - - -regenerator-runtime -MIT -MIT License - -Copyright (c) 2014-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - rxjs Apache-2.0 Apache License @@ -494,7 +301,7 @@ zone.js MIT The MIT License -Copyright (c) 2010-2020 Google LLC. http://angular.io/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 diff --git a/docs/404.html b/docs/404.html deleted file mode 100644 index 2ea41ed..0000000 --- a/docs/404.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Material Carousel - Demo - - - - - - - - - - - - diff --git a/docs/index.html b/docs/index.html index 2ea41ed..b7cb0f7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,26 +1,16 @@ - - - - + + Material Carousel - Demo - - - - - - + + + + + + - - + + + \ No newline at end of file diff --git a/docs/main.9a80227d53bc2892.js b/docs/main.9a80227d53bc2892.js new file mode 100644 index 0000000..0308d41 --- /dev/null +++ b/docs/main.9a80227d53bc2892.js @@ -0,0 +1 @@ +(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179],{464:(io,ws,tl)=>{"use strict";function Hn(n){return"function"==typeof n}let gt=!1;const Yt={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 gt&&console.log("RxJS: Back to a better error behavior. Thank you. <3");gt=n},get useDeprecatedSynchronousErrorHandling(){return gt}};function yr(n){setTimeout(()=>{throw n},0)}const tt={closed:!0,next(n){},error(n){if(Yt.useDeprecatedSynchronousErrorHandling)throw n;yr(n)},complete(){}},Di=Array.isArray||(n=>n&&"number"==typeof n.length);function Ds(n){return null!==n&&"object"==typeof n}const jn=(()=>{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 ee{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 ee)e.remove(this);else if(null!==e)for(let s=0;st.concat(e instanceof jn?e.errors:e),[])}ee.EMPTY=((n=new ee).closed=!0,n);const Gi="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class ve extends ee{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=tt;break;case 1:if(!t){this.destination=tt;break}if("object"==typeof t){t instanceof ve?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new Es(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new Es(this,t,e,i)}}[Gi](){return this}static create(t,e,i){const r=new ve(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 Es extends ve{constructor(t,e,i,r){super(),this._parentSubscriber=t;let o,s=this;Hn(e)?o=e:e&&(o=e.next,i=e.error,r=e.complete,e!==tt&&(s=Object.create(e),Hn(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;Yt.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}=Yt;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):yr(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;yr(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);Yt.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(),Yt.useDeprecatedSynchronousErrorHandling)throw i;yr(i)}}__tryOrSetError(t,e,i){if(!Yt.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return Yt.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(yr(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const br="function"==typeof Symbol&&Symbol.observable||"@@observable";function Dt(n){return n}let Se=(()=>{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 nl(n,t,e){if(n){if(n instanceof ve)return n;if(n[Gi])return n[Gi]()}return n||t||e?new ve(n,t,e):new ve(tt)}(e,i,r);if(s.add(o?o.call(s,this.source):this.source||Yt.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Yt.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){Yt.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function Dn(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof ve?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=Cr(i))((r,o)=>{let s;s=this.subscribe(a=>{try{e(a)}catch(l){o(l),s&&s.unsubscribe()}},o,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[br](){return this}pipe(...e){return 0===e.length?this:function oo(n){return 0===n.length?Dt:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=Cr(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function Cr(n){if(n||(n=Yt.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const Ei=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Mi extends ee{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 wr extends ve{constructor(t){super(t),this.destination=t}}let U=(()=>{class n extends Se{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Gi](){return new wr(this)}lift(e){const i=new Dr(this,this);return i.operator=e,i}next(e){if(this.closed)throw new Ei;if(!this.isStopped){const{observers:i}=this,r=i.length,o=i.slice();for(let s=0;snew Dr(t,e),n})();class Dr extends U{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):ee.EMPTY}}function Si(n){return n&&"function"==typeof n.schedule}function Ve(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 Vu(n,t))}}class Vu{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new Bu(t,this.project,this.thisArg))}}class Bu extends ve{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 Ss=n=>t=>{for(let e=0,i=n.length;en&&"number"==typeof n.length&&"function"!=typeof n;function ol(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const Ts=n=>{if(n&&"function"==typeof n[br])return(n=>t=>{const e=n[br]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(ao(n))return Ss(n);if(ol(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,yr),t))(n);if(n&&"function"==typeof n[so])return(n=>t=>{const e=n[so]();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 ${Ds(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Be(n,t){return new Se(e=>{const i=new ee;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 Un(n,t){return t?function Sr(n,t){if(null!=n){if(function lo(n){return n&&"function"==typeof n[br]}(n))return function vt(n,t){return new Se(e=>{const i=new ee;return i.add(t.schedule(()=>{const r=n[br]();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(ol(n))return function Ti(n,t){return new Se(e=>{const i=new ee;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(ao(n))return Be(n,t);if(function Mr(n){return n&&"function"==typeof n[so]}(n)||"string"==typeof n)return function Et(n,t){if(!n)throw new Error("Iterable cannot be null");return new Se(e=>{const i=new ee;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=n[so](),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 Se?n:new Se(Ts(n))}class $n extends ve{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 an extends ve{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function qi(n,t){if(t.closed)return;if(n instanceof Se)return n.subscribe(t);let e;try{e=Ts(n)(t)}catch(i){t.error(i)}return e}function Yi(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(Yi((r,o)=>Un(n(r,o)).pipe(Ve((s,a)=>t(r,s,o,a))),e)):("number"==typeof t&&(e=t),i=>i.lift(new Kt(n,e)))}class Kt{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new $u(t,this.project,this.concurrent))}}class $u extends an{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 sl(n=Number.POSITIVE_INFINITY){return Yi(Dt,n)}function As(n,t){return t?Be(n,t):new Se(Ss(n))}function En(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return Si(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 Se?n[0]:sl(t)(As(n,e))}function xs(){return function(t){return t.lift(new al(t))}}class al{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const r=new ll(t,i),o=e.subscribe(r);return r.closed||(r.connection=i.connect()),o}}class ll extends ve{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 cl extends Se{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 ee,t.add(this.source.subscribe(new Is(this.getSubject(),this))),t.closed&&(this._connection=null,t=ee.EMPTY)),t}refCount(){return xs()(this)}}const co=(()=>{const n=cl.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 Is extends wr{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 Gu{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 qu(){return new U}function Tr(){return n=>xs()(function Wu(n,t){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new Gu(r,t));const o=Object.create(i,co);return o.source=i,o.subjectFactory=r,o}}(qu)(n))}function xe(n){for(let t in n)if(n[t]===xe)return t;throw Error("Could not find renamed property on target object.")}function ks(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Te(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Te).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 uo(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const Os=xe({__forward_ref__:xe});function Ae(n){return n.__forward_ref__=Ae,n.toString=function(){return Te(this())},n}function Y(n){return Fs(n)?n():n}function Fs(n){return"function"==typeof n&&n.hasOwnProperty(Os)&&n.__forward_ref__===Ae}class I extends Error{constructor(t,e){super(function ho(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function Q(n){return"string"==typeof n?n:null==n?"":String(n)}function Ki(n,t){throw new I(-201,!1)}function Ft(n,t){null==n&&function Ee(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function N(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ne(n){return{providers:n.providers||[],imports:n.imports||[]}}function Xt(n){return Sn(n,Mt)||Sn(n,mo)}function Sn(n,t){return n.hasOwnProperty(t)?n[t]:null}function Ir(n){return n&&(n.hasOwnProperty(Zi)||n.hasOwnProperty(Ps))?n[Zi]:null}const Mt=xe({\u0275prov:xe}),Zi=xe({\u0275inj:xe}),mo=xe({ngInjectableDef:xe}),Ps=xe({ngInjectorDef:xe});var K=(()=>((K=K||{})[K.Default=0]="Default",K[K.Host=1]="Host",K[K.Self=2]="Self",K[K.SkipSelf=4]="SkipSelf",K[K.Optional=8]="Optional",K))();let kr;function nt(n){const t=kr;return kr=n,t}function ml(n,t,e){const i=Xt(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&K.Optional?null:void 0!==t?t:void Ki(Te(n))}function Tn(n){return{toString:n}.toString()}var Zt=(()=>((Zt=Zt||{})[Zt.OnPush=0]="OnPush",Zt[Zt.Default=1]="Default",Zt))(),h=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(h||(h={})),h))();const f=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),T={},x=[],oe=xe({\u0275cmp:xe}),We=xe({\u0275dir:xe}),Qe=xe({\u0275pipe:xe}),_t=xe({\u0275mod:xe}),it=xe({\u0275fac:xe}),Ns=xe({__NG_ELEMENT_ID__:xe});let eM=0;function Je(n){return Tn(()=>{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===Zt.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||x,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||h.Emulated,id:"c"+eM++,styles:n.styles||x,_:null,setInput:null,schemas:n.schemas||null,tView:null},o=n.dependencies,s=n.features;return r.inputs=Gm(n.inputs,i),r.outputs=Gm(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(zm).filter(Wm):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Pt).filter(Wm):null,r})}function zm(n){return Ie(n)||Rt(n)}function Wm(n){return null!==n}const nM={};function pe(n){return Tn(()=>{const t={type:n.type,bootstrap:n.bootstrap||x,declarations:n.declarations||x,imports:n.imports||x,exports:n.exports||x,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(nM[n.id]=n.type),t})}function Gm(n,t){if(null==n)return T;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 B=Je;function Qt(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 Ie(n){return n[oe]||null}function Rt(n){return n[We]||null}function Pt(n){return n[Qe]||null}function Jt(n){return Array.isArray(n)&&"object"==typeof n[1]}function Gn(n){return Array.isArray(n)&&!0===n[1]}function rd(n){return 0!=(8&n.flags)}function vl(n){return 2==(2&n.flags)}function bl(n){return 1==(1&n.flags)}function qn(n){return null!==n.template}function aM(n){return 0!=(256&n[2])}function Nr(n,t){return n.hasOwnProperty(it)?n[it]:null}class uM{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function en(){return Km}function Km(n){return n.type.prototype.ngOnChanges&&(n.setInput=hM),dM}function dM(){const n=Zm(this),t=null==n?void 0:n.current;if(t){const e=n.previous;if(e===T)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function hM(n,t,e,i){const r=Zm(n)||function fM(n,t){return n[Xm]=t}(n,{previous:T,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],l=s[a];o[a]=new uM(l&&l.currentValue,t,s===T),n[i]=t}en.ngInherit=!0;const Xm="__ngSimpleChanges__";function Zm(n){return n[Xm]||null}function rt(n){for(;Array.isArray(n);)n=n[0];return n}function Cl(n,t){return rt(t[n])}function In(n,t){return rt(t[n.index])}function cd(n,t){return n.data[t]}function Co(n,t){return n[t]}function dn(n,t){const e=t[n];return Jt(e)?e:e[0]}function Qm(n){return 4==(4&n[2])}function ud(n){return 64==(64&n[2])}function Qi(n,t){return null==t?null:n[t]}function Jm(n){n[18]=0}function dd(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 te={lFrame:lg(null),bindingsEnabled:!0};function tg(){return te.bindingsEnabled}function S(){return te.lFrame.lView}function be(){return te.lFrame.tView}function ot(n){return te.lFrame.contextLView=n,n[8]}function st(n){return te.lFrame.contextLView=null,n}function dt(){let n=ng();for(;null!==n&&64===n.type;)n=n.parent;return n}function ng(){return te.lFrame.currentTNode}function si(n,t){const e=te.lFrame;e.currentTNode=n,e.isParent=t}function hd(){return te.lFrame.isParent}function fd(){te.lFrame.isParent=!1}function Nt(){const n=te.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function wo(){return te.lFrame.bindingIndex++}function xi(n){const t=te.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function TM(n,t){const e=te.lFrame;e.bindingIndex=e.bindingRootIndex=n,pd(t)}function pd(n){te.lFrame.currentDirectiveIndex=n}function md(n){const t=te.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function og(){return te.lFrame.currentQueryIndex}function gd(n){te.lFrame.currentQueryIndex=n}function xM(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function sg(n,t,e){if(e&K.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&K.Host||(r=xM(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=te.lFrame=ag();return i.currentTNode=t,i.lView=n,!0}function _d(n){const t=ag(),e=n[1];te.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function ag(){const n=te.lFrame,t=null===n?null:n.child;return null===t?lg(n):t}function lg(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 cg(){const n=te.lFrame;return te.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const ug=cg;function yd(){const n=cg();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 Lt(){return te.lFrame.selectedIndex}function Ji(n){te.lFrame.selectedIndex=n}function qe(){const n=te.lFrame;return cd(n.tView,n.selectedIndex)}function vd(){te.lFrame.currentNamespace="svg"}function Dl(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<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 js{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Sl(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 wd=!0;function Al(n){const t=wd;return wd=n,t}let UM=0;const ai={};function $s(n,t){const e=Ed(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,Dd(i.data,n),Dd(t,null),Dd(i.blueprint,null));const r=xl(n,t),o=n.injectorIndex;if(gg(r)){const s=Do(r),a=Eo(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function Dd(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Ed(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function xl(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=Mg(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Il(n,t,e){!function $M(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Ns)&&(i=e[Ns]),null==i&&(i=e[Ns]=UM++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:qM:t}(e);if("function"==typeof o){if(!sg(t,n,i))return i&K.Host?vg(r,0,i):bg(t,e,i,r);try{const s=o(i);if(null!=s||i&K.Optional)return s;Ki()}finally{ug()}}else if("number"==typeof o){let s=null,a=Ed(n,t),l=-1,c=i&K.Host?t[16][6]:null;for((-1===a||i&K.SkipSelf)&&(l=-1===a?xl(n,t):t[a+8],-1!==l&&Eg(i,!1)?(s=t[1],a=Do(l),t=Eo(l,t)):a=-1);-1!==a;){const u=t[1];if(Dg(o,a,u.data)){const d=WM(a,t,e,s,i,c);if(d!==ai)return d}l=t[a+8],-1!==l&&Eg(i,t[1].data[a+8]===c)&&Dg(o,a,t)?(s=u,a=Do(l),t=Eo(l,t)):a=-1}}return r}function WM(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],u=kl(a,s,e,null==i?vl(a)&&wd:i!=s&&0!=(3&a.type),r&K.Host&&o===a);return null!==u?zs(t,s,u,a):ai}function kl(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,u=o>>20,p=r?a+u:n.directiveEnd;for(let m=i?a:a+u;m=l&&_.type===e)return m}if(r){const m=s[l];if(m&&qn(m)&&m.type===e)return l}return null}function zs(n,t,e,i){let r=n[e];const o=t.data;if(function LM(n){return n instanceof js}(r)){const s=r;s.resolving&&function Ku(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new I(-200,`Circular dependency in DI detected for ${n}${e}`)}(function _e(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Q(n)}(o[e]));const a=Al(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?nt(s.injectImpl):null;sg(n,i,K.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function PM(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Km(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!==l&&nt(l),Al(a),s.resolving=!1,ug()}}return r}function Dg(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[it]||Md(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[it]||Md(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Md(n){return Fs(n)?()=>{const t=Md(Y(n));return t&&t()}:Nr(n)}function Mg(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}function Lr(n){return function zM(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 Sd(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(l,c,u){const d=l.hasOwnProperty(To)?l[To]:Object.defineProperty(l,To,{value:[]})[To];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class O{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=N({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function hn(n,t){void 0===t&&(t=n);for(let e=0;eArray.isArray(e)?Ii(e,t):t(e))}function Tg(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Ol(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function qs(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function QM(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 Ad(n,t){const e=Io(n,t);if(e>=0)return n[1|e]}function Io(n,t){return function Ig(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<n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return Ll}())||void 0===t?void 0:t.createHTML(n))||n}class Vr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class ES extends Vr{getTypeName(){return"HTML"}}class MS extends Vr{getTypeName(){return"Style"}}class SS extends Vr{getTypeName(){return"Script"}}class TS extends Vr{getTypeName(){return"URL"}}class AS extends Vr{getTypeName(){return"ResourceURL"}}function pn(n){return n instanceof Vr?n.changingThisBreaksApplicationSecurity:n}function li(n,t){const e=function xS(n){return n instanceof Vr&&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 https://g.co/ng/security#xss)`)}return e===t}class PS{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Fo(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class NS{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=Fo(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Fo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0ea(t.trim())).join(", ")}function ci(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function ta(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const Gg=ci("area,br,col,hr,img,wbr"),qg=ci("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yg=ci("rp,rt"),Nd=ta(Gg,ta(qg,ci("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ta(Yg,ci("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ta(Yg,qg)),Ld=ci("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vd=ci("srcset"),Kg=ta(Ld,Vd,ci("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ci("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),HS=ci("script,style,template");class jS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Nd.hasOwnProperty(e))return this.sanitizedSomething=!0,!HS.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();Nd.hasOwnProperty(e)&&!Gg.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Xg(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 US=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$S=/([^\#-~ |!])/g;function Xg(n){return n.replace(/&/g,"&").replace(US,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace($S,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Bl;function Zg(n,t){let e=null;try{Bl=Bl||function zg(n){const t=new NS(n);return function LS(){try{return!!(new window.DOMParser).parseFromString(Fo(""),"text/html")}catch(n){return!1}}()?new PS(t):t}(n);let i=t?String(t):"";e=Bl.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=Bl.getInertBodyElement(i)}while(i!==o);return Fo((new jS).sanitizeChildren(Bd(e)||e))}finally{if(e){const i=Bd(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Bd(n){return"content"in n&&function zS(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Me=(()=>((Me=Me||{})[Me.NONE=0]="NONE",Me[Me.HTML=1]="HTML",Me[Me.STYLE=2]="STYLE",Me[Me.SCRIPT=3]="SCRIPT",Me[Me.URL=4]="URL",Me[Me.RESOURCE_URL=5]="RESOURCE_URL",Me))();const e_=new O("ENVIRONMENT_INITIALIZER"),t_=new O("INJECTOR",-1),n_=new O("INJECTOR_DEF_TYPES");class i_{get(t,e=Ys){if(e===Ys){const i=new Error(`NullInjectorError: No provider for ${Te(t)}!`);throw i.name="NullInjectorError",i}return e}}function QS(...n){return{\u0275providers:r_(0,n)}}function r_(n,...t){const e=[],i=new Set;let r;return Ii(t,o=>{const s=o;Hd(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&o_(r,e),e}function o_(n,t){for(let e=0;e{t.push(o)})}}function Hd(n,t,e,i){if(!(n=Y(n)))return!1;let r=null,o=Ir(n);const s=!o&&Ie(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Ir(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Hd(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Ii(o.imports,u=>{Hd(u,t,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&o_(c,t)}if(!a){const c=Nr(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:x},{provide:n_,useValue:r,multi:!0},{provide:e_,useValue:()=>w(r),multi:!0})}const l=o.providers;null==l||a||Ii(l,u=>{t.push(u)})}}return r!==n&&void 0!==n.providers}const JS=xe({provide:String,useValue:xe});function jd(n){return null!==n&&"object"==typeof n&&JS in n}function Br(n){return"function"==typeof n}const Ud=new O("Set Injector scope."),Hl={},tT={};let $d;function jl(){return void 0===$d&&($d=new i_),$d}class Ro{}class l_ extends Ro{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,Wd(t,s=>this.processProvider(s)),this.records.set(t_,Po(void 0,this)),r.has("environment")&&this.records.set(Ro,Po(void 0,this));const o=this.records.get(Ud);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(n_.multi,x,K.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=ko(this),i=nt(void 0);try{return t()}finally{ko(e),nt(i)}}get(t,e=Ys,i=K.Default){this.assertNotDestroyed();const r=ko(this),o=nt(void 0);try{if(!(i&K.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function sT(n){return"function"==typeof n||"object"==typeof n&&n instanceof O}(t)&&Xt(t);a=l&&this.injectableDefInScope(l)?Po(zd(t),Hl):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&K.Self?jl():this.parent).get(t,e=i&K.Optional&&e===Ys?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Rl]=s[Rl]||[]).unshift(Te(t)),r)throw s;return function uS(n,t,e,i){const r=n[Rl];throw t[kg]&&r.unshift(t[kg]),n.message=function dS(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=Te(t);if(Array.isArray(t))r=t.map(Te).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):Te(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(sS,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[Rl]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{nt(o),ko(r)}}resolveInjectorInitializers(){const t=ko(this),e=nt(void 0);try{const i=this.get(e_.multi,x,K.Self);for(const r of i)r()}finally{ko(t),nt(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(Te(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let e=Br(t=Y(t))?t:Y(t&&t.provide);const i=function iT(n){return jd(n)?Po(void 0,n.useValue):Po(c_(n),Hl)}(t);if(Br(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Po(void 0,Hl,!0),r.factory=()=>kd(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Hl&&(e.value=tT,e.value=e.factory()),"object"==typeof e.value&&e.value&&function oT(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=Y(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function zd(n){const t=Xt(n),e=null!==t?t.factory:Nr(n);if(null!==e)return e;if(n instanceof O)throw new I(204,!1);if(n instanceof Function)return function nT(n){const t=n.length;if(t>0)throw qs(t,"?"),new I(204,!1);const e=function fl(n){const t=n&&(n[Mt]||n[mo]);if(t){const e=function pl(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 I(204,!1)}function c_(n,t,e){let i;if(Br(n)){const r=Y(n);return Nr(r)||zd(r)}if(jd(n))i=()=>Y(n.useValue);else if(function a_(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...kd(n.deps||[]));else if(function s_(n){return!(!n||!n.useExisting)}(n))i=()=>w(Y(n.useExisting));else{const r=Y(n&&(n.useClass||n.provide));if(!function rT(n){return!!n.deps}(n))return Nr(r)||zd(r);i=()=>new r(...kd(n.deps))}return i}function Po(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function aT(n){return!!n.\u0275providers}function Wd(n,t){for(const e of n)Array.isArray(e)?Wd(e,t):aT(e)?Wd(e.\u0275providers,t):t(e)}class u_{}class uT{resolveComponentFactory(t){throw function cT(n){const t=Error(`No component factory found for ${Te(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let No=(()=>{class n{}return n.NULL=new uT,n})();function dT(){return Lo(dt(),S())}function Lo(n,t){return new De(In(n,t))}let De=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=dT,n})();function hT(n){return n instanceof De?n.nativeElement:n}class ia{}let ir=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function fT(){const n=S(),e=dn(dt().index,n);return(Jt(e)?e:n)[11]}(),n})(),pT=(()=>{class n{}return n.\u0275prov=N({token:n,providedIn:"root",factory:()=>null}),n})();class Vo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mT=new Vo("14.1.1"),Gd={};function Zd(n){return n.ngOriginalError}class ki{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&&Zd(t);for(;e&&Zd(e);)e=Zd(e);return e||null}}const Qd=new Map;let TT=0;const eh="__ngContext__";function At(n,t){Jt(t)?(n[eh]=t[20],function xT(n){Qd.set(n[20],n)}(t)):n[eh]=t}function ra(n){const t=n[eh];return"number"==typeof t?function __(n){return Qd.get(n)||null}(t):t||null}function th(n){const t=ra(n);return t?Jt(t)?t:t.lView:null}const VT=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(f))();function w_(n){return n.ownerDocument.defaultView}var tn=(()=>((tn=tn||{})[tn.Important=1]="Important",tn[tn.DashCase=2]="DashCase",tn))();function ih(n,t){return undefined(n,t)}function oa(n){const t=n[3];return Gn(t)?t[3]:t}function rh(n){return S_(n[13])}function oh(n){return S_(n[4])}function S_(n){for(;null!==n&&!Gn(n);)n=n[4];return n}function Ho(n,t,e,i,r){if(null!=i){let o,s=!1;Gn(i)?o=i:Jt(i)&&(s=!0,i=i[0]);const a=rt(i);0===n&&null!==e?null==r?O_(t,e,a):Hr(t,e,a,r||null,!0):1===n&&null!==e?Hr(t,e,a,r||null,!0):2===n?function B_(n,t,e){const i=Ul(n,t);i&&function tA(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function rA(n,t,e,i,r){const o=e[7];o!==rt(e)&&Ho(t,n,i,o,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const o=Ol(n,10+t);!function qT(n,t){sa(n,t,t[11],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 x_(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&sa(n,t,e,3,null,null),function XT(n){let t=n[13];if(!t)return ch(n[1],n);for(;t;){let e=null;if(Jt(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)Jt(t)&&ch(t[1],t),t=t[3];null===t&&(t=n),Jt(t)&&ch(t[1],t),e=t&&t[4]}t=e}}(t)}}function ch(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function eA(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;oo?"":r[d+1].toLowerCase();const m=8&i?p:null;if(m&&-1!==U_(m,c,0)||2&i&&c!==p){if(Yn(i))return!1;s=!0}}}}else{if(!s&&!Yn(i)&&!Yn(l))return!1;if(s&&Yn(l))continue;s=!1,i=l|1&i}}return Yn(i)||s}function Yn(n){return 0==(1&n)}function cA(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&&!Yn(s)&&(t+=G_(o,r),r=""),i=s,o=o||!Yn(i);e++}return""!==r&&(t+=G_(o,r)),t}const ie={};function F(n){q_(be(),S(),Lt()+n,!1)}function q_(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&El(t,o,e)}else{const o=n.preOrderHooks;null!==o&&Ml(t,o,0,e)}Ji(e)}function Z_(n,t=null,e=null,i){const r=Q_(n,t,e,i);return r.resolveInjectorInitializers(),r}function Q_(n,t=null,e=null,i,r=new Set){const o=[e||x,QS(n)];return i=i||("object"==typeof n?void 0:Te(n)),new l_(o,t||jl(),i||null,r)}let Bt=(()=>{class n{static create(e,i){var r;if(Array.isArray(e))return Z_({name:""},i,e,"");{const o=null!==(r=e.name)&&void 0!==r?r:"";return Z_({name:o},e.parent,e.providers,o)}}}return n.THROW_IF_NOT_FOUND=Ys,n.NULL=new i_,n.\u0275prov=N({token:n,providedIn:"any",factory:()=>w(t_)}),n.__NG_ELEMENT_ID__=-1,n})();function y(n,t=K.Default){const e=S();return null===e?w(n,t):Cg(dt(),e,Y(n),t)}function Gl(){throw new Error("invalid")}function ql(n,t){return n<<17|t<<2}function Kn(n){return n>>17&32767}function yh(n){return 2|n}function Fi(n){return(131068&n)>>2}function vh(n,t){return-131069&n|t<<2}function bh(n){return 1|n}function my(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i22&&q_(n,t,22,!1),e(i,r)}finally{Ji(o)}}function _y(n,t,e){if(rd(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})(a)!=l&&a.push(l),a.push(i,r,s)}}function Ey(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function My(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function sx(n,t,e){if(e){if(t.exportAs)for(let i=0;i0&&Ph(e)}}function Ph(n){for(let i=rh(n);null!==i;i=oh(i))for(let r=10;r0&&Ph(o)}const e=n[1].components;if(null!==e)for(let i=0;i0&&Ph(r)}}function fx(n,t){const e=dn(t,n),i=e[1];(function px(n,t){for(let e=t.length;ePromise.resolve(null))();function ky(n){return n[7]||(n[7]=[])}function Oy(n){return n.cleanup||(n.cleanup=[])}function Fy(n,t,e){return(null===n||qn(n))&&(e=function _M(n){for(;Array.isArray(n);){if("object"==typeof n[1])return n;n=n[0]}return null}(e[t.index])),e[11]}function Ry(n,t){const e=n[9],i=e?e.get(ki,null):null;i&&i.handleError(t)}function Bh(n,t,e,i,r){for(let o=0;o-1&&(lh(t,i),Ol(e,i))}this._attachedToViewContainer=!1}x_(this._lView[1],this._lView)}onDestroy(t){vy(this._lView[1],this._lView,null,t)}markForCheck(){Nh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Lh(n,t,e){const i=t[10];i.begin&&i.begin();try{aa(n,t,n.template,e)}catch(r){throw Ry(t,r),r}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function KT(n,t){sa(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class _x extends la{constructor(t){super(t),this._view=t}detectChanges(){Iy(this._view)}checkNoChanges(){}get context(){return null}}class Hh extends No{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ie(t);return new ca(e,this.ngModule)}}function Py(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class vx{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){const r=this.injector.get(t,Gd,i);return r!==Gd||e===Gd?r:this.parentInjector.get(t,e,i)}}class ca extends u_{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function mA(n){return n.map(pA).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Py(this.componentDef.inputs)}get outputs(){return Py(this.componentDef.outputs)}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Ro?r:null==r?void 0:r.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new vx(t,o):t,a=s.get(ia,null);if(null===a)throw new I(407,!1);const l=s.get(pT,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function XA(n,t,e){return n.selectRootElement(t,e===h.ShadowDom)}(c,i,this.componentDef.encapsulation):ah(a.createRenderer(null,this.componentDef),u,function yx(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),p=this.componentDef.onPush?288:272,m=function Ex(n,t){return{components:[],scheduler:n||VT,clean:gx,playerHandler:t||null,flags:0}}(),_=Oh(0,null,null,1,0,null,null,null,null,null),v=Xl(null,_,m,p,null,null,a,c,l,s,null);let D,E;_d(v);try{const R=function wx(n,t,e,i,r,o){const s=e[1];e[22]=n;const l=Uo(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(Jl(l,c,!0),null!==n&&(Sl(r,n,c),null!==l.classes&&fh(r,n,l.classes),null!==l.styles&&j_(r,n,l.styles)));const u=i.createRenderer(n,t),d=Xl(e,yy(t),null,t.onPush?32:16,e[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(Il($s(l,e),s,t.type),My(s,l),Sy(l,e.length,1)),Ql(e,d),e[22]=d}(d,this.componentDef,v,a,c);if(d)if(i)Sl(c,d,["ng-version",mT.full]);else{const{attrs:C,classes:P}=function gA(n){const t=[],e=[];let i=1,r=2;for(;i0&&fh(c,d,P.join(" "))}if(E=cd(_,22),void 0!==e){const C=E.projection=[];for(let P=0;P=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Tl(r.hostAttrs,e=Tl(e,r.hostAttrs))}}(i)}function jh(n){return n===T?{}:n===x?[]:n}function Tx(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function Ax(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function xx(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let tc=null;function jr(){if(!tc){const n=f.Symbol;if(n&&n.iterator)tc=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(rt(X[i.index])):i.index;let P=null;if(!a&&l&&(P=function Ux(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==P)(P.__ngLastListenerFn__||P).__ngNextListenerFn__=o,P.__ngLastListenerFn__=o,m=!1;else{o=Xy(i,t,d,o,!1);const X=e.listen(E,r,o);p.push(o,X),u&&u.push(r,C,R,R+1)}}else o=Xy(i,t,d,o,!1);const _=i.outputs;let v;if(m&&null!==_&&(v=_[r])){const D=v.length;if(D)for(let E=0;E0;)t=t[15],n--;return t}(n,te.lFrame.contextLView))[8]}(n)}function $x(n,t){let e=null;const i=function uA(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=0}const ft={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function av(n){return n.substring(ft.key,ft.keyEnd)}function lv(n,t){const e=ft.textEnd;return e===t?-1:(t=ft.keyEnd=function Xx(n,t,e){for(;t32;)t++;return t}(n,ft.key=t,e),ts(n,t,e))}function ts(n,t,e){for(;t=0;e=lv(t,e))fn(n,av(t),!0)}function Xn(n,t,e,i){const r=S(),o=be(),s=xi(2);o.firstUpdatePass&&pv(o,n,s,i),t!==ie&&xt(r,s,t)&&gv(o,o.data[Lt()],r,r[11],n,r[s+1]=function aI(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Te(pn(n)))),n}(t,e),i,s)}function fv(n,t){return t>=n.expandoStartIndex}function pv(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[Lt()],s=fv(n,e);yv(o,i)&&null===t&&!s&&(t=!1),t=function tI(n,t,e,i){const r=md(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=ha(e=qh(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=qh(r,n,t,e,i),null===o){let l=function nI(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Fi(i))return n[Kn(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=qh(null,n,t,l[1],i),l=ha(l,t.attrs,i),function iI(n,t,e,i){n[Kn(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function rI(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)}else u=e;if(r)if(0!==l){const p=Kn(n[a+1]);n[i+1]=ql(p,a),0!==p&&(n[p+1]=vh(n[p+1],i)),n[a+1]=function PA(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=ql(a,0),0!==a&&(n[a+1]=vh(n[a+1],i)),a=i;else n[i+1]=ql(l,0),0===a?a=i:n[l+1]=vh(n[l+1],i),l=i;c&&(n[i+1]=yh(n[i+1])),sv(n,u,i,!0),sv(n,u,i,!1),function Wx(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&Io(o,t)>=0&&(e[i+1]=bh(e[i+1]))}(t,u,n,i,o),s=ql(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}function qh(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 l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let p=e[r+1];p===ie&&(p=d?x:void 0);let m=d?Ad(p,i):u===i?p:void 0;if(c&&!rc(m)&&(m=Ad(l,i)),rc(m)&&(a=m,s))return a;const _=n[r+1];r=s?Kn(_):Fi(_)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=Ad(l,i))}return a}function rc(n){return void 0!==n}function yv(n,t){return 0!=(n.flags&(t?16:32))}function z(n,t=""){const e=S(),i=be(),r=n+22,o=i.firstCreatePass?Uo(i,r,1,t,null):i.data[r],s=e[r]=function sh(n,t){return n.createText(t)}(e[11],t);$l(i,e,s,o),si(o,!1)}function Qn(n){return ns("",n,""),Qn}function ns(n,t,e){const i=S(),r=Wo(i,n,t,e);return r!==ie&&function Ri(n,t,e){const i=Cl(t,n);!function T_(n,t,e){n.setValue(t,e)}(n[11],i,e)}(i,Lt(),r),ns}function Tv(n,t,e){!function Zn(n,t,e,i){const r=be(),o=xi(2);r.firstUpdatePass&&pv(r,null,o,i);const s=S();if(e!==ie&&xt(s,o,e)){const a=r.data[Lt()];if(yv(a,i)&&!fv(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=uo(l,e||"")),$h(r,a,s,e,i)}else!function sI(n,t,e,i,r,o,s,a){r===ie&&(r=x);let l=0,c=0,u=0>20;if(Br(n)||!n.multi){const m=new js(l,r,y),_=Jh(a,t,r?u:u+p,d);-1===_?(Il($s(c,s),o,a),Qh(o,n,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(m),s.push(m)):(e[_]=m,s[_]=m)}else{const m=Jh(a,t,u+p,d),_=Jh(a,t,u,u+p),v=m>=0&&e[m],D=_>=0&&e[_];if(r&&!D||!r&&!v){Il($s(c,s),o,a);const E=function Ek(n,t,e,i,r){const o=new js(n,e,y);return o.multi=[],o.index=t,o.componentProviders=0,ub(o,r,i&&!e),o}(r?Dk:wk,e.length,r,i,l);!r&&D&&(e[_].providerFactory=E),Qh(o,n,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(E),s.push(E)}else Qh(o,n,m>-1?m:_,ub(e[r?_:m],l,!r&&i));!r&&i&&D&&e[_].componentProviders++}}}function Qh(n,t,e,i){const r=Br(t),o=function eT(n){return!!n.useClass}(t);if(r||o){const l=(o?Y(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function ub(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Jh(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function Ck(n,t,e){const i=be();if(i.firstCreatePass){const r=qn(n);Zh(e,i.data,i.blueprint,r,!0),Zh(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class ss{}class db extends ss{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hh(this);const i=function cn(n,t){const e=n[_t]||null;if(!e&&!0===t)throw new Error(`Type ${Te(n)} does not have '\u0275mod' property.`);return e}(t);this._bootstrapComponents=function Oi(n){return n instanceof Function?n():n}(i.bootstrap),this._r3Injector=Q_(t,e,[{provide:ss,useValue:this},{provide:No,useValue:this.componentFactoryResolver}],Te(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 tf extends class Mk{}{constructor(t){super(),this.moduleType=t}create(t){return new db(this.moduleType,t)}}function bb(n,t,e,i,r,o){const s=t+e;return xt(n,s,r)?function di(n,t,e){return n[t]=e}(n,s+1,o?i.call(o,r):i(r)):function ya(n,t){const e=n[t];return e===ie?void 0:e}(n,s+1)}function rf(n){return t=>{setTimeout(n,void 0,t)}}const re=class Qk extends U{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){var r,o,s;let a=t,l=e||(()=>null),c=i;if(t&&"object"==typeof t){const d=t;a=null===(r=d.next)||void 0===r?void 0:r.bind(d),l=null===(o=d.error)||void 0===o?void 0:o.bind(d),c=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=rf(l),a&&(a=rf(a)),c&&(c=rf(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof ee&&t.add(u),u}};function Jk(){return this._results[jr()]()}class zr{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=jr(),i=zr.prototype;i[e]||(i[e]=Jk)}get changes(){return this._changes||(this._changes=new re)}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=hn(t);(this._changesDetected=!function XM(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=nO,n})();const eO=rn,tO=class extends eO{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=Xl(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)),Zl(i,r,t),new la(r)}};function nO(){return cc(dt(),S())}function cc(n,t){return 4&n.type?new tO(t,n,Lo(n,t)):null}let Ut=(()=>{class n{}return n.__NG_ELEMENT_ID__=iO,n})();function iO(){return xb(dt(),S())}const rO=Ut,Tb=class extends rO{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Lo(this._hostTNode,this._hostLView)}get injector(){return new Mo(this._hostTNode,this._hostLView)}get parentInjector(){const t=xl(this._hostTNode,this._hostLView);if(gg(t)){const e=Eo(t,this._hostLView),i=Do(t);return new Mo(e[1].data[i+8],e)}return new Mo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Ab(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 Gs(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new ca(Ie(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const p=(s?c:this.parentInjector).get(Ro,null);p&&(o=p)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,e){const i=t._lView,r=i[1];if(function vM(n){return Gn(n[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],p=new Tb(d,d[6],d[3]);p.detach(p.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function ZT(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 c=o[a+1],u=t[-l];for(let d=10;d{class n{constructor(e){this.appInits=e,this.resolve=dc,this.reject=dc,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:l})});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)(w(Jb,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const cs=new O("AppId",{providedIn:"root",factory:function eC(){return`${_f()}${_f()}${_f()}`}});function _f(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tC=new O("Platform Initializer"),fc=new O("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),OO=new O("appBootstrapListener"),gn=new O("AnimationModuleType");let nC=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const pi=new O("LocaleId",{providedIn:"root",factory:()=>tr(pi,K.Optional|K.SkipSelf)||function FO(){return"undefined"!=typeof $localize&&$localize.locale||rs}()}),VO=(()=>Promise.resolve(0))();function yf(n){"undefined"==typeof Zone?VO.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class ae{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new re(!1),this.onMicrotaskEmpty=new re(!1),this.onStable=new re(!1),this.onError=new re(!1),"undefined"==typeof Zone)throw new I(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}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 BO(){let n=f.requestAnimationFrame,t=f.cancelAnimationFrame;if("undefined"!=typeof Zone&&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 UO(n){const t=()=>{!function jO(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(f,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,bf(n),n.isCheckStableRunning=!0,vf(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),bf(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return oC(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),sC(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return oC(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),sC(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,bf(n),vf(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"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ae.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(ae.isInAngularZone())throw new I(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,HO,dc,dc);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 HO={};function vf(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 bf(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function oC(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function sC(n){n._nesting--,vf(n)}class $O{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new re,this.onMicrotaskEmpty=new re,this.onStable=new re,this.onError=new re}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 aC=new O(""),pc=new O("");let wa,Cf=(()=>{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,wa||(function zO(n){wa=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{ae.assertNotInAngularZone(),yf(()=>{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())yf(()=>{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)(w(ae),w(wf),w(pc))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})(),wf=(()=>{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){var r;return null!==(r=null==wa?void 0:wa.findTestabilityInTree(this,e,i))&&void 0!==r?r:null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),mi=null;const lC=new O("AllowMultipleToken"),Df=new O("PlatformDestroyListeners");function uC(n,t,e=[]){const i=`Platform: ${t}`,r=new O(i);return(o=[])=>{let s=Ef();if(!s||s.injector.get(lC,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function qO(n){if(mi&&!mi.get(lC,!1))throw new I(400,!1);mi=n;const t=n.get(hC);(function cC(n){const t=n.get(tC,null);t&&t.forEach(e=>e())})(n)}(function dC(n=[],t){return Bt.create({name:t,providers:[{provide:Ud,useValue:"platform"},{provide:Df,useValue:new Set([()=>mi=null])},...n]})}(a,i))}return function KO(n){const t=Ef();if(!t)throw new I(401,!1);return t}()}}function Ef(){var n;return null!==(n=null==mi?void 0:mi.get(hC))&&void 0!==n?n:null}let hC=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function XO(n,t){let e;return e="noop"===n?new $O:("zone.js"===n?void 0:n)||new ae(t),e}(null==i?void 0:i.ngZone,function fC(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:ae,useValue:r}];return r.run(()=>{const s=Bt.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(ki,null);if(!l)throw new I(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{mc(this._modules,a),c.unsubscribe()})}),function pC(n,t,e){try{const i=e();return ic(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(hc);return c.runInitializers(),c.donePromise.then(()=>(function Hv(n){Ft(n,"Expected localeId to be defined"),"string"==typeof n&&(Bv=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(pi,rs)||rs),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=mC({},i);return function WO(n,t,e){const i=new tf(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Da);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new I(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 I(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Df,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)(w(Bt))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function mC(n,t){return Array.isArray(t)?t.reduce(mC,n):Object.assign(Object.assign({},n),t)}let Da=(()=>{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 Se(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Se(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{ae.assertNotInAngularZone(),yf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{ae.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=En(o,s.pipe(Tr()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof u_;if(!this._injector.get(hc).done)throw!r&&function Ca(n){const t=Ie(n)||Rt(n)||Pt(n);return null!==t&&t.standalone}(e),new I(405,false);let s;s=r?e:this._injector.get(No).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function GO(n){return n.isBoundToModule}(s)?void 0:this._injector.get(ss),c=s.create(Bt.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(aC,null);return null==d||d.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),mc(this.components,c),null==d||d.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new I(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;mc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(OO,[]).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),()=>mc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new I(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)(w(ae),w(Ro),w(ki))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function mc(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let _C=!0,zt=(()=>{class n{}return n.__NG_ELEMENT_ID__=JO,n})();function JO(n){return function eF(n,t,e){if(vl(n)&&!e){const i=dn(n.index,t);return new la(i,i)}return 47&n.type?new la(t[16],t):null}(dt(),S(),16==(16&n))}class wC{constructor(){}supports(t){return ua(t)}create(t){return new sF(t)}}const oF=(n,t)=>t;class sF{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||oF}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 aF(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 DC),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 DC),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 aF{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 lF{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 DC{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new lF,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 EC(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 uF(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 uF{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 SC(){return new yc([new wC])}let yc=(()=>{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||SC()),deps:[[n,new Zs,new nr]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new I(901,!1)}}return n.\u0275prov=N({token:n,providedIn:"root",factory:SC}),n})();function TC(){return new Ea([new MC])}let Ea=(()=>{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||TC()),deps:[[n,new Zs,new nr]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new I(901,!1)}}return n.\u0275prov=N({token:n,providedIn:"root",factory:TC}),n})();const fF=uC(null,"core",[]);let pF=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(w(Da))},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})();let vc=null;function gi(){return vc}const le=new O("DocumentToken");let AC=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:function(){return function yF(){return w(xC)}()},providedIn:"platform"}),n})(),xC=(()=>{class n extends AC{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return gi().getBaseHref(this._doc)}onPopState(e){const i=gi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=gi().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){IC()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){IC()?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)(w(le))},n.\u0275prov=N({token:n,factory:function(){return function vF(){return new xC(w(le))}()},providedIn:"platform"}),n})();function IC(){return!!window.history.pushState}function kC(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 OC(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 Gr(n){return n&&"?"!==n[0]?"?"+n:n}let If=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:function(){return tr(CF)},providedIn:"root"}),n})();const bF=new O("appBaseHref");let CF=(()=>{class n extends If{constructor(e,i){var r,o,s;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=null!==(s=null!==(r=null!=i?i:this._platformLocation.getBaseHrefFromDOM())&&void 0!==r?r:null===(o=tr(le).location)||void 0===o?void 0:o.origin)&&void 0!==s?s:""}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 kC(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Gr(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Gr(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Gr(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,r;null===(r=(i=this._platformLocation).historyGo)||void 0===r||r.call(i,e)}}return n.\u0275fac=function(e){return new(e||n)(w(AC),w(bF,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),FC=(()=>{class n{constructor(e){this._subject=new re,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=OC(RC(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.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+Gr(i))}normalize(e){return n.stripTrailingSlash(function DF(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,RC(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+Gr(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Gr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var i,r;null===(r=(i=this._locationStrategy).historyGo)||void 0===r||r.call(i,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var i;const r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(null===(i=this._urlChangeSubscription)||void 0===i||i.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=Gr,n.joinWithSlash=kC,n.stripTrailingSlash=OC,n.\u0275fac=function(e){return new(e||n)(w(If))},n.\u0275prov=N({token:n,factory:function(){return function wF(){return new FC(w(If))}()},providedIn:"root"}),n})();function RC(n){return n.replace(/\/index.html$/,"")}let xc=(()=>{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&&(ua(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 ${Te(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)(y(yc),y(Ea),y(De),y(ir))},n.\u0275dir=B({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class c1{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 Hf=(()=>{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 c1(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),WC(a,r)}});for(let r=0,o=i.length;r{WC(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(y(Ut),y(rn),y(yc))},n.\u0275dir=B({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function WC(n,t){n.context.$implicit=t.item}let Li=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new d1,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){GC("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){GC("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)(y(Ut),y(rn))},n.\u0275dir=B({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class d1{constructor(){this.$implicit=null,this.ngIf=null}}function GC(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Te(t)}'.`)}class jf{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 Ta=(()=>{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 jf(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(y(Ut),y(rn),y(Ta,9))},n.\u0275dir=B({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),qC=(()=>{class n{constructor(e,i,r){r._addDefault(new jf(e,i))}}return n.\u0275fac=function(e){return new(e||n)(y(Ut),y(rn),y(Ta,9))},n.\u0275dir=B({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),KC=(()=>{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)(y(Ut))},n.\u0275dir=B({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[en]}),n})();class p1{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class m1{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const g1=new m1,_1=new p1;let XC=(()=>{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(ic(e))return g1;if(Gy(e))return _1;throw function ti(n,t){return new I(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)(y(zt,16))},n.\u0275pipe=Qt({name:"async",type:n,pure:!1,standalone:!0}),n})(),Vi=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})();const QC="browser";function JC(n){return n===QC}class Wf extends class B1 extends class _F{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function gF(n){vc||(vc=n)}(new Wf)}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 H1(){return Aa=Aa||document.querySelector("base"),Aa?Aa.getAttribute("href"):null}();return null==e?null:function j1(n){Ic=Ic||document.createElement("a"),Ic.setAttribute("href",n);const t=Ic.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Aa=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function a1(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 Ic,Aa=null;const tw=new O("TRANSITION_ID"),$1=[{provide:Jb,useFactory:function U1(n,t,e){return()=>{e.get(hc).donePromise.then(()=>{const i=gi(),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=N({token:n,factory:n.\u0275fac}),n})();const xa=new O("EventManagerPlugins");let kc=(()=>{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=N({token:n,factory:n.\u0275fac}),n})(),Ia=(()=>{class n extends nw{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(iw),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(iw))}}return n.\u0275fac=function(e){return new(e||n)(w(le))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();function iw(n){gi().remove(n)}const qf={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/"},Yf=/%COMP%/g;function Oc(n,t,e){for(let i=0;i{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Fc=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Kf(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case h.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new Z1(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case h.ShadowDom:return new Q1(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=Oc(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)(w(kc),w(Ia),w(cs))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();class Kf{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(qf[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(lw(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(lw(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=qf[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=qf[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&(tn.DashCase|tn.Important)?t.style.setProperty(e,i,r&tn.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&tn.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,sw(i)):this.eventManager.addEventListener(t,e,sw(i))}}function lw(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Z1 extends Kf{constructor(t,e,i,r){super(t),this.component=i;const o=Oc(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function Y1(n){return"_ngcontent-%COMP%".replace(Yf,n)}(r+"-"+i.id),this.hostAttr=function K1(n){return"_nghost-%COMP%".replace(Yf,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 Q1 extends Kf{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=Oc(r.id,r.styles,[]);for(let s=0;s{class n extends Gf{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)(w(le))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();const cw=["alt","control","meta","shift"],tR={"\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"},uw={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},nR={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let iR=(()=>{class n extends Gf{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(()=>gi().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="";if(cw.forEach(l=>{const c=i.indexOf(l);c>-1&&(i.splice(c,1),s+=l+".")}),s+=o,0!=i.length||0===o.length)return null;const a={};return a.domEventName=r,a.fullKey=s,a}static getEventFullKey(e){let i="",r=function rR(n){let t=n.key;if(null==t){if(t=n.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===n.location&&uw.hasOwnProperty(t)&&(t=uw[t]))}return tR[t]||t}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),cw.forEach(o=>{o!=r&&(0,nR[o])(e)&&(i+=o+".")}),i+=r,i}static eventCallback(e,i,r){return o=>{n.getEventFullKey(o)===e&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(w(le))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();const dw=[{provide:fc,useValue:QC},{provide:tC,useValue:function oR(){Wf.makeCurrent()},multi:!0},{provide:le,useFactory:function aR(){return function CS(n){Fd=n}(document),document},deps:[]}],lR=uC(fF,"browser",dw),hw=new O(""),fw=[{provide:pc,useClass:class z1{addToWindow(t){f.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},f.getAllAngularTestabilities=()=>t.getAllTestabilities(),f.getAllAngularRootElements=()=>t.getAllRootElements(),f.frameworkStabilizers||(f.frameworkStabilizers=[]),f.frameworkStabilizers.push(i=>{const r=f.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:i?gi().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}},deps:[]},{provide:aC,useClass:Cf,deps:[ae,wf,pc]},{provide:Cf,useClass:Cf,deps:[ae,wf,pc]}],pw=[{provide:Ud,useValue:"root"},{provide:ki,useFactory:function sR(){return new ki},deps:[]},{provide:xa,useClass:J1,multi:!0,deps:[le,ae,fc]},{provide:xa,useClass:iR,multi:!0,deps:[le]},{provide:Fc,useClass:Fc,deps:[kc,Ia,cs]},{provide:ia,useExisting:Fc},{provide:nw,useExisting:Ia},{provide:Ia,useClass:Ia,deps:[le]},{provide:kc,useClass:kc,deps:[xa,ae]},{provide:class V1{},useClass:W1,deps:[]},[]];let mw=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:cs,useValue:e.appId},{provide:tw,useExisting:cs},$1]}}}return n.\u0275fac=function(e){return new(e||n)(w(hw,12))},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:[...pw,...fw],imports:[Vi,pF]}),n})();"undefined"!=typeof window&&window;const _R={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Rc=new O("HammerGestureConfig"),yw=new O("HammerLoader");let vw=(()=>{class n{constructor(){this.events=[],this.overrides={}}buildHammer(e){const i=new Hammer(e,this.options);i.get("pinch").set({enable:!0}),i.get("rotate").set({enable:!0});for(const r in this.overrides)i.get(r).set(this.overrides[r]);return i}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})(),yR=(()=>{class n extends Gf{constructor(e,i,r,o){super(e),this._config=i,this.console=r,this.loader=o,this._loaderPromise=null}supports(e){return!(!_R.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,i,r){const o=this.manager.getZone();if(i=i.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||o.runOutsideAngular(()=>this.loader());let s=!1,a=()=>{s=!0};return o.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?s||(a=this.addEventListener(e,i,r)):a=()=>{}}).catch(()=>{a=()=>{}})),()=>{a()}}return o.runOutsideAngular(()=>{const s=this._config.buildHammer(e),a=function(l){o.runGuarded(function(){r(l)})};return s.on(i,a),()=>{s.off(i,a),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}return n.\u0275fac=function(e){return new(e||n)(w(le),w(Rc),w(nC),w(yw,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})(),vR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:[{provide:xa,useClass:yR,multi:!0,deps:[le,Rc,nC,[new nr,yw]]},{provide:Rc,useClass:vw,deps:[]}]}),n})(),Pc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:function(e){let i=null;return i=e?new(e||n):w(bw),i},providedIn:"root"}),n})(),bw=(()=>{class n extends Pc{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Me.NONE:return i;case Me.HTML:return li(i,"HTML")?pn(i):Zg(this._doc,String(i)).toString();case Me.STYLE:return li(i,"Style")?pn(i):i;case Me.SCRIPT:if(li(i,"Script"))return pn(i);throw new Error("unsafe value used in a script context");case Me.URL:return li(i,"URL")?pn(i):ea(String(i));case Me.RESOURCE_URL:if(li(i,"ResourceURL"))return pn(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function IS(n){return new ES(n)}(e)}bypassSecurityTrustStyle(e){return function kS(n){return new MS(n)}(e)}bypassSecurityTrustScript(e){return function OS(n){return new SS(n)}(e)}bypassSecurityTrustUrl(e){return function FS(n){return new TS(n)}(e)}bypassSecurityTrustResourceUrl(e){return function RS(n){return new AS(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(w(le))},n.\u0275prov=N({token:n,factory:function(e){let i=null;return i=e?new e:function bR(n){return new bw(n.get(le))}(w(Bt)),i},providedIn:"root"}),n})();function Cw(...n){if(1===n.length){const t=n[0];if(Di(t))return Nc(t,null);if(Ds(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Nc(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return Nc(n=1===n.length&&Di(n[0])?n[0]:n,null).pipe(Ve(e=>t(...e)))}return Nc(n,null)}function Nc(n,t){return new Se(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{c||(c=!0,s++),r[a]=u},error:u=>e.error(u),complete:()=>{o++,(o===i||!c)&&(s===i&&e.next(t?t.reduce((u,d,p)=>(u[d]=r[p],u),{}):r),e.complete())}}))}})}let ww=(()=>{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)(y(ir),y(De))},n.\u0275dir=B({type:n}),n})(),qr=(()=>{class n extends ww{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ye(n)))(i||n)}}(),n.\u0275dir=B({type:n,features:[W]}),n})();const ni=new O("NgValueAccessor"),wR={provide:ni,useExisting:Ae(()=>Lc),multi:!0},ER=new O("CompositionEventMode");let Lc=(()=>{class n extends ww{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function DR(){const n=gi()?gi().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":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)(y(ir),y(De),y(ER,8))},n.\u0275dir=B({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&&j("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:[Ce([wR]),W]}),n})();function ar(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function Ew(n){return null!=n&&"number"==typeof n.length}const bt=new O("NgValidators"),lr=new O("NgAsyncValidators"),SR=/^(?=.{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 Mw{static min(t){return Sw(t)}static max(t){return function Tw(n){return t=>{if(ar(t.value)||ar(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 Aw(n){return ar(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function xw(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function Iw(n){return ar(n.value)||SR.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function kw(n){return t=>ar(t.value)||!Ew(t.value)?null:t.value.lengthEw(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function Fw(n){if(!n)return Vc;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(ar(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 Bw(t)}static composeAsync(t){return Hw(t)}}function Sw(n){return t=>{if(ar(t.value)||ar(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function Lw(n,t){return t.map(e=>e(n))}function Vw(n){return n.map(t=>function TR(n){return!n.validate}(t)?t:e=>t.validate(e))}function Bw(n){if(!n)return null;const t=n.filter(Rw);return 0==t.length?null:function(e){return Nw(Lw(e,t))}}function Qf(n){return null!=n?Bw(Vw(n)):null}function Hw(n){if(!n)return null;const t=n.filter(Rw);return 0==t.length?null:function(e){return Cw(Lw(e,t).map(Pw)).pipe(Ve(Nw))}}function Jf(n){return null!=n?Hw(Vw(n)):null}function jw(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function Uw(n){return n._rawValidators}function $w(n){return n._rawAsyncValidators}function ep(n){return n?Array.isArray(n)?n:[n]:[]}function Bc(n,t){return Array.isArray(n)?n.includes(t):n===t}function zw(n,t){const e=ep(t);return ep(n).forEach(r=>{Bc(e,r)||e.push(r)}),e}function Ww(n,t){return ep(t).filter(e=>!Bc(n,e))}class Gw{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=Qf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Jf(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 _i extends Gw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Wt extends Gw{get formDirective(){return null}get path(){return null}}let Yw=(()=>{class n extends class qw{constructor(t){this._cd=t}get isTouched(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.touched)}get isUntouched(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.untouched)}get isPristine(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.pristine)}get isDirty(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.dirty)}get isValid(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.valid)}get isInvalid(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.invalid)}get isPending(){var t,e;return!(null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e||!e.pending)}get isSubmitted(){var t;return!(null===(t=this._cd)||void 0===t||!t.submitted)}}{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(y(_i,2))},n.\u0275dir=B({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Ue("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:[W]}),n})();const ka="VALID",jc="INVALID",us="PENDING",Oa="DISABLED";function rp(n){return(Uc(n)?n.validators:n)||null}function Xw(n){return Array.isArray(n)?Qf(n):n||null}function op(n,t){return(Uc(t)?t.asyncValidators:n)||null}function Zw(n){return Array.isArray(n)?Jf(n):n||null}function Uc(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class eD{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._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Xw(this._rawValidators),this._composedAsyncValidatorFn=Zw(this._rawAsyncValidators)}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===ka}get invalid(){return this.status===jc}get pending(){return this.status==us}get disabled(){return this.status===Oa}get enabled(){return this.status!==Oa}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._rawValidators=t,this._composedValidatorFn=Xw(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Zw(t)}addValidators(t){this.setValidators(zw(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(zw(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Ww(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Ww(t,this._rawAsyncValidators))}hasValidator(t){return Bc(this._rawValidators,t)}hasAsyncValidator(t){return Bc(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=us,!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=Oa,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ka,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},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===ka||this.status===us)&&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()?Oa:ka}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=us,this._hasOwnPendingAsyncValidator=!0;const e=Pw(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 re,this.statusChanges=new re}_calculateStatus(){return this._allControlsDisabled()?Oa:this.errors?jc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(us)?us:this._anyControlsHaveStatus(jc)?jc:ka}_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){Uc(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class sp extends eD{constructor(t,e,i){super(rp(e),op(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 Jw(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new I(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function Qw(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new I(1e3,"");if(!i[e])throw new I(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}}function Fa(n,t){var e,i;ap(n,t),t.valueAccessor.writeValue(n.value),n.disabled&&(null===(i=(e=t.valueAccessor).setDisabledState)||void 0===i||i.call(e,!0)),function LR(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&tD(n,t)})}(n,t),function BR(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 VR(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&tD(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function NR(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function zc(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Gc(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Wc(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function ap(n,t){const e=Uw(n);null!==t.validator?n.setValidators(jw(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=$w(n);null!==t.asyncValidator?n.setAsyncValidators(jw(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Wc(t._rawValidators,r),Wc(t._rawAsyncValidators,r)}function Gc(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=Uw(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=$w(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 Wc(t._rawValidators,i),Wc(t._rawAsyncValidators,i),e}function tD(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function nD(n,t){ap(n,t)}function rD(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const zR={provide:Wt,useExisting:Ae(()=>Pa)},Ra=(()=>Promise.resolve(null))();let Pa=(()=>{class n extends Wt{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new re,this.form=new sp({},Qf(e),Jf(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ra.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Fa(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ra.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ra.then(()=>{const i=this._findContainer(e.path),r=new sp({});nD(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ra.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Ra.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,rD(this.form,this._directives),this.ngSubmit.emit(e),!1}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)(y(bt,10),y(lr,10))},n.\u0275dir=B({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&j("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ce([zR]),W]}),n})();function oD(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function sD(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const aD=class extends eD{constructor(t=null,e,i){super(rp(e),op(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}),Uc(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=sD(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){oD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){oD(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){sD(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}},qR={provide:_i,useExisting:Ae(()=>up)},uD=(()=>Promise.resolve(null))();let up=(()=>{class n extends _i{constructor(e,i,r,o,s){super(),this._changeDetectorRef=s,this.control=new aD,this._registered=!1,this.update=new re,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function cp(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Lc?e=o:function UR(n){return Object.getPrototypeOf(n.constructor)===qr}(o)?i=o:r=o}),r||i||e||null}(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),function lp(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Fa(this.control,this),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){uD.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function xf(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);uD.then(()=>{var o;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(e){return this._parent?function $c(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(y(Wt,9),y(bt,10),y(lr,10),y(ni,10),y(zt,8))},n.\u0275dir=B({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:[Ce([qR]),W,en]}),n})();const KR={provide:ni,useExisting:Ae(()=>dp),multi:!0};let dp=(()=>{class n extends qr{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ye(n)))(i||n)}}(),n.\u0275dir=B({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&j("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[Ce([KR]),W]}),n})(),dD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})();const eP={provide:Wt,useExisting:Ae(()=>Na)};let Na=(()=>{class n extends Wt{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new re,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&&(Gc(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 Fa(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){zc(e.control||null,e,!1),function $R(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,rD(this.form,this.directives),this.ngSubmit.emit(e),!1}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&&(zc(i||null,e),(n=>n instanceof aD)(r)&&(Fa(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);nD(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function HR(n,t){return Gc(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ap(this.form,this),this._oldForm&&Gc(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(y(bt,10),y(lr,10))},n.\u0275dir=B({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&j("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ce([eP]),W,en]}),n})();let Yr=(()=>{class n{constructor(){this._validator=Vc}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Vc,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,features:[en]}),n})();const dP={provide:bt,useExisting:Ae(()=>gp),multi:!0};let gp=(()=>{class n extends Yr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>function CD(n){return"number"==typeof n?n:parseFloat(n)}(e),this.createValidator=e=>Sw(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ye(n)))(i||n)}}(),n.\u0275dir=B({type:n,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Oe("min",i._enabled?i.min:null)},inputs:{min:"min"},features:[Ce([dP]),W]}),n})(),yP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[dD]}),n})(),vP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[yP]}),n})();class vp{}const Bi="*";function Hi(n,t){return{type:7,name:n,definitions:t,options:{}}}function _n(n,t=null){return{type:4,styles:t,timings:n}}function TD(n,t=null){return{type:2,steps:n,options:t}}function Re(n){return{type:6,styles:n,offset:null}}function sn(n,t,e){return{type:0,name:n,styles:t,options:e}}function yn(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function DP(n=null){return{type:9,options:n}}function EP(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function AD(n){Promise.resolve(null).then(n)}class La{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(){AD(()=>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 xD{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?AD(()=>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 ID(n){return new I(3e3,!1)}function oN(){return"undefined"!=typeof window&&void 0!==window.document}function Cp(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function cr(n){switch(n.length){case 0:return new La;case 1:return n[0];default:return new xD(n)}}function kD(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),p=d==l,m=p&&c||new Map;u.forEach((_,v)=>{let D=v,E=_;if("offset"!==v)switch(D=t.normalizePropertyName(D,s),E){case"!":E=r.get(v);break;case Bi:E=o.get(v);break;default:E=t.normalizeStyleValue(v,D,E,s)}m.set(D,E)}),p||a.push(m),c=m,l=d}),s.length)throw function qP(n){return new I(3502,!1)}();return a}function wp(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Dp(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Dp(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Dp(e,"destroy",n)))}}function Dp(n,t,e){const i=e.totalTime,o=Ep(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,null==i?n.totalTime:i,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function Ep(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function vn(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function OD(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let Mp=(n,t)=>!1,FD=(n,t,e)=>[],RD=null;function Sp(n){const t=n.parentNode||n.host;return t===RD?null:t}(Cp()||"undefined"!=typeof Element)&&(oN()?(RD=(()=>document.documentElement)(),Mp=(n,t)=>{for(;t;){if(t===n)return!0;t=Sp(t)}return!1}):Mp=(n,t)=>n.contains(t),FD=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let Kr=null,PD=!1;const ND=Mp,LD=FD;let VD=(()=>{class n{validateStyleProperty(e){return function aN(n){Kr||(Kr=function lN(){return"undefined"!=typeof document?document.body:null}()||{},PD=!!Kr.style&&"WebkitAppearance"in Kr.style);let t=!0;return Kr.style&&!function sN(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in Kr.style,!t&&PD&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Kr.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return ND(e,i)}getParentElement(e){return Sp(e)}query(e,i,r){return LD(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new La(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})(),Tp=(()=>{class n{}return n.NOOP=new VD,n})();const Ap="ng-enter",qc="ng-leave",Yc="ng-trigger",Kc=".ng-trigger",HD="ng-animating",xp=".ng-animating";function ur(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Ip(parseFloat(t[1]),t[2])}function Ip(n,t){return"s"===t?1e3*n:n}function Xc(n,t,e){return n.hasOwnProperty("duration")?n:function dN(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(ID()),{duration:0,delay:0,easing:""};r=Ip(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Ip(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function MP(){return new I(3100,!1)}()),a=!0),o<0&&(t.push(function SP(){return new I(3101,!1)}()),a=!0),a&&t.splice(l,0,ID())}return{duration:r,delay:o,easing:s}}(n,t,e)}function Va(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function jD(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function dr(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 $D(n,t,e){return e?t+":"+e+";":""}function zD(n){let t="";for(let e=0;e{const o=Op(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),Cp()&&zD(n))}function Xr(n,t){n.style&&(t.forEach((e,i)=>{const r=Op(i);n.style[r]=""}),Cp()&&zD(n))}function Ba(n){return Array.isArray(n)?1==n.length?n[0]:TD(n):n}const kp=new RegExp("{{\\s*(.+?)\\s*}}","g");function WD(n){let t=[];if("string"==typeof n){let e;for(;e=kp.exec(n);)t.push(e[1]);kp.lastIndex=0}return t}function Zc(n,t,e){const i=n.toString(),r=i.replace(kp,(o,s)=>{let a=t[s];return null==a&&(e.push(function AP(n){return new I(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function Qc(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const pN=/-+([a-z0-9])/g;function Op(n){return n.replace(pN,(...t)=>t[1].toUpperCase())}function mN(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function bn(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 xP(n){return new I(3004,!1)}()}}function GD(n,t){return window.getComputedStyle(n)[t]}function CN(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function wN(n,t,e){if(":"==n[0]){const l=function DN(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function UP(n){return new I(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(qD(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(qD(s,r))}(i,e,t)):e.push(n),e}const nu=new Set(["true","1"]),iu=new Set(["false","0"]);function qD(n,t){const e=nu.has(n)||iu.has(n),i=nu.has(t)||iu.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?nu.has(n):iu.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?nu.has(t):iu.has(t)),s&&a}}const EN=new RegExp("s*:selfs*,?","g");function Fp(n,t,e,i){return new MN(n).build(t,e,i)}class MN{constructor(t){this._driver=t}build(t,e,i){const r=new AN(e);return this._resetContextStyleTimingState(r),bn(this,Ba(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 kP(){return new I(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function OP(){return new I(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(l=>{WD(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(Qc(o.values()),e.errors.push(function FP(n,t){return new I(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=bn(this,Ba(t.animation),e);return{type:1,matchers:CN(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Zr(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>bn(this,i,e)),options:Zr(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=bn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:Zr(t.options)}}visitAnimate(t,e){const i=function IN(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Rp(Xc(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Rp(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=Xc(e,t);return Rp(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Re({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Re(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===Bi?i.push(a):e.errors.push(new I(3002,!1)):i.push(jD(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 l of a.values())if(l.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,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(function PP(n,t,e,i,r){return new I(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),e.options&&function fN(n,t,e){const i=t.params||{},r=WD(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function TP(n){return new I(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 NP(){return new I(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(E=>{const R=this._makeStyleAst(E,e);let C=null!=R.offset?R.offset:function xN(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}(R.styles),P=0;return null!=C&&(o++,P=R.offset=C),l=l||P<0||P>1,a=a||P0&&o{const C=p>0?R==m?1:p*R:s[R],P=C*D;e.currentTime=_+v.delay+P,v.duration=P,this._validateStyleAst(E,e),E.offset=C,i.styles.push(E)}),i}visitReference(t,e){return{type:8,animation:bn(this,Ba(t.animation),e),options:Zr(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Zr(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Zr(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function SN(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(EN,"")),n=n.replace(/@\*/g,Kc).replace(/@\w+/g,e=>Kc+"-"+e.slice(1)).replace(/:animating/g,xp),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,vn(e.collectedStyles,e.currentQuerySelector,new Map);const a=bn(this,Ba(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:Zr(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function HP(){return new I(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:Xc(t.timings,e.errors,!0);return{type:12,animation:bn(this,Ba(t.animation),e),timings:i,options:null}}}class AN{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 Zr(n){return n?(n=Va(n)).params&&(n.params=function TN(n){return n?Va(n):null}(n.params)):n={},n}function Rp(n,t,e){return{duration:n,delay:t,easing:e}}function Pp(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 ru{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 FN=new RegExp(":enter","g"),PN=new RegExp(":leave","g");function Np(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new NN).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class NN{buildKeyframes(t,e,i,r,o,s,a,l,c,u=[]){c=c||new ru;const d=new Lp(t,e,c,r,o,u,[]);d.options=l;const p=l.delay?ur(l.delay):0;d.currentTimeline.delayNextStep(p),d.currentTimeline.setStyles([s],null,d.errors,l),bn(this,i,d);const m=d.timelines.filter(_=>_.containsAnimation());if(m.length&&a.size){let _;for(let v=m.length-1;v>=0;v--){const D=m[v];if(D.element===e){_=D;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([a],null,d.errors,l)}return m.length?m.map(_=>_.buildKeyframes()):[Pp(e,[],[],[],0,p,"",!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.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?ur(i.duration):null,a=null!=i.delay?ur(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),bn(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=ou);const s=ur(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>bn(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?ur(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),bn(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 Xc(e.params?Zc(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(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.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?ur(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ou);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);o&&d.delayNextStep(o),c===e.element&&(l=d.currentTimeline),bn(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),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 l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;bn(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const ou={};class Lp{constructor(t,e,i,r,o,s,a,l){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=ou,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new su(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=ur(i.duration)),null!=i.delay&&(r.delay=ur(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]=Zc(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 Lp(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=ou,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+t.delay,easing:""},o=new LN(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(FN,"."+this._enterClassName)).replace(PN,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function jP(n){return new I(3014,!1)}()),a}}class su{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 su(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||Bi),this._currentKeyframe.set(e,Bi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){var o;e&&this._previousKeyframe.set("easing",e);const s=r&&r.params||{},a=function VN(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,Bi)}else dr(r,e)}),e}(t,this._globalTimelineStyles);for(let[l,c]of a){const u=Zc(c,s,i);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,null!==(o=this._globalTimelineStyles.get(l))&&void 0!==o?o:Bi),this._updateStyle(l,u)}}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,l)=>{const c=dr(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===Bi&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?Qc(t.values()):[],s=e.size?Qc(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Pp(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class LN extends su{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,l=dr(t[0]);l.set("offset",0),o.push(l);const c=dr(t[0]);c.set("offset",XD(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let p=dr(t[d]);const m=p.get("offset");p.set("offset",XD((e+m*i)/s)),o.push(p)}i=s,e=0,r="",t=o}return Pp(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function XD(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class Vp{}const BN=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 HN extends Vp{normalizePropertyName(t,e){return Op(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(BN.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 IP(n,t){return new I(3005,!1)}())}return s+o}}function ZD(n,t,e,i,r,o,s,a,l,c,u,d,p){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:p}}const Bp={};class QD{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function jN(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(null==t?void 0:t.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,u){var d;const p=[],m=this.ast.options&&this.ast.options.params||Bp,v=this.buildStyles(i,a&&a.params||Bp,p),D=l&&l.params||Bp,E=this.buildStyles(r,D,p),R=new Set,C=new Map,P=new Map,X="void"===r,we={params:UN(D,m),delay:null===(d=this.ast.options)||void 0===d?void 0:d.delay},Xe=u?[]:Np(t,e,this.ast.animation,o,s,v,E,we,c,p);let It=0;if(Xe.forEach(qt=>{It=Math.max(qt.duration+qt.delay,It)}),p.length)return ZD(e,this._triggerName,i,r,X,v,E,[],[],C,P,It,p);Xe.forEach(qt=>{const $i=qt.element,zi=vn(C,$i,new Set);qt.preStyleProps.forEach(Ci=>zi.add(Ci));const Wi=vn(P,$i,new Set);qt.postStyleProps.forEach(Ci=>Wi.add(Ci)),$i!==e&&R.add($i)});const gr=Qc(R.values());return ZD(e,this._triggerName,i,r,X,v,E,Xe,gr,C,P,It)}}function UN(n,t){const e=Va(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class $N{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Va(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=Zc(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class WN{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 $N(r.style,r.options&&r.options.params||{},i))}),JD(this.states,"true","1"),JD(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new QD(t,r,this.states))}),this.fallbackTransition=function GN(n,t,e){return new QD(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 JD(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 qN=new ru;class YN{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=Fp(this._driver,e,i,[]);if(i.length)throw function YP(n){return new I(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=kD(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=Np(this._driver,e,o,Ap,qc,new Map,new Map,i,qN,r),s.forEach(u=>{const d=vn(a,u.element,new Map);u.postStyleProps.forEach(p=>d.set(p,null))})):(r.push(function KP(){return new I(3300,!1)}()),s=[]),r.length)throw function XP(n){return new I(3504,!1)}();a.forEach((u,d)=>{u.forEach((p,m)=>{u.set(m,this._driver.computeStyle(d,m,Bi))})});const c=cr(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function ZP(n){return new I(3301,!1)}();return e}listen(t,e,i,r){const o=Ep(e,"","","");return wp(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 eE="ng-animate-queued",Hp="ng-animate-disabled",JN=[],tE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},eL={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nn="__ng_removed";class jp{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function rL(n){return null!=n?n:null}(i?t.value:t),i){const o=Va(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 Ha="void",Up=new jp(Ha);class tL{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,Ln(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function QP(n,t){return new I(3302,!1)}();if(null==i||0==i.length)throw function JP(n){return new I(3303,!1)}();if(!function oL(n){return"start"==n||"done"==n}(i))throw function eN(n,t){return new I(3400,!1)}();const o=vn(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=vn(this._engine.statesByElement,t,new Map);return a.has(e)||(Ln(t,Yc),Ln(t,Yc+"-"+e),a.set(e,Up)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,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 tN(n){return new I(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new $p(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(Ln(t,Yc),Ln(t,Yc+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new jp(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Up),c.value!==Ha&&l.value===c.value){if(!function lL(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{Xr(t,D),yi(t,E)})}return}const p=vn(this._engine.playersByElement,t,[]);p.forEach(v=>{v.namespaceId==this.id&&v.triggerName==e&&v.queued&&v.destroy()});let m=o.matchTransition(l.value,c.value,t,c.params),_=!1;if(!m){if(!r)return;m=o.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:m,fromState:l,toState:c,player:s,isFallbackTransition:_}),_||(Ln(t,eE),s.onStart(()=>{ds(t,eE)})),s.onDone(()=>{let v=this.players.indexOf(s);v>=0&&this.players.splice(v,1);const D=this._engine.playersByElement.get(t);if(D){let E=D.indexOf(s);E>=0&&D.splice(E,1)}}),this.players.push(s),p.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,Kc,!0);i.forEach(r=>{if(r[Nn])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((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,Ha,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&cr(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 l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Up,u=new jp(Ha),d=new $p(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,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[Nn];(!o||o===tE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Ln(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 l=Ep(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,wp(i.player,a.phase,l,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 nL{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 tL(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 l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+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(au(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!au(e))return;const o=e[Nn];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),Ln(t,Hp)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ds(t,Hp))}removeNode(t,e,i,r){if(au(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[Nn]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return au(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,Kc,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,xp,!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 cr(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const i=t[Nn];if(i&&i.setForRemoval){if(t[Nn]=tE,i.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(i.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,i.setForRemoval)}!(null===(e=t.classList)||void 0===e)&&e.contains(Hp)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!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?cr(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function nN(n){return new I(3402,!1)}()}_flushAnimations(t,e){const i=new ru,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(H=>{u.add(H);const $=this.driver.query(H,".ng-animate-queued",!0);for(let q=0;q<$.length;q++)u.add($[q])});const d=this.bodyNode,p=Array.from(this.statesByElement.keys()),m=rE(p,this.collectedEnterElements),_=new Map;let v=0;m.forEach((H,$)=>{const q=Ap+v++;_.set($,q),H.forEach(ge=>Ln(ge,q))});const D=[],E=new Set,R=new Set;for(let H=0;HE.add(ge)):R.add($))}const C=new Map,P=rE(p,Array.from(E));P.forEach((H,$)=>{const q=qc+v++;C.set($,q),H.forEach(ge=>Ln(ge,q))}),t.push(()=>{m.forEach((H,$)=>{const q=_.get($);H.forEach(ge=>ds(ge,q))}),P.forEach((H,$)=>{const q=C.get($);H.forEach(ge=>ds(ge,q))}),D.forEach(H=>{this.processLeaveNode(H)})});const X=[],we=[];for(let H=this._namespaceList.length-1;H>=0;H--)this._namespaceList[H].drainQueuedTransitions(e).forEach(q=>{const ge=q.player,Ze=q.element;if(X.push(ge),this.collectedEnterElements.length){const kt=Ze[Nn];if(kt&&kt.setForMove){if(kt.previousTriggersValues&&kt.previousTriggersValues.has(q.triggerName)){const no=kt.previousTriggersValues.get(q.triggerName),Bn=this.statesByElement.get(q.element);if(Bn&&Bn.has(q.triggerName)){const Lu=Bn.get(q.triggerName);Lu.value=no,Bn.set(q.triggerName,Lu)}}return void ge.destroy()}}const wi=!d||!this.driver.containsElement(d,Ze),wn=C.get(Ze),_r=_.get(Ze),ze=this._buildInstruction(q,i,_r,wn,wi);if(ze.errors&&ze.errors.length)return void we.push(ze);if(wi)return ge.onStart(()=>Xr(Ze,ze.fromStyles)),ge.onDestroy(()=>yi(Ze,ze.toStyles)),void r.push(ge);if(q.isFallbackTransition)return ge.onStart(()=>Xr(Ze,ze.fromStyles)),ge.onDestroy(()=>yi(Ze,ze.toStyles)),void r.push(ge);const J0=[];ze.timelines.forEach(kt=>{kt.stretchStartingKeyframe=!0,this.disabledNodes.has(kt.element)||J0.push(kt)}),ze.timelines=J0,i.append(Ze,ze.timelines),s.push({instruction:ze,player:ge,element:Ze}),ze.queriedElements.forEach(kt=>vn(a,kt,[]).push(ge)),ze.preStyleProps.forEach((kt,no)=>{if(kt.size){let Bn=l.get(no);Bn||l.set(no,Bn=new Set),kt.forEach((Lu,Nm)=>Bn.add(Nm))}}),ze.postStyleProps.forEach((kt,no)=>{let Bn=c.get(no);Bn||c.set(no,Bn=new Set),kt.forEach((Lu,Nm)=>Bn.add(Nm))})});if(we.length){const H=[];we.forEach($=>{H.push(function iN(n,t){return new I(3505,!1)}())}),X.forEach($=>$.destroy()),this.reportError(H)}const Xe=new Map,It=new Map;s.forEach(H=>{const $=H.element;i.has($)&&(It.set($,$),this._beforeAnimationBuild(H.player.namespaceId,H.instruction,Xe))}),r.forEach(H=>{const $=H.element;this._getPreviousPlayers($,!1,H.namespaceId,H.triggerName,null).forEach(ge=>{vn(Xe,$,[]).push(ge),ge.destroy()})});const gr=D.filter(H=>sE(H,l,c)),qt=new Map;iE(qt,this.driver,R,c,Bi).forEach(H=>{sE(H,l,c)&&gr.push(H)});const zi=new Map;m.forEach((H,$)=>{iE(zi,this.driver,new Set(H),l,"!")}),gr.forEach(H=>{var $,q;const ge=qt.get(H),Ze=zi.get(H);qt.set(H,new Map([...Array.from(null!==($=null==ge?void 0:ge.entries())&&void 0!==$?$:[]),...Array.from(null!==(q=null==Ze?void 0:Ze.entries())&&void 0!==q?q:[])]))});const Wi=[],Ci=[],Cs={};s.forEach(H=>{const{element:$,player:q,instruction:ge}=H;if(i.has($)){if(u.has($))return q.onDestroy(()=>yi($,ge.toStyles)),q.disabled=!0,q.overrideTotalTime(ge.totalTime),void r.push(q);let Ze=Cs;if(It.size>1){let wn=$;const _r=[];for(;wn=wn.parentNode;){const ze=It.get(wn);if(ze){Ze=ze;break}_r.push(wn)}_r.forEach(ze=>It.set(ze,Ze))}const wi=this._buildAnimation(q.namespaceId,ge,Xe,o,zi,qt);if(q.setRealPlayer(wi),Ze===Cs)Wi.push(q);else{const wn=this.playersByElement.get(Ze);wn&&wn.length&&(q.parentPlayer=cr(wn)),r.push(q)}}else Xr($,ge.fromStyles),q.onDestroy(()=>yi($,ge.toStyles)),Ci.push(q),u.has($)&&r.push(q)}),Ci.forEach(H=>{const $=o.get(H.element);if($&&$.length){const q=cr($);H.setRealPlayer(q)}}),r.forEach(H=>{H.parentPlayer?H.syncPlayerEvents(H.parentPlayer):H.destroy()});for(let H=0;H!wi.destroyed);Ze.length?sL(this,$,Ze):this.processLeaveNode($)}return D.length=0,Wi.forEach(H=>{this.players.push(H),H.onDone(()=>{H.destroy();const $=this.players.indexOf(H);this.players.splice($,1)}),H.play()}),Wi}elementContainsData(t,e){let i=!1;const r=e[Nn];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 l=!o||o==Ha;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}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 l of e.timelines){const c=l.element,u=c!==o,d=vn(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(m=>{const _=m.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),m.destroy(),d.push(m)})}Xr(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,p=e.timelines.map(_=>{const v=_.element;u.add(v);const D=v[Nn];if(D&&D.removedBeforeQueried)return new La(_.duration,_.delay);const E=v!==l,R=function aL(n){const t=[];return oE(n,t),t}((i.get(v)||JN).map(Xe=>Xe.getRealPlayer())).filter(Xe=>!!Xe.element&&Xe.element===v),C=o.get(v),P=s.get(v),X=kD(0,this._normalizer,0,_.keyframes,C,P),we=this._buildPlayer(_,X,R);if(_.subTimeline&&r&&d.add(v),E){const Xe=new $p(t,a,v);Xe.setRealPlayer(we),c.push(Xe)}return we});c.forEach(_=>{vn(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>function iL(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,_.element,_))}),u.forEach(_=>Ln(_,HD));const m=cr(p);return m.onDestroy(()=>{u.forEach(_=>ds(_,HD)),yi(l,e.toStyles)}),d.forEach(_=>{vn(r,_,[]).push(m)}),m}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new La(t.duration,t.delay)}}class $p{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new La,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=>wp(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){vn(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 au(n){return n&&1===n.nodeType}function nE(n,t){const e=n.style.display;return n.style.display=null!=t?t:"none",e}function iE(n,t,e,i,r){const o=[];e.forEach(l=>o.push(nE(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const p=t.computeStyle(c,d,r);u.set(d,p),(!p||0==p.length)&&(c[Nn]=eL,s.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>nE(l,o[a++])),s}function rE(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 l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function Ln(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function ds(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function sL(n,t,e){cr(e).onDone(()=>n.processLeaveNode(t))}function oE(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class lu{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new nL(t,e,i),this._timelineEngine=new YN(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 l=[],u=Fp(this._driver,o,l,[]);if(l.length)throw function GP(n,t){return new I(3404,!1)}();a=function zN(n,t,e){return new WN(n,t,e)}(r,u,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]=OD(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]=OD(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 uL=(()=>{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&&yi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(yi(this._element,this._initialStyles),this._endStyles&&(yi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Xr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xr(this._element,this._endStyles),this._endStyles=null),yi(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function zp(n){let t=null;return n.forEach((e,i)=>{(function dL(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class aE{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:GD(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class hL{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return ND(t,e)}getParentElement(t){return Sp(t)}query(t,e,i){return LD(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(m=>m instanceof aE);(function gN(n,t){return 0===n||0===t})(i,r)&&u.forEach(m=>{m.currentSnapshot.forEach((_,v)=>c.set(v,_))});let d=function hN(n){return n.length?n[0]instanceof Map?n:n.map(t=>jD(t)):[]}(e).map(m=>dr(m));d=function _N(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,GD(n,a)))}}return t}(t,d,c);const p=function cL(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=zp(t[0]),t.length>1&&(i=zp(t[t.length-1]))):t instanceof Map&&(e=zp(t)),e||i?new uL(n,e,i):null}(t,d);return new aE(t,d,l,p)}}let fL=(()=>{class n extends vp{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:h.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?TD(e):e;return lE(this._renderer,null,i,"register",[r]),new pL(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(w(ia),w(le))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();class pL extends class CP{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new mL(this._id,t,e||{},this._renderer)}}class mL{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 lE(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(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function lE(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const cE="@.disabled";let gL=(()=>{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=null==s?void 0: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 u=this._rendererCache.get(o);return u||(u=new uE("",o,this.engine),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new _L(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)(w(ia),w(lu),w(ae))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();class uE{constructor(t,e,i){this.namespaceId=t,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}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==cE?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 _L extends uE{constructor(t,e,i,r){super(e,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==cE?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 yL(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 vL(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 bL=(()=>{class n extends lu{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(w(le),w(Tp),w(Vp),w(Da))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();const dE=[{provide:vp,useClass:fL},{provide:Vp,useFactory:function CL(){return new HN}},{provide:lu,useClass:bL},{provide:ia,useFactory:function wL(n,t,e){return new gL(n,t,e)},deps:[Fc,lu,ae]}],Wp=[{provide:Tp,useFactory:()=>new hL},{provide:gn,useValue:"BrowserAnimations"},...dE],hE=[{provide:Tp,useClass:VD},{provide:gn,useValue:"NoopAnimations"},...dE];let DL=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?hE:Wp}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:Wp,imports:[mw]}),n})();const EL=new O("cdk-dir-doc",{providedIn:"root",factory:function ML(){return tr(le)}}),SL=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Gp,hs=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new re,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function TL(n){const t=(null==n?void 0:n.toLowerCase())||"";return"auto"===t&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?SL.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)(w(EL,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ja=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})();try{Gp="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Gp=!1}let fs,Ct=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?JC(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&&!Gp)&&"undefined"!=typeof CSS&&!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)(w(fc))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const pE=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function mE(){if(fs)return fs;if("object"!=typeof document||!document)return fs=new Set(pE),fs;let n=document.createElement("input");return fs=new Set(pE.filter(t=>(n.setAttribute("type",t),n.type===t))),fs}let Ua,Qr,qp;function ps(n){return function AL(){if(null==Ua&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ua=!0}))}finally{Ua=Ua||!1}return Ua}()?n:!!n.capture}function xL(){if(null==Qr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Qr=!1,Qr;if("scrollBehavior"in document.documentElement.style)Qr=!0;else{const n=Element.prototype.scrollTo;Qr=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Qr}function Jr(n){return n.composedPath?n.composedPath()[0]:n.target}function Yp(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}class Kp extends U{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 Ei;return this._value}next(t){super.next(this._value=t)}}function Vn(...n){let t=n[n.length-1];return Si(t)?(n.pop(),Be(n,t)):As(n)}function hr(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function fr(){}function mu(n,t,e){return function(r){return r.lift(new $L(n,t,e))}}class $L{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new zL(t,this.nextOrObserver,this.error,this.complete))}}class zL extends ve{constructor(t,e,i,r){super(t),this._tapNext=fr,this._tapError=fr,this._tapComplete=fr,this._tapError=i||fr,this._tapComplete=r||fr,Hn(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||fr,this._tapError=e.error||fr,this._tapComplete=e.complete||fr)}_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 WL extends ee{constructor(t,e){super()}schedule(t,e=0){return this}}class Zp extends WL{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 _E=(()=>{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 vi extends _E{constructor(t,e=_E.now){super(t,()=>vi.delegate&&vi.delegate!==this?vi.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return vi.delegate&&vi.delegate!==this?vi.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 ms=new vi(Zp);function Qp(n,t=ms){return e=>e.lift(new GL(n,t))}class GL{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new qL(t,this.dueTime,this.scheduler))}}class qL extends ve{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(YL,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 YL(n){n.debouncedNext()}function Gt(n,t){return function(i){return i.lift(new KL(n,t))}}class KL{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new XL(t,this.predicate,this.thisArg))}}class XL extends ve{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 yE(n){return t=>t.lift(new ZL(n))}class ZL{constructor(t){this.total=t}call(t,e){return e.subscribe(new QL(t,this.total))}}class QL extends ve{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}function Jp(n,t){return e=>e.lift(new JL(n,t))}class JL{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new eV(t,this.compare,this.keySelector))}}class eV extends ve{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 ye(n){return t=>t.lift(new tV(n))}class tV{constructor(t){this.notifier=t}call(t,e){const i=new nV(t),r=qi(this.notifier,new $n(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class nV extends an{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function ke(n){return null!=n&&"false"!=`${n}`}function Wa(n,t=0){return function iV(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function gu(n){return Array.isArray(n)?n:[n]}function ut(n){return null==n?"":"string"==typeof n?n:`${n}px`}function ji(n){return n instanceof De?n.nativeElement:n}let vE=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rV=(()=>{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 Se(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 U,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)(w(vE))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),bE=(()=>{class n{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new re,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=ke(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Wa(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(Qp(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(y(rV),y(De),y(ae))},n.\u0275dir=B({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),em=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:[vE]}),n})();class oV extends ve{notifyNext(t,e,i,r,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class sV extends ve{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 aV(n,t,e,i,r=new sV(n,e,i)){if(!r.closed)return t instanceof Se?t.subscribe(r):Ts(t)(r)}const CE={};class cV{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new uV(t,this.resultSelector))}}class uV extends oV{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(CE),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})(),nm=new Se(n=>n.complete());function im(n){return n?function fV(n){return new Se(t=>n.schedule(()=>t.complete()))}(n):nm}function Cn(n){return t=>0===n?im():t.lift(new pV(n))}class pV{constructor(t){if(this.total=t,this.total<0)throw new hV}call(t,e){return e.subscribe(new mV(t,this.total))}}class mV extends ve{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 ii(...n){const t=n[n.length-1];return Si(t)?(n.pop(),e=>tm(n,e,t)):e=>tm(n,e)}const wE=new Set;let gs,gV=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):yV}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function _V(n){if(!wE.has(n))try{gs||(gs=document.createElement("style"),gs.setAttribute("type","text/css"),document.head.appendChild(gs)),gs.sheet&&(gs.sheet.insertRule(`@media ${n} {body{ }}`,0),wE.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(w(Ct))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function yV(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let _u=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new U}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return DE(gu(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=function lV(...n){let t,e;return Si(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&Di(n[0])&&(n=n[0]),As(n,e).lift(new cV(t))}(DE(gu(e)).map(s=>this._registerQuery(s).observable));return o=tm(o.pipe(Cn(1)),o.pipe(yE(1),Qp(0))),o.pipe(Ve(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new Se(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(ii(i),Ve(({matches:s})=>({query:e,matches:s})),ye(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(w(gV),w(ae))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function DE(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function yu(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const SE="cdk-describedby-message",vu="cdk-describedby-host";let rm=0,CV=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+rm++,this._document=e,this._id=tr(cs)+"-"+rm++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=om(i,r);"string"!=typeof i?(TE(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){var o;if(!i||!this._isElementNode(e))return;const s=om(i,r);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),"string"==typeof i){const a=this._messageRegistry.get(s);a&&0===a.referenceCount&&this._deleteMessageElement(s)}0===(null===(o=this._messagesContainer)||void 0===o?void 0:o.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const i=this._document.querySelectorAll(`[${vu}="${this._id}"]`);for(let r=0;r0!=r.indexOf(SE));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function vV(n,t,e){const i=yu(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(vu,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function bV(n,t,e){const r=yu(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(vu)}_isElementDescribedByMessage(e,i){const r=yu(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)(w(le),w(Ct))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function om(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function TE(n,t){n.id||(n.id=`${SE}-${t}-${rm++}`)}class sm{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new U,this._typeaheadSubscription=ee.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new U,this.change=new U,t instanceof zr&&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(mu(e=>this._pressedLetters.push(e)),Qp(t),Gt(()=>this._pressedLetters.length>0),Ve(()=>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;default:return void((r||hr(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=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),r=e[i];this._activeItem=null==r?null:r,this._activeItemIndex=i}_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 zr?this._items.toArray():this._items}}class wV extends sm{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class AE extends sm{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}function am(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function lm(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 AV=new O("cdk-input-modality-detector-options"),xV={ignoreKeys:[18,17,224,91,16]},_s=ps({passive:!0,capture:!0});let IV=(()=>{class n{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Kp(null),this._lastTouchMs=0,this._onKeydown=s=>{var a,l;null!==(l=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)&&void 0!==l&&l.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Jr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(am(s)?"keyboard":"mouse"),this._mostRecentTarget=Jr(s))},this._onTouchstart=s=>{lm(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Jr(s))},this._options=Object.assign(Object.assign({},xV),o),this.modalityDetected=this._modality.pipe(yE(1)),this.modalityChanged=this.modalityDetected.pipe(Jp()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,_s),r.addEventListener("mousedown",this._onMousedown,_s),r.addEventListener("touchstart",this._onTouchstart,_s)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_s),document.removeEventListener("mousedown",this._onMousedown,_s),document.removeEventListener("touchstart",this._onTouchstart,_s))}}return n.\u0275fac=function(e){return new(e||n)(w(Ct),w(ae),w(le),w(AV,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const kV=new O("liveAnnouncerElement",{providedIn:"root",factory:function OV(){return null}}),FV=new O("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let cm=(()=>{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._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(){var e,i;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(i=this._currentResolve)||void 0===i||i.call(this),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{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 U,this._rootNodeFocusAndBlurListener=a=>{for(let c=Jr(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(e,i=!1){const r=ji(e);if(!this._platform.isBrowser||1!==r.nodeType)return Vn(null);const o=function kL(n){if(function IL(){if(null==qp){const n="undefined"!=typeof document?document.head:null;qp=!(!n||!n.createShadowRoot&&!n.attachShadow)}return qp}()){const t=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&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 U,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,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!(null==e||!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=Jr(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,bu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,bu)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ye(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,bu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,bu),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=tr(_u).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)":return 2;case"rgb(255,255,255)":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(um,kE,OE),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(um,kE):2===i&&e.add(um,OE)}}}return n.\u0275fac=function(e){return new(e||n)(w(Ct),w(le))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),PV=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(w(FE))},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[em]}),n})();function NV(n,t){if(1&n&&je(0,"mat-pseudo-checkbox",4),2&n){const e=J();k("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function LV(n,t){if(1&n&&(M(0,"span",5),z(1),A()),2&n){const e=J();F(1),ns("(",e.group.label,")")}}const VV=["*"],HV=new O("mat-sanity-checks",{providedIn:"root",factory:function BV(){return!0}});let Le=(()=>{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!Yp()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(w(FE),w(HV,8),w(le))},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[ja,ja]}),n})();function Cu(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=ke(t)}}}function Ga(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 wu(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=ke(t)}}}function dm(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?Wa(e):this.defaultTabIndex}}}function PE(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 hm=(()=>{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=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class UV{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 NE={enterDuration:225,exitDuration:150},fm=ps({passive:!0}),LE=["mousedown","touchstart"],VE=["mouseup","mouseleave","touchend","touchcancel"];class zV{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=Object.assign(Object.assign({},NE),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function WV(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,l=e-r.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=a-s+"px",u.style.top=l-s+"px",u.style.height=2*s+"px",u.style.width=2*s+"px",null!=i.color&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);const d=window.getComputedStyle(u),m=d.transitionDuration,_="none"===d.transitionProperty||"0s"===m||"0s, 0s"===m,v=new UV(this,u,i,_);u.style.transform="scale3d(1, 1, 1)",v.state=0,i.persistent||(this._mostRecentTransientRipple=v);let D=null;return!_&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const E=()=>this._finishRippleTransition(v),R=()=>this._destroyRipple(v);u.addEventListener("transitionend",E),u.addEventListener("transitioncancel",R),D={onTransitionEnd:E,onTransitionCancel:R}}),this._activeRipples.set(v,D),(_||!c)&&this._finishRippleTransition(v),v}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i=Object.assign(Object.assign({},NE),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(LE))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(VE),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){var e;const i=null!==(e=this._activeRipples.get(t))&&void 0!==e?e:null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==i&&(t.element.removeEventListener("transitionend",i.onTransitionEnd),t.element.removeEventListener("transitioncancel",i.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=am(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,fm)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(LE.forEach(t=>{this._triggerElement.removeEventListener(t,this,fm)}),this._pointerUpEventsRegistered&&VE.forEach(t=>{this._triggerElement.removeEventListener(t,this,fm)}))}}const GV=new O("mat-ripple-global-options");let vs=(()=>{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 zV(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:Object.assign(Object.assign(Object.assign({},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,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return n.\u0275fac=function(e){return new(e||n)(y(De),y(ae),y(Ct),y(GV,8),y(gn,8))},n.\u0275dir=B({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Ue("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})(),Du=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Le,Le]}),n})(),qV=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(y(gn,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Ue("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{width:16px;height:16px;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{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),n})(),YV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Le]}),n})();const BE=new O("MAT_OPTION_PARENT_COMPONENT"),HE=new O("MatOptgroup");let KV=0;class XV{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let ZV=(()=>{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-"+KV++,this.onSelectionChange=new re,this._stateChanges=new U}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=ke(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().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)&&!hr(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=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new XV(this,e))}}return n.\u0275fac=function(e){Gl()},n.\u0275dir=B({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),jE=(()=>{class n extends ZV{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(y(De),y(zt),y(BE,8),y(HE,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&j("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(fa("id",i.id),Oe("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Ue("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[W],ngContentSelectors:VV,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(nn(),de(0,NV,1,2,"mat-pseudo-checkbox",0),M(1,"span",1),Fe(2),A(),de(3,LV,2,1,"span",2),je(4,"div",3)),2&e&&(k("ngIf",i.multiple),F(3),k("ngIf",i.group&&i.group._inert),F(1),k("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[vs,Li,qV],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-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-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),n})();function UE(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;s{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Du,Vi,Le,YV]}),n})();const JV=["mat-button",""],eB=["*"],nB=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],iB=Ga(Cu(wu(class{constructor(n){this._elementRef=n}})));let pm=(()=>{class n extends iB{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const o of nB)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(y(De),y(ys),y(gn,8))},n.\u0275cmp=Je({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&pt(vs,5),2&e){let r;he(r=fe())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(Oe("disabled",i.disabled||null),Ue("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[W],attrs:JV,ngContentSelectors:eB,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(nn(),M(0,"span",0),Fe(1),A(),je(2,"span",1)(3,"span",2)),2&e&&(F(2),Ue("mat-button-ripple-round",i.isRoundButton||i.isIconButton),k("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[vs],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),mm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Du,Le,Le]}),n})();const rB=["*",[["mat-card-footer"]]],oB=["*","mat-card-footer"];let sB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),n})(),aB=(()=>{class n{constructor(e){this._animationMode=e}}return n.\u0275fac=function(e){return new(e||n)(y(gn,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,i){2&e&&Ue("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:oB,decls:2,vars:0,template:function(e,i){1&e&&(nn(rB),Fe(0),Fe(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),n})(),lB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Le,Le]}),n})();const cB=["input"],uB=["label"],dB=function(n){return{enterDuration:n}},hB=["*"],fB=new O("mat-checkbox-default-options",{providedIn:"root",factory:zE});function zE(){return{color:"accent",clickAction:"check-indeterminate"}}let pB=0;const WE=zE(),mB={provide:ni,useExisting:Ae(()=>GE),multi:!0};class gB{}const _B=dm(Ga(wu(Cu(class{constructor(n){this._elementRef=n}}))));let yB=(()=>{class n extends _B{constructor(e,i,r,o,s,a,l){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new re,this.indeterminateChange=new re,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||WE,this.color=this.defaultColor=this._options.color||WE.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`${e}${++pB}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=ke(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=ke(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=ke(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=ke(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(){var e;const i=null===(e=this._options)||void 0===e?void 0:e.clickAction;this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&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){Gl()},n.\u0275dir=B({type:n,viewQuery:function(e,i){if(1&e&&(pt(cB,5),pt(uB,5),pt(vs,5)),2&e){let r;he(r=fe())&&(i._inputElement=r.first),he(r=fe())&&(i._labelElement=r.first),he(r=fe())&&(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:[W]}),n})(),GE=(()=>{class n extends yB{constructor(e,i,r,o,s,a,l){super("mat-checkbox-",e,i,o,s,a,l),this._focusMonitor=r,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const i=new gB;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}}return n.\u0275fac=function(e){return new(e||n)(y(De),y(zt),y(ys),y(ae),Lr("tabindex"),y(gn,8),y(fB,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(fa("id",i.id),Oe("tabindex",null)("aria-label",null)("aria-labelledby",null),Ue("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Ce([mB]),W],ngContentSelectors:hB,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(nn(),M(0,"label",0,1)(2,"span",2)(3,"input",3,4),j("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),A(),M(5,"span",5),je(6,"span",6),A(),je(7,"span",7),M(8,"span",8),vd(),M(9,"svg",9),je(10,"path",10),A(),function dg(){!function FM(){te.lFrame.currentNamespace=null}()}(),je(11,"span",11),A()(),M(12,"span",12,13),j("cdkObserveContent",function(){return i._onLabelTextChange()}),M(14,"span",14),z(15,"\xa0"),A(),Fe(16),A()()),2&e){const r=Ht(1),o=Ht(13);Oe("for",i.inputId),F(2),Ue("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),F(1),k("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),Oe("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),F(2),k("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",function vb(n,t,e,i){return bb(S(),Nt(),n,t,e,i)}(19,dB,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[vs,bE],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-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 mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),qE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})(),CB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Du,Le,em,qE,Le,qE]}),n})();class wB{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 U,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)}}let YE=(()=>{class n{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),DB=0;const gm=new O("CdkAccordion");let EB=(()=>{class n{constructor(){this._stateChanges=new U,this._openCloseAllActions=new U,this.id="cdk-accordion-"+DB++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=ke(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Ce([{provide:gm,useExisting:n}]),en]}),n})(),MB=0,SB=(()=>{class n{constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=ee.EMPTY,this.closed=new re,this.opened=new re,this.destroyed=new re,this.expandedChange=new re,this.id="cdk-accordion-child-"+MB++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=ke(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=ke(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return n.\u0275fac=function(e){return new(e||n)(y(gm,12),y(zt),y(YE))},n.\u0275dir=B({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ce([{provide:gm,useValue:void 0}])]}),n})(),TB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})();class _m{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 Eu extends _m{constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class Ya extends _m{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 AB extends _m{constructor(t){super(),this.element=t instanceof De?t.nativeElement:t}}class ym{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Eu?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Ya?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof AB?(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 xB extends ym{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,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=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),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Bt.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 vm=(()=>{class n extends ym{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new re,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(y(No),y(Ut),y(le))},n.\u0275dir=B({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[W]}),n})(),bm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})();const IB=["body"];function kB(n,t){}const OB=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],FB=["mat-expansion-panel-header","*","mat-action-row"];function RB(n,t){1&n&&je(0,"span",2),2&n&&k("@indicatorRotate",J()._getExpandedState())}const PB=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],NB=["mat-panel-title","mat-panel-description","*"],Cm=new O("MAT_ACCORDION"),KE="225ms cubic-bezier(0.4,0.0,0.2,1)",XE={indicatorRotate:Hi("indicatorRotate",[sn("collapsed, void",Re({transform:"rotate(0deg)"})),sn("expanded",Re({transform:"rotate(180deg)"})),yn("expanded <=> collapsed, void => collapsed",_n(KE))]),bodyExpansion:Hi("bodyExpansion",[sn("collapsed, void",Re({height:"0px",visibility:"hidden"})),sn("expanded",Re({height:"*",visibility:"visible"})),yn("expanded <=> collapsed, void => collapsed",_n(KE))])},ZE=new O("MAT_EXPANSION_PANEL");let LB=(()=>{class n{constructor(e,i){this._template=e,this._expansionPanel=i}}return n.\u0275fac=function(e){return new(e||n)(y(rn),y(ZE,8))},n.\u0275dir=B({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]}),n})(),VB=0;const QE=new O("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let JE=(()=>{class n extends SB{constructor(e,i,r,o,s,a,l){super(e,i,r),this._viewContainerRef=o,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new re,this.afterCollapse=new re,this._inputChanges=new U,this._headerId="mat-expansion-panel-header-"+VB++,this._bodyAnimationDone=new U,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(Jp((c,u)=>c.fromState===u.fromState&&c.toState===u.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=ke(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(ii(null),Gt(()=>this.expanded&&!this._portal),Cn(1)).subscribe(()=>{this._portal=new Ya(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return n.\u0275fac=function(e){return new(e||n)(y(Cm,12),y(zt),y(YE),y(Ut),y(le),y(gn,8),y(QE,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&at(r,LB,5),2&e){let o;he(o=fe())&&(i._lazyContent=o.first)}},viewQuery:function(e,i){if(1&e&&pt(IB,5),2&e){let r;he(r=fe())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&Ue("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Ce([{provide:Cm,useValue:void 0},{provide:ZE,useExisting:n}]),W,en],ngContentSelectors:FB,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(nn(OB),Fe(0),M(1,"div",0,1),j("@bodyExpansion.done",function(o){return i._bodyAnimationDone.next(o)}),M(3,"div",2),Fe(4,1),de(5,kB,0,0,"ng-template",3),A(),Fe(6,2),A()),2&e&&(F(1),k("@bodyExpansion",i._getExpandedState())("id",i.id),Oe("aria-labelledby",i._headerId),F(4),k("cdkPortalOutlet",i._portal))},dependencies:[vm],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[XE.bodyExpansion]},changeDetection:0}),n})();class BB{}const HB=dm(BB);let e0=(()=>{class n extends HB{constructor(e,i,r,o,s,a,l){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=a,this._parentChangeSubscription=ee.EMPTY;const c=e.accordion?e.accordion._stateChanges.pipe(Gt(u=>!(!u.hideToggle&&!u.togglePosition))):nm;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=En(e.opened,e.closed,c,e._inputChanges.pipe(Gt(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Gt(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:hr(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return n.\u0275fac=function(e){return new(e||n)(y(JE,1),y(De),y(ys),y(zt),y(QE,8),y(gn,8),Lr("tabindex"))},n.\u0275cmp=Je({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&j("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),2&e&&(Oe("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),Fn("height",i._getHeaderHeight()),Ue("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[W],ngContentSelectors:NB,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(nn(PB),M(0,"span",0),Fe(1),Fe(2,1),Fe(3,2),A(),de(4,RB,1,1,"span",1)),2&e&&(F(4),k("ngIf",i._showToggle()))},dependencies:[Li],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[XE.indicatorRotate]},changeDetection:0}),n})(),jB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),n})(),UB=(()=>{class n extends EB{constructor(){super(...arguments),this._ownHeaders=new zr,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=ke(e)}ngAfterContentInit(){this._headers.changes.pipe(ii(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new AE(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ye(n)))(i||n)}}(),n.\u0275dir=B({type:n,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&at(r,e0,5),2&e){let o;he(o=fe())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&Ue("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Ce([{provide:Cm,useExisting:n}]),W]}),n})(),$B=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Vi,Le,TB,bm]}),n})();function t0(n,t){return new Se(t?e=>t.schedule(zB,0,{error:n,subscriber:e}):e=>e.error(n))}function zB({error:n,subscriber:t}){t.error(n)}class GB{constructor(t){this.selector=t}call(t,e){return e.subscribe(new qB(t,this.selector,this.caught))}}class qB extends an{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 $n(this);this.add(i);const r=qi(e,i);r!==i&&this.add(r)}}}class KB{constructor(t){this.callback=t}call(t,e){return e.subscribe(new XB(t,this.callback))}}class XB extends ve{constructor(t,e){super(t),this.add(new ee(e))}}class QB{}class pr{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 pr?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 pr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof pr?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 JB{encodeKey(t){return n0(t)}encodeValue(t){return n0(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const t2=/%(\d[a-f0-9])/gi,n2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function n0(n){return encodeURIComponent(n).replace(t2,(t,e)=>{var i;return null!==(i=n2[e])&&void 0!==i?i:t})}function Mu(n){return`${n}`}class mr{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new JB,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function e2(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))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(Mu):[Mu(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 mr({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(Mu(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(Mu(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 r2{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 r0(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function o0(n){return"undefined"!=typeof Blob&&n instanceof Blob}function s0(n){return"undefined"!=typeof FormData&&n instanceof FormData}class Ka{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 o2(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 pr),this.context||(this.context=new r2),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ap.set(m,t.setHeaders[m]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((p,m)=>p.set(m,t.setParams[m]),u)),new Ka(i,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:o,withCredentials:a})}}var wt=(()=>((wt=wt||{})[wt.Sent=0]="Sent",wt[wt.UploadProgress=1]="UploadProgress",wt[wt.ResponseHeader=2]="ResponseHeader",wt[wt.DownloadProgress=3]="DownloadProgress",wt[wt.Response=4]="Response",wt[wt.User=5]="User",wt))();class wm extends class a2{constructor(t,e=200,i="OK"){this.headers=t.headers||new pr,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}}{constructor(t={}){super(t),this.type=wt.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new wm({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 Dm(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 l0=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Ka)o=e;else{let l,c;l=r.headers instanceof pr?r.headers:new pr(r.headers),r.params&&(c=r.params instanceof mr?r.params:new mr({fromObject:r.params})),o=new Ka(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=Vn(o).pipe(function ZB(n,t){return Yi(n,t,1)}(l=>this.handler.handle(l)));if(e instanceof Ka||"events"===r.observe)return s;const a=s.pipe(Gt(l=>l instanceof wm));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Ve(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Ve(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Ve(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Ve(l=>l.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 mr).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,Dm(r,i))}post(e,i,r={}){return this.request("POST",e,Dm(r,i))}put(e,i,r={}){return this.request("PUT",e,Dm(r,i))}}return n.\u0275fac=function(e){return new(e||n)(w(QB))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();const c2=["*"];let Su;function Xa(n){var t;return(null===(t=function u2(){if(void 0===Su&&(Su=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(Su=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Su}())||void 0===t?void 0:t.createHTML(n))||n}function c0(n){return Error(`Unable to find icon with the name "${n}"`)}function u0(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function d0(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class eo{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let Tu=(()=>{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 eo(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(Me.HTML,r);if(!s)throw d0(r);const a=Xa(s);return this._addSvgIconConfig(e,i,new eo("",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 eo(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(Me.HTML,i);if(!o)throw d0(i);const s=Xa(o);return this._addSvgIconSetConfig(e,new eo("",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(Me.RESOURCE_URL,e);if(!i)throw u0(e);const r=this._cachedIconsByUrl.get(i);return r?Vn(Au(r)):this._loadSvgIconFromConfig(new eo(e,null)).pipe(mu(o=>this._cachedIconsByUrl.set(i,o)),Ve(o=>Au(o)))}getNamedSvgIcon(e,i=""){const r=h0(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):t0(c0(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Vn(Au(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Ve(i=>Au(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);if(r)return Vn(r);const o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(function WB(n){return function(e){const i=new GB(n),r=e.lift(i);return i.caught=r}}(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(Me.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),Vn(null)})));return Cw(o).pipe(Ve(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw c0(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(mu(i=>e.svgText=i),Ve(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Vn(null):this._fetchIcon(e).pipe(mu(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(Xa(""));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(Xa("")),r=e.attributes;for(let o=0;oXa(u)),function YB(n){return t=>t.lift(new KB(n))}(()=>this._inProgressUrlFetches.delete(a)),Tr());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(h0(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:""}}}),f0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],y2=f0.map(n=>`[${n}]`).join(", "),v2=/^url\(['"]?#(.*?)['"]?\)$/;let p0=(()=>{class n extends p2{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=ee.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=ke(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(y2),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(v2):null;if(c){let u=r.get(a);u||(u=[],r.set(a,u)),u.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Cn(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)(y(De),y(Tu),Lr("aria-hidden"),y(g2),y(ki),y(m2,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(Oe("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),Ue("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:[W],ngContentSelectors:c2,decls:1,vars:0,template:function(e,i){1&e&&(nn(),Fe(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})(),m0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Le,Le]}),n})();function Em(n,t,e,i){return Hn(e)&&(i=e,e=void 0),i?Em(n,t,e).pipe(Ve(r=>Di(r)?i(...r):i(r))):new Se(r=>{g0(n,t,function o(s){r.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},r,e)})}function g0(n,t,e,i,r){let o;if(function w2(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 C2(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 b2(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;s enter",[Re({opacity:0,transform:"translateY(-5px)"}),_n("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n}),n})();const j2=new O("MatHint");let _0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["mat-label"]]}),n})(),U2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["mat-placeholder"]]}),n})();const $2=new O("MatPrefix"),z2=new O("MatSuffix");let y0=0;const G2=Ga(class{constructor(n){this._elementRef=n}},"primary"),q2=new O("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Mm=new O("MatFormField");let Y2=(()=>{class n extends G2{constructor(e,i,r,o,s,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=o,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new U,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+y0++,this._labelId="mat-form-field-label-"+y0++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=(null==o?void 0:o.appearance)||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){var i;const r=this._appearance;this._appearance=e||(null===(i=this._defaults)||void 0===i?void 0:i.appearance)||"legacy","outline"===this._appearance&&r!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ke(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(ii(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ye(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ye(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),En(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ii(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ii(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ye(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Em(this._label.nativeElement,"transitionend").pipe(Cn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_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)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const u=i.querySelectorAll(`${r}, ${o}`);for(let d=0;d0?.75*_+10:0}for(let u=0;u{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Vi,Le,em,Le]}),n})();const b0=ps({passive:!0});let K2=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return nm;const i=ji(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new U,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,b0),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,b0)}}),o}stopMonitoring(e){const i=ji(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(w(Ct),w(ae))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),C0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})();const X2=new O("MAT_INPUT_VALUE_ACCESSOR"),Z2=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Q2=0;const J2=PE(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new U}});let eH=(()=>{class n extends J2{constructor(e,i,r,o,s,a,l,c,u,d){super(a,o,s,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=d,this._uid="mat-input-"+Q2++,this.focused=!1,this.stateChanges=new U,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(_=>mE().has(_)),this._iOSKeyupListener=_=>{const v=_.target;!v.value&&0===v.selectionStart&&0===v.selectionEnd&&(v.setSelectionRange(1,1),v.setSelectionRange(0,0))};const p=this._elementRef.nativeElement,m=p.nodeName.toLowerCase();this._inputValueAccessor=l||p,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===m,this._isTextarea="textarea"===m,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=p.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=ke(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,r,o;return null!==(o=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Mw.required))&&void 0!==o&&o}set required(e){this._required=ke(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&mE().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ke(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e;const i=this._formField,r=!i||"legacy"!==i.appearance||null!==(e=i._hasLabel)&&void 0!==e&&e.call(i)?this.placeholder:null;if(r!==this._previousPlaceholder){const o=this._elementRef.nativeElement;this._previousPlaceholder=r,r?o.setAttribute("placeholder",r):o.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){Z2.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(y(De),y(Ct),y(_i,10),y(Pa,8),y(Na,8),y(hm),y(X2,10),y(K2),y(ae),y(Mm,8))},n.\u0275dir=B({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&j("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(fa("disabled",i.disabled)("required",i.required),Oe("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Ue("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Ce([{provide:xu,useExisting:n}]),W,en]}),n})(),tH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:[hm],imports:[C0,Sm,Le,C0,Sm]}),n})(),nH=1;const iH=Promise.resolve(),Iu={};function w0(n){return n in Iu&&(delete Iu[n],!0)}const D0={setImmediate(n){const t=nH++;return Iu[t]=!0,iH.then(()=>w0(t)&&n()),t},clearImmediate(n){w0(n)}},Tm=new class oH extends vi{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=D0.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&&(D0.clearImmediate(e),t.scheduled=void 0)}});function Za(n,t){return"function"==typeof t?e=>e.pipe(Za((i,r)=>Un(n(i,r)).pipe(Ve((o,s)=>t(i,o,r,s))))):e=>e.lift(new sH(n))}class sH{constructor(t){this.project=t}call(t,e){return e.subscribe(new aH(t,this.project))}}class aH extends an{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 $n(this),r=this.destination;r.add(i),this.innerSubscription=qi(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)}}class ri{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 Vn(this.value);case"E":return t0(this.error);case"C":return im()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new ri("N",t):ri.undefinedValueNotification}static createError(t){return new ri("E",void 0,t)}static createComplete(){return ri.completeNotification}}function E0(n,t=ms){const i=function lH(n){return n instanceof Date&&!isNaN(+n)}(n)?+n-t.now():Math.abs(n);return r=>r.lift(new cH(i,t))}ri.completeNotification=new ri("C"),ri.undefinedValueNotification=new ri("N",void 0);class cH{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new Am(t,this.delay,this.scheduler))}}class Am extends ve{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(Am.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,i=new uH(e.now()+this.delay,t);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(ri.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(ri.createComplete()),this.unsubscribe()}}class uH{constructor(t,e){this.time=t,this.notification=e}}new class hH extends vi{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=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)}});class mH{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new gH(t,this.durationSelector))}}class gH extends an{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=qi(e,new $n(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 xm(n){return!Di(n)&&n-parseFloat(n)+1>=0}function yH(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 M0(n,t=ms){return function pH(n){return function(e){return e.lift(new mH(n))}}(()=>function _H(n=0,t,e){let i=-1;return xm(t)?i=Number(t)<1?1:Number(t):Si(t)&&(e=t),Si(e)||(e=ms),new Se(r=>{const o=xm(n)?n:+n-e.now();return e.schedule(yH,o,{index:0,period:i,subscriber:r})})}(n,t))}let S0=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new U,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 Se(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(M0(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Vn()}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(Gt(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(()=>Em(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)(w(ae),w(Ct),w(le,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Im=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new U,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(M0(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)(w(Ct),w(ae),w(le,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({}),n})(),T0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[ja,Qa,ja,Qa]}),n})();class wH{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new DH(t,this.predicate,this.inclusive))}}class DH extends ve{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 A0=xL();class EH{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=ut(-this._previousScrollPosition.left),t.style.top=ut(-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"),A0&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),A0&&(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 MH{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 x0{enable(){}disable(){}attach(){}}function km(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function I0(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class SH{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();km(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 TH=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new x0,this.close=s=>new MH(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new EH(this._viewportRuler,this._document),this.reposition=s=>new SH(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(w(S0),w(Im),w(ae),w(le))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class ku{constructor(t){if(this.scrollStrategy=new x0,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 AH{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}class xH{constructor(t,e,i,r,o,s,a,l,c,u=!1){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=u,this._backdropElement=null,this._backdropClick=new U,this._attachments=new U,this._detachments=new U,this._locationChanges=ee.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new U,this._outsidePointerEvents=new U,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(Cn(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(null==e?void 0: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(){var t;const e=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),null===(t=this._host)||void 0===t||t.remove(),this._previousHostParent=this._pane=this._host=null,e&&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=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},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=ut(this._config.width),t.height=ut(this._config.height),t.minWidth=ut(this._config.minWidth),t.minHeight=ut(this._config.minHeight),t.maxWidth=ut(this._config.maxWidth),t.maxHeight=ut(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||"undefined"==typeof requestAnimationFrame?this._backdropElement.classList.add(t):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&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=gu(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(ye(En(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)}}let Om=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Yp()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o{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 l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&to(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(k0),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=F0(e);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let p=0-a,m=a+o.height-i.height,_=this._subtractOverflows(o.width,0-s,s+o.width-i.width),v=this._subtractOverflows(o.height,p,m),D=_*v;return{visibleArea:D,isCompletelyWithinViewport:o.width*o.height===D,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:_==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=O0(this._overlayRef.getConfig().minHeight),a=O0(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&c}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=F0(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:t.x_&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-_/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)p=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)d=t.x,u=i.right-t.x;else{const m=Math.min(i.right-t.x+i.left,t.x),_=this._lastBoundingBoxSize.width;u=2*m,d=t.x-m,u>_&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-_/2)}return{top:s,left:d,bottom:a,right:p,width:u,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=ut(i.height),r.top=ut(i.top),r.bottom=ut(i.bottom),r.width=ut(i.width),r.left=ut(i.left),r.right=ut(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=ut(o)),s&&(r.maxWidth=ut(s))}this._lastBoundingBoxSize=i,to(this._boundingBox.style,r)}_resetBoundingBoxStyles(){to(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){to(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 u=this._viewportRuler.getViewportScrollPosition();to(i,this._getExactOverlayY(e,t,u)),to(i,this._getExactOverlayX(e,t,u))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=ut(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ut(s.maxWidth):o&&(i.maxWidth="")),to(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=ut(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=ut(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:I0(t,i),isOriginOutsideView:km(t,i),isOverlayClipped:I0(e,i),isOverlayOutsideView:km(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&gu(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 De)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 to(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function O0(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(IH);return e&&"px"!==e?null:parseFloat(t)}return n||null}function F0(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 R0="cdk-global-overlay-wrapper";class OH{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(R0),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,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,p="rtl"===this._overlayRef.getConfig().direction;let m="",_="",v="";l?v="flex-start":"center"===u?(v="center",p?_=d:m=d):p?"left"===u||"end"===u?(v="flex-end",m=d):("right"===u||"start"===u)&&(v="flex-start",_=d):"left"===u||"start"===u?(v="flex-start",m=d):("right"===u||"end"===u)&&(v="flex-end",_=d),t.position=this._cssPosition,t.marginLeft=l?"0":m,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":_,e.justifyContent=v,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(R0),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let FH=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new OH}flexibleConnectedTo(e){return new kH(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(w(Im),w(le),w(Ct),w(Om))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),P0=(()=>{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)(w(le))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),RH=(()=>{class n extends P0{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)(w(le),w(ae,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),PH=(()=>{class n extends P0{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Jr(o)},this._clickListener=o=>{const s=Jr(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.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)(w(le),w(Ct),w(ae,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),NH=0,bi=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,p,m){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=p,this._animationsModuleType=m}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new ku(e);return s.direction=s.direction||this._directionality.value,new xH(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-"+NH++,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(Da)),new xB(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(w(TH),w(Om),w(No),w(FH),w(RH),w(Bt),w(ae),w(le),w(hs),w(FC),w(PH),w(gn,8))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})();const LH=[{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"}],N0=new O("cdk-connected-overlay-scroll-strategy");let L0=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(y(De))},n.\u0275dir=B({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),n})(),V0=(()=>{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=ee.EMPTY,this._attachSubscription=ee.EMPTY,this._detachSubscription=ee.EMPTY,this._positionSubscription=ee.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new re,this.positionChange=new re,this.attach=new re,this.detach=new re,this.overlayKeydown=new re,this.overlayOutsideClick=new re,this._templatePortal=new Ya(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=ke(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=ke(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=ke(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=ke(e)}get push(){return this._push}set push(e){this._push=ke(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=LH);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&&!hr(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 ku({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 L0?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 CH(n,t=!1){return e=>e.lift(new wH(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)(y(bi),y(rn),y(Ut),y(N0),y(hs,8))},n.\u0275dir=B({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:[en]}),n})();const BH={provide:N0,deps:[bi],useFactory:function VH(n){return()=>n.scrollStrategies.reposition()}};let Ou=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:[bi,BH],imports:[ja,bm,T0,T0]}),n})();const HH=["mat-menu-item",""];function jH(n,t){1&n&&(vd(),M(0,"svg",2),je(1,"polygon",3),A())}const B0=["*"];function UH(n,t){if(1&n){const e=On();M(0,"div",0),j("keydown",function(r){return ot(e),st(J()._handleKeydown(r))})("click",function(){return ot(e),st(J().closed.emit("click"))})("@transformMenu.start",function(r){return ot(e),st(J()._onAnimationStart(r))})("@transformMenu.done",function(r){return ot(e),st(J()._onAnimationDone(r))}),M(1,"div",1),Fe(2),A()()}if(2&n){const e=J();k("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Oe("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Fu={transformMenu:Hi("transformMenu",[sn("void",Re({opacity:0,transform:"scale(0.8)"})),yn("void => enter",_n("120ms cubic-bezier(0, 0, 0.2, 1)",Re({opacity:1,transform:"scale(1)"}))),yn("* => void",_n("100ms 25ms linear",Re({opacity:0})))]),fadeInItems:Hi("fadeInItems",[sn("showing",Re({opacity:1})),yn("void => *",[Re({opacity:0}),_n("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},$H=new O("MatMenuContent"),Fm=new O("MAT_MENU_PANEL"),zH=wu(Cu(class{}));let Ru=(()=>{class n extends zH{constructor(e,i,r,o,s){var a;super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=s,this.role="menuitem",this._hovered=new U,this._focused=new U,this._highlighted=!1,this._triggersSubmenu=!1,null===(a=null==o?void 0:o.addItem)||void 0===a||a.call(o,this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const i=this._elementRef.nativeElement.cloneNode(!0),r=i.querySelectorAll("mat-icon, .material-icons");for(let o=0;o{class n{constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new zr,this._tabSubscription=ee.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new U,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new re,this.close=this.closed,this.panelId="mat-menu-panel-"+GH++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=ke(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=ke(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new AE(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ii(this._directDescendantItems),Za(e=>En(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var i;const r=this._keyManager;if("enter"===this._panelAnimationState&&(null===(i=r.activeItem)||void 0===i?void 0:i._hasFocus())){const o=e.toArray(),s=Math.max(0,Math.min(o.length-1,r.activeItemIndex||0));o[s]&&!o[s].disabled?r.setActiveItem(s):r.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(ii(this._directDescendantItems),Za(i=>En(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:hr(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(Cn(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){var r;const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===i,o["mat-menu-below"]="below"===i,null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(ii(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(y(De),y(ae),y(H0),y(zt))},n.\u0275dir=B({type:n,contentQueries:function(e,i,r){if(1&e&&(at(r,$H,5),at(r,Ru,5),at(r,Ru,4)),2&e){let o;he(o=fe())&&(i.lazyContent=o.first),he(o=fe())&&(i._allItems=o),he(o=fe())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&pt(rn,5),2&e){let r;he(r=fe())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),qH=(()=>{class n extends Ja{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return n.\u0275fac=function(e){return new(e||n)(y(De),y(ae),y(H0),y(zt))},n.\u0275cmp=Je({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&Oe("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ce([{provide:Fm,useExisting:n}]),W],ngContentSelectors:B0,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(nn(),de(0,UH,3,6,"ng-template"))},dependencies:[xc],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Fu.transformMenu,Fu.fadeInItems]},changeDetection:0}),n})();const j0=new O("mat-menu-scroll-strategy"),KH={provide:j0,deps:[bi],useFactory:function YH(n){return()=>n.scrollStrategies.reposition()}},U0=ps({passive:!0});let XH=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=a,this._dir=l,this._focusMonitor=c,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=ee.EMPTY,this._hoverSubscription=ee.EMPTY,this._menuCloseSubscription=ee.EMPTY,this._handleTouchStart=d=>{lm(d)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new re,this.onMenuOpen=this.menuOpened,this.menuClosed=new re,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof Ja?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,U0),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,U0),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Ja&&(e._startAnimation(),e._directDescendantItems.changes.pipe(ye(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){var e;null===(e=this.menu)||void 0===e||e.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){var i;if(!this._overlayRef||!this.menuOpen)return;const r=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,r instanceof Ja?(r._resetAnimation(),r.lazyContent?r._animationDone.pipe(Gt(o=>"void"===o.toState),Cn(1),ye(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null===(i=null==r?void 0:r.lazyContent)||void 0===i||i.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,r=e.parentMenu;for(;r;)i++,r=r.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new ku({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",s="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,s)):e.setPositionClasses(o,s)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[s,a]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[l,c]=[s,a],[u,d]=[r,o],p=0;if(this.triggersSubmenu()){if(d=r="before"===e.xPosition?"start":"end",o=u="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const m=this._parentMaterialMenu.items.first;this._parentInnerPadding=m?m._getHostElement().offsetTop:0}p="bottom"===s?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l="top"===s?"bottom":"top",c="top"===a?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:u,overlayY:s,offsetY:p},{originX:o,originY:l,overlayX:d,overlayY:s,offsetY:p},{originX:r,originY:c,overlayX:u,overlayY:a,offsetY:-p},{originX:o,originY:c,overlayX:d,overlayY:a,offsetY:-p}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return En(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Vn(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Gt(s=>s!==this._menuItemInstance),Gt(()=>this._menuOpen)):Vn(),i)}_handleMousedown(e){am(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Gt(e=>e===this._menuItemInstance&&!e.disabled),E0(0,Tm)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ja&&this.menu._isAnimating?this.menu._animationDone.pipe(Cn(1),E0(0,Tm),ye(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Ya(e.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(y(bi),y(De),y(Ut),y(j0),y(Fm,8),y(Ru,10),y(hs,8),y(ys),y(ae))},n.\u0275dir=B({type:n,hostVars:3,hostBindings:function(e,i){1&e&&j("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&Oe("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),ZH=(()=>{class n extends XH{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ye(n)))(i||n)}}(),n.\u0275dir=B({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[W]}),n})(),QH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:[KH],imports:[Vi,Le,Du,Ou,Qa,Le]}),n})();const ej=["trigger"],tj=["panel"];function nj(n,t){if(1&n&&(M(0,"span",8),z(1),A()),2&n){const e=J();F(1),Qn(e.placeholder)}}function ij(n,t){if(1&n&&(M(0,"span",12),z(1),A()),2&n){const e=J(2);F(1),Qn(e.triggerValue)}}function rj(n,t){1&n&&Fe(0,0,["*ngSwitchCase","true"])}function oj(n,t){1&n&&(M(0,"span",9),de(1,ij,2,1,"span",10),de(2,rj,1,0,"ng-content",11),A()),2&n&&(k("ngSwitch",!!J().customTrigger),F(2),k("ngSwitchCase",!0))}function sj(n,t){if(1&n){const e=On();M(0,"div",13)(1,"div",14,15),j("@transformPanel.done",function(r){return ot(e),st(J()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return ot(e),st(J()._handleKeydown(r))}),Fe(3,1),A()()}if(2&n){const e=J();k("@transformPanelWrap",void 0),F(1),Tv("mat-select-panel ",e._getPanelTheme(),""),Fn("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),k("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Oe("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const aj=[[["mat-select-trigger"]],"*"],lj=["mat-select-trigger","*"],$0={transformPanelWrap:Hi("transformPanelWrap",[yn("* => void",EP("@transformPanel",[DP()],{optional:!0}))]),transformPanel:Hi("transformPanel",[sn("void",Re({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),sn("showing",Re({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),sn("showing-multiple",Re({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),yn("void => *",_n("120ms cubic-bezier(0, 0, 0.2, 1)")),yn("* => void",_n("100ms 25ms linear",Re({opacity:0})))])};let z0=0;const G0=new O("mat-select-scroll-strategy"),hj=new O("MAT_SELECT_CONFIG"),fj={provide:G0,deps:[bi],useFactory:function dj(n){return()=>n.scrollStrategies.reposition()}};class pj{constructor(t,e){this.source=t,this.value=e}}const mj=wu(dm(Cu(PE(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 U}})))),gj=new O("MatSelectTrigger");let _j=(()=>{class n extends mj{constructor(e,i,r,o,s,a,l,c,u,d,p,m,_,v){var D,E,R;super(s,o,l,c,d),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=u,this._liveAnnouncer=_,this._defaultOptions=v,this._panelOpen=!1,this._compareWith=(C,P)=>C===P,this._uid="mat-select-"+z0++,this._triggerAriaLabelledBy=null,this._destroy=new U,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+z0++,this._panelDoneAnimatingStream=new U,this._overlayPanelClass=(null===(D=this._defaultOptions)||void 0===D?void 0:D.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(R=null===(E=this._defaultOptions)||void 0===E?void 0:E.disableOptionCentering)&&void 0!==R&&R,this.ariaLabel="",this.optionSelectionChanges=function JH(n){return new Se(t=>{let e;try{e=n()}catch(r){return void t.error(r)}return(e?Un(e):im()).subscribe(t)})}(()=>{const C=this.options;return C?C.changes.pipe(ii(C),Za(()=>En(...C.map(P=>P.onSelectionChange)))):this._ngZone.onStable.pipe(Cn(1),Za(()=>this.optionSelectionChanges))}),this.openedChange=new re,this._openedStream=this.openedChange.pipe(Gt(C=>C),Ve(()=>{})),this._closedStream=this.openedChange.pipe(Gt(C=>!C),Ve(()=>{})),this.selectionChange=new re,this.valueChange=new re,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==v?void 0:v.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=v.typeaheadDebounceInterval),this._scrollStrategyFactory=m,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(p)||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(){var e,i,r,o;return null!==(o=null!==(e=this._required)&&void 0!==e?e:null===(r=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===r?void 0:r.hasValidator(Mw.required))&&void 0!==o&&o}set required(e){this._required=ke(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=ke(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=ke(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=Wa(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new wB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Jp(),ye(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ye(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(ii(null),ye(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._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(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.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&&!hr(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.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||hr(e))if(!s&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.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.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Cn(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(o){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 wV(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(ye(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(ye(this._destroy)).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=En(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ye(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),En(...this.options.map(i=>i._stateChanges)).pipe(ye(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),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(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let r=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_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)(y(Im),y(zt),y(ae),y(hm),y(De),y(hs,8),y(Pa,8),y(Na,8),y(Mm,8),y(_i,10),Lr("tabindex"),y(G0),y(cm),y(hj,8))},n.\u0275dir=B({type:n,viewQuery:function(e,i){if(1&e&&(pt(ej,5),pt(tj,5),pt(V0,5)),2&e){let r;he(r=fe())&&(i.trigger=r.first),he(r=fe())&&(i.panel=r.first),he(r=fe())&&(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:[W,en]}),n})(),yj=(()=>{class n extends _j{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ye(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Cn(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=UE(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function QV(n,t,e,i){return ne+i?Math.max(0,n-i+t):e}((e+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new pj(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),o=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let c=this._selectionModel.selected[0]||this.options.first;s=c&&c.group?32:16}r||(s*=-1);const a=0-(e.left+s-(r?o:0)),l=e.right+s-i.width+(r?0:o);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){const o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,a=Math.floor(256/o);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*o:this._scrollTop===r?(e-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,s=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;c>s?this._adjustPanelUp(c,s):a>o?this._adjustPanelDown(a,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,256),s=i*e-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=UE(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ye(n)))(i||n)}}(),n.\u0275cmp=Je({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(at(r,gj,5),at(r,jE,5),at(r,HE,5)),2&e){let o;he(o=fe())&&(i.customTrigger=o.first),he(o=fe())&&(i.options=o),he(o=fe())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&j("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Oe("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()),Ue("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Ce([{provide:xu,useExisting:n},{provide:BE,useExisting:n}]),W],ngContentSelectors:lj,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(nn(aj),M(0,"div",0,1),j("click",function(){return i.toggle()}),M(3,"div",2),de(4,nj,2,1,"span",3),de(5,oj,3,2,"span",4),A(),M(6,"div",5),je(7,"div",6),A()(),de(8,sj,4,14,"ng-template",7),j("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=Ht(1);Oe("aria-owns",i.panelOpen?i.id+"-panel":null),F(3),k("ngSwitch",i.empty),Oe("id",i._valueId),F(1),k("ngSwitchCase",!0),F(1),k("ngSwitchCase",!1),F(3),k("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[xc,Ta,Uf,qC,V0,L0],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{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;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[$0.transformPanelWrap,$0.transformPanel]},changeDetection:0}),n})(),vj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:[fj],imports:[Vi,Ou,$E,Le,Qa,Sm,$E,Le]}),n})();function bj(n,t){if(1&n){const e=On();M(0,"div",2)(1,"button",3),j("click",function(){return ot(e),st(J().action())}),z(2),A()()}if(2&n){const e=J();F(2),Qn(e.data.action)}}function Cj(n,t){}const q0=new O("MatSnackBarData");class Nu{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const wj=Math.pow(2,31)-1;class Rm{constructor(t,e){this._overlayRef=e,this._afterDismissed=new U,this._afterOpened=new U,this._onAction=new U,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,wj))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let Dj=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(y(Rm),y(q0))},n.\u0275cmp=Je({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,i){1&e&&(M(0,"span",0),z(1),A(),de(2,bj,3,1,"div",1)),2&e&&(F(1),Qn(i.data.message),F(1),k("ngIf",i.hasAction))},dependencies:[Li,pm],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),n})();const Ej={snackBarState:Hi("state",[sn("void, hidden",Re({transform:"scale(0.8)",opacity:0})),sn("visible",Re({transform:"scale(1)",opacity:1})),yn("* => visible",_n("150ms cubic-bezier(0, 0, 0.2, 1)")),yn("* => void, * => hidden",_n("75ms cubic-bezier(0.4, 0.0, 1, 1)",Re({opacity:0})))])};let Mj=(()=>{class n extends ym{constructor(e,i,r,o,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=s,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new U,this._onExit=new U,this._onEnter=new U,this._animationState="void",this.attachDomPortal=a=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),l},this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Cn(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),null==r||r.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(y(ae),y(De),y(zt),y(Ct),y(Nu))},n.\u0275dir=B({type:n,viewQuery:function(e,i){if(1&e&&pt(vm,7),2&e){let r;he(r=fe())&&(i._portalOutlet=r.first)}},features:[W]}),n})(),Sj=(()=>{class n extends Mj{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ye(n)))(i||n)}}(),n.\u0275cmp=Je({type:n,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&Wh("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&Yh("@state",i._animationState)},features:[W],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(M(0,"div",0),de(1,Cj,0,0,"ng-template",1),A(),je(2,"div")),2&e&&(F(2),Oe("aria-live",i._live)("role",i._role))},dependencies:[vm],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[Ej.snackBarState]}}),n})(),Y0=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Ou,bm,Vi,mm,Le,Le]}),n})();const K0=new O("mat-snack-bar-default-options",{providedIn:"root",factory:function Tj(){return new Nu}});let Aj=(()=>{class n{constructor(e,i,r,o,s,a){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o=Object.assign(Object.assign({},this._defaultConfig),r);return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Bt.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:Nu,useValue:i}]}),s=new Eu(this.snackBarContainerComponent,i.viewContainerRef,o),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const r=Object.assign(Object.assign(Object.assign({},new Nu),this._defaultConfig),i),o=this._createOverlay(r),s=this._attachSnackBarContainer(o,r),a=new Rm(s,o);if(e instanceof rn){const l=new Ya(e,null,{$implicit:r.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),c=new Eu(e,void 0,l),u=s.attachComponentPortal(c);a.instance=u.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(ye(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(a,r),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new ku;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,s="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,a=!s&&"center"!==e.horizontalPosition;return s?r.left("0"):a?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return Bt.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Rm,useValue:i},{provide:q0,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(w(bi),w(cm),w(Bt),w(_u),w(n,12),w(K0))},n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})(),xj=(()=>{class n extends Aj{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a),this.simpleSnackBarComponent=Dj,this.snackBarContainerComponent=Sj,this.handsetCssClass="mat-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(w(bi),w(cm),w(Bt),w(_u),w(n,12),w(K0))},n.\u0275prov=N({token:n,factory:n.\u0275fac,providedIn:Y0}),n})();const Ij=["*",[["mat-toolbar-row"]]],kj=["*","mat-toolbar-row"],Oj=Ga(class{constructor(n){this._elementRef=n}});let Fj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=B({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),Rj=(()=>{class n extends Oj{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)(y(De),y(Ct),y(le))},n.\u0275cmp=Je({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&at(r,Fj,5),2&e){let o;he(o=fe())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&Ue("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[W],ngContentSelectors:kj,decls:2,vars:0,template:function(e,i){1&e&&(nn(Ij),Fe(0),Fe(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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})(),Pj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Le,Le]}),n})();const Nj=["tooltip"],X0="tooltip-panel",Z0=ps({passive:!0}),Q0=new O("mat-tooltip-scroll-strategy"),Hj={provide:Q0,deps:[bi],useFactory:function Bj(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},jj=new O("mat-tooltip-default-options",{providedIn:"root",factory:function Uj(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let $j=(()=>{class n{constructor(e,i,r,o,s,a,l,c,u,d,p,m){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=d,this._defaultOptions=p,this._position="below",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 U,this._scrollStrategy=u,this._document=m,p&&(p.position&&(this.position=p.position),p.touchGestures&&(this.touchGestures=p.touchGestures)),d.change.pipe(ye(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=ke(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Wa(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Wa(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(ye(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,Z0)}),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){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new Eu(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=i.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(ye(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var e;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(ye(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}-${X0}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ye(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ye(this._destroyed)).subscribe(()=>{var o;return null===(o=this._tooltipInstance)||void 0===o?void 0:o._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(ye(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!hr(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),!(null===(e=this._defaultOptions)||void 0===e)&&e.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(Object.assign(Object.assign({},r.main),o.main)),this._addOffset(Object.assign(Object.assign({},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(Cn(1),ye(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 l=`${this._cssClassPrefix}-${X0}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{var r;const o=i.relatedTarget;(!o||null===(r=this._overlayRef)||void 0===r||!r.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,Z0)})}_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){Gl()},n.\u0275dir=B({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),zj=(()=>{class n extends $j{constructor(e,i,r,o,s,a,l,c,u,d,p,m){super(e,i,r,o,s,a,l,c,u,d,p,m),this._tooltipComponent=Gj}}return n.\u0275fac=function(e){return new(e||n)(y(bi),y(De),y(S0),y(Ut),y(ae),y(Ct),y(CV),y(ys),y(Q0),y(hs,8),y(jj,8),y(le))},n.\u0275dir=B({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[W]}),n})(),Wj=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new U,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(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),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.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_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)(y(zt),y(gn,8))},n.\u0275dir=B({type:n}),n})(),Gj=(()=>{class n extends Wj{constructor(e,i,r){super(e,r),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return n.\u0275fac=function(e){return new(e||n)(y(zt),y(_u),y(gn,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&pt(Nj,7),2&e){let r;he(r=fe())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&j("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&Fn("zoom",i.isVisible()?1:null)},features:[W],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(M(0,"div",0,1),j("animationend",function(o){return i._handleAnimationEnd(o)}),function Mb(n,t){const e=be();let i;const r=n+22;e.firstCreatePass?(i=function qk(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=Nr(i.type)),s=nt(y);try{const a=Al(!1),l=o();return Al(a),function Bx(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,S(),r,l),l}finally{nt(s)}}(2,"async"),z(3),A()),2&e){let r;Ue("mat-tooltip-handset",null==(r=function Sb(n,t,e){const i=n+22,r=S(),o=Co(r,i);return function va(n,t){return n[1].data[t].pure}(r,i)?bb(r,Nt(),t,o.transform,e,o):o.transform(e)}(2,4,i._isHandset))?null:r.matches),k("ngClass",i.tooltipClass),F(3),Qn(i.message)}},dependencies:[xc,XC],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),n})(),qj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({providers:[Hj],imports:[PV,Vi,Ou,Le,Le,Qa]}),n})();function Kj(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}function Xj(n,t){1&n&&je(0,"div",3),2&n&&Fn("background-color",J(2).overlayColor)}function Zj(n,t){if(1&n&&(M(0,"div",0)(1,"div",1),Fe(2),A(),de(3,Xj,1,2,"div",2),A()),2&n){const e=J();Fn("background-image",e.image),F(3),k("ngIf",!e.hideOverlay)}}const Qj=["*"],Jj=["carouselContainer"],e3=["carouselList"];function t3(n,t){if(1&n){const e=On();M(0,"li",7,8),j("panleft",function(r){ot(e);const o=Ht(1);return st(J().onPan(r,o))})("panright",function(r){ot(e);const o=Ht(1);return st(J().onPan(r,o))})("panend",function(r){ot(e);const o=Ht(1);return st(J().onPanEnd(r,o))})("pancancel",function(r){ot(e);const o=Ht(1);return st(J().onPanEnd(r,o))}),zh(2,9),A()}if(2&n){const e=t.$implicit,i=J();Fn("padding-bottom",i.maintainAspectRatio&&i.proportion?i.proportion+"%":"0px")("height",!i.maintainAspectRatio&&i.slideHeight?i.slideHeight:"0px"),F(2),k("ngTemplateOutlet",e.templateRef)}}function n3(n,t){1&n&&je(0,"mat-icon",13),2&n&&k("svgIcon",J(2).svgIconOverrides.arrowBack)}function i3(n,t){1&n&&(M(0,"mat-icon"),z(1,"arrow_back"),A())}function r3(n,t){if(1&n){const e=On();M(0,"button",10),j("click",function(){return ot(e),st(J().previous())}),de(1,n3,1,1,"mat-icon",11),de(2,i3,2,0,"ng-template",null,12,hf),A()}if(2&n){const e=Ht(3),i=J();k("color",i.color)("disabled",!i.loop&&0==i.currentIndex),F(1),k("ngIf",null==i.svgIconOverrides?null:i.svgIconOverrides.arrowBack)("ngIfElse",e)}}function o3(n,t){1&n&&je(0,"mat-icon",13),2&n&&k("svgIcon",J(2).svgIconOverrides.arrowForward)}function s3(n,t){1&n&&(M(0,"mat-icon"),z(1,"arrow_forward"),A())}function a3(n,t){if(1&n){const e=On();M(0,"button",10),j("click",function(){return ot(e),st(J().next())}),de(1,o3,1,1,"mat-icon",11),de(2,s3,2,0,"ng-template",null,14,hf),A()}if(2&n){const e=Ht(3),i=J();k("color",i.color)("disabled",!i.loop&&i.currentIndex==i.slidesList.length-1),F(1),k("ngIf",null==i.svgIconOverrides?null:i.svgIconOverrides.arrowForward)("ngIfElse",e)}}function l3(n,t){if(1&n){const e=On();M(0,"button",17),j("click",function(){const o=ot(e).index;return st(J(2).slideTo(o))})("focus",function(){return ot(e),J(2),st(Ht(1).focus())}),A()}if(2&n){const e=t.index,i=J(2);k("color",i.color)("disabled",e==i.currentIndex)}}function c3(n,t){if(1&n&&(M(0,"div",15),de(1,l3,1,2,"button",16),A()),2&n){const e=J();Fn("flex-direction","rtl"===e.orientation?"row-reverse":"row"),F(1),k("ngForOf",e.slidesList)}}let Pm=(()=>{class n{constructor(e){this.sanitizer=e,this.overlayColor="#00000040",this.hideOverlay=!1,this.disabled=!1}ngOnInit(){this.image&&(this.image=this.sanitizer.bypassSecurityTrustStyle(`url("${this.image}")`))}}return n.\u0275fac=function(e){return new(e||n)(y(Pc))},n.\u0275cmp=Je({type:n,selectors:[["mat-carousel-slide"]],viewQuery:function(e,i){if(1&e&&pt(rn,5),2&e){let r;he(r=fe())&&(i.templateRef=r.first)}},inputs:{image:"image",overlayColor:"overlayColor",hideOverlay:"hideOverlay",disabled:"disabled"},ngContentSelectors:Qj,decls:1,vars:0,consts:[[1,"carousel-slide"],[1,"carousel-slide-content"],["class","carousel-slide-overlay",3,"background-color",4,"ngIf"],[1,"carousel-slide-overlay"]],template:function(e,i){1&e&&(nn(),de(0,Zj,4,3,"ng-template"))},dependencies:[Li],styles:[".carousel-slide[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;z-index:auto;background-size:cover;background-repeat:no-repeat;background-position:center}.carousel-slide-overlay[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;z-index:auto}.carousel-slide-content[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;z-index:1}"]}),n})();var Ui=(()=>(function(n){n[n.Left=0]="Left",n[n.Right=1]="Right",n[n.Index=2]="Index"}(Ui||(Ui={})),Ui))();let u3=(()=>{class n{constructor(e,i,r){this.animationBuilder=e,this.renderer=i,this.platformId=r,this.timings="250ms ease-in",this.hideArrows=!0,this.hideIndicators=!0,this.pauseOnHover=!0,this.color="accent",this.maintainAspectRatio=!0,this.proportion=25,this.slideHeight="100%",this.useKeyboard=!1,this.useMouseWheel=!1,this.animationStart=new re,this.change=new re,this._autoplay=!0,this.autoplay$=new U,this.interval$=new Kp(5e3),this.slides$=new Kp(null),this._maxWidth="auto",this.maxWidth$=new U,this._loop=!0,this.loop$=new U,this._orientation="ltr",this.orientation$=new U,this.timerStop$=new U,this.destroy$=new U,this.playing=!1}set autoplay(e){this.autoplay$.next(e),this._autoplay=e}set interval(e){this.interval$.next(e)}get loop(){return this._loop}set loop(e){this.loop$.next(e),this._loop=e}get maxWidth(){return this._maxWidth}set maxWidth(e){this._maxWidth=e,this.maxWidth$.next()}set slides(e){this.slides$.next(e)}get orientation(){return this._orientation}set orientation(e){this.orientation$.next(e),this._orientation=e}get currentIndex(){return this.listKeyManager?this.listKeyManager.activeItemIndex:0}get currentSlide(){return this.listKeyManager?this.listKeyManager.activeItem:null}ngAfterContentInit(){this.listKeyManager=new sm(this.slidesList).withVerticalOrientation(!1).withHorizontalOrientation(this._orientation).withWrap(this._loop),this.listKeyManager.updateActiveItem(0),this.listKeyManager.change.pipe(ye(this.destroy$)).subscribe(()=>this.playAnimation())}ngAfterViewInit(){this.autoplay$.pipe(ye(this.destroy$)).subscribe(e=>{this.stopTimer(),this.startTimer(e)}),this.interval$.pipe(ye(this.destroy$)).subscribe(e=>{this.stopTimer(),this.resetTimer(e),this.startTimer(this._autoplay)}),this.maxWidth$.pipe(ye(this.destroy$)).subscribe(()=>this.slideTo(0)),this.loop$.pipe(ye(this.destroy$)).subscribe(e=>this.listKeyManager.withWrap(e)),this.orientation$.pipe(ye(this.destroy$)).subscribe(e=>this.listKeyManager.withHorizontalOrientation(e)),this.slides$.pipe(ye(this.destroy$),Gt(e=>e&&ethis.resetSlides(e))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}next(){this.goto(Ui.Right)}previous(){this.goto(Ui.Left)}slideTo(e){this.goto(Ui.Index,e)}onKeyUp(e){this.useKeyboard&&!this.playing&&this.listKeyManager.onKeydown(e)}onMouseEnter(){this.pauseOnHover&&this.stopTimer()}onMouseLeave(){this.pauseOnHover&&this.startTimer(this._autoplay)}onMouseWheel(e){if(this.useMouseWheel){e.preventDefault();const i=Math.sign(e.deltaY);i>0?this.next():i<0&&this.previous()}}onResize(e){this.slideTo(0)}onPan(e,i){if(Math.abs(e.velocityY)>Math.abs(e.velocityX))return;let r=e.deltaX;this.isOutOfBounds()&&(r*=.2),this.renderer.setStyle(i,"cursor","grabbing"),this.renderer.setStyle(this.carouselList.nativeElement,"transform",this.getTranslation(this.getOffset()+r))}onPanEnd(e,i){if(this.renderer.removeStyle(i,"cursor"),!this.isOutOfBounds()&&Math.abs(e.deltaX)>.25*this.getWidth())return e.deltaX<=0?void this.next():void this.previous();this.playAnimation()}isOutOfBounds(){const i=("rtl"===this.orientation?-1:1)*(this.carouselList.nativeElement.getBoundingClientRect().left-this.carouselList.nativeElement.offsetParent.getBoundingClientRect().left),r=this.slidesList.length-1,o=-this.getWidth()*r;return 0===this.listKeyManager.activeItemIndex&&i>=0||this.listKeyManager.activeItemIndex===r&&i<=o}isVisible(){if(!JC(this.platformId))return!1;const i=window.pageYOffset,r=i+window.innerHeight,o=this.carouselContainer.nativeElement.getBoundingClientRect(),s=i+o.top;return s+o.height<=r||s>=i}getOffset(){const e=this.listKeyManager.activeItemIndex*this.getWidth();return("rtl"===this.orientation?1:-1)*e}getTranslation(e){return`translateX(${e}px)`}getWidth(){return this.carouselContainer.nativeElement.clientWidth}goto(e,i){if(!this.playing){const r="rtl"===this.orientation;switch(e){case Ui.Left:return r?this.listKeyManager.setNextItemActive():this.listKeyManager.setPreviousItemActive();case Ui.Right:return r?this.listKeyManager.setPreviousItemActive():this.listKeyManager.setNextItemActive();case Ui.Index:return this.listKeyManager.setActiveItem(i)}}}playAnimation(){const e=this.getTranslation(this.getOffset()),r=this.animationBuilder.build(_n(this.timings,Re({transform:e}))).create(this.carouselList.nativeElement);r.onStart(()=>{this.playing=!0,this.animationStart.emit(this.currentIndex)}),r.onDone(()=>{this.change.emit(this.currentIndex),this.playing=!1,this.renderer.setStyle(this.carouselList.nativeElement,"transform",e),r.destroy()}),r.play()}resetSlides(e){this.slidesList.reset(this.slidesList.toArray().slice(0,e))}resetTimer(e){this.timer$=function Yj(n=0,t=ms){return(!xm(n)||n<0)&&(n=0),(!t||"function"!=typeof t.schedule)&&(t=ms),new Se(e=>(e.add(t.schedule(Kj,n,{subscriber:e,counter:0,period:n})),e))}(e)}startTimer(e){!e||this.timer$.pipe(ye(this.timerStop$),ye(this.destroy$),Gt(()=>this.isVisible())).subscribe(()=>{this.listKeyManager.withWrap(!0).setNextItemActive(),this.listKeyManager.withWrap(this.loop)})}stopTimer(){this.timerStop$.next()}}return n.\u0275fac=function(e){return new(e||n)(y(vp),y(ir),y(fc))},n.\u0275cmp=Je({type:n,selectors:[["mat-carousel"]],contentQueries:function(e,i,r){if(1&e&&at(r,Pm,4),2&e){let o;he(o=fe())&&(i.slidesList=o)}},viewQuery:function(e,i){if(1&e&&(pt(Jj,5),pt(e3,5)),2&e){let r;he(r=fe())&&(i.carouselContainer=r.first),he(r=fe())&&(i.carouselList=r.first)}},hostBindings:function(e,i){1&e&&j("keyup",function(o){return i.onKeyUp(o)})("mouseenter",function(){return i.onMouseEnter()})("mouseleave",function(){return i.onMouseLeave()})("mousewheel",function(o){return i.onMouseWheel(o)})("resize",function(o){return i.onResize(o)},!1,w_)},inputs:{timings:"timings",svgIconOverrides:"svgIconOverrides",autoplay:"autoplay",interval:"interval",loop:"loop",hideArrows:"hideArrows",hideIndicators:"hideIndicators",pauseOnHover:"pauseOnHover",color:"color",maxWidth:"maxWidth",maintainAspectRatio:"maintainAspectRatio",proportion:"proportion",slideHeight:"slideHeight",slides:"slides",useKeyboard:"useKeyboard",useMouseWheel:"useMouseWheel",orientation:"orientation"},outputs:{animationStart:"animationStart",change:"change"},decls:8,vars:12,consts:[["tabindex","0",1,"carousel"],["carouselContainer",""],["role","listbox",1,"carousel-list"],["carouselList",""],["class","carousel-slide","role","option",3,"padding-bottom","height","panleft","panright","panend","pancancel",4,"ngFor","ngForOf"],["mat-icon-button","","type","button","tabindex","-1",3,"color","disabled","click",4,"ngIf"],["class","carousel-indicators","tabindex","-1",3,"flex-direction",4,"ngIf"],["role","option",1,"carousel-slide",3,"panleft","panright","panend","pancancel"],["carouselSlide",""],[3,"ngTemplateOutlet"],["mat-icon-button","","type","button","tabindex","-1",3,"color","disabled","click"],[3,"svgIcon",4,"ngIf","ngIfElse"],["defaultArrowBack",""],[3,"svgIcon"],["defaultArrowForward",""],["tabindex","-1",1,"carousel-indicators"],["type","button","tabindex","-1","mat-mini-fab","",3,"color","disabled","click","focus",4,"ngFor","ngForOf"],["type","button","tabindex","-1","mat-mini-fab","",3,"color","disabled","click","focus"]],template:function(e,i){1&e&&(M(0,"div",0,1)(2,"ul",2,3),de(4,t3,3,5,"li",4),A(),de(5,r3,4,4,"button",5),de(6,a3,4,4,"button",5),de(7,c3,2,3,"div",6),A()),2&e&&(Fn("max-width",i.maxWidth)("height",i.maintainAspectRatio?"auto":"100%"),F(2),Fn("flex-direction","rtl"===i.orientation?"row-reverse":"row")("height",i.maintainAspectRatio?"auto":"100%"),F(2),k("ngForOf",i.slidesList),F(1),k("ngIf",!i.hideArrows),F(1),k("ngIf",!i.hideArrows),F(1),k("ngIf",!i.hideIndicators))},dependencies:[Hf,Li,KC,pm,p0],styles:[".carousel[_ngcontent-%COMP%]{width:100%;position:relative;overflow:hidden;outline:none}.carousel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{position:absolute;z-index:1;top:50%;transform:translateY(-50%)}.carousel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:first-of-type{left:30px}.carousel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:last-of-type{right:30px}.carousel-list[_ngcontent-%COMP%]{width:100%;margin:0;padding:0;list-style:none;display:flex;position:relative}.carousel-slide[_ngcontent-%COMP%]{width:100%;height:0;display:flex;flex-shrink:0;position:relative}.carousel-slide[_ngcontent-%COMP%]:hover{cursor:grab}.carousel-indicators[_ngcontent-%COMP%]{display:flex;position:absolute;bottom:15px;z-index:1;left:50%;transform:translate(-50%);outline:none}.carousel-indicators[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{width:10px;height:10px;margin:7.5px}"]}),n})(),d3=(()=>{class n extends vw{constructor(){super(...arguments),this.overrides={pinch:{enable:!1},rotate:{enable:!1}}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Ye(n)))(i||n)}}(),n.\u0275prov=N({token:n,factory:n.\u0275fac}),n})(),h3=(()=>{class n{static forRoot(){return{ngModule:n,providers:[{provide:Rc,useClass:d3}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n}),n.\u0275inj=ne({imports:[Vi,mm,m0,vR]}),n})();function f3(n,t){if(1&n){const e=On();Jo(0),M(1,"div",39)(2,"h1"),z(3),A(),M(4,"p"),z(5),A(),M(6,"button",40),j("click",function(){ot(e),J();const r=Ht(1);return st(r.disabled=!r.disabled)}),z(7," Click me! "),A()(),es()}if(2&n){const e=J().index,i=Ht(1);F(3),Qn(e),F(2),ns("disabled: ",i.disabled,"")}}function p3(n,t){if(1&n&&(M(0,"mat-carousel-slide",36,37),de(2,f3,8,2,"ng-container",38),A()),2&n){const e=J();k("overlayColor",e.overlayColor)("hideOverlay",e.hideOverlay),F(2),k("ngIf",e.showContent)}}let m3=(()=>{class n{constructor(e,i,r){this.snackBar=e,this.overlayContainer=i,this.elementRef=r,this.slidesList=new Array(5),this.showContent=!1,this.parentHeight="auto",this.timings="250ms ease-in",this.autoplay=!0,this.interval=5e3,this.loop=!0,this.hideArrows=!1,this.hideIndicators=!1,this.color="accent",this.maxWidth="auto",this.maintainAspectRatio=!0,this.proportion=25,this.slideHeight="200px",this.slides=this.slidesList.length,this.overlayColor="#00000040",this.hideOverlay=!1,this.useKeyboard=!0,this.useMouseWheel=!1,this.orientation="ltr",this.log=[],this.darkMode=!1,this.innerCode='\n \n

{{ i }}

\n

disabled: {{ matCarouselSlide.disabled }}

\n \n Click me!\n \n \n '}get code(){return`\n
\n \n ${this.showContent?this.innerCode:""}\n \n
\n `}toggleTheme(){this.darkMode=!this.darkMode;const e=[this.elementRef.nativeElement,this.overlayContainer.getContainerElement()];for(const i of e)this.darkMode?i.classList.add("demo-dark-theme"):i.classList.remove("demo-dark-theme")}copy(){const e=document.createElement("textarea");e.value=n.INSTALL_TEXT,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-99999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.snackBar.open("Command was successfully copied to clipboard!","",{duration:2e3})}resetSlides(){this.carouselSlides.forEach(e=>e.disabled=!1)}onChange(e){this.log.push(`MatCarousel#change emitted with index ${e}`)}}return n.INSTALL_TEXT="npm install @ngbmodule/material-carousel",n.\u0275fac=function(e){return new(e||n)(y(xj),y(Om),y(De))},n.\u0275cmp=Je({type:n,selectors:[["app-root"]],viewQuery:function(e,i){if(1&e&&pt(Pm,5),2&e){let r;he(r=fe())&&(i.carouselSlides=r)}},decls:132,vars:45,consts:[[1,"demo-logo"],["src","../assets/Logo.png","width","60px"],[1,"demo-spacer"],["mat-button","","matTooltip","Copy to clipboard","matTooltipPosition","before","aria-label","Button for copying installation command to clipboard",1,"demo-code",3,"click"],[1,"demo-source"],["mat-button","",3,"matMenuTriggerFor"],["demoMenu","matMenu"],["href","https://github.com/gabrielbusarello/material2-carousel","target","_blank","mat-menu-item",""],["mat-menu-item","",3,"click"],[1,"demo-container","mat-app-background"],[1,"demo-section"],[1,"demo-margin"],["placeholder","Parent Height",3,"value","valueChange"],[3,"value"],["matInput","","placeholder","Timings",3,"ngModel","ngModelChange"],[1,"demo-margin",3,"ngModel","ngModelChange"],["matInput","","type","number","min","1","placeholder","Interval",3,"ngModel","ngModelChange"],["placeholder","Color",3,"value","valueChange"],["value","primary"],["value","accent"],["value","warn"],["matInput","","placeholder","Maximum width",3,"ngModel","ngModelChange"],["matInput","","type","number","placeholder","Slides",3,"ngModel","ngModelChange"],["placeholder","Maintain Aspect Ratio",3,"value","valueChange"],["matInput","","type","number","min","1","placeholder","Proportion",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","Slide Height",3,"ngModel","ngModelChange"],["placeholder","Orientation",3,"value","valueChange","selectionChange"],["value","ltr"],["value","rtl"],["matInput","","placeholder","Overlay color",3,"ngModel","ngModelChange"],[1,"demo-carousel"],[3,"timings","autoplay","interval","loop","hideArrows","hideIndicators","color","maxWidth","proportion","useKeyboard","useMouseWheel","orientation","slides","maintainAspectRatio","slideHeight","change"],["matCarousel",""],["image","assets/demo.png",3,"overlayColor","hideOverlay",4,"ngFor","ngForOf"],[3,"innerText"],[1,"demo-code"],["image","assets/demo.png",3,"overlayColor","hideOverlay"],["matCarouselSlide",""],[4,"ngIf"],[2,"width","100%","height","100%","display","flex","flex-direction","column","align-items","center","justify-content","center"],["mat-flat-button","",3,"click"]],template:function(e,i){if(1&e){const r=On();M(0,"mat-toolbar")(1,"div",0),je(2,"img",1),M(3,"span"),z(4,"material2-carousel"),A()(),je(5,"span",2),M(6,"span")(7,"button",3),j("click",function(){return i.copy()}),M(8,"mat-icon"),z(9,"assignment"),A(),z(10," npm install @ngbmodule/material-carousel "),A()(),M(11,"span",4)(12,"button",5)(13,"mat-icon"),z(14,"menu"),A()(),M(15,"mat-menu",null,6)(17,"a",7)(18,"mat-icon"),z(19,"code"),A(),z(20,"Source code "),A(),M(21,"button",8),j("click",function(){return i.toggleTheme()}),M(22,"mat-icon"),z(23),A(),z(24," Toggle theme "),A()()()(),M(25,"div",9)(26,"mat-card")(27,"mat-card-content")(28,"mat-accordion")(29,"mat-expansion-panel")(30,"mat-expansion-panel-header")(31,"mat-panel-title"),z(32," Parent Configuration "),A()(),M(33,"section",10)(34,"label",11),z(35,"Size:"),A(),M(36,"mat-form-field",11)(37,"mat-select",12),j("valueChange",function(s){return i.parentHeight=s}),M(38,"mat-option",13),z(39,"Auto"),A(),M(40,"mat-option",13),z(41,"500px"),A()()()()(),M(42,"mat-expansion-panel")(43,"mat-expansion-panel-header")(44,"mat-panel-title"),z(45," Carousel configuration "),A()(),M(46,"section",10)(47,"label",11),z(48,"Animations:"),A(),M(49,"mat-form-field",11)(50,"input",14),j("ngModelChange",function(s){return i.timings=s}),A()(),M(51,"mat-checkbox",15),j("ngModelChange",function(s){return i.autoplay=s}),z(52,"Autoplay"),A(),M(53,"mat-form-field",11)(54,"input",16),j("ngModelChange",function(s){return i.interval=s}),A()()(),M(55,"section",10)(56,"label",11),z(57,"Appearance:"),A(),M(58,"mat-form-field",11)(59,"mat-select",17),j("valueChange",function(s){return i.color=s}),M(60,"mat-option",18),z(61,"Primary"),A(),M(62,"mat-option",19),z(63,"Accent"),A(),M(64,"mat-option",20),z(65,"Warn"),A()()(),M(66,"mat-form-field",11)(67,"input",21),j("ngModelChange",function(s){return i.maxWidth=s}),A()(),M(68,"mat-form-field",11)(69,"input",22),j("ngModelChange",function(s){return i.slides=s}),A()()(),M(70,"section",10)(71,"label",11),z(72,"Size:"),A(),M(73,"mat-form-field",11)(74,"mat-select",23),j("valueChange",function(s){return i.maintainAspectRatio=s}),M(75,"mat-option",13),z(76,"True"),A(),M(77,"mat-option",13),z(78,"False"),A()()(),M(79,"mat-form-field",11)(80,"input",24),j("ngModelChange",function(s){return i.proportion=s}),A()(),M(81,"mat-form-field",11)(82,"input",25),j("ngModelChange",function(s){return i.slideHeight=s}),A()()(),M(83,"section",10)(84,"label",11),z(85,"Navigation:"),A(),M(86,"mat-checkbox",15),j("ngModelChange",function(s){return i.loop=s}),z(87,"Loop"),A(),M(88,"mat-checkbox",15),j("ngModelChange",function(s){return i.hideArrows=s}),z(89,"Hide arrows"),A(),M(90,"mat-checkbox",15),j("ngModelChange",function(s){return i.hideIndicators=s}),z(91,"Hide indicators"),A()(),M(92,"section",10)(93,"label",11),z(94,"Accessibility:"),A(),M(95,"mat-checkbox",15),j("ngModelChange",function(s){return i.useKeyboard=s}),z(96,"Use keyboard"),A(),M(97,"mat-checkbox",15),j("ngModelChange",function(s){return i.useMouseWheel=s}),z(98,"Use mouse wheel"),A(),M(99,"mat-form-field")(100,"mat-select",26),j("valueChange",function(s){return i.orientation=s})("selectionChange",function(){return ot(r),st(Ht(123).slideTo(0))}),M(101,"mat-option",27),z(102,"Left to right"),A(),M(103,"mat-option",28),z(104,"Right to left"),A()()()()(),M(105,"mat-expansion-panel")(106,"mat-expansion-panel-header")(107,"mat-panel-title"),z(108," Slide configuration "),A()(),M(109,"section",10)(110,"label",11),z(111,"Appearance:"),A(),M(112,"mat-form-field",11)(113,"input",29),j("ngModelChange",function(s){return i.overlayColor=s}),A()(),M(114,"mat-checkbox",15),j("ngModelChange",function(s){return i.hideOverlay=s}),z(115,"Hide overlay"),A()(),M(116,"section",10)(117,"label",11),z(118,"Custom:"),A(),M(119,"mat-checkbox",15),j("ngModelChange",function(s){return i.showContent=s}),z(120," Show custom content "),A()()()(),M(121,"div",30)(122,"mat-carousel",31,32),j("change",function(s){return i.onChange(s)}),de(124,p3,3,3,"mat-carousel-slide",33),A()(),M(125,"mat-expansion-panel")(126,"mat-expansion-panel-header"),z(127,"Events"),A(),je(128,"pre",34),A(),M(129,"pre")(130,"code",35),z(131),A()()()()()}if(2&e){const r=Ht(16);F(12),k("matMenuTriggerFor",r),F(11),ns(" ",i.darkMode?"invert_colors_off":"invert_colors"," "),F(14),k("value",i.parentHeight),F(1),k("value","auto"),F(2),k("value","500px"),F(10),k("ngModel",i.timings),F(1),k("ngModel",i.autoplay),F(3),k("ngModel",i.interval),F(5),k("value",i.color),F(8),k("ngModel",i.maxWidth),F(2),k("ngModel",i.slides),F(5),k("value",i.maintainAspectRatio),F(1),k("value",!0),F(2),k("value",!1),F(3),k("ngModel",i.proportion),F(2),k("ngModel",i.slideHeight),F(4),k("ngModel",i.loop),F(2),k("ngModel",i.hideArrows),F(2),k("ngModel",i.hideIndicators),F(5),k("ngModel",i.useKeyboard),F(2),k("ngModel",i.useMouseWheel),F(3),k("value",i.orientation),F(13),k("ngModel",i.overlayColor),F(1),k("ngModel",i.hideOverlay),F(5),k("ngModel",i.showContent),F(2),Fn("height",i.parentHeight),F(1),k("timings",i.timings)("autoplay",i.autoplay)("interval",i.interval)("loop",i.loop)("hideArrows",i.hideArrows)("hideIndicators",i.hideIndicators)("color",i.color)("maxWidth",i.maxWidth)("proportion",i.proportion)("useKeyboard",i.useKeyboard)("useMouseWheel",i.useMouseWheel)("orientation",i.orientation)("slides",i.slides)("maintainAspectRatio",i.maintainAspectRatio)("slideHeight",i.slideHeight),F(2),k("ngForOf",i.slidesList),F(4),k("innerText",i.log.join("\n")),F(3),Qn(i.code)}},dependencies:[Hf,Li,Lc,dp,Yw,gp,up,pm,aB,sB,GE,u3,Pm,UB,JE,e0,jB,p0,Y2,eH,qH,Ru,ZH,yj,jE,Rj,zj],styles:[".demo-code[_ngcontent-%COMP%]{font-family:Roboto Mono}.demo-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.demo-container[_ngcontent-%COMP%]{padding:15px}.demo-source[_ngcontent-%COMP%]{margin-left:15px}.demo-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.demo-section[_ngcontent-%COMP%]{display:flex;align-content:center;align-items:center;height:50px}.demo-margin[_ngcontent-%COMP%]{margin:0 10px}.demo-margin[_ngcontent-%COMP%]:first-of-type{margin-left:0}.demo-carousel[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:16px}"]}),n})(),g3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=pe({type:n,bootstrap:[m3]}),n.\u0275inj=ne({imports:[mw,DL,vP,mm,lB,CB,h3.forRoot(),$B,m0,tH,QH,vj,Y0,Pj,qj]}),n})();tl(386),function QO(){_C=!1}(),lR().bootstrapModule(g3).catch(n=>console.error(n))},386:(io,ws,tl)=>{var Hn;!function(gt,Yt,yr,tt){"use strict";var Dn,Di=["","webkit","Moz","MS","ms","o"],Ds=Yt.createElement("div"),jn=Math.round,ee=Math.abs,ro=Date.now;function Gi(h,f,g){return setTimeout(il(h,g),f)}function vr(h,f,g){return!!Array.isArray(h)&&(ve(h,g[f],g),!0)}function ve(h,f,g){var b;if(h)if(h.forEach)h.forEach(f,g);else if(h.length!==tt)for(b=0;b\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",oe=gt.console&&(gt.console.warn||gt.console.log);return oe&&oe.call(gt.console,b,x),h.apply(this,arguments)}}Dn="function"!=typeof Object.assign?function(f){if(f===tt||null===f)throw new TypeError("Cannot convert undefined or null to object");for(var g=Object(f),b=1;b-1}function wr(h){return h.trim().split(/\s+/g)}function U(h,f,g){if(h.indexOf&&!g)return h.indexOf(f);for(var b=0;b_t[f]}):b.sort()),b}function Ve(h,f){for(var g,b,T=f[0].toUpperCase()+f.slice(1),x=0;x1&&!g.firstMultiple?g.firstMultiple=xs(f):1===T&&(g.firstMultiple=!1);var x=g.firstInput,oe=g.firstMultiple,We=oe?oe.center:x.center,Qe=f.center=al(b);f.timeStamp=ro(),f.deltaTime=f.timeStamp-x.timeStamp,f.angle=Is(We,Qe),f.distance=co(We,Qe),function As(h,f){var g=f.center,b=h.offsetDelta||{},T=h.prevDelta||{},x=h.prevInput||{};(1===f.eventType||4===x.eventType)&&(T=h.prevDelta={x:x.deltaX||0,y:x.deltaY||0},b=h.offsetDelta={x:g.x,y:g.y}),f.deltaX=T.x+(g.x-b.x),f.deltaY=T.y+(g.y-b.y)}(g,f),f.offsetDirection=cl(f.deltaX,f.deltaY);var _t=ll(f.deltaTime,f.deltaX,f.deltaY);f.overallVelocityX=_t.x,f.overallVelocityY=_t.y,f.overallVelocity=ee(_t.x)>ee(_t.y)?_t.x:_t.y,f.scale=oe?function zu(h,f){return co(f[0],f[1],Yi)/co(h[0],h[1],Yi)}(oe.pointers,b):1,f.rotation=oe?function Hm(h,f){return Is(f[1],f[0],Yi)+Is(h[1],h[0],Yi)}(oe.pointers,b):0,f.maxPointers=g.prevInput?f.pointers.length>g.prevInput.maxPointers?f.pointers.length:g.prevInput.maxPointers:f.pointers.length,function En(h,f){var T,x,oe,We,g=h.lastInterval||f,b=f.timeStamp-g.timeStamp;if(8!=f.eventType&&(b>25||g.velocity===tt)){var Qe=f.deltaX-g.deltaX,_t=f.deltaY-g.deltaY,it=ll(b,Qe,_t);x=it.x,oe=it.y,T=ee(it.x)>ee(it.y)?it.x:it.y,We=cl(Qe,_t),h.lastInterval=f}else T=g.velocity,x=g.velocityX,oe=g.velocityY,We=g.direction;f.velocity=T,f.velocityX=x,f.velocityY=oe,f.direction=We}(g,f);var it=h.element;Ei(f.srcEvent.target,it)&&(it=f.srcEvent.target),f.target=it}(h,g),h.emit("hammer.input",g),h.recognize(g),h.session.prevInput=g}function xs(h){for(var f=[],g=0;g=ee(f)?h<0?2:4:f<0?8:16}function co(h,f,g){g||(g=qi);var b=f[g[0]]-h[g[0]],T=f[g[1]]-h[g[1]];return Math.sqrt(b*b+T*T)}function Is(h,f,g){return g||(g=qi),180*Math.atan2(f[g[1]]-h[g[1]],f[g[0]]-h[g[0]])/Math.PI}Kt.prototype={handler:function(){},init:function(){this.evEl&&Cr(this.element,this.evEl,this.domHandler),this.evTarget&&Cr(this.target,this.evTarget,this.domHandler),this.evWin&&Cr(Ss(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&Ms(this.element,this.evEl,this.domHandler),this.evTarget&&Ms(this.target,this.evTarget,this.domHandler),this.evWin&&Ms(Ss(this.element),this.evWin,this.domHandler)}};var Wu={mousedown:1,mousemove:2,mouseup:4},Gu="mousedown",qu="mousemove mouseup";function Tr(){this.evEl=Gu,this.evWin=qu,this.pressed=!1,Kt.apply(this,arguments)}Dt(Tr,Kt,{handler:function(f){var g=Wu[f.type];1&g&&0===f.button&&(this.pressed=!0),2&g&&1!==f.which&&(g=4),this.pressed&&(4&g&&(this.pressed=!1),this.callback(this.manager,g,{pointers:[f],changedPointers:[f],pointerType:ao,srcEvent:f}))}});var xe={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},ks={2:Er,3:"pen",4:ao,5:"kinect"},Te="pointerdown",uo="pointermove pointerup pointercancel";function Os(){this.evEl=Te,this.evWin=uo,Kt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}gt.MSPointerEvent&&!gt.PointerEvent&&(Te="MSPointerDown",uo="MSPointerMove MSPointerUp MSPointerCancel"),Dt(Os,Kt,{handler:function(f){var g=this.store,b=!1,T=f.type.toLowerCase().replace("ms",""),x=xe[T],oe=ks[f.pointerType]||f.pointerType,We=oe==Er,Qe=U(g,f.pointerId,"pointerId");1&x&&(0===f.button||We)?Qe<0&&(g.push(f),Qe=g.length-1):12&x&&(b=!0),!(Qe<0)&&(g[Qe]=f,this.callback(this.manager,x,{pointers:g,changedPointers:[f],pointerType:oe,srcEvent:f}),b&&g.splice(Qe,1))}});var Ae={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Y="touchstart",Fs="touchstart touchmove touchend touchcancel";function Yu(){this.evTarget=Y,this.evWin=Fs,this.started=!1,Kt.apply(this,arguments)}function I(h,f){var g=Dr(h.touches),b=Dr(h.changedTouches);return 12&f&&(g=Si(g.concat(b),"identifier",!0)),[g,b]}Dt(Yu,Kt,{handler:function(f){var g=Ae[f.type];if(1===g&&(this.started=!0),this.started){var b=I.call(this,f,g);12&g&&b[0].length-b[1].length==0&&(this.started=!1),this.callback(this.manager,g,{pointers:b[0],changedPointers:b[1],pointerType:Er,srcEvent:f})}}});var ho={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Q="touchstart touchmove touchend touchcancel";function _e(){this.evTarget=Q,this.targetIds={},Kt.apply(this,arguments)}function Ku(h,f){var g=Dr(h.touches),b=this.targetIds;if(3&f&&1===g.length)return b[g[0].identifier]=!0,[g,g];var T,x,oe=Dr(h.changedTouches),We=[],Qe=this.target;if(x=g.filter(function(_t){return Ei(_t.target,Qe)}),1===f)for(T=0;T-1&&b.splice(x,1)},2500)}}function Zu(h){for(var f=h.srcEvent.clientX,g=h.srcEvent.clientY,b=0;b-1&&this.requireFail.splice(f,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(h){return!!this.simultaneous[h.id]},emit:function(h){var f=this,g=this.state;function b(T){f.manager.emit(T,h)}g<8&&b(f.options.event+fl(g)),b(f.options.event),h.additionalEvent&&b(h.additionalEvent),g>=8&&b(f.options.event+fl(g))},tryEmit:function(h){if(this.canEmit())return this.emit(h);this.state=32},canEmit:function(){for(var h=0;hf.threshold&&T&f.direction},attrTest:function(h){return Mt.prototype.attrTest.call(this,h)&&(2&this.state||!(2&this.state)&&this.directionTest(h))},emit:function(h){this.pX=h.deltaX,this.pY=h.deltaY;var f=pl(h.direction);f&&(h.additionalEvent=this.options.event+f),this._super.emit.call(this,h)}}),Dt(mo,Mt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Xi]},attrTest:function(h){return this._super.attrTest.call(this,h)&&(Math.abs(h.scale-1)>this.options.threshold||2&this.state)},emit:function(h){1!==h.scale&&(h.additionalEvent=this.options.event+(h.scale<1?"in":"out")),this._super.emit.call(this,h)}}),Dt(Ps,Sn,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(h){var f=this.options,g=h.pointers.length===f.pointers,b=h.distancef.time;if(this._input=h,!b||!g||12&h.eventType&&!T)this.reset();else if(1&h.eventType)this.reset(),this._timer=Gi(function(){this.state=8,this.tryEmit()},f.time,this);else if(4&h.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(h){8===this.state&&(h&&4&h.eventType?this.manager.emit(this.options.event+"up",h):(this._input.timeStamp=ro(),this.manager.emit(this.options.event,this._input)))}}),Dt(K,Mt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Xi]},attrTest:function(h){return this._super.attrTest.call(this,h)&&(Math.abs(h.rotation)>this.options.threshold||2&this.state)}}),Dt(kr,Mt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Zi.prototype.getTouchAction.call(this)},attrTest:function(h){var g,f=this.options.direction;return 30&f?g=h.overallVelocity:6&f?g=h.overallVelocityX:24&f&&(g=h.overallVelocityY),this._super.attrTest.call(this,h)&&f&h.offsetDirection&&h.distance>this.options.threshold&&h.maxPointers==this.options.pointers&&ee(g)>this.options.velocity&&4&h.eventType},emit:function(h){var f=pl(h.offsetDirection);f&&this.manager.emit(this.options.event+f,h),this.manager.emit(this.options.event,h)}}),Dt(go,Sn,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[dl]},process:function(h){var f=this.options,g=h.pointers.length===f.pointers,b=h.distance{io(io.s=464)}]); \ No newline at end of file diff --git a/docs/main.a7294f4b0eee1e9c1417.js b/docs/main.a7294f4b0eee1e9c1417.js deleted file mode 100644 index 76909a3..0000000 --- a/docs/main.a7294f4b0eee1e9c1417.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},"9HG0":function(e,t,n){var i;!function(r,o,a,s){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),h=Math.round,d=Math.abs,f=Date.now;function p(e,t,n){return setTimeout(k(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(i=0;i\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n-1}function T(e){return e.trim().split(/\s+/g)}function A(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;in[t]})):i.sort()),i}function P(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=H(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=t.center=q(i);t.timeStamp=f(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=Y(s,l),t.distance=K(s,l),function(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},o=e.prevInput||{};1!==t.eventType&&4!==o.eventType||(r=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}(n,t),t.offsetDirection=W(t.deltaX,t.deltaY);var u,c,h=U(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=h.x,t.overallVelocityY=h.y,t.overallVelocity=d(h.x)>d(h.y)?h.x:h.y,t.scale=a?(u=a.pointers,K((c=i)[0],c[1],z)/K(u[0],u[1],z)):1,t.rotation=a?function(e,t){return Y(t[1],t[0],z)+Y(e[1],e[0],z)}(a.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,i,r,o,a=e.lastInterval||t,s=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(s>25||void 0===a.velocity)){var l=t.deltaX-a.deltaX,u=t.deltaY-a.deltaY,c=U(s,l,u);i=c.x,r=c.y,n=d(c.x)>d(c.y)?c.x:c.y,o=W(l,u),e.lastInterval=t}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}(n,t);var p=e.element;S(t.srcEvent.target,p)&&(p=t.srcEvent.target),t.target=p}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function H(e){for(var t=[],n=0;n=d(t)?e<0?2:4:t<0?8:16}function K(e,t,n){n||(n=L);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function Y(e,t,n){return n||(n=L),180*Math.atan2(t[n[1]]-e[n[1]],t[n[0]]-e[n[0]])/Math.PI}B.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(M(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(M(this.element),this.evWin,this.domHandler)}};var G={mousedown:1,mousemove:2,mouseup:4};function Z(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,B.apply(this,arguments)}b(Z,B,{handler:function(e){var t=G[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var X={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Q={2:"touch",3:"pen",4:"mouse",5:"kinect"},$="pointerdown",J="pointermove pointerup pointercancel";function ee(){this.evEl=$,this.evWin=J,B.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&($="MSPointerDown",J="MSPointerMove MSPointerUp MSPointerCancel"),b(ee,B,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=X[i],o=Q[e.pointerType]||e.pointerType,a="touch"==o,s=A(t,e.pointerId,"pointerId");1&r&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):12&r&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ne(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,B.apply(this,arguments)}function ie(e,t){var n=O(e.touches),i=O(e.changedTouches);return 12&t&&(n=R(n.concat(i),"identifier",!0)),[n,i]}b(ne,B,{handler:function(e){var t=te[e.type];if(1===t&&(this.started=!0),this.started){var n=ie.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var re={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function oe(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},B.apply(this,arguments)}function ae(e,t){var n=O(e.touches),i=this.targetIds;if(3&t&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=O(e.changedTouches),s=[],l=this.target;if(o=n.filter((function(e){return S(e.target,l)})),1===t)for(r=0;r-1&&i.splice(e,1)}),2500)}}function ce(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n<8&&i(t.options.event+ve(n)),i(t.options.event),e.additionalEvent&&i(e.additionalEvent),n>=8&&i(t.options.event+ve(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;et.threshold&&r&t.direction},attrTest:function(e){return _e.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ye(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),b(ke,_e,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){1!==e.scale&&(e.additionalEvent=this.options.event+(e.scale<1?"in":"out")),this._super.emit.call(this,e)}}),b(we,me,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distancet.time;if(this._input=e,!i||!n||12&e.eventType&&!r)this.reset();else if(1&e.eventType)this.reset(),this._timer=p((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),b(Ce,_e,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),b(xe,_e,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return be.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&d(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=ye(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),b(Ee,me,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distancee.length)&&(t=e.length);for(var n=0,i=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r,o=!0,a=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return o=e.done,e},e:function(e){a=!0,r=e},f:function(){try{o||null==i.return||i.return()}finally{if(a)throw r}}}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?o(e):t}function v(e){var t=f();return function(){var n,r=i(e);if(t){var o=i(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:new W(e,n,i);if(!r.closed)return t instanceof V?t.subscribe(r):Q(t)(r)}var J=function(e){d(n,e);var t=v(n);function n(){return y(this,n),t.apply(this,arguments)}return _(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(P);function ee(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new te(e,t))}}var te=function(){function e(t,n){y(this,e),this.project=t,this.thisArg=n}return _(e,[{key:"call",value:function(e,t){return t.subscribe(new ne(e,this.project,this.thisArg))}}]),e}(),ne=function(e){d(n,e);var t=v(n);function n(e,i,r){var a;return y(this,n),(a=t.call(this,e)).project=i,a.count=0,a.thisArg=r||o(a),a}return _(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(P);function ie(e,t){return new V((function(n){var i=new E,r=0;return i.add(t.schedule((function(){r!==e.length?(n.next(e[r++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}function re(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[M]}(e))return function(e,t){return new V((function(n){var i=new E;return i.add(t.schedule((function(){var r=e[M]();i.add(r.subscribe({next:function(e){i.add(t.schedule((function(){return n.next(e)})))},error:function(e){i.add(t.schedule((function(){return n.error(e)})))},complete:function(){i.add(t.schedule((function(){return n.complete()})))}}))}))),i}))}(e,t);if(X(e))return function(e,t){return new V((function(n){var i=new E;return i.add(t.schedule((function(){return e.then((function(e){i.add(t.schedule((function(){n.next(e),i.add(t.schedule((function(){return n.complete()})))})))}),(function(e){i.add(t.schedule((function(){return n.error(e)})))}))}))),i}))}(e,t);if(Z(e))return ie(e,t);if(function(e){return e&&"function"==typeof e[G]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new V((function(n){var i,r=new E;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(t.schedule((function(){i=e[G](),r.add(t.schedule((function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}})))}))),r}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof V?e:new V(Q(e))}function oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(oe((function(n,i){return re(e(n,i)).pipe(ee((function(e,r){return t(n,e,i,r)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new ae(e,n))})}var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;y(this,e),this.project=t,this.concurrent=n}return _(e,[{key:"call",value:function(e,t){return t.subscribe(new se(e,this.project,this.concurrent))}}]),e}(),se=function(e){d(n,e);var t=v(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return y(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _(n,[{key:"_next",value:function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(J);function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return oe(F,e)}function ue(e,t){return t?ie(e,t):new V(K(e))}function ce(){for(var e=Number.POSITIVE_INFINITY,t=null,n=arguments.length,i=new Array(n),r=0;r1&&"number"==typeof i[i.length-1]&&(e=i.pop())):"number"==typeof o&&(e=i.pop()),null===t&&1===i.length&&i[0]instanceof V?i[0]:le(e)(ue(i,t))}function he(){return function(e){return e.lift(new de(e))}}var de=function(){function e(t){y(this,e),this.connectable=t}return _(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new fe(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),fe=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this,e)).connectable=i,r}return _(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(P),pe=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this)).source=e,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return _(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new E).add(this.source.subscribe(new ve(this.getSubject(),this))),e.closed&&(this._connection=null,e=E.EMPTY)),e}},{key:"refCount",value:function(){return he()(this)}}]),n}(V),me=function(){var e=pe.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),ve=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this,e)).connectable=i,r}return _(n,[{key:"_error",value:function(e){this._unsubscribe(),r(i(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),r(i(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(j);function ye(){return new H}function ge(){return function(e){return he()((t=ye,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,me);return i.source=e,i.subjectFactory=n,i})(e));var t}}var _e="__parameters__";function be(e,t,n){return function(){var i=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:Ee.Default;if(void 0===Ke)throw new Error("inject() must be called from an injection context");return null===Ke?Qe(e,void 0,t):Ke.get(e,t&Ee.Optional?null:void 0,t)}function Ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ee.Default;return Ge(Fe(e),t)}var Xe=Ze;function Qe(e,t,n){var i=Te(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&Ee.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(Pe(e),"]"))}var $e=function(){function e(){y(this,e)}return _(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qe;if(t===qe){var n=new Error("NullInjectorError: No provider for ".concat(Pe(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}();function Je(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=et("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}function et(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=Pe(t);if(Array.isArray(t))r=t.map(Pe).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):Pe(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(Ue,"\n "))}var tt=function e(){y(this,e)},nt=function e(){y(this,e)};function it(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function rt(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var ot=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),at=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Be)}();function st(e){return e.ngDebugContext}function lt(e){return e.ngOriginalError}function ut(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}}]),e}(),xt=function(){function e(t){if(y(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return _(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Ft.hasOwnProperty(t)&&!Rt.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(qt(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),jt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ht=/([^\#-~ |!])/g;function qt(e){return e.replace(/&/g,"&").replace(jt,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Ht,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function Ut(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Wt=function(e){return 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}({}),Kt=/([A-Z])/g;function Yt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}var Gt=function(){var e=function e(){y(this,e)};return e.__NG_ELEMENT_ID__=function(){return Zt()},e}(),Zt=function(){},Xt=new je("Set Injector scope."),Qt=function(e,t,n){return new rn(e,t,n)},$t=function(){var e=function(){function e(){y(this,e)}return _(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Qt(e,t,""):Qt(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=qe,e.NULL=new $e,e.\u0275prov=Ie({token:e,providedIn:"any",factory:function(){return Ze(He)}}),e.__NG_ELEMENT_ID__=-1,e}(),Jt=function(e){return e},en=[],tn=Jt,nn=function(){return Array.prototype.slice.call(arguments)},rn=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$t.NULL,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;y(this,e),this.parent=n,this.source=i;var r=this._records=new Map;r.set($t,{token:$t,fn:Jt,deps:en,value:this,useNew:!1}),r.set(He,{token:He,fn:Jt,deps:en,value:this,useNew:!1}),this.scope=sn(r,t)}return _(e,[{key:"get",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ee.Default,i=this._records,r=i.get(e);if(void 0===r){var o=Te(e);if(o){var a=o&&o.providedIn;("any"===a||null!=a&&a===this.scope)&&i.set(e,r=on({provide:e,useFactory:o.factory,deps:en}))}void 0===r&&i.set(e,null)}var s=Ye(this);try{return ln(e,r,i,this.parent,t,n)}catch(l){return Je(l,e,"StaticInjectorError",this.source)}finally{Ye(s)}}},{key:"toString",value:function(){var e=[];return this._records.forEach((function(t,n){return e.push(Pe(n))})),"StaticInjector[".concat(e.join(", "),"]")}}]),e}();function on(e){var t=function(e){var t=en,n=e.deps;if(n&&n.length){t=[];for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:$t.THROW_IF_NOT_FOUND,i=Ye(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var r=t.tokenKey;switch(r){case Wi:case Ki:case Yi:return e}var o,a=e._def.providersByKey[r];if(a){var s=e._providers[a.index];return void 0===s&&(s=e._providers[a.index]=Qi(e,a)),s===Ui?void 0:s}if((o=Te(t.token))&&Xi(e,o)){var l=e._providers.length;return e._def.providers[l]=e._def.providersByKey[t.tokenKey]={flags:5120,value:o.factory,deps:[],index:l,token:t.token},e._providers[l]=Ui,e._providers[l]=Qi(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ye(i)}}function Xi(e,t){var n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}function Qi(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(Zi(e,n[0]));case 2:return new t(Zi(e,n[0]),Zi(e,n[1]));case 3:return new t(Zi(e,n[0]),Zi(e,n[1]),Zi(e,n[2]));default:for(var r=[],o=0;o=n.length)&&(t=n.length-1),t<0)return null;var i=n[t];return i.viewContainerParent=null,rt(n,t),di.dirtyParentQueries(i),er(i),i}function Ji(e,t,n){var i=t?Ii(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(i),o=n.renderer.nextSibling(i);Ni(n,2,r,o,void 0)}function er(e){Ni(e,3,null,null,void 0)}var tr={};function nr(e,t,n,i,r,o){return new ir(e,t,n,i,r,o)}var ir=function(e){d(n,e);var t=v(n);function n(e,i,r,o,a,s){var l;return y(this,n),(l=t.call(this)).selector=e,l.componentType=i,l._inputs=o,l._outputs=a,l.ngContentSelectors=s,l.viewDefFactory=r,l}return _(n,[{key:"create",value:function(e,t,n,i){if(!i)throw new Error("ngModule should be provided");var r=Fi(this.viewDefFactory),o=r.nodes[0].element.componentProvider.nodeIndex,a=di.createRootView(e,t||[],n,r,i,tr),s=ui(a,o).instance;return n&&a.renderer.setAttribute(li(a,0).renderElement,"ng-version",Nn.full),new rr(a,new lr(a),s)}},{key:"inputs",get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e}},{key:"outputs",get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}}]),n}(bn),rr=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this))._view=e,o._viewRef=i,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=i,o.changeDetectorRef=i,o.instance=r,o}return _(n,[{key:"destroy",value:function(){this._viewRef.destroy()}},{key:"onDestroy",value:function(e){this._viewRef.onDestroy(e)}},{key:"location",get:function(){return new Tn(li(this._view,this._elDef.nodeIndex).renderElement)}},{key:"injector",get:function(){return new dr(this._view,this._elDef)}},{key:"componentType",get:function(){return this._component.constructor}}]),n}(_n);function or(e,t,n){return new ar(e,t,n)}var ar=function(){function e(t,n,i){y(this,e),this._view=t,this._elDef=n,this._data=i,this._embeddedViews=[]}return _(e,[{key:"clear",value:function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=$i(this._data,e);di.destroyView(t)}}},{key:"get",value:function(e){var t=this._embeddedViews[e];if(t){var n=new lr(t);return n.attachToViewContainerRef(this),n}return null}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var o=n||this.parentInjector;r||e instanceof Sn||(r=o.get(tt));var a=e.create(o,i,void 0,r);return this.insert(a.hostView,t),a}},{key:"insert",value:function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,i,r,o,a=e;return o=(n=this._data).viewContainer._embeddedViews,null==(i=t)&&(i=o.length),(r=a._view).viewContainerParent=this._view,it(o,i,r),function(e,t){var n=Ei(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(t),function(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(n,r),di.dirtyParentQueries(r),Ji(n,i>0?o[i-1]:null,r),a.attachToViewContainerRef(this),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,i,r,o,a,s=this._embeddedViews.indexOf(e._view);return r=t,a=(o=(n=this._data).viewContainer._embeddedViews)[i=s],rt(o,i),null==r&&(r=o.length),it(o,r,a),di.dirtyParentQueries(a),er(a),Ji(n,r>0?o[r-1]:null,a),e}},{key:"indexOf",value:function(e){return this._embeddedViews.indexOf(e._view)}},{key:"remove",value:function(e){var t=$i(this._data,e);t&&di.destroyView(t)}},{key:"detach",value:function(e){var t=$i(this._data,e);return t?new lr(t):null}},{key:"element",get:function(){return new Tn(this._data.renderElement)}},{key:"injector",get:function(){return new dr(this._view,this._elDef)}},{key:"parentInjector",get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Si(e),e=e.parent;return e?new dr(e,t):new dr(this._view,null)}},{key:"length",get:function(){return this._embeddedViews.length}}]),e}();function sr(e){return new lr(e)}var lr=function(){function e(t){y(this,e),this._view=t,this._viewContainerRef=null,this._appRef=null}return _(e,[{key:"markForCheck",value:function(){wi(this._view)}},{key:"detach",value:function(){this._view.state&=-5}},{key:"detectChanges",value:function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{di.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}},{key:"checkNoChanges",value:function(){di.checkNoChangesView(this._view)}},{key:"reattach",value:function(){this._view.state|=4}},{key:"onDestroy",value:function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}},{key:"destroy",value:function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),di.destroyView(this._view)}},{key:"detachFromAppRef",value:function(){this._appRef=null,er(this._view),di.dirtyParentQueries(this._view)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"rootNodes",get:function(){return Ni(this._view,0,void 0,void 0,e=[]),e;var e}},{key:"context",get:function(){return this._view.context}},{key:"destroyed",get:function(){return 0!=(128&this._view.state)}}]),e}();function ur(e,t){return new cr(e,t)}var cr=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this))._parentView=e,r._def=i,r}return _(n,[{key:"createEmbeddedView",value:function(e){return new lr(di.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}},{key:"elementRef",get:function(){return new Tn(li(this._parentView,this._def.nodeIndex).renderElement)}}]),n}($n);function hr(e,t){return new dr(e,t)}var dr=function(){function e(t,n){y(this,e),this.view=t,this.elDef=n}return _(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$t.THROW_IF_NOT_FOUND,n=!!this.elDef&&0!=(33554432&this.elDef.flags);return di.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:mi(e)},t)}}]),e}();function fr(e,t){var n=e.def.nodes[t];if(1&n.flags){var i=li(e,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return si(e,n.nodeIndex).renderText;if(20240&n.flags)return ui(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index ".concat(t))}function pr(e,t,n,i){return new mr(e,t,n,i)}var mr=function(){function e(t,n,i,r){y(this,e),this._moduleType=t,this._parent=n,this._bootstrapComponents=i,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=function(e,t){for(var n=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:$t.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ee.Default,i=0;return n&Ee.SkipSelf?i|=1:n&Ee.Self&&(i|=4),Zi(this,{token:e,tokenKey:mi(e),flags:i},t)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The ng module ".concat(Pe(this.instance.constructor)," has already been destroyed."));this._destroyed=!0,function(e,t){for(var n=e._def,i=new Set,r=0;r0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var i=0;i0,i=t.provider;switch(201347067&t.flags){case 512:return Rr(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,r){var o=r.length;switch(o){case 0:return i();case 1:return i(Dr(e,t,n,r[0]));case 2:return i(Dr(e,t,n,r[0]),Dr(e,t,n,r[1]));case 3:return i(Dr(e,t,n,r[0]),Dr(e,t,n,r[1]),Dr(e,t,n,r[2]));default:for(var a=[],s=0;s4&&void 0!==arguments[4]?arguments[4]:$t.THROW_IF_NOT_FOUND;if(8&i.flags)return i.token;var o=e;2&i.flags&&(r=null);var a=i.tokenKey;a===br&&(n=!(!t||!t.element.componentView)),t&&1&i.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case vr:var l=Mr(s,t,n);return l.renderer;case yr:return new Tn(li(s,t.nodeIndex).renderElement);case gr:return li(s,t.nodeIndex).viewContainer;case _r:if(t.element.template)return li(s,t.nodeIndex).template;break;case br:var u=Mr(s,t,n);return sr(u);case kr:case wr:return hr(s,t);default:var c=(n?t.element.allProviders:t.element.publicProviders)[a];if(c){var h=ui(s,c.nodeIndex);return h||(h={instance:Or(s,c)},s.nodes[c.nodeIndex]=h),h.instance}}n=Ti(s),t=Si(s),s=s.parent,4&i.flags&&(s=null)}var d=o.root.injector.get(i.token,Pr);return d!==Pr||r===Pr?d:o.root.ngModule.injector.get(i.token,r)}function Mr(e,t,n){var i;if(n)i=li(e,t.nodeIndex).componentView;else for(i=e;i.parent&&!Ti(i);)i=i.parent;return i}function Fr(e,t,n,i,r,o){if(32768&n.flags){var a=li(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[i].name]=r,524288&n.flags){o=o||{};var s=fn.unwrap(e.oldValues[n.bindingIndex+i]);o[n.bindings[i].nonMinifiedName]=new gn(s,r,0!=(2&e.state))}return e.oldValues[n.bindingIndex+i]=r,o}function Nr(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,i=0,r=0;r0&&void 0!==arguments[0]&&arguments[0];return y(this,n),(e=t.call(this)).__isAsync=i,e}return _(n,[{key:"emit",value:function(e){r(i(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,o){var a,s=function(e){return null},l=function(){return null};e&&"object"==typeof e?(a=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(s=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(l=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(a=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(s=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),o&&(l=this.__isAsync?function(){setTimeout((function(){return o()}))}:function(){o()}));var u=r(i(n.prototype),"subscribe",this).call(this,a,s,l);return e instanceof E&&e.add(u),u}}]),n}(H);function Kr(){return this._results[hn()]()}var Yr=function(){function e(){y(this,e),this.dirty=!0,this._results=[],this.changes=new Wr,this.length=0;var t=hn(),n=e.prototype;n[t]||(n[t]=Kr)}return _(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var i=0;i0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(e){return e.timeoutId!==r})),e(i._didWork,i.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}(),Eo=function(){function e(){y(this,e),this._applications=new Map,So.addToWindow(this)}return _(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return So.findTestabilityInTree(this,e,t)}}]),e}(),So=new(function(){function e(){y(this,e)}return _(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Io=function(e,t,n){return e.get(ho).createCompiler([t]).compileModuleAsync(n)},To=new je("AllowMultipleToken"),Ao=function e(t,n){y(this,e),this.name=t,this.token=n};function Oo(e){if(wo&&!wo.destroyed&&!wo.injector.get(To,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");wo=e.get(Mo);var t=e.get(Jr,null);return t&&t.forEach((function(e){return e()})),wo}function Ro(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new je(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Do();if(!o||o.injector.get(To,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0},{provide:Xt,useValue:"platform"});Oo($t.create({providers:a,name:i}))}return Po(r)}}function Po(e){var t=Do();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Do(){return wo&&!wo.destroyed?wo:null}var Mo=function(){function e(t){y(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,o=(i=t&&t.ngZoneEventCoalescing||!1,"noop"===(n=t?t.ngZone:void 0)?new Co:("zone.js"===n?void 0:n)||new mo({enableLongStackTrace:wt(),shouldCoalesceEventChangeDetection:i})),a=[{provide:mo,useValue:o}];return o.run((function(){var t=$t.create({providers:a,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(ct,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return Vo(r._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){i.handleError(e)}})})),function(e,t,i){try{var o=((a=n.injector.get(Zr)).runInitializers(),a.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return vn(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(i,o)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Fo({},n);return Io(this.injector,i,e).then((function(e){return t.bootstrapModuleFactory(e,i)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(No);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(Pe(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();function Fo(e,t){return Array.isArray(t)?t.reduce(Fo,e):Object.assign(Object.assign({},e),t)}var No=function(){function e(t,n,i,r,o,a){var s=this;y(this,e),this._zone=t,this._console=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=wt(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var l=new V((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),u=new V((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){mo.assertNotInAngularZone(),po((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){mo.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=ce(l,u.pipe(ge()))}return _(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof bn?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n instanceof Sn?void 0:this._injector.get(tt),o=n.create($t.NULL,[],t||n.selector,r);o.onDestroy((function(){i._unloadComponent(o)}));var a=o.injector.get(xo,null);return a&&o.injector.get(Eo).registerApplication(o.location.nativeElement,a),this._loadComponent(o),wt()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=c(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(o){n.e(o)}finally{n.f()}if(this._enforceNoNewChanges){var i,r=c(this._views);try{for(r.s();!(i=r.n()).done;)i.value.checkNoChanges()}catch(o){r.e(o)}finally{r.f()}}}catch(a){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(a)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Vo(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(to,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),Vo(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}();function Vo(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Lo=function e(t,n){y(this,e),this.name=t,this.callback=n},zo=function(){function e(t,n,i){y(this,e),this.listeners=[],this.parent=null,this._debugContext=i,this.nativeNode=t,n&&n instanceof Bo&&n.addChild(this)}return _(e,[{key:"injector",get:function(){return this._debugContext.injector}},{key:"componentInstance",get:function(){return this._debugContext.component}},{key:"context",get:function(){return this._debugContext.context}},{key:"references",get:function(){return this._debugContext.references}},{key:"providerTokens",get:function(){return this._debugContext.providerTokens}}]),e}(),Bo=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this,e,i,r)).properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return _(n,[{key:"addChild",value:function(e){e&&(this.childNodes.push(e),e.parent=this)}},{key:"removeChild",value:function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}},{key:"insertChildrenAfter",value:function(e,t){var n,i=this,r=this.childNodes.indexOf(e);-1!==r&&((n=this.childNodes).splice.apply(n,[r+1,0].concat(u(t))),t.forEach((function(t){t.parent&&t.parent.removeChild(t),e.parent=i})))}},{key:"insertBefore",value:function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return function e(t,n,i){t.childNodes.forEach((function(t){t instanceof Bo&&(n(t)&&i.push(t),e(t,n,i))}))}(this,e,t),t}},{key:"queryAllNodes",value:function(e){var t=[];return function e(t,n,i){t instanceof Bo&&t.childNodes.forEach((function(t){n(t)&&i.push(t),t instanceof Bo&&e(t,n,i)}))}(this,e,t),t}},{key:"triggerEventHandler",value:function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))}},{key:"children",get:function(){return this.childNodes.filter((function(e){return e instanceof n}))}}]),n}(zo),jo=new Map;function Ho(e){return jo.get(e)||null}var qo=Ho;function Uo(e){jo.set(e.nativeNode,e)}var Wo=Ro(null,"core",[{provide:eo,useValue:"unknown"},{provide:Mo,deps:[$t]},{provide:Eo,deps:[]},{provide:no,deps:[]}]);function Ko(){return Xn}function Yo(){return Qn}function Go(e){return e||"en-US"}function Zo(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}var Xo=function e(t){y(this,e)};function Qo(e,t,n,i,r,o){e|=1;var a=Ri(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Fi(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||fi},provider:null,text:null,query:null,ngContent:null}}function $o(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,h=arguments.length>10?arguments[10]:void 0,d=arguments.length>11?arguments[11]:void 0;c||(c=fi);var f=Ri(n),p=f.matchedQueries,m=f.references,v=f.matchedQueryIds,y=null,g=null;if(o){var _=Hi(o),b=l(_,2);y=b[0],g=b[1]}s=s||[];for(var k=[],w=0;w0)u=m,ma(m)||(c=m);else for(;u&&p===u.nodeIndex+u.childCount;){var g=u.parent;g&&(g.childFlags|=u.childFlags,g.childMatchedQueries|=u.childMatchedQueries),c=(u=g)&&ma(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||fi,updateRenderer:i||fi,handleEvent:function(e,n,i,r){return t[n].element.handleEvent(e,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:f}}function ma(e){return 0!=(1&e.flags)&&null===e.element.name}function va(e,t,n){var i=t.element&&t.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index ".concat(t.nodeIndex,"!"))}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ".concat(t.nodeIndex,"!"));if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index ".concat(t.nodeIndex,"!"));if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index ".concat(t.nodeIndex,"!"))}if(t.childCount){var r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index ".concat(t.nodeIndex,"!"))}}function ya(e,t,n,i){var r=ba(e.root,e.renderer,e,t,n);return ka(r,e.component,i),wa(r),r}function ga(e,t,n){var i=ba(e,e.renderer,null,null,t);return ka(i,n,n),wa(i),i}function _a(e,t,n,i){var r,o=t.element.componentRendererType;return r=o?e.root.rendererFactory.createRenderer(i,o):e.root.renderer,ba(e.root,r,e,t.element.componentProvider,n)}function ba(e,t,n,i,r){var o=new Array(r.nodes.length),a=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:a,initIndex:-1}}function ka(e,t,n){e.component=t,e.context=n}function wa(e){var t;Ti(e)&&(t=li(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,i=e.nodes,r=0;r0&&na(e,t,0,n)&&(f=!0),d>1&&na(e,t,1,i)&&(f=!0),d>2&&na(e,t,2,r)&&(f=!0),d>3&&na(e,t,3,o)&&(f=!0),d>4&&na(e,t,4,a)&&(f=!0),d>5&&na(e,t,5,s)&&(f=!0),d>6&&na(e,t,6,l)&&(f=!0),d>7&&na(e,t,7,u)&&(f=!0),d>8&&na(e,t,8,c)&&(f=!0),d>9&&na(e,t,9,h)&&(f=!0),f}(e,t,n,i,r,o,a,s,l,u,c,h);case 2:return function(e,t,n,i,r,o,a,s,l,u,c,h){var d=!1,f=t.bindings,p=f.length;if(p>0&&bi(e,t,0,n)&&(d=!0),p>1&&bi(e,t,1,i)&&(d=!0),p>2&&bi(e,t,2,r)&&(d=!0),p>3&&bi(e,t,3,o)&&(d=!0),p>4&&bi(e,t,4,a)&&(d=!0),p>5&&bi(e,t,5,s)&&(d=!0),p>6&&bi(e,t,6,l)&&(d=!0),p>7&&bi(e,t,7,u)&&(d=!0),p>8&&bi(e,t,8,c)&&(d=!0),p>9&&bi(e,t,9,h)&&(d=!0),d){var m=t.text.prefix;p>0&&(m+=fa(n,f[0])),p>1&&(m+=fa(i,f[1])),p>2&&(m+=fa(r,f[2])),p>3&&(m+=fa(o,f[3])),p>4&&(m+=fa(a,f[4])),p>5&&(m+=fa(s,f[5])),p>6&&(m+=fa(l,f[6])),p>7&&(m+=fa(u,f[7])),p>8&&(m+=fa(c,f[8])),p>9&&(m+=fa(h,f[9]));var v=si(e,t.nodeIndex).renderText;e.renderer.setValue(v,m)}return d}(e,t,n,i,r,o,a,s,l,u,c,h);case 16384:return function(e,t,n,i,r,o,a,s,l,u,c,h){var d=ui(e,t.nodeIndex),f=d.instance,p=!1,m=void 0,v=t.bindings.length;return v>0&&_i(e,t,0,n)&&(p=!0,m=Fr(e,d,t,0,n,m)),v>1&&_i(e,t,1,i)&&(p=!0,m=Fr(e,d,t,1,i,m)),v>2&&_i(e,t,2,r)&&(p=!0,m=Fr(e,d,t,2,r,m)),v>3&&_i(e,t,3,o)&&(p=!0,m=Fr(e,d,t,3,o,m)),v>4&&_i(e,t,4,a)&&(p=!0,m=Fr(e,d,t,4,a,m)),v>5&&_i(e,t,5,s)&&(p=!0,m=Fr(e,d,t,5,s,m)),v>6&&_i(e,t,6,l)&&(p=!0,m=Fr(e,d,t,6,l,m)),v>7&&_i(e,t,7,u)&&(p=!0,m=Fr(e,d,t,7,u,m)),v>8&&_i(e,t,8,c)&&(p=!0,m=Fr(e,d,t,8,c,m)),v>9&&_i(e,t,9,h)&&(p=!0,m=Fr(e,d,t,9,h,m)),m&&f.ngOnChanges(m),65536&t.flags&&ai(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,i,r,o,a,s,l,u,c,h);case 32:case 64:case 128:return function(e,t,n,i,r,o,a,s,l,u,c,h){var d=t.bindings,f=!1,p=d.length;if(p>0&&bi(e,t,0,n)&&(f=!0),p>1&&bi(e,t,1,i)&&(f=!0),p>2&&bi(e,t,2,r)&&(f=!0),p>3&&bi(e,t,3,o)&&(f=!0),p>4&&bi(e,t,4,a)&&(f=!0),p>5&&bi(e,t,5,s)&&(f=!0),p>6&&bi(e,t,6,l)&&(f=!0),p>7&&bi(e,t,7,u)&&(f=!0),p>8&&bi(e,t,8,c)&&(f=!0),p>9&&bi(e,t,9,h)&&(f=!0),f){var m,v=ci(e,t.nodeIndex);switch(201347067&t.flags){case 32:m=[],p>0&&m.push(n),p>1&&m.push(i),p>2&&m.push(r),p>3&&m.push(o),p>4&&m.push(a),p>5&&m.push(s),p>6&&m.push(l),p>7&&m.push(u),p>8&&m.push(c),p>9&&m.push(h);break;case 64:m={},p>0&&(m[d[0].name]=n),p>1&&(m[d[1].name]=i),p>2&&(m[d[2].name]=r),p>3&&(m[d[3].name]=o),p>4&&(m[d[4].name]=a),p>5&&(m[d[5].name]=s),p>6&&(m[d[6].name]=l),p>7&&(m[d[7].name]=u),p>8&&(m[d[8].name]=c),p>9&&(m[d[9].name]=h);break;case 128:var y=n;switch(p){case 1:m=y.transform(n);break;case 2:m=y.transform(i);break;case 3:m=y.transform(i,r);break;case 4:m=y.transform(i,r,o);break;case 5:m=y.transform(i,r,o,a);break;case 6:m=y.transform(i,r,o,a,s);break;case 7:m=y.transform(i,r,o,a,s,l);break;case 8:m=y.transform(i,r,o,a,s,l,u);break;case 9:m=y.transform(i,r,o,a,s,l,u,c);break;case 10:m=y.transform(i,r,o,a,s,l,u,c,h)}}v.value=m}return f}(e,t,n,i,r,o,a,s,l,u,c,h);default:throw"unreachable"}}(e,t,i,r,o,a,s,l,c,h,d,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var i=!1,r=0;r0&&ki(e,t,0,n),d>1&&ki(e,t,1,i),d>2&&ki(e,t,2,r),d>3&&ki(e,t,3,o),d>4&&ki(e,t,4,a),d>5&&ki(e,t,5,s),d>6&&ki(e,t,6,l),d>7&&ki(e,t,7,u),d>8&&ki(e,t,8,c),d>9&&ki(e,t,9,h)}(e,t,i,r,o,a,s,l,u,c,h,d):function(e,t,n){for(var i=0;i0){var o=new Set(e.modules);Ua.forEach((function(t,i){if(o.has(Te(i).providedIn)){var r={token:i,flags:t.flags|(n?4096:0),deps:Pi(t.deps),value:t.value,index:e.providers.length};e.providers.push(r),e.providersByKey[mi(i)]=r}}))}}(e=e.factory((function(){return fi}))),e):e}(i))}var qa=new Map,Ua=new Map,Wa=new Map;function Ka(e){var t;qa.set(e.token,e),"function"==typeof e.token&&(t=Te(e.token))&&"function"==typeof t.providedIn&&Ua.set(e.token,e)}function Ya(e,t){var n=Fi(t.viewDefFactory),i=Fi(n.nodes[0].element.componentView);Wa.set(e,i)}function Ga(){qa.clear(),Ua.clear(),Wa.clear()}function Za(e){if(0===qa.size)return e;var t=function(e){for(var t=[],n=null,i=0;i3?o-3:0),s=3;s3?o-3:0),s=3;s1?t-1:0),i=1;i\n

{{ i }}

\n

disabled: {{ matCarouselSlide.disabled }}

\n \n Click me!\n \n \n '}return Object.defineProperty(e.prototype,"code",{get:function(){return'\n
\n \n '+(this.showContent?this.innerCode:"")+"\n \n
\n "},enumerable:!1,configurable:!0}),e.prototype.toggleTheme=function(){this.darkMode=!this.darkMode;for(var e=0,t=[this.elementRef.nativeElement,this.overlayContainer.getContainerElement()];e1&&void 0!==arguments[1]?arguments[1]:0;return Ss(e)?Number(e):t}function Ss(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Is(e){return Array.isArray(e)?e:[e]}function Ts(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function As(e){return e instanceof Tn?e.nativeElement:e}function Os(){for(var e=arguments.length,t=new Array(e),n=0;n1?Array.prototype.slice.call(arguments):e)}),i,n)}))}var Ps=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r.pending=!1,r}return _(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){d(n,e);var t=v(n);function n(e,i){return y(this,n),t.call(this)}return _(n,[{key:"schedule",value:function(e){return this}}]),n}(E)),Ds=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;y(this,e),this.SchedulerAction=t,this.now=n}return _(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),Ms=function(e){d(n,e);var t=v(n);function n(e){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ds.now;return y(this,n),(i=t.call(this,e,(function(){return n.delegate&&n.delegate!==o(i)?n.delegate.now():r()}))).actions=[],i.active=!1,i.scheduled=void 0,i}return _(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,o):r(i(n.prototype),"schedule",this).call(this,e,t,o)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(Ds),Fs=1,Ns=function(){return Promise.resolve()}(),Vs={};function Ls(e){return e in Vs&&(delete Vs[e],!0)}var zs=function(e){var t=Fs++;return Vs[t]=!0,Ns.then((function(){return Ls(t)&&e()})),t},Bs=function(e){Ls(e)},js=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return _(n,[{key:"requestAsyncId",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==o&&o>0?r(i(n.prototype),"requestAsyncId",this).call(this,e,t,o):(e.actions.push(this),e.scheduled||(e.scheduled=zs(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==o&&o>0||null===o&&this.delay>0)return r(i(n.prototype),"recycleAsyncId",this).call(this,e,t,o);0===e.actions.length&&(Bs(t),e.scheduled=void 0)}}]),n}(Ps),Hs=new(function(e){d(n,e);var t=v(n);function n(){return y(this,n),t.apply(this,arguments)}return _(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i=0}function Qs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return Xs(t)?i=Number(t)<1?1:Number(t):U(t)&&(n=t),U(n)||(n=Ks),new V((function(t){var r=Xs(e)?e:+e-n.now();return n.schedule($s,r,{index:0,period:i,subscriber:t})}))}function $s(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function Js(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ks;return Ys((function(){return Qs(e,t)}))}function el(e,t){return function(n){return n.lift(new tl(e,t))}}var tl=function(){function e(t,n){y(this,e),this.predicate=t,this.thisArg=n}return _(e,[{key:"call",value:function(e,t){return t.subscribe(new nl(e,this.predicate,this.thisArg))}}]),e}(),nl=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.count=0,o}return _(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(P);function il(e){return function(t){return t.lift(new rl(e))}}var rl=function(){function e(t){y(this,e),this.notifier=t}return _(e,[{key:"call",value:function(e,t){var n=new ol(e),i=$(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),ol=function(e){d(n,e);var t=v(n);function n(e){var i;return y(this,n),(i=t.call(this,e)).seenValue=!1,i}return _(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(J);function al(){return le(1)}function sl(){return al()(Os.apply(void 0,arguments))}function ll(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+Tl(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+Tl(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+Tl(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(Al),Pl=function(){var e=function(){function e(t,n){var i=this;y(this,e),this._subject=new Wr,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=Il(Ml(r)),this._platformStrategy.onPopState((function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})}))}return _(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+Tl(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Ml(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Tl(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Tl(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)})))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.normalizeQueryParams=Tl,e.joinWithSlash=Sl,e.stripTrailingSlash=Il,e.\u0275prov=Ie({factory:Dl,token:e,providedIn:"root"}),e}();function Dl(){return new Pl(Ze(Al),Ze(kl))}function Ml(e){return e.replace(/\/index.html$/,"")}var Fl=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Nl=function e(){y(this,e)},Vl=function(e){d(n,e);var t=v(n);function n(e){var i;return y(this,n),(i=t.call(this)).locale=e,i}return _(n,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return function(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=qr(t);if(n)return n;var i=t.split("-")[0];if(n=qr(i))return n;if("en"===i)return jr;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[Ur.PluralCase]}(t||this.locale)(e)){case Fl.Zero:return"zero";case Fl.One:return"one";case Fl.Two:return"two";case Fl.Few:return"few";case Fl.Many:return"many";default:return"other"}}}]),n}(Nl),Ll=function(){function e(t,n,i,r){y(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _(e,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Pe(e.item)));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}},{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(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&&(pn(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),e}(),zl=function(){function e(t,n,i,r){y(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return _(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),Bl=function(){function e(t,n,i){y(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new zl(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new jl(e,o);n.push(a)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var l=new jl(e,s);n.push(l)}}));for(var i=0;i0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];y(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new H,i&&i.length&&(n?i.forEach((function(e){return t._markSelected(e)})):this._markSelected(i[0]),this._selectedToEmit.length=0)}return _(e,[{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),e}(),fu=function(){var e=function(){function e(){y(this,e),this._listeners=[]}return _(e,[{key:"notify",value:function(e,t){var n,i=c(this._listeners);try{for(i.s();!(n=i.n()).done;)(0,n.value)(e,t)}catch(r){i.e(r)}finally{i.f()}}},{key:"listen",value:function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter((function(t){return e!==t}))}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e},token:e,providedIn:"root"}),e}(),pu=function(){var e=function(){function e(t,n,i){y(this,e),this._ngZone=t,this._platform=n,this._scrolled=new H,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return _(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new V((function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(Js(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Os()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(el((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Rs(e._getWindow().document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(mo),Ze(au),Ze(bl,8))},token:e,providedIn:"root"}),e}(),mu=function(){var e=function(){function e(t,n,i){var r=this;y(this,e),this._platform=t,this._document=i,n.runOutsideAngular((function(){var e=r._getWindow();r._change=t.isBrowser?ce(Rs(e,"resize"),Rs(e,"orientationchange")):Os(),r._invalidateCache=r.change().subscribe((function(){return r._updateViewportSize()}))}))}return _(e,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(Js(e)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(au),Ze(mo),Ze(bl,8))},token:e,providedIn:"root"}),e}(),vu=function(){return function e(){y(this,e)}}(),yu=function(){return function e(){y(this,e)}}();function gu(){throw Error("Host already has a portal attached")}var _u=function(){function e(){y(this,e)}return _(e,[{key:"attach",value:function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&gu(),this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),e}(),bu=function(e){d(n,e);var t=v(n);function n(e,i,r,o){var a;return y(this,n),(a=t.call(this)).component=e,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return n}(_u),ku=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=i,o.context=r,o}return _(n,[{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,r(i(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,r(i(n.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),n}(_u),wu=function(e){d(n,e);var t=v(n);function n(e){var i;return y(this,n),(i=t.call(this)).element=e instanceof Tn?e.nativeElement:e,i}return n}(_u),Cu=function(){function e(){y(this,e),this._isDisposed=!1,this.attachDomPortal=null}return _(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&gu(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof bu?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof ku?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof wu?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),xu=function(e){d(n,e);var t=v(n);function n(e,a,s,l,u){var c,h;return y(this,n),(h=t.call(this)).outletElement=e,h._componentFactoryResolver=a,h._appRef=s,h._defaultInjector=l,h.attachDomPortal=function(e){if(!h._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");var a=h._document.createComment("dom-portal");t.parentNode.insertBefore(a,t),h.outletElement.appendChild(t),r((c=o(h),i(n.prototype)),"setDisposeFn",c).call(c,(function(){a.parentNode&&a.parentNode.replaceChild(t,a)}))},h._document=u,h}return _(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(i);-1!==e&&n.remove(e)})),i}},{key:"dispose",value:function(){r(i(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(Cu),Eu=function(){return function(e){d(n,e);var t=v(n);function n(e,a,s){var l,u;return y(this,n),(u=t.call(this))._componentFactoryResolver=e,u._viewContainerRef=a,u._isInitialized=!1,u.attached=new Wr,u.attachDomPortal=function(e){if(!u._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");var a=u._document.createComment("dom-portal");e.setAttachedHost(o(u)),t.parentNode.insertBefore(a,t),u._getRootNode().appendChild(t),r((l=o(u),i(n.prototype)),"setDisposeFn",l).call(l,(function(){a.parentNode&&a.parentNode.replaceChild(t,a)}))},u._document=s,u}return _(n,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){r(i(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=t.createComponent(o,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),r(i(n.prototype),"setDisposeFn",this).call(this,(function(){return a.destroy()})),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var o=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return r(i(n.prototype),"setDisposeFn",this).call(this,(function(){return t._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}},{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&r(i(n.prototype),"detach",this).call(this),e&&r(i(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),n}(Cu)}(),Su=function(){return function e(){y(this,e)}}(),Iu=function(){function e(t,n){y(this,e),this._parentInjector=t,this._customTokens=n}return _(e,[{key:"get",value:function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}]),e}(),Tu=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}();function Au(e){return function(t){return 0===e?fl():t.lift(new Ou(e))}}var Ou=function(){function e(t){if(y(this,e),this.total=t,this.total<0)throw new Tu}return _(e,[{key:"call",value:function(e,t){return t.subscribe(new Ru(e,this.total))}}]),e}(),Ru=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return _(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(P);function Pu(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;it.height||e.scrollWidth>t.width}}]),e}();function Mu(){return Error("Scroll strategy has already been attached.")}var Fu=function(){function e(t,n,i,r){var o=this;y(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run((function(){return o._overlayRef.detach()}))}}return _(e,[{key:"attach",value:function(e){if(this._overlayRef)throw Mu();this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),Nu=function(){function e(){y(this,e)}return _(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function Vu(e,t){return t.some((function(t){return e.bottomt.bottom||e.rightt.right}))}function Lu(e,t){return t.some((function(t){return e.topt.bottom||e.leftt.right}))}var zu=function(){function e(t,n,i,r){y(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return _(e,[{key:"attach",value:function(e){if(this._overlayRef)throw Mu();this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;Vu(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),Bu=function(){var e=function e(t,n,i,r){var o=this;y(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new Nu},this.close=function(e){return new Fu(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new Du(o._viewportRuler,o._document)},this.reposition=function(e){return new zu(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r};return e.\u0275prov=Ie({factory:function(){return new e(Ze(pu),Ze(mu),Ze(mo),Ze(bl))},token:e,providedIn:"root"}),e}(),ju=function e(t){if(y(this,e),this.scrollStrategy=new Nu,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1;i--)if(t[i]._keydownEvents.observers.length>0){t[i]._keydownEvents.next(e);break}},this._document=t}return _(e,[{key:"ngOnDestroy",value:function(){this._detach()}},{key:"add",value:function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}},{key:"_detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(bl))},token:e,providedIn:"root"}),e}(),Yu=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),Gu=function(){var e=function(){function e(t,n){y(this,e),this._platform=n,this._document=t}return _(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||Yu)for(var t=this._document.querySelectorAll(".".concat("cdk-overlay-container",'[platform="server"], ')+".".concat("cdk-overlay-container",'[platform="test"]')),n=0;np&&(p=y,f=v)}}catch(g){m.e(g)}finally{m.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&$u(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+i,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=e.x,o=e.y,a=this._getOffset(i,"x"),s=this._getOffset(i,"y");a&&(r+=a),s&&(o+=s);var l=0-o,u=o+t.height-n.height,c=this._subtractOverflows(t.width,0-r,r+t.width-n.width),h=this._subtractOverflows(t.height,l,u),d=c*h;return{visibleArea:d,isCompletelyWithinViewport:t.width*t.height===d,fitsInViewportVertically:h===t.height,fitsInViewportHorizontally:c==t.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=Ju(this._overlayRef.getConfig().minHeight),a=Ju(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=o&&o<=i)&&(e.fitsInViewportHorizontally||null!=a&&a<=r)}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,o=this._viewportRect,a=Math.max(e.x+t.width-o.right,0),s=Math.max(e.y+t.height-o.bottom,0),l=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0);return this._previousPushAmount={x:i=t.width<=o.width?u||-a:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-h/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)s=l.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)a=e.x,o=l.right-e.x;else{var d=Math.min(l.right-e.x+l.left,e.x),f=this._lastBoundingBoxSize.width;a=e.x-d,(o=2*d)>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-f/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=Ts(n.height),i.top=Ts(n.top),i.bottom=Ts(n.bottom),i.width=Ts(n.width),i.left=Ts(n.left),i.right=Ts(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=Ts(r)),o&&(i.maxWidth=Ts(o))}this._lastBoundingBoxSize=n,$u(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){$u(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){$u(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();$u(n,this._getExactOverlayY(t,e,a)),$u(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=Ts(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=Ts(o.maxWidth):r&&(n.maxWidth="")),$u(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom="".concat(this._document.documentElement.clientHeight-(r.y+this._overlayRect.height),"px"):i.top=Ts(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right="".concat(this._document.documentElement.clientWidth-(r.x+this._overlayRect.width),"px"):i.left=Ts(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:Lu(e,n),isOriginOutsideView:Vu(e,n),isOverlayClipped:Lu(t,n),isOverlayOutsideView:Vu(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),l=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),nc=function(){var e=function(){function e(t,n,i,r){y(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return _(e,[{key:"global",value:function(){return new tc}},{key:"connectedTo",value:function(e,t,n){return new ec(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new Qu(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(mu),Ze(bl),Ze(au),Ze(Gu))},token:e,providedIn:"root"}),e}(),ic=0,rc=function(){return function(){function e(t,n,i,r,o,a,s,l,u,c){y(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=l,this._directionality=u,this._location=c}return _(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new ju(e);return r.direction=r.direction||this._directionality.value,new Zu(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-".concat(ic++),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(No)),new xu(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}()}(),oc=[{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"}],ac=new je("cdk-connected-overlay-scroll-strategy"),sc=function(){return function e(t){y(this,e),this.elementRef=t}}(),lc=function(){return function(){function e(t,n,i,r,o){y(this,e),this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=E.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Wr,this.positionChange=new Wr,this.attach=new Wr,this.detach=new Wr,this.overlayKeydown=new Wr,this._templatePortal=new ku(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return _(e,[{key:"ngOnDestroy",value:function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}},{key:"ngOnChanges",value:function(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())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=oc),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),27!==t.keyCode||Pu(t)||(t.preventDefault(),e._detachOverlay())}))}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new ju({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map((function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}}));return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}},{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=xs(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=xs(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=xs(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=xs(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=xs(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),e}()}();function uc(e){return function(){return e.scrollStrategies.reposition()}}var cc=function(){return function e(){y(this,e)}}(),hc=function e(){y(this,e)},dc=function e(){y(this,e)};function fc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function pc(e){return{type:6,styles:e,offset:null}}function mc(e){Promise.resolve(null).then(e)}var vc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;y(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}return _(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;mc((function(){return e._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),yc=function(){function e(t){var n=this;y(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,r=0,o=0,a=this.players.length;0==a?mc((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++i==a&&n._onFinish()})),e.onDestroy((function(){++r==a&&n._onDestroy()})),e.onStart((function(){++o==a&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return _(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(e){return e.init()}))}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))}},{key:"pause",value:function(){this.players.forEach((function(e){return e.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(e){return e.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}},{key:"getPosition",value:function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e}},{key:"beforeDestroy",value:function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}();function gc(){}function _c(e,t,n){return function(i){return i.lift(new bc(e,t,n))}}var bc=function(){function e(t,n,i){y(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return _(e,[{key:"call",value:function(e,t){return t.subscribe(new kc(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),kc=function(e){d(n,e);var t=v(n);function n(e,i,r,a){var s;return y(this,n),(s=t.call(this,e))._tapNext=gc,s._tapError=gc,s._tapComplete=gc,s._tapError=r||gc,s._tapComplete=a||gc,C(i)?(s._context=o(s),s._tapNext=i):i&&(s._context=i,s._tapNext=i.next||gc,s._tapError=i.error||gc,s._tapComplete=i.complete||gc),s}return _(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(P);function wc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ks;return function(n){return n.lift(new Cc(e,t))}}var Cc=function(){function e(t,n){y(this,e),this.dueTime=t,this.scheduler=n}return _(e,[{key:"call",value:function(e,t){return t.subscribe(new xc(e,this.dueTime,this.scheduler))}}]),e}(),xc=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return _(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Ec,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(P);function Ec(e){e.debouncedNext()}function Sc(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var Ic=0,Tc=new Map,Ac=null,Oc=function(){var e=function(){function e(t){y(this,e),this._document=t}return _(e,[{key:"describe",value:function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Tc.set(t,{messageElement:t,referenceCount:0})):Tc.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}},{key:"removeDescription",value:function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var n=Tc.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t)}Ac&&0===Ac.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[".concat("cdk-describedby-host","]")),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}}))}return _(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(_c((function(t){return e._pressedLetters.push(t)})),wc(t),el((function(){return e._pressedLetters.length>0})),ee((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),i=1;i-1}));switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||Pu(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Yr?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),e}(),Pc=function(e){d(n,e);var t=v(n);function n(){return y(this,n),t.apply(this,arguments)}return _(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),r(i(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(Rc),Dc=function(e){d(n,e);var t=v(n);function n(){var e;return y(this,n),(e=t.apply(this,arguments))._origin="program",e}return _(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){r(i(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(Rc);"undefined"!=typeof Element&∈var Mc=new je("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Fc=new je("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Nc=function(){var e=function(){function e(t,n,i,r){y(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return _(e,[{key:"announce",value:function(e){for(var t,n,i=this,r=this._defaultOptions,o=arguments.length,a=new Array(o>1?o-1:0),s=1;s1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return Os(null);var n=As(e),i=hu(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject.asObservable();var o={checkChildren:t,subject:new H,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=As(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var i=As(e);this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout((function(){return t._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(e){var t=jc(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===jc(e))){var i=this._getFocusOrigin(e);this._setClasses(t,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,zc),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,zc)})),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,zc),e.addEventListener("mousedown",t._documentMousedownListener,zc),e.addEventListener("touchstart",t._documentTouchstartListener,zc),n.addEventListener("focus",t._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,zc),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zc),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,zc),i.removeEventListener("mousedown",this._documentMousedownListener,zc),i.removeEventListener("touchstart",this._documentTouchstartListener,zc),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(mo),Ze(au),Ze(bl,8),Ze(Lc,8))},token:e,providedIn:"root"}),e}();function jc(e){return e.composedPath?e.composedPath()[0]:e.target}var Hc,qc=function(){var e=function(){function e(t,n){y(this,e),this._platform=t,this._document=n}return _(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(au),Ze(bl))},token:e,providedIn:"root"}),e}(),Uc=function(){return function e(t){y(this,e),t._applyBodyHighContrastModeCssClasses()}}(),Wc={},Kc=function(){function e(t){y(this,e),this.resultSelector=t}return _(e,[{key:"call",value:function(e,t){return t.subscribe(new Yc(e,this.resultSelector))}}]),e}(),Yc=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this,e)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return _(n,[{key:"_next",value:function(e){this.values.push(Wc),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;nthis.total&&this.destination.next(e)}}]),n}(P),Xc=new Set,Qc=function(){var e=function(){function e(t){y(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$c}return _(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!Xc.has(e))try{Hc||((Hc=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Hc)),Hc.sheet&&(Hc.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),Xc.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(au))},token:e,providedIn:"root"}),e}();function $c(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var Jc=function(){var e=function(){function e(t,n){y(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new H}return _(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return eh(Is(e)).some((function(e){return t._registerQuery(e).mql.matches}))}},{key:"observe",value:function(e){var t=this,n=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:e,action:t},i.announcementMessage||(i.announcementMessage=e),this.openFromComponent(oh,i)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(e,t){var n=new Iu(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[rh,t]])),i=new bu(ah,t.viewContainerRef,n),r=e.attach(i);return r.instance.snackBarConfig=t,r.instance}},{key:"_attach",value:function(e,t){var n=Object.assign(Object.assign(Object.assign({},new rh),this._defaultConfig),t),i=this._createOverlay(n),r=this._attachSnackBarContainer(i,n),o=new nh(r,i);if(e instanceof $n){var a=new ku(e,null,{$implicit:n.data,snackBarRef:o});o.instance=r.attachTemplatePortal(a)}else{var s=this._createInjector(n,o),l=new bu(e,void 0,s),u=r.attachComponentPortal(l);o.instance=u.instance}return this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait)").pipe(il(i.detachments())).subscribe((function(e){var t=i.overlayElement.classList;e.matches?t.add("mat-snack-bar-handset"):t.remove("mat-snack-bar-handset")})),this._animateSnackBar(o,n),this._openedSnackBarRef=o,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(e,t){var n=this;e.afterDismissed().subscribe((function(){n._openedSnackBarRef==e&&(n._openedSnackBarRef=null),t.announcementMessage&&n._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){e.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe((function(){return e._dismissAfter(t.duration)})),t.announcementMessage&&this._live.announce(t.announcementMessage,t.politeness)}},{key:"_createOverlay",value:function(e){var t=new ju;t.direction=e.direction;var n=this._overlay.position().global(),i="rtl"===e.direction,r="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!i||"end"===e.horizontalPosition&&i,o=!r&&"center"!==e.horizontalPosition;return r?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}},{key:"_createInjector",value:function(e,t){return new Iu(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[nh,t],[ih,e.data]]))}},{key:"_openedSnackBarRef",get:function(){var e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(rc),Ze(Nc),Ze(He),Ze(Jc),Ze(e,12),Ze(lh))},token:e,providedIn:sh}),e}(),ch=new je("cdk-dir-doc",{providedIn:"root",factory:function(){return Xe(bl)}}),hh=function(){var e=function(){function e(t){if(y(this,e),this.value="ltr",this.change=new Wr,t){var n=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===n||"rtl"===n?n:"ltr"}}return _(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(ch,8))},token:e,providedIn:"root"}),e}(),dh=function(){return function e(){y(this,e)}}(),fh=new Fn("10.0.1"),ph=new Fn("10.0.1"),mh=new je("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),vh=function(){return function(){function e(t,n,i){y(this,e),this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _(e,[{key:"_getDocument",value:function(){var e=this._document||document;return"object"==typeof e&&e?e:null}},{key:"_getWindow",value:function(){var e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return wt()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(!e&&t&&t.body&&"function"==typeof getComputedStyle){var n=t.createElement("div");n.classList.add("mat-theme-loaded-marker"),t.body.appendChild(n);var i=getComputedStyle(n);i&&"none"!==i.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&ph.full!==fh.full&&console.warn("The Angular Material version ("+ph.full+") does not match the Angular CDK version ("+fh.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()}();function yh(e){return function(e){d(n,e);var t=v(n);function n(){var e;y(this,n);for(var i=arguments.length,r=new Array(i),o=0;o1&&void 0!==arguments[1]?arguments[1]:0;return function(e){d(i,e);var n=v(i);function i(){var e;y(this,i);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},xh),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var a=i.radius||Oh(e,t,r),s=e-r.left,l=t-r.top,u=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left="".concat(s-a,"px"),c.style.top="".concat(l-a,"px"),c.style.height="".concat(2*a,"px"),c.style.width="".concat(2*a,"px"),null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(u,"ms"),this._containerElement.appendChild(c),Ah(c),c.style.transform="scale(1)";var h=new Ch(this,c,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone((function(){var e=h===n._mostRecentTransientRipple;h.state=1,i.persistent||e&&n._isPointerDown||h.fadeOut()}),u),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},xh),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone((function(){e.state=3,n.parentNode.removeChild(n)}),i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(e){return e.fadeOut()}))}},{key:"setupTriggerEvents",value:function(e){var t=As(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(Sh))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Ih),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=Vc(e),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(e,t)}))}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){e.forEach((function(e){t._triggerElement.addEventListener(e,t,Eh)}))}))}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(Sh.forEach((function(t){e._triggerElement.removeEventListener(t,e,Eh)})),this._pointerUpEventsRegistered&&Ih.forEach((function(t){e._triggerElement.removeEventListener(t,e,Eh)})))}}]),e}();function Ah(e){window.getComputedStyle(e).getPropertyValue("opacity")}function Oh(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}var Rh=new je("mat-ripple-global-options"),Ph=function(){return function(){function e(t,n,i,r,o){y(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Th(this,n,t,i)}return _(e,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),e}()}(),Dh=function(){return function e(){y(this,e)}}(),Mh=function(){return function e(t){y(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1}}(),Fh=function(){return function e(){y(this,e)}}(),Nh=yh((function e(){y(this,e)})),Vh=0,Lh=function(){return function(e){d(n,e);var t=v(n);function n(){var e;return y(this,n),(e=t.apply(this,arguments))._labelId="mat-optgroup-label-".concat(Vh++),e}return n}(Nh)}(),zh=0,Bh=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y(this,e),this.source=t,this.isUserInput=n},jh=new je("MAT_OPTION_PARENT_COMPONENT"),Hh=function(){return function(){function e(t,n,i,r){y(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(zh++),this.onSelectionChange=new Wr,this._stateChanges=new H}return _(e,[{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){13!==e.keyCode&&32!==e.keyCode||Pu(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new Bh(this,e))}},{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=xs(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}}]),e}()}();function qh(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),o=0,a=0;a0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),e,t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},Be.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Be.getAllAngularRootElements=function(){return e.getAllRootElements()},Be.frameworkStabilizers||(Be.frameworkStabilizers=[]),Be.frameworkStabilizers.push((function(e){var t=Be.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach((function(e){e.whenStable(r)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?gl().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,So=t}}]),e}();function nd(e,t){"undefined"!=typeof COMPILED&&COMPILED||((Be.ng=Be.ng||{})[e]=t)}var id=function(){return{ApplicationRef:No,NgZone:mo}}();function rd(e){return Ho(e)}var od=new je("EventManagerPlugins"),ad=function(){function e(t,n){var i=this;y(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=i})),this._plugins=t.slice().reverse()}return _(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1}}]),n}(sd),Sd=function e(){y(this,e)},Id=["alt","control","meta","shift"],Td={"\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"},Ad={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Od={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Rd=function(e){d(n,e);var t=v(n);function n(e){return y(this,n),t.call(this,e)}return _(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,i){var r=n.parseEventName(t),o=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return gl().onAndCancel(e,r.domEventName,o)}))}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),i=t.shift();if(0===t.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(t.pop()),o="";if(Id.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")})),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ad.hasOwnProperty(t)&&(t=Ad[t]))}return Td[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Id.forEach((function(i){i!=n&&(0,Od[i])(e)&&(t+=i+".")})),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded((function(){return t(r)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(sd),Pd=function(){var e=function e(){y(this,e)};return e.\u0275prov=Ie({factory:function(){return Ze(Dd)},token:e,providedIn:"root"}),e}(),Dd=function(){var e=function(e){d(n,e);var t=v(n);function n(e){var i;return y(this,n),(i=t.call(this))._doc=e,i}return _(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case Wt.NONE:return t;case Wt.HTML:return gt(t,"HTML")?yt(t):function(e,t){var n=null;try{Ot=Ot||function(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(U_){return!1}}()?new Ct:new xt(e)}(e);var i=t?String(t):"";n=Ot.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Ot.getInertBodyElement(i)}while(i!==o);var a=new Bt,s=a.sanitizeChildren(Ut(n)||n);return wt()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=Ut(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(t));case Wt.STYLE:return gt(t,"Style")?yt(t):t;case Wt.SCRIPT:if(gt(t,"Script"))return yt(t);throw new Error("unsafe value used in a script context");case Wt.URL:return _t(t),gt(t,"URL")?yt(t):It(String(t));case Wt.RESOURCE_URL:if(gt(t,"ResourceURL"))return yt(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return new dt(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new ft(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new pt(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new mt(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new vt(e)}}]),n}(Pd);return e.\u0275prov=Ie({factory:function(){return e=Ze(He),new Dd(e.get(bl));var e},token:e,providedIn:"root"}),e}();function Md(){return new ct}var Fd=Ro(Wo,"browser",[{provide:eo,useValue:"browser"},{provide:Jr,useValue:function(){Qh.makeCurrent(),td.init()},multi:!0},{provide:bl,useFactory:function(){return document,document},deps:[]}]),Nd=function(){function e(t){if(y(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:Xr,useValue:t.appId},{provide:Jh,useExisting:Xr},ed]}}}]),e}();function Vd(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ld(e){switch(e.length){case 0:return new vc;case 1:return e[0];default:return new yc(e)}}function zd(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],l=-1,u=null;if(i.forEach((function(e){var n=e.offset,i=n==l,c=i&&u||{};Object.keys(e).forEach((function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),s){case"!":s=r[n];break;case"*":s=o[n];break;default:s=t.normalizeStyleValue(n,i,s,a)}c[i]=s})),i||s.push(c),u=c,l=n})),a.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(a.join(c)))}return s}function Bd(e,t,n,i){switch(t){case"start":e.onStart((function(){return i(n&&jd(n,"start",e))}));break;case"done":e.onDone((function(){return i(n&&jd(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return i(n&&jd(n,"destroy",e))}))}}function jd(e,t,n){var i=n.totalTime,r=Hd(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function Hd(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function qd(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function Ud(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}"undefined"!=typeof window&&window;var Wd=function(e,t){return!1},Kd=function(e,t){return!1},Yd=function(e,t,n){return[]},Gd=Vd();(Gd||"undefined"!=typeof Element)&&(Wd=function(e,t){return e.contains(t)},Kd=function(){if(Gd||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:Kd}(),Yd=function(e,t,n){var i=[];if(n)i.push.apply(i,u(e.querySelectorAll(t)));else{var r=e.querySelector(t);r&&i.push(r)}return i});var Zd=null,Xd=!1;function Qd(e){Zd||(Zd=("undefined"!=typeof document?document.body:null)||{},Xd=!!Zd.style&&"WebkitAppearance"in Zd.style);var t=!0;return Zd.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in Zd.style)&&Xd&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Zd.style),t}var $d=Kd,Jd=Wd,ef=Yd;function tf(e){var t={};return Object.keys(e).forEach((function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]})),t}var nf=function(){function e(){y(this,e)}return _(e,[{key:"validateStyleProperty",value:function(e){return Qd(e)}},{key:"matchesElement",value:function(e,t){return $d(e,t)}},{key:"containsElement",value:function(e,t){return Jd(e,t)}},{key:"query",value:function(e,t,n){return ef(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,i,r){return new vc(n,i)}}]),e}(),rf=function(){var e=function e(){y(this,e)};return e.NOOP=new nf,e}();function of(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:af(parseFloat(t[1]),t[2])}function af(e,t){switch(t){case"s":return 1e3*e;default:return e}}function sf(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,r=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};i=af(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(r=af(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else i=e;if(!n){var u=!1,c=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:i,delay:r,easing:o}}(e,t,n)}function lf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function uf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else lf(e,n);return n}function cf(e,t,n){return n?t+":"+n+";":""}function hf(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=r[1],a=r[2],s=r[3];t.push(If(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(If(s,o))}(e,r,i)})):r.push(n),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:Df(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return Cf(n,e,t)})),options:Df(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,o=e.steps.map((function(e){t.currentTime=i;var o=Cf(n,e,t);return r=Math.max(r,t.currentTime),o}));return t.currentTime=r,{type:3,steps:o,options:Df(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return Mf(sf(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var r=Mf(0,0,"");return r.dynamic=!0,r.strValue=i,r}return Mf((n=n||sf(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:pc({});if(5==r.type)n=this.visitKeyframes(r,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};i.easing&&(s.easing=i.easing),o=pc(s)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?"*"==e?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var i=!1,r=null;return n.forEach((function(e){if(Pf(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(i){if(n._driver.validateStyleProperty(i)){var a,s,l,u=t.collectedStyles[t.currentQuerySelector],c=u[i],h=!0;c&&(o!=r&&o>=c.startTime&&r<=c.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(c.startTime,'ms" and "').concat(c.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),h=!1),o=c.startTime),h&&(u[i]={startTime:o,endTime:r}),t.options&&(a=t.errors,s=t.options.params||{},(l=vf(e[i])).length&&l.forEach((function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))})))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,l=0,u=e.steps.map((function(e){var i=n._makeStyleAst(e,t),u=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(Pf(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(Pf(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),s=s||c<0||c>1,a=a||c0&&r0?r==d?1:h*r:o[r],s=a*m;t.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)})),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:Cf(this,pf(e.animation),t),options:Df(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:Df(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Df(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=l(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(Tf,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=r[0],a=r[1];t.currentQuerySelector=n.length?n+" "+o:o,qd(t.collectedStyles,t.currentQuerySelector,{});var s=Cf(this,pf(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Df(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:sf(e.timings,t.errors,!0);return{type:12,animation:Cf(this,pf(e.animation),t),timings:n,options:null}}}]),e}(),Rf=function e(t){y(this,e),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={},this.options=null};function Pf(e){return!Array.isArray(e)&&"object"==typeof e}function Df(e){var t;return e?(e=lf(e)).params&&(e.params=(t=e.params)?lf(t):null):e={},e}function Mf(e,t,n){return{duration:e,delay:t,easing:n}}function Ff(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var Nf=function(){function e(){y(this,e),this._map=new Map}return _(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,u(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),Vf=new RegExp(":enter","g"),Lf=new RegExp(":leave","g");function zf(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new Bf).buildKeyframes(e,t,n,i,r,o,a,s,l,u)}var Bf=function(){function e(){y(this,e)}return _(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,o,a,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new Nf;var c=new Hf(e,t,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Cf(this,n,c);var h=c.timelines.filter((function(e){return e.containsAnimation()}));if(h.length&&Object.keys(a).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,c.errors,s)}return h.length?h.map((function(e){return e.buildKeyframes()})):[Ff(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?of(n.duration):null,o=null!=n.delay?of(n.delay):null;return 0!==r&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)})),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),Cf(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=jf);var a=of(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return Cf(n,e,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?of(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),Cf(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)})),i.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return sf(t.params?yf(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach((function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?of(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=jf);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach((function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(l=s.currentTimeline),Cf(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Cf(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),e}(),jf={},Hf=function(){function e(t,n,i,r,o,a,s,l){y(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=jf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new qf(this._driver,n,0),s.push(this.currentTimeline)}return _(e,[{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=of(i.duration)),null!=i.delay&&(r.delay=of(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(e){t&&a.hasOwnProperty(e)||(a[e]=yf(o[e],a,n.errors))}))}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new e(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}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=jf,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Uf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,o){var a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(Vf,"."+this._enterClassName)).replace(Lf,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,u(s))}return r||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}},{key:"params",get:function(){return this.options.params}}]),e}(),qf=function(){function e(t,n,i,r){y(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||"*",t._currentKeyframe[e]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var o=i&&i.params||{},a=function(e,t){var n,i={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){i[e]="*"})):uf(e,!1,i)})),i}(e,this._globalTimelineStyles);Object.keys(a).forEach((function(e){var t=yf(a[e],o,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:"*"),r._updateStyle(e,t)}))}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)}))}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach((function(o,a){var s=uf(o,!0);Object.keys(s).forEach((function(e){var i=s[e];"!"==i?t.add(e):"*"==i&&n.add(e)})),i||(s.offset=a/e.duration),r.push(s)}));var o=t.size?gf(t.values()):[],a=n.size?gf(n.values()):[];if(i){var s=r[0],l=lf(s);s.offset=0,l.offset=1,r=[s,l]}return Ff(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),Uf=function(e){d(n,e);var t=v(n);function n(e,i,r,o,a,s){var l,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return y(this,n),(l=t.call(this,e,i,s.delay)).element=i,l.keyframes=r,l.preStyleProps=o,l.postStyleProps=a,l._stretchStartingKeyframe=u,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return _(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,l=uf(e[0],!1);l.offset=0,o.push(l);var u=uf(e[0],!1);u.offset=Wf(s),o.push(u);for(var c=e.length-1,h=1;h<=c;h++){var d=uf(e[h],!1);d.offset=Wf((n+d.offset*i)/a),o.push(d)}i=a,n=0,r="",e=o}return Ff(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(qf);function Wf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var Kf=function e(){y(this,e)},Yf=function(e){d(n,e);var t=v(n);function n(){return y(this,n),t.apply(this,arguments)}return _(n,[{key:"normalizePropertyName",value:function(e,t){return bf(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",o=n.toString().trim();if(Gf[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+r}}]),n}(Kf),Gf=function(){return e="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".split(","),t={},e.forEach((function(e){return t[e]=!0})),t;var e,t}();function Zf(e,t,n,i,r,o,a,s,l,u,c,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}var Xf={},Qf=function(){function e(t,n,i){y(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return _(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some((function(e){return e(t,n,i,r)}))}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,i,r,o,a,s,l,u){var c=[],h=this.ast.options&&this.ast.options.params||Xf,d=this.buildStyles(n,a&&a.params||Xf,c),f=s&&s.params||Xf,p=this.buildStyles(i,f,c),m=new Set,v=new Map,y=new Map,g="void"===i,_={params:Object.assign(Object.assign({},h),f)},b=u?[]:zf(e,t,this.ast.animation,r,o,d,p,_,l,c),k=0;if(b.forEach((function(e){k=Math.max(e.duration+e.delay,k)})),c.length)return Zf(t,this._triggerName,n,i,g,d,p,[],[],v,y,k,c);b.forEach((function(e){var n=e.element,i=qd(v,n,{});e.preStyleProps.forEach((function(e){return i[e]=!0}));var r=qd(y,n,{});e.postStyleProps.forEach((function(e){return r[e]=!0})),n!==t&&m.add(n)}));var w=gf(m.values());return Zf(t,this._triggerName,n,i,g,d,p,b,w,v,y,k)}}]),e}(),$f=function(){function e(t,n){y(this,e),this.styles=t,this.defaultParams=n}return _(e,[{key:"buildStyles",value:function(e,t){var n={},i=lf(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(i[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach((function(e){var o=r[e];o.length>1&&(o=yf(o,i,t)),n[e]=o}))}})),n}}]),e}(),Jf=function(){function e(t,n){var i=this;y(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){i.states[e.name]=new $f(e.style,e.options&&e.options.params||{})})),ep(this.states,"true","1"),ep(this.states,"false","0"),n.transitions.forEach((function(e){i.transitionFactories.push(new Qf(t,e,i.states))})),this.fallbackTransition=new Qf(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _(e,[{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find((function(r){return r.match(e,t,n,i)}))||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function ep(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var tp=new Nf,np=function(){function e(t,n,i){y(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _(e,[{key:"register",value:function(e,t){var n=[],i=Af(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=zd(this._driver,this._normalizer,i,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[e],s=new Map;if(a?(n=zf(this._driver,t,a,"ng-enter","ng-leave",{},{},r,tp,o)).forEach((function(e){var t=qd(s,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));s.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=i._driver.computeStyle(t,n,"*")}))}));var l=n.map((function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)})),u=Ld(l);return this._playersById[e]=u,u.onDestroy((function(){return i.destroy(e)})),this.players.push(u),u}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=Hd(t,"","","");return Bd(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),ip=[],rp={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},op={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ap=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";y(this,e),this.namespaceId=n;var i=t&&t.hasOwnProperty("value"),r=i?t.value:t;if(this.value=hp(r),i){var o=lf(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _(e,[{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}}},{key:"params",get:function(){return this.options.params}}]),e}(),sp=new ap("void"),lp=function(){function e(t,n,i){y(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,vp(n,this._hostClassName)}return _(e,[{key:"listen",value:function(e,t,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=qd(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var l=qd(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(vp(e,"ng-trigger"),vp(e,"ng-trigger-"+t),l[t]=sp),function(){o._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete l[t]}))}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new cp(this.id,t,e),s=this._engine.statesByElement.get(e);s||(vp(e,"ng-trigger"),vp(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new ap(n,this.id),c=n&&n.hasOwnProperty("value");!c&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=sp);var h="void"===u.value;if(h||l.value!==u.value){var d=qd(this._engine.playersByElement,e,[]);d.forEach((function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()}));var f=o.matchTransition(l.value,u.value,e,u.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:l,toState:u,player:a,isFallbackTransition:p}),p||(vp(e,"ng-animate-queued"),a.onStart((function(){yp(e,"ng-animate-queued")}))),a.onDone((function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}})),this.players.push(a),d.push(a),a}if(!_p(l.params,u.params)){var m=[],v=o.matchStyles(l.value,l.params,m),y=o.matchStyles(u.value,u.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush((function(){ff(e,v),df(e,y)}))}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach((function(t,n){delete t[e]})),this._elementListeners.forEach((function(n,i){t._elementListeners.set(i,n.filter((function(t){return t.name!=e})))}))}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach((function(e){return e.destroy()})),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,i=this._engine.driver.query(e,".ng-trigger",!0);i.forEach((function(e){if(!e.__ng_removed){var i=n._engine.fetchNamespacesByElement(e);i.size?i.forEach((function(n){return n.triggerLeaveAnimation(e,t,!1,!0)})):n.clearElementCache(e)}})),this._engine.afterFlushAnimationsDone((function(){return i.forEach((function(e){return n.clearElementCache(e)}))}))}},{key:"triggerLeaveAnimation",value:function(e,t,n,i){var r=this,o=this._engine.statesByElement.get(e);if(o){var a=[];if(Object.keys(o).forEach((function(t){if(r._triggers[t]){var n=r.trigger(e,t,"void",i);n&&a.push(n)}})),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&Ld(a).onDone((function(){return r._engine.processLeaveNode(e)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e);if(n){var i=new Set;n.forEach((function(n){var r=n.name;if(!i.has(r)){i.add(r);var o=t._triggers[r].fallbackTransition,a=t._engine.statesByElement.get(e)[r]||sp,s=new ap("void"),l=new cp(t.id,r,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:r,transition:o,fromState:a,toState:s,player:l,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(e,t){var n=this,i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var r=!1;if(i.totalAnimations){var o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else for(var a=e;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==rp||(i.afterFlush((function(){return n.clearElementCache(e)})),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){vp(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach((function(i){var r=i.player;if(!r.destroyed){var o=i.element,a=t._elementListeners.get(o);a&&a.forEach((function(t){if(t.name==i.triggerName){var n=Hd(o,i.triggerName,i.fromState.value,i.toState.value);n._data=e,Bd(i.player,t.phase,n,t.callback)}})),r.markedForDestroy?t._engine.afterFlush((function(){r.destroy()})):n.push(i)}})),this._queue=[],n.sort((function(e,n){var i=e.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:t._engine.driver.containsElement(e.element,n.element)?1:-1}))}},{key:"destroy",value:function(e){this.players.forEach((function(e){return e.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find((function(t){return t.element===e}))||t}}]),e}(),up=function(){function e(t,n,i){y(this,e),this.bodyNode=t,this.driver=n,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=function(e,t){}}return _(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"createNamespace",value:function(e,t){var n=new lp(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(t)}))}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),vp(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),yp(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(dp(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return dp(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise((function(t){if(e.players.length)return Ld(e.players).onDone((function(){return t()}));t()}))}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=rp,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;I--)this._namespaceList[I].drainQueuedTransitions(t).forEach((function(e){var t=e.player,o=e.element;if(E.push(t),n.collectedEnterElements.length){var u=o.__ng_removed;if(u&&u.setForMove)return void t.destroy()}var h=!d||!n.driver.containsElement(d,o),f=C.get(o),p=m.get(o),v=n._buildInstruction(e,i,p,f,h);if(v.errors&&v.errors.length)S.push(v);else{if(h)return t.onStart((function(){return ff(o,v.fromStyles)})),t.onDestroy((function(){return df(o,v.toStyles)})),void r.push(t);if(e.isFallbackTransition)return t.onStart((function(){return ff(o,v.fromStyles)})),t.onDestroy((function(){return df(o,v.toStyles)})),void r.push(t);v.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),i.append(o,v.timelines),a.push({instruction:v,player:t,element:o}),v.queriedElements.forEach((function(e){return qd(s,e,[]).push(t)})),v.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var i=l.get(t);i||l.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))}})),v.postStyleProps.forEach((function(e,t){var n=Object.keys(e),i=c.get(t);i||c.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))}))}}));if(S.length){var T=[];S.forEach((function(e){T.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return T.push("- ".concat(e,"\n"))}))})),E.forEach((function(e){return e.destroy()})),this.reportError(T)}var A=new Map,O=new Map;a.forEach((function(e){var t=e.element;i.has(t)&&(O.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,A))})),r.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){qd(A,t,[]).push(e),e.destroy()}))}));var R=y.filter((function(e){return bp(e,l,c)})),P=new Map;pp(P,this.driver,_,c,"*").forEach((function(e){bp(e,l,c)&&R.push(e)}));var D=new Map;p.forEach((function(e,t){pp(D,n.driver,new Set(e),l,"!")})),R.forEach((function(e){var t=P.get(e),n=D.get(e);P.set(e,Object.assign(Object.assign({},t),n))}));var M=[],F=[],N={};a.forEach((function(e){var t=e.element,a=e.player,s=e.instruction;if(i.has(t)){if(h.has(t))return a.onDestroy((function(){return df(t,s.toStyles)})),a.disabled=!0,a.overrideTotalTime(s.totalTime),void r.push(a);var l=N;if(O.size>1){for(var u=t,c=[];u=u.parentNode;){var d=O.get(u);if(d){l=d;break}c.push(u)}c.forEach((function(e){return O.set(e,l)}))}var f=n._buildAnimation(a.namespaceId,s,A,o,D,P);if(a.setRealPlayer(f),l===N)M.push(a);else{var p=n.playersByElement.get(l);p&&p.length&&(a.parentPlayer=Ld(p)),r.push(a)}}else ff(t,s.fromStyles),a.onDestroy((function(){return df(t,s.toStyles)})),F.push(a),h.has(t)&&r.push(a)})),F.forEach((function(e){var t=o.get(e.element);if(t&&t.length){var n=Ld(t);e.setRealPlayer(n)}})),r.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var V=0;V0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new vc(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}}]),e}(),cp=function(){function e(t,n,i){y(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new vc,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return Bd(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))}},{key:"_queueEvent",value:function(e,t){qd(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function hp(e){return null!=e?e:null}function dp(e){return e&&1===e.nodeType}function fp(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function pp(e,t,n,i,r){var o=[];n.forEach((function(e){return o.push(fp(e))}));var a=[];i.forEach((function(n,i){var o={};n.forEach((function(e){var n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=op,a.push(i))})),e.set(i,o)}));var s=0;return n.forEach((function(e){return fp(e,o[s++])})),a}function mp(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var i=new Set(t),r=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var o=r.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:i.has(a)?1:e(a),r.set(t,o),o}(e);1!==t&&n.get(t).push(e)})),n}function vp(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function yp(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function gp(e,t,n){Ld(n).onDone((function(){return e.processLeaveNode(t)}))}function _p(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function wp(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=xp(t[0]),t.length>1&&(i=xp(t[t.length-1]))):t&&(n=xp(t)),n||i?new Cp(e,n,i):null}var Cp=function(){var e=function(){function e(t,n,i){y(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return _(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&df(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(df(this._element,this._initialStyles),this._endStyles&&(df(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(ff(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ff(this._element,this._endStyles),this._endStyles=null),df(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function xp(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Op(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(i=Ap(n=Pp(e=this._element,"").split(","),t))>=0&&(n.splice(i,1),Rp(e,"",n.join(","))))}}]),e}();function Ip(e,t,n){Rp(e,"PlayState",n,Tp(e,t))}function Tp(e,t){var n=Pp(e,"");return n.indexOf(",")>0?Ap(n.split(","),t):Ap([n],t)}function Ap(e,t){for(var n=0;n=0)return n;return-1}function Op(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Rp(e,t,n,i){var r="animation"+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function Pp(e,t){return e.style["animation"+t]}var Dp=function(){function e(t,n,i,r,o,a,s,l){y(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return _(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Sp(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:xf(e.element,i))}))}this.currentSnapshot=t}}]),e}(),Mp=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=tf(i),r}return _(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),r(i(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),r(i(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,r(i(n.prototype),"destroy",this).call(this))}}]),n}(vc),Fp=function(){function e(){y(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return _(e,[{key:"validateStyleProperty",value:function(e){return Qd(e)}},{key:"matchesElement",value:function(e,t){return $d(e,t)}},{key:"containsElement",value:function(e,t){return Jd(e,t)}},{key:"query",value:function(e,t,n){return ef(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map((function(e){return tf(e)}));var i="@keyframes ".concat(t," {\n"),r="";n.forEach((function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}})),i+="".concat(r,"}\n")})),i+="}\n";var o=document.createElement("style");return o.innerHTML=i,o}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;a&&this._notifyFaultyScrubber();var s=o.filter((function(e){return e instanceof Dp})),l={};kf(n,i)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))}));var u=Np(t=wf(e,t,l));if(0==n)return new Mp(e,u);var c="".concat("gen_css_kf_").concat(this._count++),h=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(h);var d=wp(e,t),f=new Dp(e,t,c,n,i,r,u,d);return f.onDestroy((function(){return Vp(h)})),f}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}();function Np(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}function Vp(e){e.parentNode.removeChild(e)}var Lp=function(){function e(t,n,i,r){y(this,e),this.element=t,this.keyframes=n,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.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return _(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:xf(e.element,n))})),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),zp=function(){function e(){y(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Bp().toString()),this._cssKeyframesDriver=new Fp}return _(e,[{key:"validateStyleProperty",value:function(e){return Qd(e)}},{key:"matchesElement",value:function(e,t){return $d(e,t)}},{key:"containsElement",value:function(e,t){return Jd(e,t)}},{key:"query",value:function(e,t,n){return ef(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0,s=!a&&!this._isNativeImpl;if(s)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);var l=0==i?"both":"forwards",u={duration:n,delay:i,fill:l};r&&(u.easing=r);var c={},h=o.filter((function(e){return e instanceof Lp}));kf(n,i)&&h.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var d=wp(e,t=wf(e,t=t.map((function(e){return uf(e,!1)})),c));return new Lp(e,t,u,d)}}]),e}();function Bp(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var jp=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this))._nextAnimationId=0,r._renderer=e.createRenderer(i.body,{id:"0",encapsulation:ot.None,styles:[],data:{animation:[]}}),r}return _(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?fc(e):e;return Up(this._renderer,null,t,"register",[n]),new Hp(t,this._renderer)}}]),n}(hc),Hp=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this))._id=e,r._renderer=i,r}return _(n,[{key:"create",value:function(e,t){return new qp(this._id,e,t||{},this._renderer)}}]),n}(dc),qp=function(){function e(t,n,i,r){y(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&e*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],data:{}});function nm(e){return pa(2,[ia(671088640,1,{ripple:0}),(e()(),$o(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),la(null,0),(e()(),$o(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),Cr(4,212992,[[1,4]],0,Ph,[Tn,mo,au,[2,Rh],[2,$p]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(e()(),$o(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(e,t){var n=t.component;e(t,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(e,t){var n=t.component;e(t,3,0,n.isRoundButton||n.isIconButton,fr(t,4).unbounded)}))}var im=vi({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function rm(e){return pa(0,[(e()(),Qo(0,null,null,0))],null,null)}function om(e){return pa(0,[ia(402653184,1,{_portalOutlet:0}),(e()(),Qo(16777216,null,null,1,null,rm)),Cr(2,212992,[[1,4]],0,Eu,[xn,ei,bl],{portal:[0,"portal"]},null)],(function(e,t){e(t,2,0,"")}),null)}function am(e){return pa(0,[(e()(),$o(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],(function(e,t,n){var i=!0;return"component:@state.done"===t&&(i=!1!==fr(e,1).onAnimationEnd(n)&&i),i}),om,im)),Cr(1,180224,null,0,ah,[mo,Tn,Gt,rh],null,null)],null,(function(e,t){e(t,0,0,fr(t,1)._role,fr(t,1)._animationState)}))}var sm=nr("snack-bar-container",ah,am,{},{},[]),lm=vi({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],data:{}});function um(e){return pa(0,[(e()(),$o(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(e()(),$o(1,0,null,null,2,"button",[["class","mat-focus-indicator"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.action()&&i),i}),nm,tm)),Cr(2,4374528,null,0,Zh,[Tn,Bc,[2,$p]],null,null),(e()(),ha(3,0,["",""]))],null,(function(e,t){var n=t.component;e(t,1,0,fr(t,2).disabled||null,"NoopAnimations"===fr(t,2)._animationMode),e(t,3,0,n.data.action)}))}function cm(e){return pa(2,[(e()(),$o(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ha(1,null,["",""])),(e()(),Qo(16777216,null,null,1,null,um)),Cr(3,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,3,0,t.component.hasAction)}),(function(e,t){e(t,1,0,t.component.data.message)}))}function hm(e){return pa(0,[(e()(),$o(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,cm,lm)),Cr(1,49152,null,0,oh,[nh,ih],null,null)],null,null)}var dm=nr("simple-snack-bar",oh,hm,{},{},[]),fm=cu({passive:!0});function pm(e){return Error('Tooltip position "'.concat(e,'" is invalid.'))}var mm=new je("mat-tooltip-scroll-strategy");function vm(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}var ym=new je("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),gm=function(){return function(){function e(t,n,i,r,o,a,s,l,u,c,h){var d=this;y(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=s,this._focusMonitor=l,this._dir=c,this._defaultOptions=h,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new H,this._handleKeydown=function(e){d._isTooltipVisible()&&27===e.keyCode&&!Pu(e)&&(e.preventDefault(),e.stopPropagation(),d._ngZone.run((function(){return d.hide(0)})))},this._scrollStrategy=u,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),o.runOutsideAngular((function(){n.nativeElement.addEventListener("keydown",d._handleKeydown)}))}return _(e,[{key:"ngAfterViewInit",value:function(){var e=this;this._setupPointerEvents(),this._focusMonitor.monitor(this._elementRef).pipe(il(this._destroyed)).subscribe((function(t){t?"keyboard"===t&&e._ngZone.run((function(){return e.show()})):e._ngZone.run((function(){return e.hide(0)}))}))}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(t,n){e.removeEventListener(n,t,fm)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new bu(_m,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(il(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(il(this._destroyed)).subscribe((function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run((function(){return e.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(il(this._destroyed)).subscribe((function(){return e._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw pm(n);e={originX:"end",originY:"center"}}var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw pm(n);e={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Au(1),il(this._destroyed)).subscribe((function(){e._tooltipInstance&&e._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_setupPointerEvents",value:function(){var e=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var t=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",(function(){clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout((function(){return e.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return e.show()})).set("mouseleave",(function(){return e.hide()}));this._passiveListeners.forEach((function(t,n){e._elementRef.nativeElement.addEventListener(n,t,fm)}))}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this._elementRef.nativeElement,t=e.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==n&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}},{key:"position",get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=xs(e),this._disabled&&this.hide(0)}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?"".concat(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),e}()}(),_m=function(){return function(){function e(t,n){y(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new H,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}return _(e,[{key:"show",value:function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()}),e)}},{key:"hide",value:function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()}),e)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}()}(),bm=function(){return function e(){y(this,e)}}(),km=function(){var e=function(){function e(){y(this,e)}return _(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e},token:e,providedIn:"root"}),e}(),wm=function(){var e=function(){function e(t){y(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return _(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach((function(t,n){return e._cleanupObserver(n)}))}},{key:"observe",value:function(e){var t=this,n=As(e);return new V((function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}}))}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new H,n=this._mutationObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(km))},token:e,providedIn:"root"}),e}(),Cm=function(){return function(){function e(t,n,i){y(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=i,this.event=new Wr,this._disabled=!1,this._currentSubscription=null}return _(e,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){e._currentSubscription=(e.debounce?t.pipe(wc(e.debounce)):t).subscribe(e.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=xs(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=Es(e),this._subscribe()}}]),e}()}(),xm=function(){return function e(){y(this,e)}}(),Em=vi({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function Sm(e){return pa(2,[(e()(),$o(0,0,null,null,3,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(e,t,n){var i=!0,r=e.component;return"@state.start"===t&&(i=!1!==r._animationStart()&&i),"@state.done"===t&&(i=!1!==r._animationDone(n)&&i),i}),null,null)),Cr(1,278528,null,0,Ll,[Yn,Gn,Tn,Pn],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t=131072,n=eu,i=[Gt],Er(-1,t|=16,null,0,n,n,i)),(e()(),ha(3,null,["",""]))],(function(e,t){e(t,1,0,"mat-tooltip",t.component.tooltipClass)}),(function(e,t){var n,i=t.component;e(t,0,0,null==(n=function(e,t,n,i){if(fn.isWrapped(i)){i=fn.unwrap(i);var r=e.def.nodes[0].bindingIndex+0,o=fn.unwrap(e.oldValues[r]);e.oldValues[r]=new fn(o)}return i}(t,0,0,fr(t,2).transform(i._isHandset)))?null:n.matches,i._visibility),e(t,3,0,i.message)}));var t,n,i}function Im(e){return pa(0,[(e()(),$o(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(e,t,n){var i=!0;return"body:click"===t&&(i=!1!==fr(e,1)._handleBodyInteraction()&&i),i}),Sm,Em)),Cr(1,180224,null,0,_m,[Gt,Jc],null,null)],null,(function(e,t){e(t,0,0,"visible"===fr(t,1)._visibility?1:null)}))}var Tm=nr("mat-tooltip-component",_m,Im,{},{},[]),Am=function(e){d(n,e);var t=v(n);function n(e){var i;return y(this,n),(i=t.call(this))._value=e,i}return _(n,[{key:"_subscribe",value:function(e){var t=r(i(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new z;return this._value}},{key:"next",value:function(e){r(i(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(H);function Om(e){var t=e.subscriber,n=e.counter,i=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}var Rm=function(){function e(t){y(this,e),this.sanitizer=t,this.overlayColor="#00000040",this.hideOverlay=!1,this.disabled=!1}return _(e,[{key:"ngOnInit",value:function(){this.image&&(this.image=this.sanitizer.bypassSecurityTrustStyle('url("'.concat(this.image,'")')))}}]),e}(),Pm=function(){var e={Left:0,Right:1,Index:2};return e[e.Left]="Left",e[e.Right]="Right",e[e.Index]="Index",e}(),Dm=function(){function e(t,n,i){y(this,e),this.animationBuilder=t,this.renderer=n,this.platformId=i,this.timings="250ms ease-in",this.hideArrows=!0,this.hideIndicators=!0,this.color="accent",this.maintainAspectRatio=!0,this.proportion=25,this.slideHeight="100%",this.useKeyboard=!1,this.useMouseWheel=!1,this.change=new Wr,this._autoplay=!0,this.autoplay$=new H,this.interval$=new Am(5e3),this.slides$=new Am(null),this._maxWidth="auto",this.maxWidth$=new H,this._loop=!0,this.loop$=new H,this._orientation="ltr",this.orientation$=new H,this.timerStop$=new H,this.destroy$=new H,this.playing=!1}return _(e,[{key:"ngAfterContentInit",value:function(){var e=this;this.listKeyManager=new Rc(this.slidesList).withVerticalOrientation(!1).withHorizontalOrientation(this._orientation).withWrap(this._loop),this.listKeyManager.updateActiveItem(0),this.listKeyManager.change.pipe(il(this.destroy$)).subscribe((function(){return e.playAnimation()}))}},{key:"ngAfterViewInit",value:function(){var e=this;this.autoplay$.pipe(il(this.destroy$)).subscribe((function(t){e.stopTimer(),e.startTimer(t)})),this.interval$.pipe(il(this.destroy$)).subscribe((function(t){e.stopTimer(),e.resetTimer(t),e.startTimer(e._autoplay)})),this.maxWidth$.pipe(il(this.destroy$)).subscribe((function(){return e.slideTo(0)})),this.loop$.pipe(il(this.destroy$)).subscribe((function(t){return e.listKeyManager.withWrap(t)})),this.orientation$.pipe(il(this.destroy$)).subscribe((function(t){return e.listKeyManager.withHorizontalOrientation(t)})),this.slides$.pipe(il(this.destroy$),el((function(t){return t&&t0?this.next():t<0&&this.previous()}}},{key:"onResize",value:function(e){this.slideTo(0)}},{key:"onPan",value:function(e,t){if(!(Math.abs(e.velocityY)>Math.abs(e.velocityX))){var n=e.deltaX;this.isOutOfBounds()&&(n*=.2),this.renderer.setStyle(t,"cursor","grabbing"),this.renderer.setStyle(this.carouselList.nativeElement,"transform",this.getTranslation(this.getOffset()+n))}}},{key:"onPanEnd",value:function(e,t){if(this.renderer.removeStyle(t,"cursor"),!this.isOutOfBounds()&&Math.abs(e.deltaX)>.25*this.getWidth())return e.deltaX<=0?void this.next():void this.previous();this.playAnimation()}},{key:"isOutOfBounds",value:function(){var e=("rtl"===this.orientation?-1:1)*(this.carouselList.nativeElement.getBoundingClientRect().left-this.carouselList.nativeElement.offsetParent.getBoundingClientRect().left),t=this.slidesList.length-1,n=-this.getWidth()*t;return 0===this.listKeyManager.activeItemIndex&&e>=0||this.listKeyManager.activeItemIndex===t&&e<=n}},{key:"isVisible",value:function(){if(!nu(this.platformId))return!1;var e=window.pageYOffset,t=e+window.innerHeight,n=this.carouselContainer.nativeElement.getBoundingClientRect(),i=e+n.top;return i+n.height<=t||i>=e}},{key:"getOffset",value:function(){var e=this.listKeyManager.activeItemIndex*this.getWidth();return("rtl"===this.orientation?1:-1)*e}},{key:"getTranslation",value:function(e){return"translateX(".concat(e,"px)")}},{key:"getWidth",value:function(){return this.carouselContainer.nativeElement.clientWidth}},{key:"goto",value:function(e,t){if(!this.playing){var n="rtl"===this.orientation;switch(e){case Pm.Left:return n?this.listKeyManager.setNextItemActive():this.listKeyManager.setPreviousItemActive();case Pm.Right:return n?this.listKeyManager.setPreviousItemActive():this.listKeyManager.setNextItemActive();case Pm.Index:return this.listKeyManager.setActiveItem(t)}}}},{key:"playAnimation",value:function(){var e=this,t=this.getTranslation(this.getOffset()),n=this.animationBuilder.build(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}(this.timings,pc({transform:t}))).create(this.carouselList.nativeElement);n.onStart((function(){return e.playing=!0})),n.onDone((function(){e.change.emit(e.currentIndex),e.playing=!1,e.renderer.setStyle(e.carouselList.nativeElement,"transform",t),n.destroy()})),n.play()}},{key:"resetSlides",value:function(e){this.slidesList.reset(this.slidesList.toArray().slice(0,e))}},{key:"resetTimer",value:function(e){this.timer$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ks;return(!Xs(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=Ks),new V((function(n){return n.add(t.schedule(Om,e,{subscriber:n,counter:0,period:e})),n}))}(e)}},{key:"startTimer",value:function(e){var t=this;e&&this.timer$.pipe(il(this.timerStop$),il(this.destroy$),el((function(){return t.isVisible()}))).subscribe((function(){t.listKeyManager.withWrap(!0).setNextItemActive(),t.listKeyManager.withWrap(t.loop)}))}},{key:"stopTimer",value:function(){this.timerStop$.next()}},{key:"autoplay",set:function(e){this.autoplay$.next(e),this._autoplay=e}},{key:"interval",set:function(e){this.interval$.next(e)}},{key:"loop",get:function(){return this._loop},set:function(e){this.loop$.next(e),this._loop=e}},{key:"maxWidth",get:function(){return this._maxWidth},set:function(e){this._maxWidth=e,this.maxWidth$.next()}},{key:"slides",set:function(e){this.slides$.next(e)}},{key:"orientation",get:function(){return this._orientation},set:function(e){this.orientation$.next(e),this._orientation=e}},{key:"currentIndex",get:function(){return this.listKeyManager?this.listKeyManager.activeItemIndex:0}},{key:"currentSlide",get:function(){return this.listKeyManager?this.listKeyManager.activeItem:null}}]),e}(),Mm=function(e){d(n,e);var t=v(n);function n(){var e;return y(this,n),(e=t.apply(this,arguments)).overrides={pinch:{enable:!1},rotate:{enable:!1}},e}return n}(xd),Fm=function(){function e(){y(this,e)}return _(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[{provide:wd,useClass:Mm}]}}}]),e}();function Nm(){for(var e=arguments.length,t=new Array(e),n=0;n0){var i=e.slice(0,t),r=i.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))}))}:this.headers=new Map}return _(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,u(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var o=this.headers.get(t);if(!o)return;0===(o=o.filter((function(e){return-1===r.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),Um=function(){function e(){y(this,e)}return _(e,[{key:"encodeKey",value:function(e){return Km(e)}},{key:"encodeValue",value:function(e){return Km(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function Wm(e,t){var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var i=e.indexOf("="),r=l(-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],2),o=r[0],a=r[1],s=n.get(o)||[];s.push(a),n.set(o,s)})),n}function Km(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Ym=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(y(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Um,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Wm(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])}))):this.map=null}return _(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();function Gm(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Zm(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Xm(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Qm=function(){function e(t,n,i,r){var o;if(y(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){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.params&&(this.params=o.params)),this.headers||(this.headers=new qm),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,l=t.headers||this.headers,u=t.params||this.params;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),u)),new e(n,i,o,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:a})}}]),e}(),$m=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),Jm=function(e){d(n,(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";y(this,e),this.headers=t.headers||new qm,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}));var t=v(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(this,n),(e=t.call(this,i)).type=$m.Response,e.body=void 0!==i.body?i.body:null,e}return _(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}();function ev(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var tv=function(){function e(t){y(this,e),this.handler=t}return _(e,[{key:"request",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Qm)n=e;else{var o=void 0;o=r.headers instanceof qm?r.headers:new qm(r.headers);var a=void 0;r.params&&(a=r.params instanceof Ym?r.params:new Ym({fromObject:r.params})),n=new Qm(e,t,void 0!==r.body?r.body:null,{headers:o,params:a,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=Os(n).pipe(Hm((function(e){return i.handler.handle(e)})));if(e instanceof Qm||"events"===r.observe)return s;var l=s.pipe(el((function(e){return e instanceof Jm})));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(ee((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return l.pipe(ee((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return l.pipe(ee((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return l.pipe(ee((function(e){return e.body})))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(r.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new Ym).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,ev(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,ev(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,ev(n,t))}}]),e}();function nv(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function iv(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+"via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function rv(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+"Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var ov=function e(t,n){y(this,e),this.options=n,t.nodeName?this.svgElement=t:this.url=t},av=function(){var e=function(){function e(t,n,i,r){y(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=i}return _(e,[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,i){return this._addSvgIconConfig(e,t,new ov(n,i))}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var r=this._sanitizer.sanitize(Wt.HTML,n);if(!r)throw rv(n);var o=this._createSvgElementForSingleIcon(r,i);return this._addSvgIconConfig(e,t,new ov(o,i))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new ov(t,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(Wt.HTML,t);if(!i)throw rv(t);var r=this._svgElementFromString(i);return this._addSvgIconSetConfig(e,new ov(r,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(Wt.RESOURCE_URL,e);if(!n)throw iv(e);var i=this._cachedIconsByUrl.get(n);return i?Os(sv(i)):this._loadSvgIconFromConfig(new ov(e)).pipe(_c((function(e){return t._cachedIconsByUrl.set(n,e)})),ee((function(e){return sv(e)})))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=lv(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):pl(nv(n))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgElement?Os(sv(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(_c((function(t){return e.svgElement=t})),ee((function(e){return sv(e)})))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);return i?Os(i):Nm(t.filter((function(e){return!e.svgElement})).map((function(e){return n._loadSvgIconSetFromConfig(e).pipe((t=function(t){var i=n._sanitizer.sanitize(Wt.RESOURCE_URL,e.url),r="Loading icon set URL: ".concat(i," failed: ").concat(t.message);return n._errorHandler.handleError(new Error(r)),Os(null)},function(e){var n=new Lm(t),i=e.lift(n);return n.caught=i}));var t}))).pipe(ee((function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw nv(e);return i})))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgElement){var r=this._extractSvgIconFromSet(i.svgElement,e,i.options);if(r)return r}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe(ee((function(n){return t._createSvgElementForSingleIcon(n,e.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(e){var t=this;return e.svgElement?Os(e.svgElement):this._fetchIcon(e).pipe(ee((function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(e,t){var n=this._svgElementFromString(e);return this._setSvgAttributes(n,t),n}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var o=this._svgElementFromString("");return o.appendChild(r),this._setSvgAttributes(o,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString(""),n=e.attributes,i=0;i button[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);z-index:1}.carousel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:first-of-type{left:30px}.carousel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:last-of-type{right:30px}.carousel-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.carousel-list[_ngcontent-%COMP%], .carousel-slide[_ngcontent-%COMP%]{display:flex;position:relative;width:100%}.carousel-slide[_ngcontent-%COMP%]{flex-shrink:0;height:0}.carousel-slide[_ngcontent-%COMP%]:hover{cursor:-webkit-grab;cursor:grab}.carousel-indicators[_ngcontent-%COMP%]{bottom:15px;display:flex;left:50%;outline:none;position:absolute;transform:translateX(-50%);z-index:1}.carousel-indicators[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{height:10px;margin:7.5px;width:10px}"],data:{}});function _v(e){return pa(0,[(e()(),$o(0,0,[["carouselSlide",1]],null,2,"li",[["class","carousel-slide"],["role","option"]],[[4,"padding-bottom",null],[4,"height",null]],[[null,"panleft"],[null,"panright"],[null,"panend"],[null,"pancancel"]],(function(e,t,n){var i=!0,r=e.component;return"panleft"===t&&(i=!1!==r.onPan(n,fr(e,0))&&i),"panright"===t&&(i=!1!==r.onPan(n,fr(e,0))&&i),"panend"===t&&(i=!1!==r.onPanEnd(n,fr(e,0))&&i),"pancancel"===t&&(i=!1!==r.onPanEnd(n,fr(e,0))&&i),i}),null,null)),(e()(),$o(1,16777216,null,null,1,null,null,null,null,null,null,null)),Cr(2,540672,null,0,Xl,[ei],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null)],(function(e,t){e(t,2,0,t.context.$implicit.templateRef)}),(function(e,t){var n=t.component;e(t,0,0,n.maintainAspectRatio&&n.proportion?n.proportion+"%":"0px",!n.maintainAspectRatio&&n.slideHeight?n.slideHeight:"0px")}))}function bv(e){return pa(0,[(e()(),$o(0,0,null,null,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,yv,vv)),Cr(1,9158656,null,0,pv,[Tn,av,[8,null],cv,ct],{svgIcon:[0,"svgIcon"]},null)],(function(e,t){e(t,1,0,t.component.svgIconOverrides.arrowBack)}),(function(e,t){e(t,0,0,fr(t,1).inline,"primary"!==fr(t,1).color&&"accent"!==fr(t,1).color&&"warn"!==fr(t,1).color)}))}function kv(e){return pa(0,[(e()(),$o(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,yv,vv)),Cr(1,9158656,null,0,pv,[Tn,av,[8,null],cv,ct],null,null),(e()(),ha(-1,0,["arrow_back"]))],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,fr(t,1).inline,"primary"!==fr(t,1).color&&"accent"!==fr(t,1).color&&"warn"!==fr(t,1).color)}))}function wv(e){return pa(0,[(e()(),$o(0,0,null,null,4,"button",[["class","mat-focus-indicator"],["mat-icon-button",""],["tabindex","-1"],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.previous()&&i),i}),nm,tm)),Cr(1,4374528,null,0,Zh,[Tn,Bc,[2,$p]],{disabled:[0,"disabled"],color:[1,"color"]},null),(e()(),Qo(16777216,null,0,1,null,bv)),Cr(3,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),Qo(0,[["defaultArrowBack",2]],0,0,null,kv))],(function(e,t){var n=t.component;e(t,1,0,!n.loop&&0==n.currentIndex,n.color),e(t,3,0,null==n.svgIconOverrides?null:n.svgIconOverrides.arrowBack,fr(t,4))}),(function(e,t){e(t,0,0,fr(t,1).disabled||null,"NoopAnimations"===fr(t,1)._animationMode)}))}function Cv(e){return pa(0,[(e()(),$o(0,0,null,null,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,yv,vv)),Cr(1,9158656,null,0,pv,[Tn,av,[8,null],cv,ct],{svgIcon:[0,"svgIcon"]},null)],(function(e,t){e(t,1,0,t.component.svgIconOverrides.arrowForward)}),(function(e,t){e(t,0,0,fr(t,1).inline,"primary"!==fr(t,1).color&&"accent"!==fr(t,1).color&&"warn"!==fr(t,1).color)}))}function xv(e){return pa(0,[(e()(),$o(0,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,yv,vv)),Cr(1,9158656,null,0,pv,[Tn,av,[8,null],cv,ct],null,null),(e()(),ha(-1,0,["arrow_forward"]))],(function(e,t){e(t,1,0)}),(function(e,t){e(t,0,0,fr(t,1).inline,"primary"!==fr(t,1).color&&"accent"!==fr(t,1).color&&"warn"!==fr(t,1).color)}))}function Ev(e){return pa(0,[(e()(),$o(0,0,null,null,4,"button",[["class","mat-focus-indicator"],["mat-icon-button",""],["tabindex","-1"],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.next()&&i),i}),nm,tm)),Cr(1,4374528,null,0,Zh,[Tn,Bc,[2,$p]],{disabled:[0,"disabled"],color:[1,"color"]},null),(e()(),Qo(16777216,null,0,1,null,Cv)),Cr(3,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),Qo(0,[["defaultArrowForward",2]],0,0,null,xv))],(function(e,t){var n=t.component;e(t,1,0,!n.loop&&n.currentIndex==n.slidesList.length-1,n.color),e(t,3,0,null==n.svgIconOverrides?null:n.svgIconOverrides.arrowForward,fr(t,4))}),(function(e,t){e(t,0,0,fr(t,1).disabled||null,"NoopAnimations"===fr(t,1)._animationMode)}))}function Sv(e){return pa(0,[(e()(),$o(0,0,null,null,1,"button",[["class","mat-focus-indicator"],["mat-mini-fab",""],["tabindex","-1"],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"focus"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.slideTo(e.context.index)&&i),"focus"===t&&(i=!1!==fr(e.parent.parent,2).focus()&&i),i}),nm,tm)),Cr(1,4374528,null,0,Zh,[Tn,Bc,[2,$p]],{disabled:[0,"disabled"],color:[1,"color"]},null)],(function(e,t){var n=t.component;e(t,1,0,t.context.index==n.currentIndex,n.color)}),(function(e,t){e(t,0,0,fr(t,1).disabled||null,"NoopAnimations"===fr(t,1)._animationMode)}))}function Iv(e){return pa(0,[(e()(),$o(0,0,null,null,2,"div",[["class","carousel-indicators"],["tabindex","-1"]],[[4,"flex-direction",null]],null,null,null,null)),(e()(),Qo(16777216,null,null,1,null,Sv)),Cr(2,278528,null,0,Bl,[ei,$n,Yn],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.slidesList)}),(function(e,t){e(t,0,0,"rtl"===t.component.orientation?"row-reverse":"row")}))}function Tv(e){return pa(0,[ia(671088640,1,{carouselContainer:0}),ia(671088640,2,{carouselList:0}),(e()(),$o(2,0,[[1,0],["carouselContainer",1]],null,9,"div",[["class","carousel"],["tabindex","0"]],[[4,"max-width",null],[4,"height",null]],null,null,null,null)),(e()(),$o(3,0,[[2,0],["carouselList",1]],null,2,"ul",[["class","carousel-list"],["role","listbox"]],[[4,"flex-direction",null],[4,"height",null]],null,null,null,null)),(e()(),Qo(16777216,null,null,1,null,_v)),Cr(5,278528,null,0,Bl,[ei,$n,Yn],{ngForOf:[0,"ngForOf"]},null),(e()(),Qo(16777216,null,null,1,null,wv)),Cr(7,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),(e()(),Qo(16777216,null,null,1,null,Ev)),Cr(9,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),(e()(),Qo(16777216,null,null,1,null,Iv)),Cr(11,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,5,0,n.slidesList),e(t,7,0,!n.hideArrows),e(t,9,0,!n.hideArrows),e(t,11,0,!n.hideIndicators)}),(function(e,t){var n=t.component;e(t,2,0,n.maxWidth,n.maintainAspectRatio?"auto":"100%"),e(t,3,0,"rtl"===n.orientation?"row-reverse":"row",n.maintainAspectRatio?"auto":"100%")}))}var Av=vi({encapsulation:0,styles:[".carousel-slide[_ngcontent-%COMP%]{background-position:50%;background-repeat:no-repeat;background-size:cover}.carousel-slide[_ngcontent-%COMP%], .carousel-slide-overlay[_ngcontent-%COMP%]{height:100%;position:absolute;width:100%;z-index:auto}.carousel-slide-content[_ngcontent-%COMP%]{height:100%;position:absolute;width:100%;z-index:1}"],data:{}});function Ov(e){return pa(0,[(e()(),$o(0,0,null,null,0,"div",[["class","carousel-slide-overlay"]],[[4,"background-color",null]],null,null,null,null))],null,(function(e,t){e(t,0,0,t.component.overlayColor)}))}function Rv(e){return pa(0,[(e()(),$o(0,0,null,null,4,"div",[["class","carousel-slide"]],[[4,"background-image",null]],null,null,null,null)),(e()(),$o(1,0,null,null,1,"div",[["class","carousel-slide-content"]],null,null,null,null,null)),la(null,0),(e()(),Qo(16777216,[[1,2]],null,1,null,Ov)),Cr(4,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,4,0,!t.component.hideOverlay)}),(function(e,t){e(t,0,0,t.component.image)}))}function Pv(e){return pa(0,[ia(671088640,1,{templateRef:0}),(e()(),Qo(0,[[1,2]],null,0,null,Rv))],null,null)}var Dv=gh((function e(t){y(this,e),this._elementRef=t})),Mv=function(){return function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this,e))._platform=i,o._document=r,o}return _(n,[{key:"ngAfterViewInit",value:function(){var e=this;wt()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return e._checkToolbarMixedModes()})))}},{key:"_checkToolbarMixedModes",value:function(){var e=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(e){return!(e.classList&&e.classList.contains("mat-toolbar-row"))})).filter((function(t){return t.nodeType!==(e._document?e._document.COMMENT_NODE:8)})).some((function(e){return!(!e.textContent||!e.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()}}]),n}(Dv)}(),Fv=function(){return function e(){y(this,e)}}(),Nv=vi({encapsulation:2,styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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%}\n"],data:{}});function Vv(e){return pa(2,[la(null,0),la(null,1)],null,null)}function Lv(e){return e instanceof Date&&!isNaN(+e)}function zv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ks,n=Lv(e),i=n?+e-t.now():Math.abs(e);return function(e){return e.lift(new Bv(i,t))}}var Bv=function(){function e(t,n){y(this,e),this.delay=t,this.scheduler=n}return _(e,[{key:"call",value:function(e,t){return t.subscribe(new jv(e,this.delay,this.scheduler))}}]),e}(),jv=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this,e)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return _(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new Hv(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(vl.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(vl.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(P),Hv=function e(t,n){y(this,e),this.time=t,this.notification=n},qv=new je("MAT_MENU_PANEL"),Uv=_h(yh((function e(){y(this,e)}))),Wv=function(){return function(e){d(n,e);var t=v(n);function n(e,i,r,a){var s;return y(this,n),(s=t.call(this))._elementRef=e,s._focusMonitor=r,s._parentMenu=a,s.role="menuitem",s._hovered=new H,s._focused=new H,s._highlighted=!1,s._triggersSubmenu=!1,a&&a.addItem&&a.addItem(o(s)),s._document=i,s}return _(n,[{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){var e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3,n="";if(e.childNodes)for(var i=e.childNodes.length,r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.asObservable().pipe(Au(1)).subscribe((function(){return e._focusFirstItem(t)})):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t=Math.min(4+e,24),n="mat-elevation-z".concat(t),i=Object.keys(this._classList).find((function(e){return e.startsWith("mat-elevation-z")}));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(ll(this._allItems)).subscribe((function(t){e._directDescendantItems.reset(t.filter((function(t){return t._parentMenu===e}))),e._directDescendantItems.notifyOnChanges()}))}},{key:"xPosition",get:function(){return this._xPosition},set:function(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=xs(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=xs(e)}},{key:"panelClass",set:function(e){var t=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(e){t._classList[e]=!1})),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach((function(e){t._classList[e]=!0})),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}}]),e}()}(),Zv=function(){return function(e){d(n,e);var t=v(n);function n(){return y(this,n),t.apply(this,arguments)}return n}(Gv)}(),Xv=function(){return function(e){d(n,e);var t=v(n);function n(e,i,r){return y(this,n),t.call(this,e,i,r)}return n}(Zv)}(),Qv=new je("mat-menu-scroll-strategy");function $v(e){return function(){return e.scrollStrategies.reposition()}}var Jv=cu({passive:!0}),ey=function(){return function(){function e(t,n,i,r,o,a,s,l){var u=this;y(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._parentMenu=o,this._menuItemInstance=a,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=E.EMPTY,this._hoverSubscription=E.EMPTY,this._menuCloseSubscription=E.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Wr,this.onMenuOpen=this.menuOpened,this.menuClosed=new Wr,this.onMenuClose=this.menuClosed,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,Jv),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}return _(e,[{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Jv),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return e.closeMenu()})),this._initMenu(),this.menu instanceof Zv&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"_destroyMenu",value:function(){var e=this;if(this._overlayRef&&this.menuOpen){var t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof Zv?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(el((function(e){return"void"===e.toState})),Au(1),il(t.lazyContent._attached)).subscribe({next:function(){return t.lazyContent.detach()},complete:function(){return e._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new ju({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe((function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")}))}},{key:"_setPosition",value:function(e){var t=l("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=l("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=r[0],a=r[1],s=o,u=a,c=n,h=i,d=0;this.triggersSubmenu()?(h=n="before"===this.menu.xPosition?"start":"end",i=c="end"===n?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:c,overlayY:o,offsetY:d},{originX:i,originY:s,overlayX:h,overlayY:o,offsetY:d},{originX:n,originY:u,overlayX:c,overlayY:a,offsetY:-d},{originX:i,originY:u,overlayX:h,overlayY:a,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return ce(t,this._parentMenu?this._parentMenu.closed:Os(),this._parentMenu?this._parentMenu._hovered().pipe(el((function(t){return t!==e._menuItemInstance})),el((function(){return e._menuOpen}))):Os(),n)}},{key:"_handleMousedown",value:function(e){Vc(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&this.openMenu()}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(el((function(t){return t===e._menuItemInstance&&!t.disabled})),zv(0,Hs)).subscribe((function(){e._openedBy="mouse",e.menu instanceof Zv&&e.menu._isAnimating?e.menu._animationDone.pipe(Au(1),zv(0,Hs),il(e._parentMenu._hovered())).subscribe((function(){return e.openMenu()})):e.openMenu()})))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new ku(this.menu.templateRef,this._viewContainerRef)),this._portal}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe((function(e){t._destroyMenu(),"click"!==e&&"tab"!==e||!t._parentMenu||t._parentMenu.closed.emit(e)}))))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),e}()}(),ty=function(){return function e(){y(this,e)}}(),ny=function(){return function e(){y(this,e)}}(),iy=vi({encapsulation:2,styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function ry(e){return pa(0,[(e()(),$o(0,0,null,null,3,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[8,"id",0],[24,"@transformMenu",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(e,t,n){var i=!0,r=e.component;return"keydown"===t&&(i=!1!==r._handleKeydown(n)&&i),"click"===t&&(i=!1!==r.closed.emit("click")&&i),"@transformMenu.start"===t&&(i=!1!==r._onAnimationStart(n)&&i),"@transformMenu.done"===t&&(i=!1!==r._onAnimationDone(n)&&i),i}),null,null)),Cr(1,278528,null,0,Ll,[Yn,Gn,Tn,Pn],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),$o(2,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),la(null,0)],(function(e,t){e(t,1,0,"mat-menu-panel",t.component._classList)}),(function(e,t){var n=t.component;e(t,0,0,n.panelId,n._panelAnimationState,n.ariaLabel||null,n.ariaLabelledby||null,n.ariaDescribedby||null)}))}function oy(e){return pa(2,[ia(671088640,1,{templateRef:0}),(e()(),Qo(0,[[1,2]],null,0,null,ry))],null,null)}var ay=vi({encapsulation:2,styles:[],data:{}});function sy(e){return pa(2,[la(null,0),(e()(),$o(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Cr(2,212992,null,0,Ph,[Tn,mo,au,[2,Rh],[2,$p]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(e,t){var n=t.component;e(t,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(e,t){e(t,1,0,fr(t,2).unbounded)}))}var ly=function(){return function e(){y(this,e)}}(),uy=function(){return function e(t){y(this,e),this._animationMode=t}}(),cy=function(){return function e(){y(this,e)}}(),hy=vi({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],data:{}});function dy(e){return pa(2,[la(null,0),la(null,1)],null,null)}var fy=0,py=function(){return function(){function e(){y(this,e),this._stateChanges=new H,this._openCloseAllActions=new H,this.id="cdk-accordion-".concat(fy++),this._multi=!1}return _(e,[{key:"openAll",value:function(){this._openCloseAll(!0)}},{key:"closeAll",value:function(){this._openCloseAll(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_openCloseAll",value:function(e){this.multi&&this._openCloseAllActions.next(e)}},{key:"multi",get:function(){return this._multi},set:function(e){this._multi=xs(e)}}]),e}()}(),my=0,vy=function(){return function(){function e(t,n,i){var r=this;y(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=E.EMPTY,this.closed=new Wr,this.opened=new Wr,this.destroyed=new Wr,this.expandedChange=new Wr,this.id="cdk-accordion-child-".concat(my++),this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen((function(e,t){r.accordion&&!r.accordion.multi&&r.accordion.id===t&&r.id!==e&&(r.expanded=!1)})),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return _(e,[{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe((function(t){e.disabled||(e.expanded=t)}))}},{key:"expanded",get:function(){return this._expanded},set:function(e){e=xs(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=xs(e)}}]),e}()}(),yy=function(){return function e(){y(this,e)}}(),gy=new je("MAT_ACCORDION"),_y=0,by=new je("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),ky=function(){return function(e){d(n,e);var t=v(n);function n(e,i,r,o,a,s,l){var u;return y(this,n),(u=t.call(this,e,i,r))._viewContainerRef=o,u._animationMode=s,u._hideToggle=!1,u.afterExpand=new Wr,u.afterCollapse=new Wr,u._inputChanges=new H,u._headerId="mat-expansion-panel-header-".concat(_y++),u._bodyAnimationDone=new H,u.accordion=e,u._document=a,u._bodyAnimationDone.pipe(qs((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){"void"!==e.fromState&&("expanded"===e.toState?u.afterExpand.emit():"collapsed"===e.toState&&u.afterCollapse.emit())})),l&&(u.hideToggle=l.hideToggle),u}return _(n,[{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe(ll(null),el((function(){return e.expanded&&!e._portal})),Au(1)).subscribe((function(){e._portal=new ku(e._lazyContent._template,e._viewContainerRef)}))}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){r(i(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}},{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=xs(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}}]),n}(vy)}(),wy=function(){return function(){function e(t,n,i,r,o,a){var s=this;y(this,e),this.panel=t,this._element=n,this._focusMonitor=i,this._changeDetectorRef=r,this._animationMode=a,this._parentChangeSubscription=E.EMPTY;var l=t.accordion?t.accordion._stateChanges.pipe(el((function(e){return!(!e.hideToggle&&!e.togglePosition)}))):dl;this._parentChangeSubscription=ce(t.opened,t.closed,l,t._inputChanges.pipe(el((function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)})))).subscribe((function(){return s._changeDetectorRef.markForCheck()})),t.closed.pipe(el((function(){return t._containsFocus()}))).subscribe((function(){return i.focusVia(n,"program")})),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return _(e,[{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(e){switch(e.keyCode){case 32:case 13:Pu(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._element,e,t)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._element).subscribe((function(t){t&&e.panel.accordion&&e.panel.accordion._handleHeaderFocus(e)}))}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}},{key:"disabled",get:function(){return this.panel.disabled}}]),e}()}(),Cy=function(){return function e(){y(this,e)}}(),xy=function(){return function(e){d(n,e);var t=v(n);function n(){var e;return y(this,n),(e=t.apply(this,arguments))._ownHeaders=new Yr,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(ll(this._headers)).subscribe((function(t){e._ownHeaders.reset(t.filter((function(t){return t.panel.accordion===e}))),e._ownHeaders.notifyOnChanges()})),this._keyManager=new Dc(this._ownHeaders).withWrap()}},{key:"_handleHeaderKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;36===t?Pu(e)||(n.setFirstItemActive(),e.preventDefault()):35===t?Pu(e)||(n.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=xs(e)}}]),n}(py)}(),Ey=function(){return function e(){y(this,e)}}(),Sy=vi({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function Iy(e){return pa(0,[(e()(),Qo(0,null,null,0))],null,null)}function Ty(e){return pa(2,[ia(671088640,1,{_body:0}),la(null,0),(e()(),$o(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(e,t,n){var i=!0;return"@bodyExpansion.done"===t&&(i=!1!==e.component._bodyAnimationDone.next(n)&&i),i}),null,null)),(e()(),$o(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),la(null,1),(e()(),Qo(16777216,null,null,1,null,Iy)),Cr(6,212992,null,0,Eu,[xn,ei,bl],{portal:[0,"portal"]},null),la(null,2)],(function(e,t){e(t,6,0,t.component._portal)}),(function(e,t){var n=t.component;e(t,2,0,n._getExpandedState(),n._headerId,n.id)}))}var Ay=vi({encapsulation:2,styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function Oy(e){return pa(0,[(e()(),$o(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(e,t){e(t,0,0,t.component._getExpandedState())}))}function Ry(e){return pa(2,[(e()(),$o(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),la(null,0),la(null,1),la(null,2),(e()(),Qo(16777216,null,null,1,null,Oy)),Cr(5,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null)],(function(e,t){e(t,5,0,t.component._showToggle())}),null)}var Py=function(){return function e(){y(this,e)}}();function Dy(e){return Error("A hint was already declared for 'align=\"".concat(e,"\"'."))}var My=0,Fy=gh((function e(t){y(this,e),this._elementRef=t}),"primary"),Ny=new je("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Vy=new je("MatFormField"),Ly=function(){return function(e){d(n,e);var t=v(n);function n(e,i,r,o,a,s,l,u){var c;return y(this,n),(c=t.call(this,e))._elementRef=e,c._changeDetectorRef=i,c._dir=o,c._defaults=a,c._platform=s,c._ngZone=l,c._outlineGapCalculationNeededImmediately=!1,c._outlineGapCalculationNeededOnStable=!1,c._destroyed=new H,c._showAlwaysAnimate=!1,c._subscriptAnimationState="",c._hintLabel="",c._hintLabelId="mat-hint-".concat(My++),c._labelId="mat-form-field-label-".concat(My++),c._labelOptions=r||{},c.floatLabel=c._getDefaultFloatLabelState(),c._animationsEnabled="NoopAnimations"!==u,c.appearance=a&&a.appearance?a.appearance:"legacy",c._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,c}return _(n,[{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe(ll(null)).subscribe((function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(il(this._destroyed)).subscribe((function(){return e._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(il(e._destroyed)).subscribe((function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()}))})),ce(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(ll(null)).subscribe((function(){e._processHints(),e._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(ll(null)).subscribe((function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(il(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e.updateOutlineGap()}))})):e.updateOutlineGap()}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!!this._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Rs(this._label.nativeElement,"transitionend").pipe(Au(1)).subscribe((function(){e._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(e||n.hintLabel)throw Dy("start");e=i}else if("end"===i.align){if(t)throw Dy("end");t=i}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find((function(e){return"start"===e.align})):null,n=this._hintChildren?this._hintChildren.find((function(e){return"end"===e.align})):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map((function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),l=e.children,u=this._getStartEnd(l[0].getBoundingClientRect()),c=0,h=0;h0?.75*c+10:0}for(var d=0;d enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function jy(e){return pa(0,[(e()(),$o(0,0,null,null,8,null,null,null,null,null,null,null)),(e()(),$o(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(e()(),$o(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(e()(),$o(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(e()(),$o(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(e()(),$o(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(e()(),$o(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(e()(),$o(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(e()(),$o(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function Hy(e){return pa(0,[(e()(),$o(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),la(null,0)],null,null)}function qy(e){return pa(0,[(e()(),$o(0,0,null,null,3,null,null,null,null,null,null,null)),la(null,2),(e()(),$o(2,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ha(3,null,["",""]))],null,(function(e,t){e(t,3,0,t.component._control.placeholder)}))}function Uy(e){return pa(0,[la(null,3),(e()(),Qo(0,null,null,0))],null,null)}function Wy(e){return pa(0,[(e()(),$o(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(e()(),ha(-1,null,[" *"]))],null,null)}function Ky(e){return pa(0,[(e()(),$o(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(e,t,n){var i=!0;return"cdkObserveContent"===t&&(i=!1!==e.component.updateOutlineGap()&&i),i}),null,null)),Cr(1,16384,null,0,Yl,[],{ngSwitch:[0,"ngSwitch"]},null),Cr(2,1196032,null,0,Cm,[wm,Tn,mo],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(e()(),Qo(16777216,null,null,1,null,qy)),Cr(4,278528,null,0,Gl,[ei,$n,Yl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Qo(16777216,null,null,1,null,Uy)),Cr(6,278528,null,0,Gl,[ei,$n,Yl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Qo(16777216,null,null,1,null,Wy)),Cr(8,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,n._hasLabel()),e(t,2,0,"outline"!=n.appearance),e(t,4,0,!1),e(t,6,0,!0),e(t,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}),(function(e,t){var n=t.component;e(t,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)}))}function Yy(e){return pa(0,[(e()(),$o(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),la(null,4)],null,null)}function Gy(e){return pa(0,[(e()(),$o(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(e()(),$o(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(e,t){var n=t.component;e(t,1,0,"accent"==n.color,"warn"==n.color)}))}function Zy(e){return pa(0,[(e()(),$o(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),la(null,5)],null,(function(e,t){e(t,0,0,t.component._subscriptAnimationState)}))}function Xy(e){return pa(0,[(e()(),$o(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(e()(),ha(1,null,["",""]))],null,(function(e,t){var n=t.component;e(t,0,0,n._hintLabelId),e(t,1,0,n.hintLabel)}))}function Qy(e){return pa(0,[(e()(),$o(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(e()(),Qo(16777216,null,null,1,null,Xy)),Cr(2,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),la(null,6),(e()(),$o(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),la(null,7)],(function(e,t){e(t,2,0,t.component.hintLabel)}),(function(e,t){e(t,0,0,t.component._subscriptAnimationState)}))}function $y(e){return pa(2,[ia(671088640,1,{underlineRef:0}),ia(402653184,2,{_connectionContainerRef:0}),ia(671088640,3,{_inputContainerRef:0}),ia(671088640,4,{_label:0}),(e()(),$o(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(e()(),$o(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(e,t,n){var i=!0,r=e.component;return"click"===t&&(i=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&i),i}),null,null)),(e()(),Qo(16777216,null,null,1,null,jy)),Cr(7,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),(e()(),Qo(16777216,null,null,1,null,Hy)),Cr(9,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),(e()(),$o(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),la(null,1),(e()(),$o(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(e()(),Qo(16777216,null,null,1,null,Ky)),Cr(14,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),(e()(),Qo(16777216,null,null,1,null,Yy)),Cr(16,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),(e()(),Qo(16777216,null,null,1,null,Gy)),Cr(18,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),(e()(),$o(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),Cr(20,16384,null,0,Yl,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Qo(16777216,null,null,1,null,Zy)),Cr(22,278528,null,0,Gl,[ei,$n,Yl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Qo(16777216,null,null,1,null,Qy)),Cr(24,278528,null,0,Gl,[ei,$n,Yl],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(e,t){var n=t.component;e(t,7,0,"outline"==n.appearance),e(t,9,0,n._prefixChildren.length),e(t,14,0,n._hasFloatingLabel()),e(t,16,0,n._suffixChildren.length),e(t,18,0,"outline"!=n.appearance),e(t,20,0,n._getDisplayedMessages()),e(t,22,0,"error"),e(t,24,0,"hint")}),null)}var Jy=0,eg=new je("mat-select-scroll-strategy");function tg(e){return function(){return e.scrollStrategies.reposition()}}var ng=new je("MAT_SELECT_CONFIG"),ig=function e(t,n){y(this,e),this.source=t,this.value=n},rg=_h(bh(yh(kh((function e(t,n,i,r,o){y(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=o}))))),og=function(){return function(e){d(n,e);var t=v(n);function n(e,i,r,a,s,l,c,h,d,f,p,m,v,g){var _,b;return y(this,n),(_=t.call(this,s,a,c,h,f))._viewportRuler=e,_._changeDetectorRef=i,_._ngZone=r,_._dir=l,_._parentFormField=d,_.ngControl=f,_._liveAnnouncer=v,_._panelOpen=!1,_._required=!1,_._scrollTop=0,_._multiple=!1,_._compareWith=function(e,t){return e===t},_._uid="mat-select-".concat(Jy++),_._destroy=new H,_._triggerFontSize=0,_._onChange=function(){},_._onTouched=function(){},_._optionIds="",_._transformOrigin="top",_._panelDoneAnimatingStream=new H,_._offsetY=0,_._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],_._disableOptionCentering=!1,_._focused=!1,_.controlType="mat-select",_.ariaLabel="",_.optionSelectionChanges=(b=function(){var e=_.options;return e?e.changes.pipe(ll(e),ul((function(){return ce.apply(void 0,u(e.map((function(e){return e.onSelectionChange}))))}))):_._ngZone.onStable.asObservable().pipe(Au(1),ul((function(){return _.optionSelectionChanges})))},new V((function(e){var t;try{t=b()}catch(n){return void e.error(n)}return(t?re(t):fl()).subscribe(e)}))),_.openedChange=new Wr,_._openedStream=_.openedChange.pipe(el((function(e){return e})),ee((function(){}))),_._closedStream=_.openedChange.pipe(el((function(e){return!e})),ee((function(){}))),_.selectionChange=new Wr,_.valueChange=new Wr,_.ngControl&&(_.ngControl.valueAccessor=o(_)),_._scrollStrategyFactory=m,_._scrollStrategy=_._scrollStrategyFactory(),_.tabIndex=parseInt(p)||0,_.id=_.id,g&&(null!=g.disableOptionCentering&&(_.disableOptionCentering=g.disableOptionCentering),null!=g.typeaheadDebounceInterval&&(_.typeaheadDebounceInterval=g.typeaheadDebounceInterval)),_}return _(n,[{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new du(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(qs(),il(this._destroy)).subscribe((function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(il(this._destroy)).subscribe((function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(il(this._destroy)).subscribe((function(e){e.added.forEach((function(e){return e.select()})),e.removed.forEach((function(e){return e.deselect()}))})),this.options.changes.pipe(ll(null),il(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Au(1)).subscribe((function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.options&&this._setSelectionByValue(e)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,i=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&i&&!Pu(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;36===t||35===t?(36===t?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=40===n||38===n,r=t.isTyping();if(36===n||35===n)e.preventDefault(),36===n?t.setFirstItemActive():t.setLastItemActive();else if(i&&e.altKey)e.preventDefault(),this.close();else if(r||13!==n&&32!==n||!t.activeItem||Pu(e))if(!r&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var o=this.options.some((function(e){return!e.disabled&&!e.selected}));this.options.forEach((function(e){e.disabled||(o?e.select():e.deselect())}))}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this.overlayDir.positionChange.pipe(Au(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then((function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()}))}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach((function(e){return t._selectValue(e)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find((function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return wt()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new Pc(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(il(this._destroy)).subscribe((function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())})),this._keyManager.change.pipe(il(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var e=this,t=ce(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(il(t)).subscribe((function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())})),ce.apply(void 0,u(this.options.map((function(e){return e._stateChanges})))).pipe(il(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort((function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)})),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new ig(this,t)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(e){return e.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var e,t,n,i=this._keyManager.activeItemIndex||0,r=qh(i,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(i+r)*(e=this._getItemHeight()))<(t=this.panel.nativeElement.scrollTop)?n:n+e>t+256?Math.max(0,n-256+e):t}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getOptionIndex",value:function(e){return this.options.reduce((function(t,n,i){return void 0!==t?t:e===n?i:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),i=t*e-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=qh(r,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(r,o,i),this._offsetY=this._calculateOverlayOffsetY(r,o,i),this._checkOverlayWithinViewport(i)}},{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);a>0?e+=a+8:s>0&&(e-=s+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2,n=Math.abs(this._offsetY)-t+e/2;return"50% ".concat(n,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=xs(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=xs(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=xs(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=Es(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map((function(e){return e.viewValue}));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),n}(rg)}(),ag=function(){return function e(){y(this,e)}}(),sg=new je("NgValueAccessor"),lg=function(){function e(t,n){y(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}(),ug=new je("CompositionEventMode"),cg=function(){function e(t,n,i){var r;y(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=i,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=gl()?gl().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return _(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}(),hg=function(){function e(){y(this,e)}return _(e,[{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),e}(),dg=function(e){d(n,e);var t=v(n);function n(){return y(this,n),t.apply(this,arguments)}return _(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(hg);function fg(){throw new Error("unimplemented")}var pg=function(e){d(n,e);var t=v(n);function n(){var e;return y(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return _(n,[{key:"validator",get:function(){return fg()}},{key:"asyncValidator",get:function(){return fg()}}]),n}(hg),mg=function(e){d(n,e);var t=v(n);function n(e){return y(this,n),t.call(this,e)}return n}(function(){function e(t){y(this,e),this._cd=t}return _(e,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),e}());function vg(e){return null==e||0===e.length}function yg(e){return null!=e&&"number"==typeof e.length}var gg=/^(?=.{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])?)*$/,_g=function(){function e(){y(this,e)}return _(e,null,[{key:"min",value:function(e){return function(t){if(vg(t.value)||vg(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&ne?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return vg(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return vg(e.value)||gg.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){return vg(t.value)||!yg(t.value)?null:t.value.lengthe?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),n=new RegExp(i)):(i=t.toString(),n=t),function(e){if(vg(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:i,actualValue:t}}}):e.nullValidator;var n,i}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(bg);return 0==t.length?null:function(e){return wg(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(bg);return 0==t.length?null:function(e){return Nm(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(kg)).pipe(ee(wg))}}}]),e}();function bg(e){return null!=e}function kg(e){var t=vn(e)?re(e):e;if(!yn(t))throw new Error("Expected validator to return Promise or Observable.");return t}function wg(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function Cg(e){return e.validate?function(t){return e.validate(t)}:e}function xg(e){return e.validate?function(t){return e.validate(t)}:e}var Eg=function(){function e(t,n){y(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}(),Sg=function(){function e(){y(this,e),this._accessors=[]}return _(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}(),Ig=function(){function e(t,n,i,r){y(this,e),this._renderer=t,this._elementRef=n,this._registry=i,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return _(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(pg),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex:
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',Og='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Rg='\n
\n
\n \n
\n
',Pg=function(){function e(){y(this,e)}return _(e,null,[{key:"controlParentException",value:function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ".concat(Ag))}},{key:"ngModelGroupException",value:function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '.concat(Og,"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ").concat(Rg))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ".concat(Ag))}},{key:"groupParentException",value:function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ".concat(Og))}},{key:"arrayParentException",value:function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ".concat('\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });'))}},{key:"disabledAttrWarning",value:function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n\n Example:\n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}},{key:"ngModelWarning",value:function(e){console.warn("\n It looks like you're using ngModel on the same form field as ".concat(e,".\n Support for using the ngModel input property and ngModelChange event with\n reactive form directives has been deprecated in Angular v6 and will be removed\n in a future version of Angular.\n\n For more information on this, see our API docs here:\n https://angular.io/api/forms/").concat("formControl"===e?"FormControlDirective":"FormControlName","#use-with-ngmodel\n "))}}]),e}();function Dg(e,t){return[].concat(u(t.path),[e])}function Mg(e,t){e||Lg(t,"Cannot find control with"),t.valueAccessor||Lg(t,"No value accessor for form control with"),e.validator=_g.compose([e.validator,t.validator]),e.asyncValidator=_g.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Fg(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Fg(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function Fg(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ng(e,t){null==e&&Lg(t,"Cannot find control with"),e.validator=_g.compose([e.validator,t.validator]),e.asyncValidator=_g.composeAsync([e.asyncValidator,t.asyncValidator])}function Vg(e){return Lg(e,"There is no FormControl instance attached to form control element with")}function Lg(e,t){var n;throw n=e.path.length>1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function zg(e){return null!=e?_g.compose(e.map(Cg)):null}function Bg(e){return null!=e?_g.composeAsync(e.map(xg)):null}var jg=[lg,Tg,Eg,function(){function e(t,n){y(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Object.is}return _(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,o=0;o-1&&e.splice(n,1)}function Ug(e){var t=Kg(e)?e.validators:e;return Array.isArray(t)?zg(t):t||null}function Wg(e,t){var n=Kg(t)?t.asyncValidators:e;return Array.isArray(n)?Bg(n):n||null}function Kg(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Yg=function(){function e(t,n){y(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return _(e,[{key:"setValidators",value:function(e){this.validator=Ug(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=Wg(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=kg(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach((function(e){i=i instanceof Zg?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Xg&&i.at(e)||null})),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new Wr,this.statusChanges=new Wr}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){Kg(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),Gg=function(e){d(n,e);var t=v(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return y(this,n),(e=t.call(this,Ug(r),Wg(o,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(Yg),Zg=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this,Ug(i),Wg(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return _(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof Gg?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(Yg),Xg=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this,Ug(i),Wg(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return _(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof Gg?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=c(this.controls);try{for(t.s();!(e=t.n()).done;)if(e.value.enabled)return!1}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(Yg),Qg=function(){return Promise.resolve(null)}(),$g=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new Wr,r.form=new Zg({},zg(e),Bg(i)),r}return _(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(e){var t=this;Qg.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Mg(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;Qg.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),qg(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;Qg.then((function(){var n=t._findContainer(e.path),i=new Zg({});Ng(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;Qg.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;Qg.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,Hg(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(dg),Jg=function(e){d(n,e);var t=v(n);function n(){return y(this,n),t.apply(this,arguments)}return _(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return Dg(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return zg(this._validators)}},{key:"asyncValidator",get:function(){return Bg(this._asyncValidators)}}]),n}(dg),e_=function(){function e(){y(this,e)}return _(e,null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '.concat(Ag,"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n ").concat('\n
\n \n \n
\n '))}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(Og,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(Rg))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(Og,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(Rg))}}]),e}(),t_=function(e){d(n,e);var t=v(n);function n(e,i,r){var o;return y(this,n),(o=t.call(this))._parent=e,o._validators=i,o._asyncValidators=r,o}return _(n,[{key:"_checkParentType",value:function(){this._parent instanceof n||this._parent instanceof $g||e_.modelGroupParentException()}}]),n}(Jg),n_=function(){return Promise.resolve(null)}(),i_=function(e){d(n,e);var t=v(n);function n(e,i,r,a){var s;return y(this,n),(s=t.call(this)).control=new Gg,s._registered=!1,s.update=new Wr,s._parent=e,s._rawValidators=i||[],s._rawAsyncValidators=r||[],s.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Lg(e,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return t.forEach((function(t){var o;t.constructor===cg?n=t:(o=t,jg.some((function(e){return o.constructor===e}))?(i&&Lg(e,"More than one built-in value accessor matches form control with"),i=t):(r&&Lg(e,"More than one custom value accessor matches form control with"),r=t))})),r||i||n||(Lg(e,"No valid value accessor for form control with"),null)}(o(s),a),s}return _(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){Mg(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof t_)&&this._parent instanceof Jg?e_.formGroupNameException():this._parent instanceof t_||this._parent instanceof $g||e_.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||e_.missingNameException()}},{key:"_updateValue",value:function(e){var t=this;n_.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;n_.then((function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()}))}},{key:"path",get:function(){return this._parent?Dg(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return zg(this._rawValidators)}},{key:"asyncValidator",get:function(){return Bg(this._rawAsyncValidators)}}]),n}(pg),r_=function(e){d(n,e);var t=v(n);function n(e,i){var r;return y(this,n),(r=t.call(this))._validators=e,r._asyncValidators=i,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Wr,r}return _(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return Mg(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){qg(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);Ng(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);Ng(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,Hg(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return Vg(t)})),t.valueAccessor.registerOnTouched((function(){return Vg(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&Mg(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=zg(this._validators);this.form.validator=_g.compose([this.form.validator,e]);var t=Bg(this._asyncValidators);this.form.asyncValidator=_g.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form||Pg.missingFormException()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(dg),o_=function e(){y(this,e)},a_=function e(){y(this,e)},s_=vi({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function l_(e){return pa(0,[(e()(),$o(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(e()(),ha(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.placeholder||"\xa0")}))}function u_(e){return pa(0,[(e()(),$o(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ha(1,null,["",""]))],null,(function(e,t){e(t,1,0,t.component.triggerValue||"\xa0")}))}function c_(e){return pa(0,[la(null,0),(e()(),Qo(0,null,null,0))],null,null)}function h_(e){return pa(0,[(e()(),$o(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),Cr(1,16384,null,0,Yl,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Qo(16777216,null,null,1,null,u_)),Cr(3,16384,null,0,Zl,[ei,$n,Yl],null,null),(e()(),Qo(16777216,null,null,1,null,c_)),Cr(5,278528,null,0,Gl,[ei,$n,Yl],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(e,t){e(t,1,0,!!t.component.customTrigger),e(t,5,0,!0)}),null)}function d_(e){return pa(0,[(e()(),$o(0,0,null,null,3,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(e()(),$o(1,0,[[2,0],["panel",1]],null,2,"div",[],[[1,"id",0],[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(e,t,n){var i=!0,r=e.component;return"@transformPanel.done"===t&&(i=!1!==r._panelDoneAnimatingStream.next(n.toState)&&i),"keydown"===t&&(i=!1!==r._handleKeydown(n)&&i),i}),null,null)),Cr(2,278528,null,0,Ll,[Yn,Gn,Tn,Pn],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),la(null,1)],(function(e,t){var n,i,r=t.component;e(t,2,0,("mat-select-panel ",n=r._getPanelTheme(),"mat-select-panel "+(null!=(i=n)?i.toString():"")),r.panelClass)}),(function(e,t){var n=t.component;e(t,0,0,void 0),e(t,1,0,n.id+"-panel",n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function f_(e){return pa(2,[ia(671088640,1,{trigger:0}),ia(671088640,2,{panel:0}),ia(671088640,3,{overlayDir:0}),(e()(),$o(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggle()&&i),i}),null,null)),Cr(4,16384,[["origin",4]],0,sc,[Tn],null,null),(e()(),$o(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),Cr(6,16384,null,0,Yl,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Qo(16777216,null,null,1,null,l_)),Cr(8,278528,null,0,Gl,[ei,$n,Yl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Qo(16777216,null,null,1,null,h_)),Cr(10,278528,null,0,Gl,[ei,$n,Yl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),$o(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(e()(),$o(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(e()(),Qo(16777216,null,null,1,(function(e,t,n){var i=!0,r=e.component;return"backdropClick"===t&&(i=!1!==r.close()&&i),"attach"===t&&(i=!1!==r._onAttached()&&i),"detach"===t&&(i=!1!==r.close()&&i),i}),d_)),Cr(14,671744,[[3,4]],0,lc,[rc,$n,ei,ac,[2,hh]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(e,t){var n=t.component;e(t,6,0,n.empty),e(t,8,0,!0),e(t,10,0,!1),e(t,14,0,fr(t,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}var p_=vi({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],data:{}});function m_(e){return pa(0,[(e()(),$o(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,g_,y_)),Cr(1,49152,null,0,Mh,[[2,$p]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.selected?"checked":"unchecked",n.disabled)}),(function(e,t){e(t,0,0,"indeterminate"===fr(t,1).state,"checked"===fr(t,1).state,fr(t,1).disabled,"NoopAnimations"===fr(t,1)._animationMode)}))}function v_(e){return pa(2,[(e()(),Qo(16777216,null,null,1,null,m_)),Cr(1,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null),(e()(),$o(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),la(null,0),(e()(),$o(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Cr(5,212992,null,0,Ph,[Tn,mo,au,[2,Rh],[2,$p]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(e,t){var n=t.component;e(t,1,0,n.multiple),e(t,5,0,n.disabled||n.disableRipple,n._getHostElement())}),(function(e,t){e(t,4,0,fr(t,5).unbounded)}))}var y_=vi({encapsulation:2,styles:['.mat-pseudo-checkbox{width:16px;height:16px;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:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],data:{}});function g_(e){return pa(2,[],null,null)}var __=cu({passive:!0}),b_=function(){var e=function(){function e(t,n){y(this,e),this._platform=t,this._ngZone=n,this._monitoredElements=new Map}return _(e,[{key:"monitor",value:function(e){var t=this;if(!this._platform.isBrowser)return dl;var n=As(e),i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var r=new H,o="cdk-text-field-autofilled",a=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(o)&&(n.classList.remove(o),t._ngZone.run((function(){return r.next({target:e.target,isAutofilled:!1})}))):(n.classList.add(o),t._ngZone.run((function(){return r.next({target:e.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",a,__),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",a,__)}}),r.asObservable()}},{key:"stopMonitoring",value:function(e){var t=As(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}},{key:"ngOnDestroy",value:function(){var e=this;this._monitoredElements.forEach((function(t,n){return e.stopMonitoring(n)}))}}]),e}();return e.\u0275prov=Ie({factory:function(){return new e(Ze(au),Ze(mo))},token:e,providedIn:"root"}),e}(),k_=function(){return function e(){y(this,e)}}(),w_=["button","checkbox","file","hidden","image","radio","range","reset","submit"],C_=0,x_=kh((function e(t,n,i,r){y(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r})),E_=function(){return function(e){d(n,e);var t=v(n);function n(e,i,r,o,a,s,l,u,c){var h;y(this,n),(h=t.call(this,s,o,a,r))._elementRef=e,h._platform=i,h.ngControl=r,h._autofillMonitor=u,h._uid="mat-input-".concat(C_++),h.focused=!1,h.stateChanges=new H,h.controlType="mat-input",h.autofilled=!1,h._disabled=!1,h._required=!1,h._type="text",h._readonly=!1,h._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(e){return uu().has(e)}));var d=h._elementRef.nativeElement,f=d.nodeName.toLowerCase();return h._inputValueAccessor=l||d,h._previousNativeValue=h.value,h.id=h.id,i.IOS&&c.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))}))})),h._isServer=!h._platform.isBrowser,h._isNativeSelect="select"===f,h._isTextarea="textarea"===f,h._isNativeSelect&&(h.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),h}return _(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()}))}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_focusChanged",value:function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){if(w_.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=xs(e),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=xs(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea&&uu().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(e){this._readonly=xs(e)}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}}]),n}(x_)}(),S_=function(){return function e(){y(this,e)}}(),I_=new je("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),T_=new je("mat-checkbox-click-action"),A_=0,O_=function e(){y(this,e)},R_=bh(gh(_h(yh((function e(t){y(this,e),this._elementRef=t}))))),P_=function(){return function(e){d(n,e);var t=v(n);function n(e,i,r,o,a,s,l,u){var c;return y(this,n),(c=t.call(this,e))._changeDetectorRef=i,c._focusMonitor=r,c._ngZone=o,c._clickAction=s,c._animationMode=l,c._options=u,c.ariaLabel="",c.ariaLabelledby=null,c._uniqueId="mat-checkbox-".concat(++A_),c.id=c._uniqueId,c.labelPosition="after",c.name=null,c.change=new Wr,c.indeterminateChange=new Wr,c._onTouched=function(){},c._currentAnimationClass="",c._currentCheckState=0,c._controlValueAccessorChangeFn=function(){},c._checked=!1,c._disabled=!1,c._indeterminate=!1,c._options=c._options||{},c._options.color&&(c.color=c._options.color),c.tabIndex=parseInt(a)||0,c._clickAction=c._clickAction||c._options.clickAction,c}return _(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(t){t||Promise.resolve().then((function(){e._onTouched(),e._changeDetectorRef.markForCheck()}))})),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(e){var t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(i)}),1e3)}))}}},{key:"_emitChangeEvent",value:function(){var e=new O_;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t=this;e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){t._indeterminate=!1,t.indeterminateChange.emit(t._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,e,t)}},{key:"_onInteractionEvent",value:function(e){e.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(e,t){if("NoopAnimations"===this._animationMode)return"";var n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(e){this._required=xs(e)}},{key:"checked",get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){var t=xs(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=xs(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),n}(R_)}(),D_=function(){return function e(){y(this,e)}}(),M_=function(){return function e(){y(this,e)}}(),F_=vi({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-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 mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],data:{}});function N_(e){return pa(2,[ia(671088640,1,{_inputElement:0}),ia(671088640,2,{ripple:0}),(e()(),$o(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(e()(),$o(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(e()(),$o(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0],[1,"aria-describedby",0]],[[null,"change"],[null,"click"]],(function(e,t,n){var i=!0,r=e.component;return"change"===t&&(i=!1!==r._onInteractionEvent(n)&&i),"click"===t&&(i=!1!==r._onInputClick(n)&&i),i}),null,null)),(e()(),$o(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-focus-indicator mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Cr(6,212992,[[2,4]],0,Ph,[Tn,mo,au,[2,Rh],[2,$p]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),ca(7,{enterDuration:0}),(e()(),$o(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(e()(),$o(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(e()(),$o(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(e()(),$o(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(e()(),$o(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(e()(),$o(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(e()(),$o(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],(function(e,t,n){var i=!0;return"cdkObserveContent"===t&&(i=!1!==e.component._onLabelTextChange()&&i),i}),null,null)),Cr(15,1196032,null,0,Cm,[wm,Tn,mo],null,{event:"cdkObserveContent"}),(e()(),$o(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(e()(),ha(-1,null,["\xa0"])),la(null,0)],(function(e,t){var n=t.component,i=e(t,7,0,150);e(t,6,0,!0,20,i,n._isRippleDisabled(),fr(t,2))}),(function(e,t){var n=t.component;e(t,2,0,n.inputId),e(t,3,0,!fr(t,14).textContent||!fr(t,14).textContent.trim()),e(t,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked(),n.ariaDescribedby]),e(t,5,0,fr(t,6).unbounded)}))}var V_=vi({encapsulation:0,styles:[[".demo-code[_ngcontent-%COMP%]{font-family:Roboto Mono}.demo-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.demo-container[_ngcontent-%COMP%]{padding:15px}.demo-source[_ngcontent-%COMP%]{margin-left:15px}.demo-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.demo-section[_ngcontent-%COMP%]{display:flex;align-content:center;align-items:center;height:50px}.demo-margin[_ngcontent-%COMP%]{margin:0 10px}.demo-margin[_ngcontent-%COMP%]:first-of-type{margin-left:0}.demo-carousel[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:16px}"]],data:{}});function L_(e){return pa(0,[(e()(),$o(0,0,null,null,8,null,null,null,null,null,null,null)),(e()(),$o(1,0,null,null,7,"div",[["style","width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center"]],null,null,null,null,null)),(e()(),$o(2,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),ha(3,null,["",""])),(e()(),$o(4,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),ha(5,null,["disabled: ",""])),(e()(),$o(6,0,null,null,2,"button",[["class","mat-focus-indicator"],["mat-flat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=0!=(fr(e.parent,1).disabled=!fr(e.parent,1).disabled)&&i),i}),nm,tm)),Cr(7,4374528,null,0,Zh,[Tn,Bc,[2,$p]],null,null),(e()(),ha(-1,0,[" Click me! "]))],null,(function(e,t){e(t,3,0,t.parent.context.index),e(t,5,0,fr(t.parent,1).disabled),e(t,6,0,fr(t,7).disabled||null,"NoopAnimations"===fr(t,7)._animationMode)}))}function z_(e){return pa(0,[(e()(),$o(0,0,null,null,3,"mat-carousel-slide",[["image","assets/demo.png"]],null,null,null,Pv,Av)),Cr(1,114688,[[121,4],[1,4],["matCarouselSlide",4]],0,Rm,[Pd],{image:[0,"image"],overlayColor:[1,"overlayColor"],hideOverlay:[2,"hideOverlay"]},null),(e()(),Qo(16777216,null,0,1,null,L_)),Cr(3,16384,null,0,Hl,[ei,$n],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,"assets/demo.png",n.overlayColor,n.hideOverlay),e(t,3,0,n.showContent)}),null)}function B_(e){return pa(0,[ia(671088640,1,{carouselSlides:1}),(e()(),$o(1,0,null,null,41,"mat-toolbar",[["class","mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,Vv,Nv)),Cr(2,4243456,null,1,Mv,[Tn,au,bl],null,null),ia(603979776,2,{_toolbarRows:1}),(e()(),$o(4,0,null,0,3,"div",[["class","demo-logo"]],null,null,null,null,null)),(e()(),$o(5,0,null,null,0,"img",[["src","../assets/Logo.png"],["width","60px"]],null,null,null,null,null)),(e()(),$o(6,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ha(-1,null,["material2-carousel"])),(e()(),$o(8,0,null,0,0,"span",[["class","demo-spacer"]],null,null,null,null,null)),(e()(),$o(9,0,null,0,7,"span",[],null,null,null,null,null)),(e()(),$o(10,16777216,null,null,6,"button",[["aria-label","Button for copying installation command to clipboard"],["class","demo-code mat-focus-indicator mat-tooltip-trigger"],["mat-button",""],["matTooltip","Copy to clipboard"],["matTooltipPosition","before"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.copy()&&i),i}),nm,tm)),Cr(11,4374528,null,0,Zh,[Tn,Bc,[2,$p]],null,null),Cr(12,4341760,null,0,gm,[rc,Tn,pu,ei,mo,au,Oc,Bc,mm,[2,hh],[2,ym]],{position:[0,"position"],message:[1,"message"]},null),(e()(),$o(13,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,yv,vv)),Cr(14,9158656,null,0,pv,[Tn,av,[8,null],cv,ct],null,null),(e()(),ha(-1,0,["assignment"])),(e()(),ha(-1,0,[" npm install @ngbmodule/material-carousel "])),(e()(),$o(17,0,null,0,25,"span",[["class","demo-source"]],null,null,null,null,null)),(e()(),$o(18,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-focus-indicator mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0],[1,"aria-controls",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(e,t,n){var i=!0;return"mousedown"===t&&(i=!1!==fr(e,20)._handleMousedown(n)&&i),"keydown"===t&&(i=!1!==fr(e,20)._handleKeydown(n)&&i),"click"===t&&(i=!1!==fr(e,20)._handleClick(n)&&i),i}),nm,tm)),Cr(19,4374528,null,0,Zh,[Tn,Bc,[2,$p]],null,null),Cr(20,1196032,null,0,ey,[rc,Tn,ei,Qv,[2,Zv],[8,null],[2,hh],Bc],{menu:[0,"menu"]},null),(e()(),$o(21,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,yv,vv)),Cr(22,9158656,null,0,pv,[Tn,av,[8,null],cv,ct],null,null),(e()(),ha(-1,0,["menu"])),(e()(),$o(24,0,null,null,18,"mat-menu",[],null,null,null,oy,iy)),Cr(25,1294336,[["demoMenu",4]],3,Xv,[Tn,mo,Kv],null,null),ia(603979776,3,{_allItems:1}),ia(603979776,4,{items:1}),ia(603979776,5,{lazyContent:0}),xr(2048,null,Zv,null,[Xv]),xr(2048,null,qv,null,[Zv]),(e()(),$o(31,0,null,0,5,"a",[["class","mat-focus-indicator"],["href","https://github.com/gabrielbusarello/material2-carousel"],["mat-menu-item",""],["target","_blank"]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,32)._checkDisabled(n)&&i),"mouseenter"===t&&(i=!1!==fr(e,32)._handleMouseEnter()&&i),i}),sy,ay)),Cr(32,4374528,[[3,4],[4,4]],0,Wv,[Tn,bl,Bc,[2,qv]],null,null),(e()(),$o(33,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,yv,vv)),Cr(34,9158656,null,0,pv,[Tn,av,[8,null],cv,ct],null,null),(e()(),ha(-1,0,["code"])),(e()(),ha(-1,0,["Source code "])),(e()(),$o(37,0,null,0,5,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(e,t,n){var i=!0,r=e.component;return"click"===t&&(i=!1!==fr(e,38)._checkDisabled(n)&&i),"mouseenter"===t&&(i=!1!==fr(e,38)._handleMouseEnter()&&i),"click"===t&&(i=!1!==r.toggleTheme()&&i),i}),sy,ay)),Cr(38,4374528,[[3,4],[4,4]],0,Wv,[Tn,bl,Bc,[2,qv]],null,null),(e()(),$o(39,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,yv,vv)),Cr(40,9158656,null,0,pv,[Tn,av,[8,null],cv,ct],null,null),(e()(),ha(41,0,[" "," "])),(e()(),ha(-1,0,[" Toggle theme "])),(e()(),$o(43,0,null,null,378,"div",[["class","demo-container mat-app-background"]],null,null,null,null,null)),(e()(),$o(44,0,null,null,377,"mat-card",[["class","mat-card mat-focus-indicator"]],[[2,"_mat-animation-noopable",null]],null,null,dy,hy)),Cr(45,49152,null,0,uy,[[2,$p]],null,null),(e()(),$o(46,0,null,0,375,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Cr(47,16384,null,0,ly,[],null,null),(e()(),$o(48,0,null,null,356,"mat-accordion",[["class","mat-accordion"]],[[2,"mat-accordion-multi",null]],null,null,null,null)),Cr(49,1720320,null,1,xy,[],null,null),ia(603979776,6,{_headers:1}),xr(2048,null,gy,null,[xy]),(e()(),$o(52,16777216,null,null,36,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ty,Sy)),Cr(53,1753088,null,1,ky,[[3,gy],Gt,fu,ei,bl,[2,$p],[2,by]],null,null),ia(603979776,7,{_lazyContent:0}),xr(256,null,gy,void 0,[]),(e()(),$o(56,0,null,0,4,"mat-expansion-panel-header",[["class","mat-expansion-panel-header mat-focus-indicator"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[2,"_mat-animation-noopable",null],[4,"height",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,57)._toggle()&&i),"keydown"===t&&(i=!1!==fr(e,57)._keydown(n)&&i),i}),Ry,Ay)),Cr(57,4374528,[[6,4]],0,wy,[ky,Tn,Bc,Gt,[2,by],[2,$p]],null,null),(e()(),$o(58,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Cr(59,16384,null,0,Cy,[],null,null),(e()(),ha(-1,null,[" Parent Configuration "])),(e()(),$o(61,0,null,1,27,"section",[["class","demo-section"]],null,null,null,null,null)),(e()(),$o(62,0,null,null,1,"label",[["class","demo-margin"]],null,null,null,null,null)),(e()(),ha(-1,null,["Size:"])),(e()(),$o(64,0,null,null,24,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),Cr(65,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,8,{_controlNonStatic:0}),ia(335544320,9,{_controlStatic:0}),ia(603979776,10,{_labelChildNonStatic:0}),ia(335544320,11,{_labelChildStatic:0}),ia(603979776,12,{_placeholderChild:0}),ia(603979776,13,{_errorChildren:1}),ia(603979776,14,{_hintChildren:1}),ia(603979776,15,{_prefixChildren:1}),ia(603979776,16,{_suffixChildren:1}),xr(2048,null,Vy,null,[Ly]),(e()(),$o(76,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Parent Height"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(e,t,n){var i=!0,r=e.component;return"keydown"===t&&(i=!1!==fr(e,77)._handleKeydown(n)&&i),"focus"===t&&(i=!1!==fr(e,77)._onFocus()&&i),"blur"===t&&(i=!1!==fr(e,77)._onBlur()&&i),"valueChange"===t&&(i=!1!==(r.parentHeight=n)&&i),i}),f_,s_)),Cr(77,2080768,null,3,og,[mu,Gt,mo,wh,Tn,[2,hh],[2,$g],[2,r_],[2,Vy],[8,null],[8,null],eg,Nc,[2,ng]],{placeholder:[0,"placeholder"],value:[1,"value"]},{valueChange:"valueChange"}),ia(603979776,17,{options:1}),ia(603979776,18,{optionGroups:1}),ia(603979776,19,{customTrigger:0}),xr(2048,[[8,4],[9,4]],Py,null,[og]),xr(2048,null,jh,null,[og]),(e()(),$o(83,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,84)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,84)._handleKeydown(n)&&i),i}),v_,p_)),Cr(84,8568832,[[17,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["Auto"])),(e()(),$o(86,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,87)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,87)._handleKeydown(n)&&i),i}),v_,p_)),Cr(87,8568832,[[17,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["500px"])),(e()(),$o(89,16777216,null,null,266,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ty,Sy)),Cr(90,1753088,null,1,ky,[[3,gy],Gt,fu,ei,bl,[2,$p],[2,by]],null,null),ia(603979776,20,{_lazyContent:0}),xr(256,null,gy,void 0,[]),(e()(),$o(93,0,null,0,4,"mat-expansion-panel-header",[["class","mat-expansion-panel-header mat-focus-indicator"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[2,"_mat-animation-noopable",null],[4,"height",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,94)._toggle()&&i),"keydown"===t&&(i=!1!==fr(e,94)._keydown(n)&&i),i}),Ry,Ay)),Cr(94,4374528,[[6,4]],0,wy,[ky,Tn,Bc,Gt,[2,by],[2,$p]],null,null),(e()(),$o(95,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Cr(96,16384,null,0,Cy,[],null,null),(e()(),ha(-1,null,[" Carousel configuration "])),(e()(),$o(98,0,null,1,50,"section",[["class","demo-section"]],null,null,null,null,null)),(e()(),$o(99,0,null,null,1,"label",[["class","demo-margin"]],null,null,null,null,null)),(e()(),ha(-1,null,["Animations:"])),(e()(),$o(101,0,null,null,19,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),xr(6144,null,Vy,null,[Ly]),Cr(103,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,21,{_controlNonStatic:0}),ia(335544320,22,{_controlStatic:0}),ia(603979776,23,{_labelChildNonStatic:0}),ia(335544320,24,{_labelChildStatic:0}),ia(603979776,25,{_placeholderChild:0}),ia(603979776,26,{_errorChildren:1}),ia(603979776,27,{_hintChildren:1}),ia(603979776,28,{_prefixChildren:1}),ia(603979776,29,{_suffixChildren:1}),(e()(),$o(113,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Timings"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(e,t,n){var i=!0,r=e.component;return"input"===t&&(i=!1!==fr(e,114)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,114).onTouched()&&i),"compositionstart"===t&&(i=!1!==fr(e,114)._compositionStart()&&i),"compositionend"===t&&(i=!1!==fr(e,114)._compositionEnd(n.target.value)&&i),"focus"===t&&(i=!1!==fr(e,119)._focusChanged(!0)&&i),"blur"===t&&(i=!1!==fr(e,119)._focusChanged(!1)&&i),"input"===t&&(i=!1!==fr(e,119)._onInput()&&i),"ngModelChange"===t&&(i=!1!==(r.timings=n)&&i),i}),null,null)),Cr(114,16384,null,0,cg,[Pn,Tn,[2,ug]],null,null),xr(1024,null,sg,(function(e){return[e]}),[cg]),Cr(116,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(118,16384,null,0,mg,[[4,pg]],null,null),Cr(119,5128192,null,0,E_,[Tn,au,[6,pg],[2,$g],[2,r_],wh,[8,null],b_,mo],{placeholder:[0,"placeholder"]},null),xr(2048,[[21,4],[22,4]],Py,null,[E_]),(e()(),$o(121,0,null,null,6,"mat-checkbox",[["class","demo-margin mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,t,n){var i=!0;return"ngModelChange"===t&&(i=!1!==(e.component.autoplay=n)&&i),i}),N_,F_)),Cr(122,12763136,null,0,P_,[Tn,Gt,Bc,mo,[8,null],[2,T_],[2,$p],[2,I_]],null,null),xr(1024,null,sg,(function(e){return[e]}),[P_]),Cr(124,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(126,16384,null,0,mg,[[4,pg]],null,null),(e()(),ha(-1,0,["Autoplay"])),(e()(),$o(128,0,null,null,20,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),xr(6144,null,Vy,null,[Ly]),Cr(130,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,30,{_controlNonStatic:0}),ia(335544320,31,{_controlStatic:0}),ia(603979776,32,{_labelChildNonStatic:0}),ia(335544320,33,{_labelChildStatic:0}),ia(603979776,34,{_placeholderChild:0}),ia(603979776,35,{_errorChildren:1}),ia(603979776,36,{_hintChildren:1}),ia(603979776,37,{_prefixChildren:1}),ia(603979776,38,{_suffixChildren:1}),(e()(),$o(140,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","1"],["placeholder","Interval"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(e,t,n){var i=!0,r=e.component;return"input"===t&&(i=!1!==fr(e,141)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,141).onTouched()&&i),"compositionstart"===t&&(i=!1!==fr(e,141)._compositionStart()&&i),"compositionend"===t&&(i=!1!==fr(e,141)._compositionEnd(n.target.value)&&i),"input"===t&&(i=!1!==fr(e,142).onChange(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,142).onTouched()&&i),"focus"===t&&(i=!1!==fr(e,147)._focusChanged(!0)&&i),"blur"===t&&(i=!1!==fr(e,147)._focusChanged(!1)&&i),"input"===t&&(i=!1!==fr(e,147)._onInput()&&i),"ngModelChange"===t&&(i=!1!==(r.interval=n)&&i),i}),null,null)),Cr(141,16384,null,0,cg,[Pn,Tn,[2,ug]],null,null),Cr(142,16384,null,0,Eg,[Pn,Tn],null,null),xr(1024,null,sg,(function(e,t){return[e,t]}),[cg,Eg]),Cr(144,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(146,16384,null,0,mg,[[4,pg]],null,null),Cr(147,5128192,null,0,E_,[Tn,au,[6,pg],[2,$g],[2,r_],wh,[8,null],b_,mo],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xr(2048,[[30,4],[31,4]],Py,null,[E_]),(e()(),$o(149,0,null,1,71,"section",[["class","demo-section"]],null,null,null,null,null)),(e()(),$o(150,0,null,null,1,"label",[["class","demo-margin"]],null,null,null,null,null)),(e()(),ha(-1,null,["Appearance:"])),(e()(),$o(152,0,null,null,27,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),Cr(153,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,39,{_controlNonStatic:0}),ia(335544320,40,{_controlStatic:0}),ia(603979776,41,{_labelChildNonStatic:0}),ia(335544320,42,{_labelChildStatic:0}),ia(603979776,43,{_placeholderChild:0}),ia(603979776,44,{_errorChildren:1}),ia(603979776,45,{_hintChildren:1}),ia(603979776,46,{_prefixChildren:1}),ia(603979776,47,{_suffixChildren:1}),xr(2048,null,Vy,null,[Ly]),(e()(),$o(164,0,null,1,15,"mat-select",[["class","mat-select"],["placeholder","Color"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(e,t,n){var i=!0,r=e.component;return"keydown"===t&&(i=!1!==fr(e,165)._handleKeydown(n)&&i),"focus"===t&&(i=!1!==fr(e,165)._onFocus()&&i),"blur"===t&&(i=!1!==fr(e,165)._onBlur()&&i),"valueChange"===t&&(i=!1!==(r.color=n)&&i),i}),f_,s_)),Cr(165,2080768,null,3,og,[mu,Gt,mo,wh,Tn,[2,hh],[2,$g],[2,r_],[2,Vy],[8,null],[8,null],eg,Nc,[2,ng]],{placeholder:[0,"placeholder"],value:[1,"value"]},{valueChange:"valueChange"}),ia(603979776,48,{options:1}),ia(603979776,49,{optionGroups:1}),ia(603979776,50,{customTrigger:0}),xr(2048,[[39,4],[40,4]],Py,null,[og]),xr(2048,null,jh,null,[og]),(e()(),$o(171,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"],["value","primary"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,172)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,172)._handleKeydown(n)&&i),i}),v_,p_)),Cr(172,8568832,[[48,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["Primary"])),(e()(),$o(174,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"],["value","accent"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,175)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,175)._handleKeydown(n)&&i),i}),v_,p_)),Cr(175,8568832,[[48,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["Accent"])),(e()(),$o(177,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"],["value","warn"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,178)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,178)._handleKeydown(n)&&i),i}),v_,p_)),Cr(178,8568832,[[48,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["Warn"])),(e()(),$o(180,0,null,null,19,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),xr(6144,null,Vy,null,[Ly]),Cr(182,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,51,{_controlNonStatic:0}),ia(335544320,52,{_controlStatic:0}),ia(603979776,53,{_labelChildNonStatic:0}),ia(335544320,54,{_labelChildStatic:0}),ia(603979776,55,{_placeholderChild:0}),ia(603979776,56,{_errorChildren:1}),ia(603979776,57,{_hintChildren:1}),ia(603979776,58,{_prefixChildren:1}),ia(603979776,59,{_suffixChildren:1}),(e()(),$o(192,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Maximum width"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(e,t,n){var i=!0,r=e.component;return"input"===t&&(i=!1!==fr(e,193)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,193).onTouched()&&i),"compositionstart"===t&&(i=!1!==fr(e,193)._compositionStart()&&i),"compositionend"===t&&(i=!1!==fr(e,193)._compositionEnd(n.target.value)&&i),"focus"===t&&(i=!1!==fr(e,198)._focusChanged(!0)&&i),"blur"===t&&(i=!1!==fr(e,198)._focusChanged(!1)&&i),"input"===t&&(i=!1!==fr(e,198)._onInput()&&i),"ngModelChange"===t&&(i=!1!==(r.maxWidth=n)&&i),i}),null,null)),Cr(193,16384,null,0,cg,[Pn,Tn,[2,ug]],null,null),xr(1024,null,sg,(function(e){return[e]}),[cg]),Cr(195,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(197,16384,null,0,mg,[[4,pg]],null,null),Cr(198,5128192,null,0,E_,[Tn,au,[6,pg],[2,$g],[2,r_],wh,[8,null],b_,mo],{placeholder:[0,"placeholder"]},null),xr(2048,[[51,4],[52,4]],Py,null,[E_]),(e()(),$o(200,0,null,null,20,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),xr(6144,null,Vy,null,[Ly]),Cr(202,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,60,{_controlNonStatic:0}),ia(335544320,61,{_controlStatic:0}),ia(603979776,62,{_labelChildNonStatic:0}),ia(335544320,63,{_labelChildStatic:0}),ia(603979776,64,{_placeholderChild:0}),ia(603979776,65,{_errorChildren:1}),ia(603979776,66,{_hintChildren:1}),ia(603979776,67,{_prefixChildren:1}),ia(603979776,68,{_suffixChildren:1}),(e()(),$o(212,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Slides"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(e,t,n){var i=!0,r=e.component;return"input"===t&&(i=!1!==fr(e,213)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,213).onTouched()&&i),"compositionstart"===t&&(i=!1!==fr(e,213)._compositionStart()&&i),"compositionend"===t&&(i=!1!==fr(e,213)._compositionEnd(n.target.value)&&i),"input"===t&&(i=!1!==fr(e,214).onChange(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,214).onTouched()&&i),"focus"===t&&(i=!1!==fr(e,219)._focusChanged(!0)&&i),"blur"===t&&(i=!1!==fr(e,219)._focusChanged(!1)&&i),"input"===t&&(i=!1!==fr(e,219)._onInput()&&i),"ngModelChange"===t&&(i=!1!==(r.slides=n)&&i),i}),null,null)),Cr(213,16384,null,0,cg,[Pn,Tn,[2,ug]],null,null),Cr(214,16384,null,0,Eg,[Pn,Tn],null,null),xr(1024,null,sg,(function(e,t){return[e,t]}),[cg,Eg]),Cr(216,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(218,16384,null,0,mg,[[4,pg]],null,null),Cr(219,5128192,null,0,E_,[Tn,au,[6,pg],[2,$g],[2,r_],wh,[8,null],b_,mo],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xr(2048,[[60,4],[61,4]],Py,null,[E_]),(e()(),$o(221,0,null,1,68,"section",[["class","demo-section"]],null,null,null,null,null)),(e()(),$o(222,0,null,null,1,"label",[["class","demo-margin"]],null,null,null,null,null)),(e()(),ha(-1,null,["Size:"])),(e()(),$o(224,0,null,null,24,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),Cr(225,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,69,{_controlNonStatic:0}),ia(335544320,70,{_controlStatic:0}),ia(603979776,71,{_labelChildNonStatic:0}),ia(335544320,72,{_labelChildStatic:0}),ia(603979776,73,{_placeholderChild:0}),ia(603979776,74,{_errorChildren:1}),ia(603979776,75,{_hintChildren:1}),ia(603979776,76,{_prefixChildren:1}),ia(603979776,77,{_suffixChildren:1}),xr(2048,null,Vy,null,[Ly]),(e()(),$o(236,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Maintain Aspect Ratio"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(e,t,n){var i=!0,r=e.component;return"keydown"===t&&(i=!1!==fr(e,237)._handleKeydown(n)&&i),"focus"===t&&(i=!1!==fr(e,237)._onFocus()&&i),"blur"===t&&(i=!1!==fr(e,237)._onBlur()&&i),"valueChange"===t&&(i=!1!==(r.maintainAspectRatio=n)&&i),i}),f_,s_)),Cr(237,2080768,null,3,og,[mu,Gt,mo,wh,Tn,[2,hh],[2,$g],[2,r_],[2,Vy],[8,null],[8,null],eg,Nc,[2,ng]],{placeholder:[0,"placeholder"],value:[1,"value"]},{valueChange:"valueChange"}),ia(603979776,78,{options:1}),ia(603979776,79,{optionGroups:1}),ia(603979776,80,{customTrigger:0}),xr(2048,[[69,4],[70,4]],Py,null,[og]),xr(2048,null,jh,null,[og]),(e()(),$o(243,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,244)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,244)._handleKeydown(n)&&i),i}),v_,p_)),Cr(244,8568832,[[78,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["True"])),(e()(),$o(246,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,247)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,247)._handleKeydown(n)&&i),i}),v_,p_)),Cr(247,8568832,[[78,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["False"])),(e()(),$o(249,0,null,null,20,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),xr(6144,null,Vy,null,[Ly]),Cr(251,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,81,{_controlNonStatic:0}),ia(335544320,82,{_controlStatic:0}),ia(603979776,83,{_labelChildNonStatic:0}),ia(335544320,84,{_labelChildStatic:0}),ia(603979776,85,{_placeholderChild:0}),ia(603979776,86,{_errorChildren:1}),ia(603979776,87,{_hintChildren:1}),ia(603979776,88,{_prefixChildren:1}),ia(603979776,89,{_suffixChildren:1}),(e()(),$o(261,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","1"],["placeholder","Proportion"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(e,t,n){var i=!0,r=e.component;return"input"===t&&(i=!1!==fr(e,262)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,262).onTouched()&&i),"compositionstart"===t&&(i=!1!==fr(e,262)._compositionStart()&&i),"compositionend"===t&&(i=!1!==fr(e,262)._compositionEnd(n.target.value)&&i),"input"===t&&(i=!1!==fr(e,263).onChange(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,263).onTouched()&&i),"focus"===t&&(i=!1!==fr(e,268)._focusChanged(!0)&&i),"blur"===t&&(i=!1!==fr(e,268)._focusChanged(!1)&&i),"input"===t&&(i=!1!==fr(e,268)._onInput()&&i),"ngModelChange"===t&&(i=!1!==(r.proportion=n)&&i),i}),null,null)),Cr(262,16384,null,0,cg,[Pn,Tn,[2,ug]],null,null),Cr(263,16384,null,0,Eg,[Pn,Tn],null,null),xr(1024,null,sg,(function(e,t){return[e,t]}),[cg,Eg]),Cr(265,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(267,16384,null,0,mg,[[4,pg]],null,null),Cr(268,5128192,null,0,E_,[Tn,au,[6,pg],[2,$g],[2,r_],wh,[8,null],b_,mo],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xr(2048,[[81,4],[82,4]],Py,null,[E_]),(e()(),$o(270,0,null,null,19,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),xr(6144,null,Vy,null,[Ly]),Cr(272,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,90,{_controlNonStatic:0}),ia(335544320,91,{_controlStatic:0}),ia(603979776,92,{_labelChildNonStatic:0}),ia(335544320,93,{_labelChildStatic:0}),ia(603979776,94,{_placeholderChild:0}),ia(603979776,95,{_errorChildren:1}),ia(603979776,96,{_hintChildren:1}),ia(603979776,97,{_prefixChildren:1}),ia(603979776,98,{_suffixChildren:1}),(e()(),$o(282,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Slide Height"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(e,t,n){var i=!0,r=e.component;return"input"===t&&(i=!1!==fr(e,283)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,283).onTouched()&&i),"compositionstart"===t&&(i=!1!==fr(e,283)._compositionStart()&&i),"compositionend"===t&&(i=!1!==fr(e,283)._compositionEnd(n.target.value)&&i),"focus"===t&&(i=!1!==fr(e,288)._focusChanged(!0)&&i),"blur"===t&&(i=!1!==fr(e,288)._focusChanged(!1)&&i),"input"===t&&(i=!1!==fr(e,288)._onInput()&&i),"ngModelChange"===t&&(i=!1!==(r.slideHeight=n)&&i),i}),null,null)),Cr(283,16384,null,0,cg,[Pn,Tn,[2,ug]],null,null),xr(1024,null,sg,(function(e){return[e]}),[cg]),Cr(285,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(287,16384,null,0,mg,[[4,pg]],null,null),Cr(288,5128192,null,0,E_,[Tn,au,[6,pg],[2,$g],[2,r_],wh,[8,null],b_,mo],{placeholder:[0,"placeholder"],type:[1,"type"]},null),xr(2048,[[90,4],[91,4]],Py,null,[E_]),(e()(),$o(290,0,null,1,23,"section",[["class","demo-section"]],null,null,null,null,null)),(e()(),$o(291,0,null,null,1,"label",[["class","demo-margin"]],null,null,null,null,null)),(e()(),ha(-1,null,["Navigation:"])),(e()(),$o(293,0,null,null,6,"mat-checkbox",[["class","demo-margin mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,t,n){var i=!0;return"ngModelChange"===t&&(i=!1!==(e.component.loop=n)&&i),i}),N_,F_)),Cr(294,12763136,null,0,P_,[Tn,Gt,Bc,mo,[8,null],[2,T_],[2,$p],[2,I_]],null,null),xr(1024,null,sg,(function(e){return[e]}),[P_]),Cr(296,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(298,16384,null,0,mg,[[4,pg]],null,null),(e()(),ha(-1,0,["Loop"])),(e()(),$o(300,0,null,null,6,"mat-checkbox",[["class","demo-margin mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,t,n){var i=!0;return"ngModelChange"===t&&(i=!1!==(e.component.hideArrows=n)&&i),i}),N_,F_)),Cr(301,12763136,null,0,P_,[Tn,Gt,Bc,mo,[8,null],[2,T_],[2,$p],[2,I_]],null,null),xr(1024,null,sg,(function(e){return[e]}),[P_]),Cr(303,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(305,16384,null,0,mg,[[4,pg]],null,null),(e()(),ha(-1,0,["Hide arrows"])),(e()(),$o(307,0,null,null,6,"mat-checkbox",[["class","demo-margin mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,t,n){var i=!0;return"ngModelChange"===t&&(i=!1!==(e.component.hideIndicators=n)&&i),i}),N_,F_)),Cr(308,12763136,null,0,P_,[Tn,Gt,Bc,mo,[8,null],[2,T_],[2,$p],[2,I_]],null,null),xr(1024,null,sg,(function(e){return[e]}),[P_]),Cr(310,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(312,16384,null,0,mg,[[4,pg]],null,null),(e()(),ha(-1,0,["Hide indicators"])),(e()(),$o(314,0,null,1,41,"section",[["class","demo-section"]],null,null,null,null,null)),(e()(),$o(315,0,null,null,1,"label",[["class","demo-margin"]],null,null,null,null,null)),(e()(),ha(-1,null,["Accessibility:"])),(e()(),$o(317,0,null,null,6,"mat-checkbox",[["class","demo-margin mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,t,n){var i=!0;return"ngModelChange"===t&&(i=!1!==(e.component.useKeyboard=n)&&i),i}),N_,F_)),Cr(318,12763136,null,0,P_,[Tn,Gt,Bc,mo,[8,null],[2,T_],[2,$p],[2,I_]],null,null),xr(1024,null,sg,(function(e){return[e]}),[P_]),Cr(320,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(322,16384,null,0,mg,[[4,pg]],null,null),(e()(),ha(-1,0,["Use keyboard"])),(e()(),$o(324,0,null,null,6,"mat-checkbox",[["class","demo-margin mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,t,n){var i=!0;return"ngModelChange"===t&&(i=!1!==(e.component.useMouseWheel=n)&&i),i}),N_,F_)),Cr(325,12763136,null,0,P_,[Tn,Gt,Bc,mo,[8,null],[2,T_],[2,$p],[2,I_]],null,null),xr(1024,null,sg,(function(e){return[e]}),[P_]),Cr(327,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(329,16384,null,0,mg,[[4,pg]],null,null),(e()(),ha(-1,0,["Use mouse wheel"])),(e()(),$o(331,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),Cr(332,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,99,{_controlNonStatic:0}),ia(335544320,100,{_controlStatic:0}),ia(603979776,101,{_labelChildNonStatic:0}),ia(335544320,102,{_labelChildStatic:0}),ia(603979776,103,{_placeholderChild:0}),ia(603979776,104,{_errorChildren:1}),ia(603979776,105,{_hintChildren:1}),ia(603979776,106,{_prefixChildren:1}),ia(603979776,107,{_suffixChildren:1}),xr(2048,null,Vy,null,[Ly]),(e()(),$o(343,0,null,1,12,"mat-select",[["class","mat-select"],["placeholder","Orientation"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(e,t,n){var i=!0,r=e.component;return"keydown"===t&&(i=!1!==fr(e,344)._handleKeydown(n)&&i),"focus"===t&&(i=!1!==fr(e,344)._onFocus()&&i),"blur"===t&&(i=!1!==fr(e,344)._onBlur()&&i),"valueChange"===t&&(i=!1!==(r.orientation=n)&&i),"selectionChange"===t&&(i=!1!==fr(e,407).slideTo(0)&&i),i}),f_,s_)),Cr(344,2080768,null,3,og,[mu,Gt,mo,wh,Tn,[2,hh],[2,$g],[2,r_],[2,Vy],[8,null],[8,null],eg,Nc,[2,ng]],{placeholder:[0,"placeholder"],value:[1,"value"]},{selectionChange:"selectionChange",valueChange:"valueChange"}),ia(603979776,108,{options:1}),ia(603979776,109,{optionGroups:1}),ia(603979776,110,{customTrigger:0}),xr(2048,[[99,4],[100,4]],Py,null,[og]),xr(2048,null,jh,null,[og]),(e()(),$o(350,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"],["value","ltr"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,351)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,351)._handleKeydown(n)&&i),i}),v_,p_)),Cr(351,8568832,[[108,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["Left to right"])),(e()(),$o(353,0,null,1,2,"mat-option",[["class","mat-option mat-focus-indicator"],["role","option"],["value","rtl"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,354)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==fr(e,354)._handleKeydown(n)&&i),i}),v_,p_)),Cr(354,8568832,[[108,4]],0,Hh,[Tn,Gt,[2,jh],[2,Lh]],{value:[0,"value"]},null),(e()(),ha(-1,0,["Right to left"])),(e()(),$o(356,16777216,null,null,48,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ty,Sy)),Cr(357,1753088,null,1,ky,[[3,gy],Gt,fu,ei,bl,[2,$p],[2,by]],null,null),ia(603979776,111,{_lazyContent:0}),xr(256,null,gy,void 0,[]),(e()(),$o(360,0,null,0,4,"mat-expansion-panel-header",[["class","mat-expansion-panel-header mat-focus-indicator"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[2,"_mat-animation-noopable",null],[4,"height",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,361)._toggle()&&i),"keydown"===t&&(i=!1!==fr(e,361)._keydown(n)&&i),i}),Ry,Ay)),Cr(361,4374528,[[6,4]],0,wy,[ky,Tn,Bc,Gt,[2,by],[2,$p]],null,null),(e()(),$o(362,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Cr(363,16384,null,0,Cy,[],null,null),(e()(),ha(-1,null,[" Slide configuration "])),(e()(),$o(365,0,null,1,29,"section",[["class","demo-section"]],null,null,null,null,null)),(e()(),$o(366,0,null,null,1,"label",[["class","demo-margin"]],null,null,null,null,null)),(e()(),ha(-1,null,["Appearance:"])),(e()(),$o(368,0,null,null,19,"mat-form-field",[["class","demo-margin mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,$y,By)),xr(6144,null,Vy,null,[Ly]),Cr(370,7520256,null,9,Ly,[Tn,Gt,[2,Kh],[2,hh],[2,Ny],au,mo,[2,$p]],null,null),ia(603979776,112,{_controlNonStatic:0}),ia(335544320,113,{_controlStatic:0}),ia(603979776,114,{_labelChildNonStatic:0}),ia(335544320,115,{_labelChildStatic:0}),ia(603979776,116,{_placeholderChild:0}),ia(603979776,117,{_errorChildren:1}),ia(603979776,118,{_hintChildren:1}),ia(603979776,119,{_prefixChildren:1}),ia(603979776,120,{_suffixChildren:1}),(e()(),$o(380,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Overlay color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(e,t,n){var i=!0,r=e.component;return"input"===t&&(i=!1!==fr(e,381)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==fr(e,381).onTouched()&&i),"compositionstart"===t&&(i=!1!==fr(e,381)._compositionStart()&&i),"compositionend"===t&&(i=!1!==fr(e,381)._compositionEnd(n.target.value)&&i),"focus"===t&&(i=!1!==fr(e,386)._focusChanged(!0)&&i),"blur"===t&&(i=!1!==fr(e,386)._focusChanged(!1)&&i),"input"===t&&(i=!1!==fr(e,386)._onInput()&&i),"ngModelChange"===t&&(i=!1!==(r.overlayColor=n)&&i),i}),null,null)),Cr(381,16384,null,0,cg,[Pn,Tn,[2,ug]],null,null),xr(1024,null,sg,(function(e){return[e]}),[cg]),Cr(383,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(385,16384,null,0,mg,[[4,pg]],null,null),Cr(386,5128192,null,0,E_,[Tn,au,[6,pg],[2,$g],[2,r_],wh,[8,null],b_,mo],{placeholder:[0,"placeholder"]},null),xr(2048,[[112,4],[113,4]],Py,null,[E_]),(e()(),$o(388,0,null,null,6,"mat-checkbox",[["class","demo-margin mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,t,n){var i=!0;return"ngModelChange"===t&&(i=!1!==(e.component.hideOverlay=n)&&i),i}),N_,F_)),Cr(389,12763136,null,0,P_,[Tn,Gt,Bc,mo,[8,null],[2,T_],[2,$p],[2,I_]],null,null),xr(1024,null,sg,(function(e){return[e]}),[P_]),Cr(391,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(393,16384,null,0,mg,[[4,pg]],null,null),(e()(),ha(-1,0,["Hide overlay"])),(e()(),$o(395,0,null,1,9,"section",[["class","demo-section"]],null,null,null,null,null)),(e()(),$o(396,0,null,null,1,"label",[["class","demo-margin"]],null,null,null,null,null)),(e()(),ha(-1,null,["Custom:"])),(e()(),$o(398,0,null,null,6,"mat-checkbox",[["class","demo-margin mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(e,t,n){var i=!0;return"ngModelChange"===t&&(i=!1!==(e.component.showContent=n)&&i),i}),N_,F_)),Cr(399,12763136,null,0,P_,[Tn,Gt,Bc,mo,[8,null],[2,T_],[2,$p],[2,I_]],null,null),xr(1024,null,sg,(function(e){return[e]}),[P_]),Cr(401,671744,null,0,i_,[[8,null],[8,null],[8,null],[6,sg]],{model:[0,"model"]},{update:"ngModelChange"}),xr(2048,null,pg,null,[i_]),Cr(403,16384,null,0,mg,[[4,pg]],null,null),(e()(),ha(-1,0,[" Show custom content "])),(e()(),$o(405,0,null,null,5,"div",[["class","demo-carousel"]],[[4,"height",null]],null,null,null,null)),(e()(),$o(406,0,null,null,4,"mat-carousel",[],null,[[null,"change"],[null,"keyup"],[null,"mouseenter"],[null,"mouseleave"],[null,"mousewheel"],["window","resize"]],(function(e,t,n){var i=!0,r=e.component;return"keyup"===t&&(i=!1!==fr(e,407).onKeyUp(n)&&i),"mouseenter"===t&&(i=!1!==fr(e,407).onMouseEnter()&&i),"mouseleave"===t&&(i=!1!==fr(e,407).onMouseLeave()&&i),"mousewheel"===t&&(i=!1!==fr(e,407).onMouseWheel(n)&&i),"window:resize"===t&&(i=!1!==fr(e,407).onResize(n)&&i),"change"===t&&(i=!1!==r.onChange(n)&&i),i}),Tv,gv)),Cr(407,5423104,[["matCarousel",4]],1,Dm,[hc,Pn,eo],{timings:[0,"timings"],autoplay:[1,"autoplay"],interval:[2,"interval"],loop:[3,"loop"],hideArrows:[4,"hideArrows"],hideIndicators:[5,"hideIndicators"],color:[6,"color"],maxWidth:[7,"maxWidth"],maintainAspectRatio:[8,"maintainAspectRatio"],proportion:[9,"proportion"],slideHeight:[10,"slideHeight"],slides:[11,"slides"],useKeyboard:[12,"useKeyboard"],useMouseWheel:[13,"useMouseWheel"],orientation:[14,"orientation"]},{change:"change"}),ia(603979776,121,{slidesList:1}),(e()(),Qo(16777216,null,null,1,null,z_)),Cr(410,278528,null,0,Bl,[ei,$n,Yn],{ngForOf:[0,"ngForOf"]},null),(e()(),$o(411,16777216,null,null,7,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,Ty,Sy)),Cr(412,1753088,null,1,ky,[[3,gy],Gt,fu,ei,bl,[2,$p],[2,by]],null,null),ia(603979776,122,{_lazyContent:0}),xr(256,null,gy,void 0,[]),(e()(),$o(415,0,null,0,2,"mat-expansion-panel-header",[["class","mat-expansion-panel-header mat-focus-indicator"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[2,"_mat-animation-noopable",null],[4,"height",null]],[[null,"click"],[null,"keydown"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==fr(e,416)._toggle()&&i),"keydown"===t&&(i=!1!==fr(e,416)._keydown(n)&&i),i}),Ry,Ay)),Cr(416,4374528,null,0,wy,[ky,Tn,Bc,Gt,[2,by],[2,$p]],null,null),(e()(),ha(-1,2,["Events"])),(e()(),$o(418,0,null,1,0,"pre",[],[[8,"innerText",0]],null,null,null,null)),(e()(),$o(419,0,null,null,2,"pre",[],null,null,null,null,null)),(e()(),$o(420,0,null,null,1,"code",[["class","demo-code"]],null,null,null,null,null)),(e()(),ha(421,null,["",""]))],(function(e,t){var n=t.component;e(t,12,0,"before","Copy to clipboard"),e(t,14,0),e(t,20,0,fr(t,25)),e(t,22,0),e(t,25,0),e(t,34,0),e(t,40,0),e(t,77,0,"Parent Height",n.parentHeight),e(t,84,0,"auto"),e(t,87,0,"500px"),e(t,116,0,n.timings),e(t,119,0,"Timings"),e(t,124,0,n.autoplay),e(t,144,0,n.interval),e(t,147,0,"Interval","number"),e(t,165,0,"Color",n.color),e(t,172,0,"primary"),e(t,175,0,"accent"),e(t,178,0,"warn"),e(t,195,0,n.maxWidth),e(t,198,0,"Maximum width"),e(t,216,0,n.slides),e(t,219,0,"Slides","number"),e(t,237,0,"Maintain Aspect Ratio",n.maintainAspectRatio),e(t,244,0,!0),e(t,247,0,!1),e(t,265,0,n.proportion),e(t,268,0,"Proportion","number"),e(t,285,0,n.slideHeight),e(t,288,0,"Slide Height","text"),e(t,296,0,n.loop),e(t,303,0,n.hideArrows),e(t,310,0,n.hideIndicators),e(t,320,0,n.useKeyboard),e(t,327,0,n.useMouseWheel),e(t,344,0,"Orientation",n.orientation),e(t,351,0,"ltr"),e(t,354,0,"rtl"),e(t,383,0,n.overlayColor),e(t,386,0,"Overlay color"),e(t,391,0,n.hideOverlay),e(t,401,0,n.showContent),e(t,407,1,[n.timings,n.autoplay,n.interval,n.loop,n.hideArrows,n.hideIndicators,n.color,n.maxWidth,n.maintainAspectRatio,n.proportion,n.slideHeight,n.slides,n.useKeyboard,n.useMouseWheel,n.orientation]),e(t,410,0,n.slidesList)}),(function(e,t){var n=t.component;e(t,1,0,fr(t,2)._toolbarRows.length>0,0===fr(t,2)._toolbarRows.length),e(t,10,0,fr(t,11).disabled||null,"NoopAnimations"===fr(t,11)._animationMode),e(t,13,0,fr(t,14).inline,"primary"!==fr(t,14).color&&"accent"!==fr(t,14).color&&"warn"!==fr(t,14).color),e(t,18,0,fr(t,19).disabled||null,"NoopAnimations"===fr(t,19)._animationMode,fr(t,20).menuOpen||null,fr(t,20).menuOpen?fr(t,20).menu.panelId:null),e(t,21,0,fr(t,22).inline,"primary"!==fr(t,22).color&&"accent"!==fr(t,22).color&&"warn"!==fr(t,22).color),e(t,31,0,fr(t,32).role,!0,fr(t,32)._highlighted,fr(t,32)._triggersSubmenu,fr(t,32)._getTabIndex(),fr(t,32).disabled.toString(),fr(t,32).disabled||null),e(t,33,0,fr(t,34).inline,"primary"!==fr(t,34).color&&"accent"!==fr(t,34).color&&"warn"!==fr(t,34).color),e(t,37,0,fr(t,38).role,!0,fr(t,38)._highlighted,fr(t,38)._triggersSubmenu,fr(t,38)._getTabIndex(),fr(t,38).disabled.toString(),fr(t,38).disabled||null),e(t,39,0,fr(t,40).inline,"primary"!==fr(t,40).color&&"accent"!==fr(t,40).color&&"warn"!==fr(t,40).color),e(t,41,0,n.darkMode?"invert_colors_off":"invert_colors"),e(t,44,0,"NoopAnimations"===fr(t,45)._animationMode),e(t,48,0,fr(t,49).multi),e(t,52,0,fr(t,53).expanded,"NoopAnimations"===fr(t,53)._animationMode,fr(t,53)._hasSpacing()),e(t,56,0,fr(t,57).panel._headerId,fr(t,57).disabled?-1:0,fr(t,57)._getPanelId(),fr(t,57)._isExpanded(),fr(t,57).panel.disabled,fr(t,57)._isExpanded(),"after"===fr(t,57)._getTogglePosition(),"before"===fr(t,57)._getTogglePosition(),"NoopAnimations"===fr(t,57)._animationMode,fr(t,57)._getHeaderHeight()),e(t,64,1,["standard"==fr(t,65).appearance,"fill"==fr(t,65).appearance,"outline"==fr(t,65).appearance,"legacy"==fr(t,65).appearance,fr(t,65)._control.errorState,fr(t,65)._canLabelFloat,fr(t,65)._shouldLabelFloat(),fr(t,65)._hasFloatingLabel(),fr(t,65)._hideControlPlaceholder(),fr(t,65)._control.disabled,fr(t,65)._control.autofilled,fr(t,65)._control.focused,"accent"==fr(t,65).color,"warn"==fr(t,65).color,fr(t,65)._shouldForward("untouched"),fr(t,65)._shouldForward("touched"),fr(t,65)._shouldForward("pristine"),fr(t,65)._shouldForward("dirty"),fr(t,65)._shouldForward("valid"),fr(t,65)._shouldForward("invalid"),fr(t,65)._shouldForward("pending"),!fr(t,65)._animationsEnabled]),e(t,76,1,[fr(t,77).id,fr(t,77).tabIndex,fr(t,77)._getAriaLabel(),fr(t,77)._getAriaLabelledby(),fr(t,77).required.toString(),fr(t,77).disabled.toString(),fr(t,77).errorState,fr(t,77).panelOpen?fr(t,77)._optionIds:null,fr(t,77).multiple,fr(t,77)._ariaDescribedby||null,fr(t,77)._getAriaActiveDescendant(),fr(t,77).disabled,fr(t,77).errorState,fr(t,77).required,fr(t,77).empty]),e(t,83,0,fr(t,84)._getTabIndex(),fr(t,84).selected,fr(t,84).multiple,fr(t,84).active,fr(t,84).id,fr(t,84)._getAriaSelected(),fr(t,84).disabled.toString(),fr(t,84).disabled),e(t,86,0,fr(t,87)._getTabIndex(),fr(t,87).selected,fr(t,87).multiple,fr(t,87).active,fr(t,87).id,fr(t,87)._getAriaSelected(),fr(t,87).disabled.toString(),fr(t,87).disabled),e(t,89,0,fr(t,90).expanded,"NoopAnimations"===fr(t,90)._animationMode,fr(t,90)._hasSpacing()),e(t,93,0,fr(t,94).panel._headerId,fr(t,94).disabled?-1:0,fr(t,94)._getPanelId(),fr(t,94)._isExpanded(),fr(t,94).panel.disabled,fr(t,94)._isExpanded(),"after"===fr(t,94)._getTogglePosition(),"before"===fr(t,94)._getTogglePosition(),"NoopAnimations"===fr(t,94)._animationMode,fr(t,94)._getHeaderHeight()),e(t,101,1,["standard"==fr(t,103).appearance,"fill"==fr(t,103).appearance,"outline"==fr(t,103).appearance,"legacy"==fr(t,103).appearance,fr(t,103)._control.errorState,fr(t,103)._canLabelFloat,fr(t,103)._shouldLabelFloat(),fr(t,103)._hasFloatingLabel(),fr(t,103)._hideControlPlaceholder(),fr(t,103)._control.disabled,fr(t,103)._control.autofilled,fr(t,103)._control.focused,"accent"==fr(t,103).color,"warn"==fr(t,103).color,fr(t,103)._shouldForward("untouched"),fr(t,103)._shouldForward("touched"),fr(t,103)._shouldForward("pristine"),fr(t,103)._shouldForward("dirty"),fr(t,103)._shouldForward("valid"),fr(t,103)._shouldForward("invalid"),fr(t,103)._shouldForward("pending"),!fr(t,103)._animationsEnabled]),e(t,113,1,[fr(t,118).ngClassUntouched,fr(t,118).ngClassTouched,fr(t,118).ngClassPristine,fr(t,118).ngClassDirty,fr(t,118).ngClassValid,fr(t,118).ngClassInvalid,fr(t,118).ngClassPending,fr(t,119)._isServer,fr(t,119).id,fr(t,119).placeholder,fr(t,119).disabled,fr(t,119).required,fr(t,119).readonly&&!fr(t,119)._isNativeSelect||null,fr(t,119)._ariaDescribedby||null,fr(t,119).errorState,fr(t,119).required.toString()]),e(t,121,1,[fr(t,122).id,null,fr(t,122).indeterminate,fr(t,122).checked,fr(t,122).disabled,"before"==fr(t,122).labelPosition,"NoopAnimations"===fr(t,122)._animationMode,fr(t,126).ngClassUntouched,fr(t,126).ngClassTouched,fr(t,126).ngClassPristine,fr(t,126).ngClassDirty,fr(t,126).ngClassValid,fr(t,126).ngClassInvalid,fr(t,126).ngClassPending]),e(t,128,1,["standard"==fr(t,130).appearance,"fill"==fr(t,130).appearance,"outline"==fr(t,130).appearance,"legacy"==fr(t,130).appearance,fr(t,130)._control.errorState,fr(t,130)._canLabelFloat,fr(t,130)._shouldLabelFloat(),fr(t,130)._hasFloatingLabel(),fr(t,130)._hideControlPlaceholder(),fr(t,130)._control.disabled,fr(t,130)._control.autofilled,fr(t,130)._control.focused,"accent"==fr(t,130).color,"warn"==fr(t,130).color,fr(t,130)._shouldForward("untouched"),fr(t,130)._shouldForward("touched"),fr(t,130)._shouldForward("pristine"),fr(t,130)._shouldForward("dirty"),fr(t,130)._shouldForward("valid"),fr(t,130)._shouldForward("invalid"),fr(t,130)._shouldForward("pending"),!fr(t,130)._animationsEnabled]),e(t,140,1,[fr(t,146).ngClassUntouched,fr(t,146).ngClassTouched,fr(t,146).ngClassPristine,fr(t,146).ngClassDirty,fr(t,146).ngClassValid,fr(t,146).ngClassInvalid,fr(t,146).ngClassPending,fr(t,147)._isServer,fr(t,147).id,fr(t,147).placeholder,fr(t,147).disabled,fr(t,147).required,fr(t,147).readonly&&!fr(t,147)._isNativeSelect||null,fr(t,147)._ariaDescribedby||null,fr(t,147).errorState,fr(t,147).required.toString()]),e(t,152,1,["standard"==fr(t,153).appearance,"fill"==fr(t,153).appearance,"outline"==fr(t,153).appearance,"legacy"==fr(t,153).appearance,fr(t,153)._control.errorState,fr(t,153)._canLabelFloat,fr(t,153)._shouldLabelFloat(),fr(t,153)._hasFloatingLabel(),fr(t,153)._hideControlPlaceholder(),fr(t,153)._control.disabled,fr(t,153)._control.autofilled,fr(t,153)._control.focused,"accent"==fr(t,153).color,"warn"==fr(t,153).color,fr(t,153)._shouldForward("untouched"),fr(t,153)._shouldForward("touched"),fr(t,153)._shouldForward("pristine"),fr(t,153)._shouldForward("dirty"),fr(t,153)._shouldForward("valid"),fr(t,153)._shouldForward("invalid"),fr(t,153)._shouldForward("pending"),!fr(t,153)._animationsEnabled]),e(t,164,1,[fr(t,165).id,fr(t,165).tabIndex,fr(t,165)._getAriaLabel(),fr(t,165)._getAriaLabelledby(),fr(t,165).required.toString(),fr(t,165).disabled.toString(),fr(t,165).errorState,fr(t,165).panelOpen?fr(t,165)._optionIds:null,fr(t,165).multiple,fr(t,165)._ariaDescribedby||null,fr(t,165)._getAriaActiveDescendant(),fr(t,165).disabled,fr(t,165).errorState,fr(t,165).required,fr(t,165).empty]),e(t,171,0,fr(t,172)._getTabIndex(),fr(t,172).selected,fr(t,172).multiple,fr(t,172).active,fr(t,172).id,fr(t,172)._getAriaSelected(),fr(t,172).disabled.toString(),fr(t,172).disabled),e(t,174,0,fr(t,175)._getTabIndex(),fr(t,175).selected,fr(t,175).multiple,fr(t,175).active,fr(t,175).id,fr(t,175)._getAriaSelected(),fr(t,175).disabled.toString(),fr(t,175).disabled),e(t,177,0,fr(t,178)._getTabIndex(),fr(t,178).selected,fr(t,178).multiple,fr(t,178).active,fr(t,178).id,fr(t,178)._getAriaSelected(),fr(t,178).disabled.toString(),fr(t,178).disabled),e(t,180,1,["standard"==fr(t,182).appearance,"fill"==fr(t,182).appearance,"outline"==fr(t,182).appearance,"legacy"==fr(t,182).appearance,fr(t,182)._control.errorState,fr(t,182)._canLabelFloat,fr(t,182)._shouldLabelFloat(),fr(t,182)._hasFloatingLabel(),fr(t,182)._hideControlPlaceholder(),fr(t,182)._control.disabled,fr(t,182)._control.autofilled,fr(t,182)._control.focused,"accent"==fr(t,182).color,"warn"==fr(t,182).color,fr(t,182)._shouldForward("untouched"),fr(t,182)._shouldForward("touched"),fr(t,182)._shouldForward("pristine"),fr(t,182)._shouldForward("dirty"),fr(t,182)._shouldForward("valid"),fr(t,182)._shouldForward("invalid"),fr(t,182)._shouldForward("pending"),!fr(t,182)._animationsEnabled]),e(t,192,1,[fr(t,197).ngClassUntouched,fr(t,197).ngClassTouched,fr(t,197).ngClassPristine,fr(t,197).ngClassDirty,fr(t,197).ngClassValid,fr(t,197).ngClassInvalid,fr(t,197).ngClassPending,fr(t,198)._isServer,fr(t,198).id,fr(t,198).placeholder,fr(t,198).disabled,fr(t,198).required,fr(t,198).readonly&&!fr(t,198)._isNativeSelect||null,fr(t,198)._ariaDescribedby||null,fr(t,198).errorState,fr(t,198).required.toString()]),e(t,200,1,["standard"==fr(t,202).appearance,"fill"==fr(t,202).appearance,"outline"==fr(t,202).appearance,"legacy"==fr(t,202).appearance,fr(t,202)._control.errorState,fr(t,202)._canLabelFloat,fr(t,202)._shouldLabelFloat(),fr(t,202)._hasFloatingLabel(),fr(t,202)._hideControlPlaceholder(),fr(t,202)._control.disabled,fr(t,202)._control.autofilled,fr(t,202)._control.focused,"accent"==fr(t,202).color,"warn"==fr(t,202).color,fr(t,202)._shouldForward("untouched"),fr(t,202)._shouldForward("touched"),fr(t,202)._shouldForward("pristine"),fr(t,202)._shouldForward("dirty"),fr(t,202)._shouldForward("valid"),fr(t,202)._shouldForward("invalid"),fr(t,202)._shouldForward("pending"),!fr(t,202)._animationsEnabled]),e(t,212,1,[fr(t,218).ngClassUntouched,fr(t,218).ngClassTouched,fr(t,218).ngClassPristine,fr(t,218).ngClassDirty,fr(t,218).ngClassValid,fr(t,218).ngClassInvalid,fr(t,218).ngClassPending,fr(t,219)._isServer,fr(t,219).id,fr(t,219).placeholder,fr(t,219).disabled,fr(t,219).required,fr(t,219).readonly&&!fr(t,219)._isNativeSelect||null,fr(t,219)._ariaDescribedby||null,fr(t,219).errorState,fr(t,219).required.toString()]),e(t,224,1,["standard"==fr(t,225).appearance,"fill"==fr(t,225).appearance,"outline"==fr(t,225).appearance,"legacy"==fr(t,225).appearance,fr(t,225)._control.errorState,fr(t,225)._canLabelFloat,fr(t,225)._shouldLabelFloat(),fr(t,225)._hasFloatingLabel(),fr(t,225)._hideControlPlaceholder(),fr(t,225)._control.disabled,fr(t,225)._control.autofilled,fr(t,225)._control.focused,"accent"==fr(t,225).color,"warn"==fr(t,225).color,fr(t,225)._shouldForward("untouched"),fr(t,225)._shouldForward("touched"),fr(t,225)._shouldForward("pristine"),fr(t,225)._shouldForward("dirty"),fr(t,225)._shouldForward("valid"),fr(t,225)._shouldForward("invalid"),fr(t,225)._shouldForward("pending"),!fr(t,225)._animationsEnabled]),e(t,236,1,[fr(t,237).id,fr(t,237).tabIndex,fr(t,237)._getAriaLabel(),fr(t,237)._getAriaLabelledby(),fr(t,237).required.toString(),fr(t,237).disabled.toString(),fr(t,237).errorState,fr(t,237).panelOpen?fr(t,237)._optionIds:null,fr(t,237).multiple,fr(t,237)._ariaDescribedby||null,fr(t,237)._getAriaActiveDescendant(),fr(t,237).disabled,fr(t,237).errorState,fr(t,237).required,fr(t,237).empty]),e(t,243,0,fr(t,244)._getTabIndex(),fr(t,244).selected,fr(t,244).multiple,fr(t,244).active,fr(t,244).id,fr(t,244)._getAriaSelected(),fr(t,244).disabled.toString(),fr(t,244).disabled),e(t,246,0,fr(t,247)._getTabIndex(),fr(t,247).selected,fr(t,247).multiple,fr(t,247).active,fr(t,247).id,fr(t,247)._getAriaSelected(),fr(t,247).disabled.toString(),fr(t,247).disabled),e(t,249,1,["standard"==fr(t,251).appearance,"fill"==fr(t,251).appearance,"outline"==fr(t,251).appearance,"legacy"==fr(t,251).appearance,fr(t,251)._control.errorState,fr(t,251)._canLabelFloat,fr(t,251)._shouldLabelFloat(),fr(t,251)._hasFloatingLabel(),fr(t,251)._hideControlPlaceholder(),fr(t,251)._control.disabled,fr(t,251)._control.autofilled,fr(t,251)._control.focused,"accent"==fr(t,251).color,"warn"==fr(t,251).color,fr(t,251)._shouldForward("untouched"),fr(t,251)._shouldForward("touched"),fr(t,251)._shouldForward("pristine"),fr(t,251)._shouldForward("dirty"),fr(t,251)._shouldForward("valid"),fr(t,251)._shouldForward("invalid"),fr(t,251)._shouldForward("pending"),!fr(t,251)._animationsEnabled]),e(t,261,1,[fr(t,267).ngClassUntouched,fr(t,267).ngClassTouched,fr(t,267).ngClassPristine,fr(t,267).ngClassDirty,fr(t,267).ngClassValid,fr(t,267).ngClassInvalid,fr(t,267).ngClassPending,fr(t,268)._isServer,fr(t,268).id,fr(t,268).placeholder,fr(t,268).disabled,fr(t,268).required,fr(t,268).readonly&&!fr(t,268)._isNativeSelect||null,fr(t,268)._ariaDescribedby||null,fr(t,268).errorState,fr(t,268).required.toString()]),e(t,270,1,["standard"==fr(t,272).appearance,"fill"==fr(t,272).appearance,"outline"==fr(t,272).appearance,"legacy"==fr(t,272).appearance,fr(t,272)._control.errorState,fr(t,272)._canLabelFloat,fr(t,272)._shouldLabelFloat(),fr(t,272)._hasFloatingLabel(),fr(t,272)._hideControlPlaceholder(),fr(t,272)._control.disabled,fr(t,272)._control.autofilled,fr(t,272)._control.focused,"accent"==fr(t,272).color,"warn"==fr(t,272).color,fr(t,272)._shouldForward("untouched"),fr(t,272)._shouldForward("touched"),fr(t,272)._shouldForward("pristine"),fr(t,272)._shouldForward("dirty"),fr(t,272)._shouldForward("valid"),fr(t,272)._shouldForward("invalid"),fr(t,272)._shouldForward("pending"),!fr(t,272)._animationsEnabled]),e(t,282,1,[fr(t,287).ngClassUntouched,fr(t,287).ngClassTouched,fr(t,287).ngClassPristine,fr(t,287).ngClassDirty,fr(t,287).ngClassValid,fr(t,287).ngClassInvalid,fr(t,287).ngClassPending,fr(t,288)._isServer,fr(t,288).id,fr(t,288).placeholder,fr(t,288).disabled,fr(t,288).required,fr(t,288).readonly&&!fr(t,288)._isNativeSelect||null,fr(t,288)._ariaDescribedby||null,fr(t,288).errorState,fr(t,288).required.toString()]),e(t,293,1,[fr(t,294).id,null,fr(t,294).indeterminate,fr(t,294).checked,fr(t,294).disabled,"before"==fr(t,294).labelPosition,"NoopAnimations"===fr(t,294)._animationMode,fr(t,298).ngClassUntouched,fr(t,298).ngClassTouched,fr(t,298).ngClassPristine,fr(t,298).ngClassDirty,fr(t,298).ngClassValid,fr(t,298).ngClassInvalid,fr(t,298).ngClassPending]),e(t,300,1,[fr(t,301).id,null,fr(t,301).indeterminate,fr(t,301).checked,fr(t,301).disabled,"before"==fr(t,301).labelPosition,"NoopAnimations"===fr(t,301)._animationMode,fr(t,305).ngClassUntouched,fr(t,305).ngClassTouched,fr(t,305).ngClassPristine,fr(t,305).ngClassDirty,fr(t,305).ngClassValid,fr(t,305).ngClassInvalid,fr(t,305).ngClassPending]),e(t,307,1,[fr(t,308).id,null,fr(t,308).indeterminate,fr(t,308).checked,fr(t,308).disabled,"before"==fr(t,308).labelPosition,"NoopAnimations"===fr(t,308)._animationMode,fr(t,312).ngClassUntouched,fr(t,312).ngClassTouched,fr(t,312).ngClassPristine,fr(t,312).ngClassDirty,fr(t,312).ngClassValid,fr(t,312).ngClassInvalid,fr(t,312).ngClassPending]),e(t,317,1,[fr(t,318).id,null,fr(t,318).indeterminate,fr(t,318).checked,fr(t,318).disabled,"before"==fr(t,318).labelPosition,"NoopAnimations"===fr(t,318)._animationMode,fr(t,322).ngClassUntouched,fr(t,322).ngClassTouched,fr(t,322).ngClassPristine,fr(t,322).ngClassDirty,fr(t,322).ngClassValid,fr(t,322).ngClassInvalid,fr(t,322).ngClassPending]),e(t,324,1,[fr(t,325).id,null,fr(t,325).indeterminate,fr(t,325).checked,fr(t,325).disabled,"before"==fr(t,325).labelPosition,"NoopAnimations"===fr(t,325)._animationMode,fr(t,329).ngClassUntouched,fr(t,329).ngClassTouched,fr(t,329).ngClassPristine,fr(t,329).ngClassDirty,fr(t,329).ngClassValid,fr(t,329).ngClassInvalid,fr(t,329).ngClassPending]),e(t,331,1,["standard"==fr(t,332).appearance,"fill"==fr(t,332).appearance,"outline"==fr(t,332).appearance,"legacy"==fr(t,332).appearance,fr(t,332)._control.errorState,fr(t,332)._canLabelFloat,fr(t,332)._shouldLabelFloat(),fr(t,332)._hasFloatingLabel(),fr(t,332)._hideControlPlaceholder(),fr(t,332)._control.disabled,fr(t,332)._control.autofilled,fr(t,332)._control.focused,"accent"==fr(t,332).color,"warn"==fr(t,332).color,fr(t,332)._shouldForward("untouched"),fr(t,332)._shouldForward("touched"),fr(t,332)._shouldForward("pristine"),fr(t,332)._shouldForward("dirty"),fr(t,332)._shouldForward("valid"),fr(t,332)._shouldForward("invalid"),fr(t,332)._shouldForward("pending"),!fr(t,332)._animationsEnabled]),e(t,343,1,[fr(t,344).id,fr(t,344).tabIndex,fr(t,344)._getAriaLabel(),fr(t,344)._getAriaLabelledby(),fr(t,344).required.toString(),fr(t,344).disabled.toString(),fr(t,344).errorState,fr(t,344).panelOpen?fr(t,344)._optionIds:null,fr(t,344).multiple,fr(t,344)._ariaDescribedby||null,fr(t,344)._getAriaActiveDescendant(),fr(t,344).disabled,fr(t,344).errorState,fr(t,344).required,fr(t,344).empty]),e(t,350,0,fr(t,351)._getTabIndex(),fr(t,351).selected,fr(t,351).multiple,fr(t,351).active,fr(t,351).id,fr(t,351)._getAriaSelected(),fr(t,351).disabled.toString(),fr(t,351).disabled),e(t,353,0,fr(t,354)._getTabIndex(),fr(t,354).selected,fr(t,354).multiple,fr(t,354).active,fr(t,354).id,fr(t,354)._getAriaSelected(),fr(t,354).disabled.toString(),fr(t,354).disabled),e(t,356,0,fr(t,357).expanded,"NoopAnimations"===fr(t,357)._animationMode,fr(t,357)._hasSpacing()),e(t,360,0,fr(t,361).panel._headerId,fr(t,361).disabled?-1:0,fr(t,361)._getPanelId(),fr(t,361)._isExpanded(),fr(t,361).panel.disabled,fr(t,361)._isExpanded(),"after"===fr(t,361)._getTogglePosition(),"before"===fr(t,361)._getTogglePosition(),"NoopAnimations"===fr(t,361)._animationMode,fr(t,361)._getHeaderHeight()),e(t,368,1,["standard"==fr(t,370).appearance,"fill"==fr(t,370).appearance,"outline"==fr(t,370).appearance,"legacy"==fr(t,370).appearance,fr(t,370)._control.errorState,fr(t,370)._canLabelFloat,fr(t,370)._shouldLabelFloat(),fr(t,370)._hasFloatingLabel(),fr(t,370)._hideControlPlaceholder(),fr(t,370)._control.disabled,fr(t,370)._control.autofilled,fr(t,370)._control.focused,"accent"==fr(t,370).color,"warn"==fr(t,370).color,fr(t,370)._shouldForward("untouched"),fr(t,370)._shouldForward("touched"),fr(t,370)._shouldForward("pristine"),fr(t,370)._shouldForward("dirty"),fr(t,370)._shouldForward("valid"),fr(t,370)._shouldForward("invalid"),fr(t,370)._shouldForward("pending"),!fr(t,370)._animationsEnabled]),e(t,380,1,[fr(t,385).ngClassUntouched,fr(t,385).ngClassTouched,fr(t,385).ngClassPristine,fr(t,385).ngClassDirty,fr(t,385).ngClassValid,fr(t,385).ngClassInvalid,fr(t,385).ngClassPending,fr(t,386)._isServer,fr(t,386).id,fr(t,386).placeholder,fr(t,386).disabled,fr(t,386).required,fr(t,386).readonly&&!fr(t,386)._isNativeSelect||null,fr(t,386)._ariaDescribedby||null,fr(t,386).errorState,fr(t,386).required.toString()]),e(t,388,1,[fr(t,389).id,null,fr(t,389).indeterminate,fr(t,389).checked,fr(t,389).disabled,"before"==fr(t,389).labelPosition,"NoopAnimations"===fr(t,389)._animationMode,fr(t,393).ngClassUntouched,fr(t,393).ngClassTouched,fr(t,393).ngClassPristine,fr(t,393).ngClassDirty,fr(t,393).ngClassValid,fr(t,393).ngClassInvalid,fr(t,393).ngClassPending]),e(t,398,1,[fr(t,399).id,null,fr(t,399).indeterminate,fr(t,399).checked,fr(t,399).disabled,"before"==fr(t,399).labelPosition,"NoopAnimations"===fr(t,399)._animationMode,fr(t,403).ngClassUntouched,fr(t,403).ngClassTouched,fr(t,403).ngClassPristine,fr(t,403).ngClassDirty,fr(t,403).ngClassValid,fr(t,403).ngClassInvalid,fr(t,403).ngClassPending]),e(t,405,0,n.parentHeight),e(t,411,0,fr(t,412).expanded,"NoopAnimations"===fr(t,412)._animationMode,fr(t,412)._hasSpacing()),e(t,415,0,fr(t,416).panel._headerId,fr(t,416).disabled?-1:0,fr(t,416)._getPanelId(),fr(t,416)._isExpanded(),fr(t,416).panel.disabled,fr(t,416)._isExpanded(),"after"===fr(t,416)._getTogglePosition(),"before"===fr(t,416)._getTogglePosition(),"NoopAnimations"===fr(t,416)._animationMode,fr(t,416)._getHeaderHeight()),e(t,418,0,n.log.join("\n")),e(t,421,0,n.code)}))}function j_(e){return pa(0,[(e()(),$o(0,0,null,null,1,"app-root",[],null,null,null,B_,V_)),Cr(1,49152,null,0,Cs,[uh,Gu,Tn],null,null)],null,null)}var H_=nr("app-root",Cs,j_,{},{},[]),q_=bs(ws,[Cs],(function(e){return function(e){for(var t={},n=[],i=null,r=0;r1?arguments[1]:void 0)}}),i("findIndex")},"+NaH":function(t,e,r){var n=r("ThF5"),o=r("qpFR"),i=r("c8b2");t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},"+q1H":function(t,e,r){"use strict";var n,o,i,a=r("yosQ"),c=r("+NaH"),u=r("+C+w"),s=r("G9lz"),f=r("p2x6"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),f||u(n,l)||c(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},"/K78":function(t,e,r){var n=r("0vT8"),o=r("TQiC");n({global:!0,forced:parseFloat!=o},{parseFloat:o})},"/Wjk":function(t,e,r){"use strict";var n=r("lYWO"),o=r("L0mP");t.exports="".repeat||function(t){var e=String(o(this)),r="",i=n(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(r+=e);return r}},"/ZgM":function(t,e,r){"use strict";var n=r("pNVf"),o=r("NneG");t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},"00I2":function(t,e,r){var n=r("ThF5"),o=r("qpFR"),i=r("QxQN"),a=r("SF8I").UNSUPPORTED_Y;n&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},"03IN":function(t,e,r){var n=r("4eii"),o=r("VfW/").trim,i=r("ZKm/"),a=n.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var r=o(String(t));return a(r,e>>>0||(c.test(r)?16:10))}:a},"0BIM":function(t,e,r){"use strict";var n=r("Zm5N"),o=r("UET0"),i=r("L0mP"),a=r("TC5Z"),c=r("6pHA");n("search",1,(function(t,e,r){return[function(e){var r=i(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},"0Eps":function(t,e,r){r("0vT8")({target:"Number",stat:!0},{isInteger:r("O1uG")})},"0O2A":function(t,e,r){var n=r("4eii"),o=r("rP2c"),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"0PBP":function(t,e,r){"use strict";var n=r("s7Qr").forEach,o=r("9rSH"),i=r("X4rX"),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"0Yxs":function(t,e,r){r("0vT8")({target:"Object",stat:!0,sham:!r("ThF5")},{create:r("dYyi")})},"0dFo":function(t,e,r){var n=r("G9lz")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(c){}return r}},"0u0I":function(t,e,r){var n=r("0vT8"),o=r("03IN");n({global:!0,forced:parseInt!=o},{parseInt:o})},"0vT8":function(t,e,r){var n=r("4eii"),o=r("5tsF").f,i=r("+NaH"),a=r("gGei"),c=r("d1gM"),u=r("QA9J"),s=r("2L9N");t.exports=function(t,e){var r,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(r=d?n:g?n[v]||c(v,{}):(n[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(r,f))&&h.value:r[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},1:function(t,e,r){r("l/Py"),t.exports=r("hN/g")},"19jd":function(t,e,r){var n=r("UET0"),o=r("rP2c"),i=r("Pj9/");t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},"1BS+":function(t,e,r){var n=r("lcFv");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"1Yxx":function(t,e,r){"use strict";var n=r("0vT8"),o=r("VfW/").trim;n({target:"String",proto:!0,forced:r("J+mE")("trim")},{trim:function(){return o(this)}})},"1dlD":function(t,e,r){"use strict";var n=r("0vT8"),o=r("XtQF"),i=r("VUDt"),a=r("x42P");n({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),r=a(e);return"number"!=typeof r||isFinite(r)?e.toISOString():null}})},"1geW":function(t,e,r){var n=r("0vT8"),o=r("Hshb");n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"1ul8":function(t,e,r){"use strict";var n=r("xbsk").charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},"2L9N":function(t,e,r){var n=r("XtQF"),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},"2VXe":function(t,e,r){var n=r("8ZjQ"),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},"2g3X":function(t,e,r){"use strict";var n=r("XtQF"),o=r("W3Kz").start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))}))||!n((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+o(i(t),r?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},"2imT":function(t,e,r){var n=r("0vT8"),o=r("vSAT"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;n({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},"3QRp":function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("sub")},{sub:function(){return o(this,"sub","","")}})},"3dqU":function(t,e,r){"use strict";var n=r("0vT8"),o=r("tH9H"),i=r("V3ap"),a=r("9rSH"),c=[].join,u=o!=Object,s=a("join",",");n({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},"3yYM":function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r,n){var o=Object.create((e&&e.prototype instanceof f?e:f).prototype),i=new E(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=b(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var f=u(t,e,r);if("normal"===f.type){if(n=r.done?"completed":"suspendedYield",f.arg===s)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(n="completed",r.method="throw",r.arg=f.arg)}}}(t,r,i),o}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(n){return{type:"throw",arg:n}}}t.wrap=c;var s={};function f(){}function l(){}function p(){}var h={};h[o]=function(){return this};var v=Object.getPrototypeOf,d=v&&v(v(k([])));d&&d!==e&&r.call(d,o)&&(h=d);var g=p.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function m(t,e){var n;this._invoke=function(o,i){function a(){return new e((function(n,a){!function n(o,i,a,c){var s=u(t[o],t,i);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,c)}))}c(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function b(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function k(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=n}catch(o){Function("r","regeneratorRuntime = r")(n)}},"4ZNk":function(t,e,r){r("0vT8")({target:"Function",proto:!0},{bind:r("dmrs")})},"4eii":function(t,e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof global&&global)||Function("return this")()},"4xiE":function(t,e,r){var n=r("0vT8"),o=r("VUDt"),i=r("VQs6");n({target:"Object",stat:!0,forced:r("XtQF")((function(){i(1)}))},{keys:function(t){return i(o(t))}})},"51+R":function(t,e,r){"use strict";var n=r("x42P"),o=r("qpFR"),i=r("c8b2");t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},"564C":function(t,e,r){r("79XA")("isConcatSpreadable")},"5QPa":function(t,e,r){"use strict";var n=r("9rgZ"),o=r("92yR");t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},"5b4b":function(t,e,r){r("0vT8")({target:"Number",stat:!0},{isFinite:r("Uure")})},"5tsF":function(t,e,r){var n=r("ThF5"),o=r("WHJo"),i=r("c8b2"),a=r("V3ap"),c=r("x42P"),u=r("+C+w"),s=r("uQC4"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(r){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"62Jg":function(t,e,r){var n=r("mwKY"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,r,i=o(t),f=n(t);return iu||r!=r?f*(1/0):f*r}},"6HJc":function(t,e,r){var n=r("0vT8"),o=r("XtQF"),i=r("rP2c"),a=Object.isSealed;n({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},"6pHA":function(t,e,r){var n=r("ArQy"),o=r("Skmt");t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"79XA":function(t,e,r){var n=r("g6B6"),o=r("+C+w"),i=r("kbF1"),a=r("qpFR").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"7FRj":function(t,e,r){"use strict";var n=r("rP2c"),o=r("qpFR"),i=r("yosQ"),a=r("G9lz")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"7PoR":function(t,e,r){r("0vT8")({target:"Object",stat:!0},{setPrototypeOf:r("nWyh")})},"7oHr":function(t,e,r){"use strict";var n,o=r("0vT8"),i=r("5tsF").f,a=r("eXo2"),c=r("qlPw"),u=r("L0mP"),s=r("hDjE"),f=r("p2x6"),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(n=i(String.prototype,"endsWith"),n&&!n.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var r=arguments.length>1?arguments[1]:void 0,n=a(e.length),o=void 0===r?n:p(a(r),n),i=String(t);return l?l.call(e,i,o):e.slice(o-i.length,o)===i}})},"7pK/":function(t,e,r){var n=r("DoB2"),o=r("UkEg"),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"8WdQ":function(t,e,r){var n=r("0vT8"),o=r("O1uG"),i=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},"8ZjQ":function(t,e,r){var n=r("4eii"),o=r("d1gM"),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},"8uRZ":function(t,e,r){var n=r("4eii"),o=r("2VXe"),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},"92yR":function(t,e,r){var n=r("9rgZ"),o=r("ArQy"),i=r("G9lz")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=Object(t),i))?r:a?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},"9D1u":function(t,e,r){var n=r("rP2c"),o=r("ArQy"),i=r("G9lz")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},"9rSH":function(t,e,r){"use strict";var n=r("XtQF");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},"9rgZ":function(t,e,r){var n={};n[r("G9lz")("toStringTag")]="z",t.exports="[object z]"===String(n)},"9ypw":function(t,e,r){var n=r("4eii"),o=r("Z6qe"),i=r("jMNW"),a=r("+NaH"),c=r("G9lz"),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=n[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(d){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},"A//Y":function(t,e,r){"use strict";var n=r("y5Hs"),o=r("qpFR"),i=r("G9lz"),a=r("ThF5"),c=i("species");t.exports=function(t){var e=n(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},ABD5:function(t,e,r){r("79XA")("split")},"ANI/":function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},AV8a:function(t,e,r){"use strict";var n=r("0vT8"),o=r("oxl1"),i=r("yosQ"),a=r("nWyh"),c=r("utQb"),u=r("+NaH"),s=r("gGei"),f=r("G9lz"),l=r("p2x6"),p=r("qv8c"),h=r("+q1H"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,r,f,h,m,b){o(r,e,f);var T,x,E,k=function(t){if(t===h&&P)return P;if(!d&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},S=e+" Iterator",w=!1,_=t.prototype,O=_[g]||_["@@iterator"]||h&&_[h],P=!d&&O||k(h),j="Array"==e&&_.entries||O;if(j&&(T=i(j.call(new t)),v!==Object.prototype&&T.next&&(l||i(T)===v||(a?a(T,v):"function"!=typeof T[g]&&u(T,g,y)),c(T,S,!0,!0),l&&(p[S]=y))),"values"==h&&O&&"values"!==O.name&&(w=!0,P=function(){return O.call(this)}),l&&!b||_[g]===P||u(_,g,P),p[e]=P,h)if(x={values:k("values"),keys:m?P:k("keys"),entries:k("entries")},b)for(E in x)(d||w||!(E in _))&&s(_,E,x[E]);else n({target:e,proto:!0,forced:d||w},x);return x}},AVL7:function(t,e,r){var n=r("0vT8"),o=r("XtQF"),i=r("VUDt"),a=r("yosQ"),c=r("craJ");n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},Ap7B:function(t,e,r){"use strict";var n=r("0vT8"),o=r("XNJA"),i=r("VUDt"),a=r("XtQF"),c=r("9rSH"),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),p=c("sort");n({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},ArQy:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},BehZ:function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},Btv7:function(t,e,r){r("79XA")("asyncIterator")},C8vK:function(t,e,r){"use strict";var n=r("0vT8"),o=r("Skmt");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},CAbf:function(t,e,r){var n=r("4eii");t.exports=n.Promise},DoB2:function(t,e,r){var n=r("p2x6"),o=r("8ZjQ");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:n?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},"EI+E":function(t,e,r){var n=r("rP2c"),o=r("tx09"),i=r("G9lz")("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},EoF4:function(t,e,r){var n=r("0vT8"),o=Math.floor,i=Math.log,a=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},Ezqs:function(t,e,r){r("0vT8")({target:"Math",stat:!0},{log1p:r("vSAT")})},F1iM:function(t,e,r){r("Hd1F"),r("R7u8"),r("qWhD"),r("Btv7"),r("r+2N"),r("vExu"),r("564C"),r("VBUz"),r("ps+b"),r("vItB"),r("uLb4"),r("s7qu"),r("Pgr3"),r("ABD5"),r("Y/en"),r("urZ2"),r("ZFHZ"),r("zLr9"),r("nr/g");var n=r("g6B6");t.exports=n.Symbol},F6ip:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},FIoU:function(t,e,r){"use strict";var n,o=r("4eii"),i=r("RBcf"),a=r("q75f"),c=r("pNVf"),u=r("rBtS"),s=r("rP2c"),f=r("pCF3").enforce,l=r("8uRZ"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(l&&p){n=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,T=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var r=f(this);r.frozen||(r.frozen=new n),m.call(this,t)?T.call(this,t,e):r.frozen.set(t,e)}else T.call(this,t,e);return this}})}},Fcgu:function(t,e,r){"use strict";var n=r("0vT8"),o=r("s7Qr").map,i=r("LQxa"),a=r("X4rX"),c=i("map"),u=a("map");n({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},G9lz:function(t,e,r){var n=r("4eii"),o=r("DoB2"),i=r("+C+w"),a=r("UkEg"),c=r("lcFv"),u=r("1BS+"),s=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},GZNO:function(t,e,r){r("0vT8")({target:"Object",stat:!0},{is:r("TC5Z")})},Hd1F:function(t,e,r){"use strict";var n=r("0vT8"),o=r("XtQF"),i=r("tx09"),a=r("rP2c"),c=r("VUDt"),u=r("eXo2"),s=r("51+R"),f=r("EI+E"),l=r("LQxa"),p=r("G9lz"),h=r("lANf"),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,r,n,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,n=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},Hshb:function(t,e,r){"use strict";var n=r("ThF5"),o=r("XtQF"),i=r("VQs6"),a=r("X1th"),c=r("WHJo"),u=r("VUDt"),s=r("tH9H"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(n&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[r]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var r=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],n&&!p.call(v,h)||(r[h]=v[h]);return r}:f},I0iV:function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("sup")},{sup:function(){return o(this,"sup","","")}})},IgI0:function(t,e){t.exports={}},"J+mE":function(t,e,r){var n=r("XtQF"),o=r("ZKm/");t.exports=function(t){return n((function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t}))}},JBtQ:function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("italics")},{italics:function(){return o(this,"i","","")}})},JMzg:function(t,e,r){"use strict";var n,o=r("0vT8"),i=r("5tsF").f,a=r("eXo2"),c=r("qlPw"),u=r("L0mP"),s=r("hDjE"),f=r("p2x6"),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(n=i(String.prototype,"startsWith"),n&&!n.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var r=a(p(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return l?l.call(e,n,r):e.slice(r,r+n.length)===n}})},JZ5z:function(t,e,r){var n=r("UET0");t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(a){var i=t.return;throw void 0!==i&&n(i.call(t)),a}}},JvUV:function(t,e,r){var n=r("0vT8"),o=r("oTBo"),i=r("YxED");n({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},JwcT:function(t,e,r){"use strict";var n=r("0vT8"),o=r("s7Qr").filter,i=r("LQxa"),a=r("X4rX"),c=i("filter"),u=a("filter");n({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},KSpI:function(t,e,r){var n=r("UET0"),o=r("tTCw"),i=r("eXo2"),a=r("xwki"),c=r("YtfA"),u=r("JZ5z"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var p,h,v,d,g,y,m,b=a(e,r,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=f?b(n(m=t[v])[0],m[1]):b(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,f))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},Kdyt:function(t,e,r){var n=r("UET0"),o=r("XNJA"),i=r("G9lz")("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},Kg1r:function(t,e,r){var n=r("XtQF");t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},L0mP:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"LJ+p":function(t,e){var r=Math.expm1,n=Math.exp;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:r},LQxa:function(t,e,r){var n=r("XtQF"),o=r("G9lz"),i=r("lANf"),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},LjPG:function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("big")},{big:function(){return o(this,"big","","")}})},Lyq5:function(t,e,r){var n=r("0vT8"),o=r("TQiC");n({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},MKQa:function(t,e,r){var n=r("0vT8"),o=Math.asinh,i=Math.log,a=Math.sqrt;n({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"Nf+e":function(t,e,r){var n=r("ArQy");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},NneG:function(t,e,r){"use strict";var n=r("qpFR").f,o=r("dYyi"),i=r("RBcf"),a=r("xwki"),c=r("BehZ"),u=r("KSpI"),s=r("AV8a"),f=r("A//Y"),l=r("ThF5"),p=r("q75f").fastKey,h=r("pCF3"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,r,s){var f=t((function(t,n){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&u(n,t[s],t,r)})),h=d(e),g=function(t,e,r){var n,o,i=h(t),a=y(t,e);return a?a.value=r:(i.last=a={index:o=p(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var r,n=h(t),o=p(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),r=y(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=h(this),n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,r?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=d(e),i=d(n);s(t,e,(function(t,e){v(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(e)}}},NyaS:function(t,e,r){var n=r("yMQa");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},O1uG:function(t,e,r){var n=r("rP2c"),o=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&o(t)===t}},OE6s:function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("bold")},{bold:function(){return o(this,"b","","")}})},Ofvt:function(t,e,r){"use strict";var n=r("0vT8"),o=r("rP2c"),i=r("tx09"),a=r("eFwx"),c=r("eXo2"),u=r("V3ap"),s=r("51+R"),f=r("G9lz"),l=r("LQxa"),p=r("X4rX"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;n({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var r,n,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[d])&&(r=void 0):r=void 0,r===Array||void 0===r))return g.call(l,h,v);for(n=new(void 0===r?Array:r)(y(v-h,0)),f=0;hc;)a.push(String(e[c++])),c0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),r=new RegExp("^(?:"+v+")",h)),p&&(r=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=a.lastIndex),n=c.call(s?r:a,g),s?n?(n.input=n.input.slice(d),n[0]=n[0].slice(d),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:f&&n&&(a.lastIndex=a.global?n.index+n[0].length:e),p&&n&&n.length>1&&u.call(n[0],r,(function(){for(o=1;o=0;)p[e]=s((r+=p[e])/t),r=r%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var r=String(p[t]);e=""===e?r:e+a.call("0",7-r.length)+r}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(r=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),r*=4503599627370496,(e=52-e)>0){for(d(0,r),n=l;n>=7;)d(1e7,0),n-=7;for(d(f(10,n,1),0),n=e-1;n>=23;)g(1<<23),n-=23;g(1<0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},UkEg:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},Uure:function(t,e,r){var n=r("4eii").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&n(t)}},V3ap:function(t,e,r){var n=r("tH9H"),o=r("L0mP");t.exports=function(t){return n(o(t))}},V7Uj:function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},VBUz:function(t,e,r){r("79XA")("iterator")},VCHe:function(t,e,r){var n=r("XtQF");t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},VQs6:function(t,e,r){var n=r("gQA2"),o=r("dKk4");t.exports=Object.keys||function(t){return n(t,o)}},VUDt:function(t,e,r){var n=r("L0mP");t.exports=function(t){return Object(n(t))}},"VfW/":function(t,e,r){var n=r("L0mP"),o="["+r("ZKm/")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},Vx7H:function(t,e,r){var n=r("ThF5"),o=r("qpFR"),i=r("UET0"),a=r("VQs6");t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),c=n.length,u=0;c>u;)o.f(t,r=n[u++],e[r]);return t}},W3Kz:function(t,e,r){var n=r("eXo2"),o=r("/Wjk"),i=r("L0mP"),a=Math.ceil,c=function(t){return function(e,r,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=n(r);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},WHJo:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},Ww1t:function(t,e,r){"use strict";var n=r("V3ap"),o=r("lYWO"),i=r("eXo2"),a=r("9rSH"),c=r("X4rX"),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!f&&l&&p?s:function(t){if(f)return s.apply(this,arguments)||0;var e=n(this),r=i(e.length),a=r-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},X1th:function(t,e){e.f=Object.getOwnPropertySymbols},X4rX:function(t,e,r){var n=r("ThF5"),o=r("XtQF"),i=r("+C+w"),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var r=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!r&&!o((function(){if(s&&!n)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,f,l)}))}},XNJA:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},XtQF:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"Y/en":function(t,e,r){r("79XA")("toPrimitive")},Y8n2:function(t,e,r){var n=r("0vT8"),o=Math.log,i=Math.LN2;n({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},Yr4I:function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("small")},{small:function(){return o(this,"small","","")}})},YtfA:function(t,e,r){var n=r("92yR"),o=r("qv8c"),i=r("G9lz")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},YxED:function(t,e,r){var n=r("G9lz"),o=r("dYyi"),i=r("qpFR"),a=n("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},Z5iX:function(t,e,r){"use strict";var n=r("0vT8"),o=r("mXzy").right,i=r("9rSH"),a=r("X4rX"),c=i("reduceRight"),u=a("reduce",{1:0});n({target:"Array",proto:!0,forced:!c||!u},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},Z6qe:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},ZFHZ:function(t,e,r){r("79XA")("unscopables")},"ZKm/":function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},Zm5N:function(t,e,r){"use strict";r("C8vK");var n=r("gGei"),o=r("XtQF"),i=r("G9lz"),a=r("Skmt"),c=r("+NaH"),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return e=!0,null},r[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=r(v,""[t],(function(t,e,r,n,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];n(String.prototype,t,m[0]),n(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},a9aE:function(t,e,r){"use strict";var n=r("Zm5N"),o=r("UET0"),i=r("eXo2"),a=r("L0mP"),c=r("1ul8"),u=r("6pHA");n("match",1,(function(t,e,r){return[function(e){var r=a(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]}))},aLkt:function(t,e,r){var n=r("0vT8"),o=Math.ceil,i=Math.floor;n({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},bFNe:function(t,e,r){"use strict";var n=r("pNVf"),o=r("NneG");t.exports=n("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},bVE6:function(t,e,r){var n=r("0vT8"),o=r("XtQF"),i=r("LJ+p"),a=Math.abs,c=Math.exp,u=Math.E;n({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},bxYA:function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("fixed")},{fixed:function(){return o(this,"tt","","")}})},c8b2:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},chez:function(t,e,r){"use strict";var n=r("UET0"),o=r("x42P");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(n(this),"number"!==t)}},craJ:function(t,e,r){var n=r("XtQF");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},d1VG:function(t,e,r){r("0vT8")({target:"Math",stat:!0},{fround:r("62Jg")})},d1Z5:function(t,e,r){r("rEpP"),r("PMJG"),r("5b4b"),r("0Eps"),r("kjjh"),r("8WdQ"),r("iEbv"),r("sPQT"),r("Lyq5"),r("ff4A"),r("Ujke"),r("mqXI");var n=r("g6B6");t.exports=n.Number},d1gM:function(t,e,r){var n=r("4eii"),o=r("+NaH");t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},d8kk:function(t,e,r){"use strict";var n=r("xwki"),o=r("VUDt"),i=r("JZ5z"),a=r("tTCw"),c=r("eXo2"),u=r("51+R"),s=r("YtfA");t.exports=function(t){var e,r,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),T=0;if(m&&(y=n(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(r=new d(e=c(v.length));e>T;T++)h=m?y(v[T],T):v[T],u(r,T,h);else for(p=(l=b.call(v)).next,r=new d;!(f=p.call(l)).done;T++)h=m?i(l,y,[f.value,T],!0):f.value,u(r,T,h);return r.length=T,r}},dKk4:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},dRGF:function(t,e,r){"use strict";var n=r("0vT8"),o=r("x+Se");n({target:"String",proto:!0,forced:r("Kg1r")("strike")},{strike:function(){return o(this,"strike","","")}})},dYyi:function(t,e,r){var n,o=r("UET0"),i=r("Vx7H"),a=r("dKk4"),c=r("IgI0"),u=r("yjCV"),s=r("0O2A"),f=r("7pK/")("IE_PROTO"),l=function(){},p=function(t){return"