@tilde-nlp/ngx-common 5.0.2 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/close-button/close-button.component.mjs +37 -18
- package/esm2022/lib/close-button/close-button.module.mjs +25 -24
- package/esm2022/lib/company-product/company-product.component.mjs +25 -11
- package/esm2022/lib/company-product/company-product.module.mjs +17 -16
- package/esm2022/lib/confirmation-modal/confirmation-modal.component.mjs +63 -10
- package/esm2022/lib/confirmation-modal/confirmation-modal.module.mjs +13 -12
- package/esm2022/lib/confirmation-modal/services/confirmation.service.mjs +9 -9
- package/esm2022/lib/directives/click-outside/click-outside.directive.mjs +17 -15
- package/esm2022/lib/directives/click-outside/click-outside.module.mjs +19 -18
- package/esm2022/lib/directives/drag-and-drop/drag-and-drop.directive.mjs +28 -24
- package/esm2022/lib/directives/drag-and-drop/drag-and-drop.module.mjs +19 -18
- package/esm2022/lib/directives/mat-button-loading/mat-button-loading.directive.mjs +12 -12
- package/esm2022/lib/directives/mat-button-loading/mat-button-loading.module.mjs +15 -14
- package/esm2022/lib/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.mjs +19 -9
- package/esm2022/lib/extension-dialog/extension-dialog.component.mjs +99 -10
- package/esm2022/lib/extension-dialog/extension-dialog.module.mjs +33 -32
- package/esm2022/lib/extension-dialog/services/extension-dialog.service.mjs +9 -9
- package/esm2022/lib/file-upload/file-upload.component.mjs +83 -33
- package/esm2022/lib/file-upload/file-upload.module.mjs +27 -26
- package/esm2022/lib/filter-bar/filter-bar.component.mjs +187 -20
- package/esm2022/lib/filter-bar/filter-bar.module.mjs +43 -42
- package/esm2022/lib/filter-bar/models/filter-bar-settings.model.mjs +1 -1
- package/esm2022/lib/footer/footer.component.mjs +121 -15
- package/esm2022/lib/footer/footer.module.mjs +23 -22
- package/esm2022/lib/inline-message/inline-message.component.mjs +59 -11
- package/esm2022/lib/inline-message/inline-message.module.mjs +23 -22
- package/esm2022/lib/multi-functional-table/models/filter-config.model.mjs +1 -1
- package/esm2022/lib/multi-functional-table/multi-functional-table.component.mjs +248 -44
- package/esm2022/lib/multi-functional-table/multi-functional-table.module.mjs +43 -42
- package/esm2022/lib/notification-message/notification-message.component.mjs +130 -17
- package/esm2022/lib/notification-message/notification-message.module.mjs +29 -28
- package/esm2022/lib/open-close-button/open-close-button.component.mjs +68 -25
- package/esm2022/lib/open-close-button/open-close-button.module.mjs +13 -12
- package/esm2022/lib/pipes/date-ago/date-ago.module.mjs +21 -20
- package/esm2022/lib/pipes/date-ago/date-ago.pipe.mjs +15 -15
- package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.module.mjs +19 -18
- package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.pipe.mjs +9 -9
- package/esm2022/lib/pipes/index.mjs +2 -1
- package/esm2022/lib/pipes/language-translate/language-translate.module.mjs +13 -12
- package/esm2022/lib/pipes/language-translate/language-translate.pipe.mjs +10 -10
- package/esm2022/lib/pipes/object-length/index.mjs +3 -0
- package/esm2022/lib/pipes/object-length/object-length.module.mjs +19 -0
- package/esm2022/lib/pipes/object-length/object-length.pipe.mjs +23 -0
- package/esm2022/lib/pipes/sort-translations/sort-translations.module.mjs +17 -16
- package/esm2022/lib/pipes/sort-translations/sort-translations.pipe.mjs +9 -9
- package/esm2022/lib/pipes/sort-translations-by-property/sort-translations-by-property.module.mjs +13 -12
- package/esm2022/lib/pipes/sort-translations-by-property/sort-translations-by-property.pipe.mjs +9 -9
- package/esm2022/lib/plausible/plausible-event.directive.mjs +16 -14
- package/esm2022/lib/plausible/plausible.module.mjs +19 -18
- package/esm2022/lib/services/alert/alert.service.mjs +12 -12
- package/esm2022/lib/services/dom/dom.service.mjs +9 -9
- package/esm2022/lib/services/icon/icon.service.mjs +9 -9
- package/esm2022/lib/services/language-translate/language-translate.service.mjs +9 -9
- package/esm2022/lib/services/notification/notification.service.mjs +9 -9
- package/esm2022/lib/services/system/system.service.mjs +12 -12
- package/esm2022/lib/status-display/status-display.component.mjs +55 -10
- package/esm2022/lib/status-display/status-display.module.mjs +13 -12
- package/esm2022/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-card/terminology-collection-card.component.mjs +196 -25
- package/esm2022/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-list.component.mjs +107 -14
- package/esm2022/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection-dialog/terminology-create-collection-dialog.component.mjs +71 -10
- package/esm2022/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection.component.mjs +29 -13
- package/esm2022/lib/terminology/components/terminology-panel/terminology-panel.component.mjs +83 -14
- package/esm2022/lib/terminology/config/services/terminology-config/terminology-config.service.mjs +27 -25
- package/esm2022/lib/terminology/factories/terminology-api.factory.mjs +4 -4
- package/esm2022/lib/terminology/factories/terminology-system.factory.mjs +4 -4
- package/esm2022/lib/terminology/models/active-data.model.mjs +1 -1
- package/esm2022/lib/terminology/models/system.model.mjs +1 -1
- package/esm2022/lib/terminology/services/engine-term-api/engine-term-api.service.mjs +9 -9
- package/esm2022/lib/terminology/services/system-api-v1/system-api-v1.service.mjs +9 -9
- package/esm2022/lib/terminology/services/system-api-v2/system-api-v2.service.mjs +9 -9
- package/esm2022/lib/terminology/services/terminology/terminology.service.mjs +15 -13
- package/esm2022/lib/terminology/services/terminology-api-v1/terminology-api-v1.service.mjs +9 -9
- package/esm2022/lib/terminology/services/terminology-api-v2/terminology-api-v2.service.mjs +9 -9
- package/esm2022/lib/terminology/services/terminology-collection/terminology-collection.service.mjs +9 -9
- package/esm2022/lib/terminology/terminology.component.mjs +109 -22
- package/esm2022/lib/terminology/terminology.module.mjs +73 -72
- package/esm2022/lib/text-to-speech/index.mjs +2 -0
- package/esm2022/lib/text-to-speech/services/text-play.service.mjs +22 -0
- package/esm2022/lib/text-to-speech/text-to-speech.component.mjs +187 -0
- package/esm2022/lib/text-to-speech/translations/tts-i18n.mjs +26 -0
- package/esm2022/lib/tld-loader/tld-loader.component.mjs +12 -7
- package/esm2022/lib/tld-loader/tld-loader.module.mjs +16 -15
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/tilde-nlp-ngx-common.mjs +2844 -1098
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/lib/filter-bar/filter-bar.component.d.ts +1 -0
- package/lib/filter-bar/models/filter-bar-settings.model.d.ts +3 -1
- package/lib/multi-functional-table/models/filter-config.model.d.ts +1 -0
- package/lib/multi-functional-table/multi-functional-table.component.d.ts +4 -1
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/object-length/index.d.ts +2 -0
- package/lib/pipes/object-length/object-length.module.d.ts +8 -0
- package/lib/pipes/object-length/object-length.pipe.d.ts +7 -0
- package/lib/terminology/config/services/terminology-config/terminology-config.service.d.ts +1 -0
- package/lib/terminology/models/active-data.model.d.ts +1 -0
- package/lib/terminology/models/system.model.d.ts +1 -0
- package/lib/text-to-speech/index.d.ts +1 -0
- package/lib/text-to-speech/services/text-play.service.d.ts +8 -0
- package/lib/text-to-speech/text-to-speech.component.d.ts +25 -0
- package/lib/text-to-speech/translations/tts-i18n.d.ts +1 -0
- package/package.json +7 -4
- package/public-api.d.ts +1 -0
- package/styles/material-overrides.scss +33 -0
- package/web-components/3rdpartylicenses.txt +333 -0
- package/web-components/index.html +17 -0
- package/web-components/main.js +11 -0
- package/web-components/media/material-icons-outlined.woff2 +0 -0
- package/web-components/media/material-icons.woff2 +0 -0
- package/web-components/polyfills.js +3 -0
- package/web-components/styles.css +1 -0
- package/web-components/web-components.js +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var uw=Object.defineProperty,fw=Object.defineProperties;var hw=Object.getOwnPropertyDescriptors;var zo=Object.getOwnPropertySymbols;var um=Object.prototype.hasOwnProperty,fm=Object.prototype.propertyIsEnumerable;var dm=(t,e,i)=>e in t?uw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,P=(t,e)=>{for(var i in e||={})um.call(e,i)&&dm(t,i,e[i]);if(zo)for(var i of zo(e))fm.call(e,i)&&dm(t,i,e[i]);return t},Le=(t,e)=>fw(t,hw(e));var ac=(t,e)=>{var i={};for(var n in t)um.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&zo)for(var n of zo(t))e.indexOf(n)<0&&fm.call(t,n)&&(i[n]=t[n]);return i};var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var mw=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var hm=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var Ir=(t,e,i)=>(hm(t,e,"read from private field"),i?i.call(t):e.get(t)),Ho=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},mm=(t,e,i,n)=>(hm(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var Uo=(t,e,i)=>new Promise((n,r)=>{var o=l=>{try{a(i.next(l))}catch(c){r(c)}},s=l=>{try{a(i.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((i=i.apply(t,e)).next())});function ee(t){let e=pm;return pm=t,e}function pw(){return $o}function gw(t){if(!(pc(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===lc)){if(!t.producerMustRecompute(t)&&!qo(t)){t.dirty=!1,t.lastCleanEpoch=lc;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=lc}}function bw(t){if(t.liveConsumerNode===void 0)return;let e=$o;$o=!0;try{for(let i of t.liveConsumerNode)i.dirty||gm(i)}finally{$o=e}}function gm(t){t.dirty=!0,bw(t),t.consumerMarkedDirty?.(t)}function uc(t){return t&&(t.nextProducerIndex=0),ee(t)}function fc(t,e){if(ee(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(pc(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)mc(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function qo(t){Wo(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(gw(i),n!==i.version))return!0}return!1}function hc(t){if(Wo(t),pc(t))for(let e=0;e<t.producerNode.length;e++)mc(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function mc(t,e){if(vw(t),Wo(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)mc(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],r=t.liveConsumerNode[e];Wo(r),r.producerIndexOfThis[n]=e}}function pc(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Wo(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function vw(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function _w(){throw new Error}function bm(t){yw=t}function vm(t,e,i){let n=Object.create(ww);i&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let r=l=>{n.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(hc(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=cc)}let a=()=>{if(n.fn===null)return;if(pw())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!qo(n))return;n.hasRun=!0;let l=uc(n);try{n.cleanupFn(),n.cleanupFn=cc,n.fn(r)}finally{fc(n,l)}};return n.ref={notify:()=>gm(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Go]:n},n.ref}var pm,$o,lc,Go,dc,yw,cc,ww,_m=p(()=>{"use strict";pm=null,$o=!1,lc=1,Go=Symbol("SIGNAL");dc={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};yw=_w;cc=()=>{},ww=Le(P({},dc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:cc})});function k(t){return typeof t=="function"}var Ae=p(()=>{"use strict"});function Yo(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var gc=p(()=>{"use strict"});var Zo,ym=p(()=>{"use strict";gc();Zo=Yo(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
|
|
2
|
+
${i.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=i})});function Gn(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var Ko=p(()=>{"use strict"});function Qo(t){return t instanceof ie||t&&"closed"in t&&k(t.remove)&&k(t.add)&&k(t.unsubscribe)}function wm(t){k(t)?t():t.unsubscribe()}var ie,bc,Ni=p(()=>{"use strict";Ae();ym();Ko();ie=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let o of i)o.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(k(n))try{n()}catch(o){e=o instanceof Zo?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{wm(o)}catch(s){e=e??[],s instanceof Zo?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Zo(e)}}add(e){var i;if(e&&e!==this)if(this.closed)wm(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&Gn(i,e)}remove(e){let{_finalizers:i}=this;i&&Gn(i,e),e instanceof t&&e._removeParent(this)}};ie.EMPTY=(()=>{let t=new ie;return t.closed=!0,t})();bc=ie.EMPTY});var Tt,Sr=p(()=>{"use strict";Tt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var ki,vc=p(()=>{"use strict";ki={setTimeout(t,e,...i){let{delegate:n}=ki;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=ki;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Xo(t){ki.setTimeout(()=>{let{onUnhandledError:e}=Tt;if(e)e(t);else throw t})}var _c=p(()=>{"use strict";Sr();vc()});function Mr(){}var yc=p(()=>{"use strict"});function Dm(t){return wc("E",void 0,t)}function Em(t){return wc("N",t,void 0)}function wc(t,e,i){return{kind:t,value:e,error:i}}var xm,Cm=p(()=>{"use strict";xm=wc("C",void 0,void 0)});function Fi(t){if(Tt.useDeprecatedSynchronousErrorHandling){let e=!qn;if(e&&(qn={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=qn;if(qn=null,i)throw n}}else t()}function Im(t){Tt.useDeprecatedSynchronousErrorHandling&&qn&&(qn.errorThrown=!0,qn.error=t)}var qn,Jo=p(()=>{"use strict";Sr();qn=null});function xc(t,e){return xw.call(t,e)}function es(t){Tt.useDeprecatedSynchronousErrorHandling?Im(t):Xo(t)}function Dw(t){throw t}function Dc(t,e){let{onStoppedNotification:i}=Tt;i&&ki.setTimeout(()=>i(t,e))}var Yn,xw,Ec,on,Ew,ts=p(()=>{"use strict";Ae();Ni();Sr();_c();yc();Cm();vc();Jo();Yn=class extends ie{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Qo(e)&&e.add(this)):this.destination=Ew}static create(e,i,n){return new on(e,i,n)}next(e){this.isStopped?Dc(Em(e),this):this._next(e)}error(e){this.isStopped?Dc(Dm(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Dc(xm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},xw=Function.prototype.bind;Ec=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){es(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){es(n)}else es(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){es(i)}}},on=class extends Yn{constructor(e,i,n){super();let r;if(k(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&Tt.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&xc(e.next,o),error:e.error&&xc(e.error,o),complete:e.complete&&xc(e.complete,o)}):r=e}this.destination=new Ec(r)}};Ew={closed:!0,next:Mr,error:Dw,complete:Mr}});var Ri,ns=p(()=>{"use strict";Ri=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function At(t){return t}var Pi=p(()=>{"use strict"});function Sm(t){return t.length===0?At:t.length===1?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}var Mm=p(()=>{"use strict";Pi()});function Tm(t){var e;return(e=t??Tt.Promise)!==null&&e!==void 0?e:Promise}function Cw(t){return t&&k(t.next)&&k(t.error)&&k(t.complete)}function Iw(t){return t&&t instanceof Yn||Cw(t)&&Qo(t)}var W,Qe=p(()=>{"use strict";ts();Ni();ns();Mm();Sr();Ae();Jo();W=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){let o=Iw(i)?i:new on(i,n,r);return Fi(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=Tm(n),new n((r,o)=>{let s=new on({next:a=>{try{i(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[Ri](){return this}pipe(...i){return Sm(i)(this)}toPromise(i){return i=Tm(i),new i((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o))})}}return t.create=e=>new t(e),t})()});function Sw(t){return k(t?.lift)}function K(t){return e=>{if(Sw(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var Re=p(()=>{"use strict";Ae()});function te(t,e,i,n,r){return new Cc(t,e,i,n,r)}var Cc,He=p(()=>{"use strict";ts();Cc=class extends Yn{constructor(e,i,n,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}}});var Am,Om=p(()=>{"use strict";gc();Am=Yo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var R,is,Tr=p(()=>{"use strict";Qe();Ni();Om();Ko();Jo();R=(()=>{class t extends W{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new is(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new Am}next(i){Fi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){Fi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){Fi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:r,observers:o}=this;return n||r?bc:(this.currentObservers=null,o.push(i),new ie(()=>{this.currentObservers=null,Gn(o,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){let i=new W;return i.source=this,i}}return t.create=(e,i)=>new is(e,i),t})(),is=class extends R{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:bc}}});var Zn,Nm=p(()=>{"use strict";Tr();Zn=class extends R{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}});var Ar,Ic=p(()=>{"use strict";Ar={now(){return(Ar.delegate||Date).now()},delegate:void 0}});var Kn,Sc=p(()=>{"use strict";Tr();Ic();Kn=class extends R{constructor(e=1/0,i=1/0,n=Ar){super(),this._bufferSize=e,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,i)}next(e){let{isStopped:i,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;i||(n.push(e),!r&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let i=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!e.closed;s+=n?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),i}_trimBuffer(){let{_bufferSize:e,_timestampProvider:i,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let s=i.now(),a=0;for(let l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}}}});var rs,km=p(()=>{"use strict";Ni();rs=class extends ie{constructor(e,i){super()}schedule(e,i=0){return this}}});var Or,Fm=p(()=>{"use strict";Or={setInterval(t,e,...i){let{delegate:n}=Or;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=Or;return(e?.clearInterval||clearInterval)(t)},delegate:void 0}});var os,Rm=p(()=>{"use strict";km();Fm();Ko();os=class extends rs{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return Or.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&Or.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,r;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,Gn(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}}});var Li,Pm=p(()=>{"use strict";Ic();Li=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};Li.now=Ar.now});var ss,Lm=p(()=>{"use strict";Pm();ss=class extends Li{constructor(e,i=Li.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}}});var Nr,Vm,as=p(()=>{"use strict";Rm();Lm();Nr=new ss(os),Vm=Nr});var ls,Mc=p(()=>{"use strict";Qe();ls=new W(t=>t.complete())});function cs(t){return t&&k(t.schedule)}var Tc=p(()=>{"use strict";Ae()});function Ac(t){return t[t.length-1]}function ds(t){return k(Ac(t))?t.pop():void 0}function Ut(t){return cs(Ac(t))?t.pop():void 0}function jm(t,e){return typeof Ac(t)=="number"?t.pop():e}var Qn=p(()=>{"use strict";Ae();Tc()});function zm(t,e,i,n){function r(o){return o instanceof i?o:new i(function(s){s(o)})}return new(i||(i=Promise))(function(o,s){function a(d){try{c(n.next(d))}catch(u){s(u)}}function l(d){try{c(n.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function Bm(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xn(t){return this instanceof Xn?(this.v=t,this):new Xn(t)}function Hm(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),r,o=[];return r={},a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(m){return Promise.resolve(m).then(f,u)}}function a(f,m){n[f]&&(r[f]=function(b){return new Promise(function(w,_){o.push([f,b,w,_])>1||l(f,b)})},m&&(r[f]=m(r[f])))}function l(f,m){try{c(n[f](m))}catch(b){h(o[0][3],b)}}function c(f){f.value instanceof Xn?Promise.resolve(f.value.v).then(d,u):h(o[0][2],f)}function d(f){l("next",f)}function u(f){l("throw",f)}function h(f,m){f(m),o.shift(),o.length&&l(o[0][0],o[0][1])}}function Um(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof Bm=="function"?Bm(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Oc=p(()=>{"use strict"});var Vi,us=p(()=>{"use strict";Vi=t=>t&&typeof t.length=="number"&&typeof t!="function"});function fs(t){return k(t?.then)}var Nc=p(()=>{"use strict";Ae()});function hs(t){return k(t[Ri])}var kc=p(()=>{"use strict";ns();Ae()});function ms(t){return Symbol.asyncIterator&&k(t?.[Symbol.asyncIterator])}var Fc=p(()=>{"use strict";Ae()});function ps(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var Rc=p(()=>{"use strict"});function Mw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gs,Pc=p(()=>{"use strict";gs=Mw()});function bs(t){return k(t?.[gs])}var Lc=p(()=>{"use strict";Pc();Ae()});function vs(t){return Hm(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:r}=yield Xn(i.read());if(r)return yield Xn(void 0);yield yield Xn(n)}}finally{i.releaseLock()}})}function _s(t){return k(t?.getReader)}var ys=p(()=>{"use strict";Oc();Ae()});function ae(t){if(t instanceof W)return t;if(t!=null){if(hs(t))return Tw(t);if(Vi(t))return Aw(t);if(fs(t))return Ow(t);if(ms(t))return $m(t);if(bs(t))return Nw(t);if(_s(t))return kw(t)}throw ps(t)}function Tw(t){return new W(e=>{let i=t[Ri]();if(k(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Aw(t){return new W(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function Ow(t){return new W(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,Xo)})}function Nw(t){return new W(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function $m(t){return new W(e=>{Fw(t,e).catch(i=>e.error(i))})}function kw(t){return $m(vs(t))}function Fw(t,e){var i,n,r,o;return zm(this,void 0,void 0,function*(){try{for(i=Um(t);n=yield i.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})}var qe=p(()=>{"use strict";Oc();us();Nc();Qe();kc();Fc();Rc();Lc();ys();Ae();_c();ns()});function Xe(t,e,i,n=0,r=!1){let o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}var ji=p(()=>{"use strict"});function ws(t,e=0){return K((i,n)=>{i.subscribe(te(n,r=>Xe(n,t,()=>n.next(r),e),()=>Xe(n,t,()=>n.complete(),e),r=>Xe(n,t,()=>n.error(r),e)))})}var Vc=p(()=>{"use strict";ji();Re();He()});function xs(t,e=0){return K((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}var jc=p(()=>{"use strict";Re()});function Wm(t,e){return ae(t).pipe(xs(e),ws(e))}var Gm=p(()=>{"use strict";qe();Vc();jc()});function qm(t,e){return ae(t).pipe(xs(e),ws(e))}var Ym=p(()=>{"use strict";qe();Vc();jc()});function Zm(t,e){return new W(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}var Km=p(()=>{"use strict";Qe()});function Qm(t,e){return new W(i=>{let n;return Xe(i,e,()=>{n=t[gs](),Xe(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(s){i.error(s);return}o?i.complete():i.next(r)},0,!0)}),()=>k(n?.return)&&n.return()})}var Xm=p(()=>{"use strict";Qe();Pc();Ae();ji()});function Ds(t,e){if(!t)throw new Error("Iterable cannot be null");return new W(i=>{Xe(i,e,()=>{let n=t[Symbol.asyncIterator]();Xe(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}var Bc=p(()=>{"use strict";Qe();ji()});function Jm(t,e){return Ds(vs(t),e)}var ep=p(()=>{"use strict";Bc();ys()});function tp(t,e){if(t!=null){if(hs(t))return Wm(t,e);if(Vi(t))return Zm(t,e);if(fs(t))return qm(t,e);if(ms(t))return Ds(t,e);if(bs(t))return Qm(t,e);if(_s(t))return Jm(t,e)}throw ps(t)}var np=p(()=>{"use strict";Gm();Ym();Km();Xm();Bc();kc();Nc();us();Lc();Fc();Rc();ys();ep()});function Je(t,e){return e?tp(t,e):ae(t)}var Bi=p(()=>{"use strict";np();qe()});function Ye(...t){let e=Ut(t);return Je(t,e)}var ip=p(()=>{"use strict";Qn();Bi()});function zc(t,e){let i=k(t)?t:()=>t,n=r=>r.error(i());return new W(e?r=>e.schedule(n,0,r):n)}var rp=p(()=>{"use strict";Qe();Ae()});function op(t){return t instanceof Date&&!isNaN(t)}var sp=p(()=>{"use strict"});function re(t,e){return K((i,n)=>{let r=0;i.subscribe(te(n,o=>{n.next(t.call(e,o,r++))}))})}var Es=p(()=>{"use strict";Re();He()});function Pw(t,e){return Rw(e)?t(...e):t(e)}function zi(t){return re(e=>Pw(t,e))}var Rw,Cs=p(()=>{"use strict";Es();({isArray:Rw}=Array)});function Is(t){if(t.length===1){let e=t[0];if(Lw(e))return{args:e,keys:null};if(zw(e)){let i=Bw(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function zw(t){return t&&typeof t=="object"&&Vw(t)===jw}var Lw,Vw,jw,Bw,Hc=p(()=>{"use strict";({isArray:Lw}=Array),{getPrototypeOf:Vw,prototype:jw,keys:Bw}=Object});function Ss(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}var Uc=p(()=>{"use strict"});function $c(...t){let e=Ut(t),i=ds(t),{args:n,keys:r}=Is(t);if(n.length===0)return Je([],e);let o=new W(Hw(n,e,r?s=>Ss(r,s):At));return i?o.pipe(zi(i)):o}function Hw(t,e,i=At){return n=>{ap(e,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)ap(e,()=>{let c=Je(t[l],e),d=!1;c.subscribe(te(n,u=>{o[l]=u,d||(d=!0,a--),a||n.next(i(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function ap(t,e,i){t?Xe(i,t,e):e()}var lp=p(()=>{"use strict";Qe();Hc();Bi();Pi();Cs();Qn();Uc();He();ji()});function cp(t,e,i,n,r,o,s,a){let l=[],c=0,d=0,u=!1,h=()=>{u&&!l.length&&!c&&e.complete()},f=b=>c<n?m(b):l.push(b),m=b=>{o&&e.next(b),c++;let w=!1;ae(i(b,d++)).subscribe(te(e,_=>{r?.(_),o?f(_):e.next(_)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&c<n;){let _=l.shift();s?Xe(e,s,()=>m(_)):m(_)}h()}catch(_){e.error(_)}}))};return t.subscribe(te(e,f,()=>{u=!0,h()})),()=>{a?.()}}var dp=p(()=>{"use strict";qe();ji();He()});function En(t,e,i=1/0){return k(e)?En((n,r)=>re((o,s)=>e(n,o,r,s))(ae(t(n,r))),i):(typeof e=="number"&&(i=e),K((n,r)=>cp(n,r,t,i)))}var Ms=p(()=>{"use strict";Es();qe();Re();dp();Ae()});function Ts(t=1/0){return En(At,t)}var Wc=p(()=>{"use strict";Ms();Pi()});function up(){return Ts(1)}var fp=p(()=>{"use strict";Wc()});function Hi(...t){return up()(Je(t,Ut(t)))}var Gc=p(()=>{"use strict";fp();Qn();Bi()});function qc(t){return new W(e=>{ae(t()).subscribe(e)})}var hp=p(()=>{"use strict";Qe();qe()});function kr(...t){let e=ds(t),{args:i,keys:n}=Is(t),r=new W(o=>{let{length:s}=i;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let u=!1;ae(i[d]).subscribe(te(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(n?Ss(n,a):a),o.complete())}))}});return e?r.pipe(zi(e)):r}var mp=p(()=>{"use strict";Qe();Hc();qe();Qn();He();Cs();Uc()});function Fr(t,e,i,n){if(k(i)&&(n=i,i=void 0),n)return Fr(t,e,i).pipe(zi(n));let[r,o]=Yw(t)?$w.map(s=>a=>t[s](e,a,i)):Gw(t)?Uw.map(pp(t,e)):qw(t)?Ww.map(pp(t,e)):[];if(!r&&Vi(t))return En(s=>Fr(s,e,i))(ae(t));if(!r)throw new TypeError("Invalid event target");return new W(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function pp(t,e){return i=>n=>t[i](e,n)}function Gw(t){return k(t.addListener)&&k(t.removeListener)}function qw(t){return k(t.on)&&k(t.off)}function Yw(t){return k(t.addEventListener)&&k(t.removeEventListener)}var Uw,$w,Ww,gp=p(()=>{"use strict";qe();Qe();Ms();us();Ae();Cs();Uw=["addListener","removeListener"],$w=["addEventListener","removeEventListener"],Ww=["on","off"]});function bp(t=0,e,i=Vm){let n=-1;return e!=null&&(cs(e)?i=e:n=e),new W(r=>{let o=op(t)?+t-i.now():t;o<0&&(o=0);let s=0;return i.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete())},o)})}var vp=p(()=>{"use strict";Qe();as();Tc();sp()});function Ot(...t){let e=Ut(t),i=jm(t,1/0),n=t;return n.length?n.length===1?ae(n[0]):Ts(i)(Je(n,e)):ls}var _p=p(()=>{"use strict";Wc();qe();Mc();Qn();Bi()});function Ue(t,e){return K((i,n)=>{let r=0;i.subscribe(te(n,o=>t.call(e,o,r++)&&n.next(o)))})}var Yc=p(()=>{"use strict";Re();He()});var yp=p(()=>{"use strict"});function wp(t){return K((e,i)=>{let n=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let c=r;r=null,i.next(c)}s&&i.complete()},l=()=>{o=null,s&&i.complete()};e.subscribe(te(i,c=>{n=!0,r=c,o||ae(t(c)).subscribe(o=te(i,a,l))},()=>{s=!0,(!n||!o||o.closed)&&i.complete()}))})}var xp=p(()=>{"use strict";Re();qe();He()});function As(t,e=Nr){return wp(()=>bp(t,e))}var Dp=p(()=>{"use strict";as();xp();vp()});function Os(t){return K((e,i)=>{let n=null,r=!1,o;n=e.subscribe(te(i,void 0,void 0,s=>{o=ae(t(s,Os(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}var Ep=p(()=>{"use strict";qe();He();Re()});function Zc(t,e){return k(e)?En(t,e,1):En(t,1)}var Cp=p(()=>{"use strict";Ms();Ae()});function Rr(t,e=Nr){return K((i,n)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,n.next(c)}};function l(){let c=s+t,d=e.now();if(d<c){r=this.schedule(void 0,c-d),n.add(r);return}a()}i.subscribe(te(n,c=>{o=c,s=e.now(),r||(r=e.schedule(l,t),n.add(r))},()=>{a(),n.complete()},void 0,()=>{o=r=null}))})}var Ip=p(()=>{"use strict";as();Re();He()});function gt(t){return t<=0?()=>ls:K((e,i)=>{let n=0;e.subscribe(te(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}var Sp=p(()=>{"use strict";Mc();Re();He()});function Ui(t,e=At){return t=t??Zw,K((i,n)=>{let r,o=!0;i.subscribe(te(n,s=>{let a=e(s);(o||!t(r,a))&&(o=!1,r=a,n.next(s))}))})}function Zw(t,e){return t===e}var Mp=p(()=>{"use strict";Pi();Re();He()});function Cn(t){return K((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}var Kc=p(()=>{"use strict";Re()});function Pr(t={}){let{connector:e=()=>new R,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},m=()=>{let b=s;f(),b?.unsubscribe()};return K((b,w)=>{c++,!u&&!d&&h();let _=l=l??e();w.add(()=>{c--,c===0&&!u&&!d&&(a=Qc(m,r))}),_.subscribe(w),!s&&c>0&&(s=new on({next:L=>_.next(L),error:L=>{u=!0,h(),a=Qc(f,i,L),_.error(L)},complete:()=>{d=!0,h(),a=Qc(f,n),_.complete()}}),ae(b).subscribe(s))})(o)}}function Qc(t,e,...i){if(e===!0){t();return}if(e===!1)return;let n=new on({next:()=>{n.unsubscribe(),t()}});return ae(e(...i)).subscribe(n)}var Xc=p(()=>{"use strict";qe();Tr();ts();Re()});function Ns(t,e,i){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:i}=t:n=t??1/0,Pr({connector:()=>new Kn(n,e,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var Tp=p(()=>{"use strict";Sc();Xc()});function Lr(t){return Ue((e,i)=>t<=i)}var Ap=p(()=>{"use strict";Yc()});function Jn(...t){let e=Ut(t);return K((i,n)=>{(e?Hi(t,i,e):Hi(t,i)).subscribe(n)})}var Op=p(()=>{"use strict";Gc();Qn();Re()});function sn(t,e){return K((i,n)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&n.complete();i.subscribe(te(n,l=>{r?.unsubscribe();let c=0,d=o++;ae(t(l,d)).subscribe(r=te(n,u=>n.next(e?e(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var Np=p(()=>{"use strict";qe();Re();He()});function oe(t){return K((e,i)=>{ae(t).subscribe(te(i,()=>i.complete(),Mr)),!i.closed&&e.subscribe(i)})}var kp=p(()=>{"use strict";Re();He();qe();yc()});function Jc(t,e=!1){return K((i,n)=>{let r=0;i.subscribe(te(n,o=>{let s=t(o,r++);(s||e)&&n.next(o),!s&&n.complete()}))})}var Fp=p(()=>{"use strict";Re();He()});function In(t,e,i){let n=k(t)||e||i?{next:t,error:e,complete:i}:t;return n?K((r,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(te(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):At}var Rp=p(()=>{"use strict";Ae();Re();He();Pi()});var Ve=p(()=>{"use strict";Qe();Tr();Nm();Sc();Ni();lp();Gc();hp();mp();Bi();gp();_p();ip();rp();yp();Kc()});var et=p(()=>{"use strict";Dp();Ep();Cp();Ip();Mp();Yc();Kc();Es();Xc();Tp();Ap();Op();Np();Sp();kp();Fp();Rp()});function da(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Xr(t){return{toString:t}.toString()}function Kw(t){return function(...i){if(t){let n=t(...i);for(let r in n)this[r]=n[r]}}}function yg(t,e,i){return Xr(()=>{let n=Kw(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(ks)?l[ks]:Object.defineProperty(l,ks,{value:[]})[ks];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function he(t){for(let e in t)if(t[e]===he)return e;throw Error("Could not find renamed property on target object.")}function Qw(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function lt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(lt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
|
|
4
|
+
`);return i===-1?e:e.substring(0,i)}function md(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}function ui(t){return t.__forward_ref__=ui,t.toString=function(){return lt(this())},t}function Ze(t){return wg(t)?t():t}function wg(t){return typeof t=="function"&&t.hasOwnProperty(Xw)&&t.__forward_ref__===ui}function E(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function G(t){return{providers:t.providers||[],imports:t.imports||[]}}function hu(t){return Pp(t,xg)||Pp(t,Dg)}function Pp(t,e){return t.hasOwnProperty(e)?t[e]:null}function Jw(t){let e=t&&(t[xg]||t[Dg]);return e||null}function Lp(t){return t&&(t.hasOwnProperty(Vp)||t.hasOwnProperty(ex))?t[Vp]:null}function Eg(t){return t&&!!t.\u0275providers}function jr(t){return typeof t=="string"?t:t==null?"":String(t)}function rx(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():jr(t)}function ox(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new x(-200,t)}function mu(t,e){throw new x(-201,!1)}function Cg(){return pd}function bt(t){let e=pd;return pd=t,e}function Ig(t,e,i){let n=hu(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&Z.Optional)return null;if(e!==void 0)return e;mu(t,"Injector")}function dx(){return qi}function Sn(t){let e=qi;return qi=t,e}function ux(t,e=Z.Default){if(qi===void 0)throw new x(-203,!1);return qi===null?Ig(t,void 0,e):qi.get(t,e&Z.Optional?null:void 0,e)}function g(t,e=Z.Default){return(Cg()||ux)(Ze(t),e)}function C(t,e=Z.Default){return g(t,ua(e))}function ua(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function bd(t){let e=[];for(let i=0;i<t.length;i++){let n=Ze(t[i]);if(Array.isArray(n)){if(n.length===0)throw new x(900,!1);let r,o=Z.Default;for(let s=0;s<n.length;s++){let a=n[s],l=fx(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}e.push(g(r,o))}else e.push(g(n))}return e}function Sg(t,e){return t[gd]=e,t.prototype[gd]=e,t}function fx(t){return t[gd]}function hx(t,e,i,n){let r=t[Gs];throw e[Bp]&&r.unshift(e[Bp]),t.message=mx(`
|
|
5
|
+
`+t.message,r,i,n),t[ax]=r,t[Gs]=null,t}function mx(t,e,i,n=null){t=t&&t.charAt(0)===`
|
|
6
|
+
`&&t.charAt(1)==cx?t.slice(2):t;let r=lt(e);if(Array.isArray(e))r=e.map(lt).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):lt(a)))}r=`{${o.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(lx,`
|
|
7
|
+
`)}`}function Zi(t,e){let i=t.hasOwnProperty(Ws);return i?t[Ws]:null}function px(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=e[n];if(i&&(r=i(r),o=i(o)),o!==r)return!1}return!0}function gx(t){return t.flat(Number.POSITIVE_INFINITY)}function gu(t,e){t.forEach(i=>Array.isArray(i)?gu(i,e):e(i))}function Tg(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function qs(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function bx(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function vx(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(r===1)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;){let o=r-2;t[r]=t[o],r--}t[e]=i,t[e+1]=n}}function fa(t,e,i){let n=Jr(t,e);return n>=0?t[n|1]=i:(n=~n,vx(t,n,e,i)),n}function ed(t,e){let i=Jr(t,e);if(i>=0)return t[i|1]}function Jr(t,e){return _x(t,e,1)}function _x(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){let o=n+(r-n>>1),s=t[o<<i];if(e===s)return o<<i;s>e?r=o:n=o+1}return~(r<<i)}function yx(t,e,i){let n=t.length;for(;;){let r=t.indexOf(e,i);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}i=r+1}}function vd(t,e,i){let n=0;for(;n<i.length;){let r=i[n];if(typeof r=="number"){if(r!==0)break;n++;let o=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,o)}else{let o=r,s=i[++n];wx(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function kg(t){return t===3||t===4||t===6}function wx(t){return t.charCodeAt(0)===64}function Hr(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let r=e[n];typeof r=="number"?i=r:i===0||(i===-1||i===2?zp(t,i,r,null,e[++n]):zp(t,i,r,null,null))}}return t}function zp(t,e,i,n,r){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===i){if(n===null){r!==null&&(t[o+1]=r);return}else if(n===t[o+1]){t[o+2]=r;return}}o++,n!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,i),n!==null&&t.splice(o++,0,n),r!==null&&t.splice(o++,0,r)}function xx(t,e,i,n){let r=0;if(n){for(;r<e.length&&typeof e[r]=="string";r+=2)if(e[r]==="class"&&yx(e[r+1].toLowerCase(),i,0)!==-1)return!0}else if(bu(t))return!1;if(r=e.indexOf(1,r),r>-1){let o;for(;++r<e.length&&typeof(o=e[r])=="string";)if(o.toLowerCase()===i)return!0}return!1}function bu(t){return t.type===4&&t.value!==Fg}function Dx(t,e,i){let n=t.type===4&&!i?Fg:t.value;return e===n}function Ex(t,e,i){let n=4,r=t.attrs,o=r!==null?Sx(r):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!Nt(n)&&!Nt(l))return!1;if(s&&Nt(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!Dx(t,l,i)||l===""&&e.length===1){if(Nt(n))return!1;s=!0}}else if(n&8){if(r===null||!xx(t,r,l,i)){if(Nt(n))return!1;s=!0}}else{let c=e[++a],d=Cx(l,r,bu(t),i);if(d===-1){if(Nt(n))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),n&2&&c!==u){if(Nt(n))return!1;s=!0}}}}return Nt(n)||s}function Nt(t){return(t&1)===0}function Cx(t,e,i,n){if(e===null)return-1;let r=0;if(n||!i){let o=!1;for(;r<e.length;){let s=e[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++r];for(;typeof a=="string";)a=e[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return Mx(e,t)}function Rg(t,e,i=!1){for(let n=0;n<e.length;n++)if(Ex(t,e[n],i))return!0;return!1}function Ix(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function Sx(t){for(let e=0;e<t.length;e++){let i=t[e];if(kg(i))return e}return t.length}function Mx(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function Tx(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function Hp(t,e){return t?":not("+e.trim()+")":e}function Ax(t){let e=t[0],i=1,n=2,r="",o=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?r+="."+s:n&4&&(r+=" "+s);else r!==""&&!Nt(s)&&(e+=Hp(o,r),r=""),n=s,o=o||!Nt(n);i++}return r!==""&&(e+=Hp(o,r)),e}function Ox(t){return t.map(Ax).join(",")}function Nx(t){let e=[],i=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&e.push(o,t[++n]):r===8&&i.push(o);else{if(!Nt(r))break;r=o}n++}return{attrs:e,classes:i}}function Ee(t){return Xr(()=>{let e=Vg(t),i=Le(P({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ng.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Gt.Emulated,styles:t.styles||tt,_:null,schemas:t.schemas||null,tView:null,id:""});jg(i);let n=t.dependencies;return i.directiveDefs=$p(n,!1),i.pipeDefs=$p(n,!0),i.id=Px(i),i})}function kx(t){return Qi(t)||Pg(t)}function Fx(t){return t!==null}function q(t){return Xr(()=>({type:t.type,bootstrap:t.bootstrap||tt,declarations:t.declarations||tt,imports:t.imports||tt,exports:t.exports||tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Up(t,e){if(t==null)return Ki;let i={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,s,a=y.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),e?(i[o]=a!==y.None?[n,a]:n,e[o]=s):i[o]=n}return i}function Q(t){return Xr(()=>{let e=Vg(t);return jg(e),e})}function Qi(t){return t[tx]||null}function Pg(t){return t[nx]||null}function Lg(t){return t[ix]||null}function Rx(t){let e=Qi(t)||Pg(t)||Lg(t);return e!==null?e.standalone:!1}function Vg(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ki,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||tt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Up(t.inputs,e),outputs:Up(t.outputs),debugInfo:null}}function jg(t){t.features?.forEach(e=>e(t))}function $p(t,e){if(!t)return null;let i=e?Lg:kx;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(Fx)}function Px(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function ha(t){return{\u0275providers:t}}function Lx(...t){return{\u0275providers:Bg(!0,t),\u0275fromNgModule:!0}}function Bg(t,...e){let i=[],n=new Set,r,o=s=>{i.push(s)};return gu(e,s=>{let a=s;_d(a,o,[],n)&&(r||=[],r.push(a))}),r!==void 0&&zg(r,o),i}function zg(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:r}=t[i];vu(r,o=>{e(o,n)})}}function _d(t,e,i,n){if(t=Ze(t),!t)return!1;let r=null,o=Lp(t),s=!o&&Qi(t);if(!o&&!s){let l=t.ngModule;if(o=Lp(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)_d(c,e,i,n)}}else if(o){if(o.imports!=null&&!a){n.add(r);let c;try{gu(o.imports,d=>{_d(d,e,i,n)&&(c||=[],c.push(d))})}finally{}c!==void 0&&zg(c,e)}if(!a){let c=Zi(r)||(()=>new r);e({provide:r,useFactory:c,deps:tt},r),e({provide:Og,useValue:r,multi:!0},r),e({provide:zr,useValue:()=>g(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;vu(l,d=>{e(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function vu(t,e){for(let i of t)Eg(i)&&(i=i.\u0275providers),Array.isArray(i)?vu(i,e):e(i)}function Hg(t){return t!==null&&typeof t=="object"&&Vx in t}function jx(t){return!!(t&&t.useExisting)}function Bx(t){return!!(t&&t.useFactory)}function Xi(t){return typeof t=="function"}function zx(t){return!!t.useClass}function _u(){return td===void 0&&(td=new Ys),td}function yd(t){let e=hu(t),i=e!==null?e.factory:Zi(t);if(i!==null)return i;if(t instanceof D)throw new x(204,!1);if(t instanceof Function)return Ux(t);throw new x(204,!1)}function Ux(t){if(t.length>0)throw new x(204,!1);let i=Jw(t);return i!==null?()=>i.factory(t):()=>new t}function $x(t){if(Hg(t))return $i(void 0,t.useValue);{let e=Ug(t);return $i(e,Vs)}}function Ug(t,e,i){let n;if(Xi(t)){let r=Ze(t);return Zi(r)||yd(r)}else if(Hg(t))n=()=>Ze(t.useValue);else if(Bx(t))n=()=>t.useFactory(...bd(t.deps||[]));else if(jx(t))n=()=>g(Ze(t.useExisting));else{let r=Ze(t&&(t.useClass||t.provide));if(Wx(t))n=()=>new r(...bd(t.deps));else return Zi(r)||yd(r)}return n}function $i(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function Wx(t){return!!t.deps}function Gx(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function qx(t){return typeof t=="function"||typeof t=="object"&&t instanceof D}function wd(t,e){for(let i of t)Array.isArray(i)?wd(i,e):i&&Eg(i)?wd(i.\u0275providers,e):e(i)}function $g(t,e){t instanceof Ur&&t.assertNotDestroyed();let i,n=Sn(t),r=bt(void 0);try{return e()}finally{Sn(n),bt(r)}}function Wg(){return Cg()!==void 0||dx()!=null}function Yx(t){if(!Wg())throw new x(-203,!1)}function Zx(t){return typeof t=="function"}function ti(t){return Array.isArray(t)&&typeof t[qg]=="object"}function un(t){return Array.isArray(t)&&t[qg]===!0}function wu(t){return(t.flags&4)!==0}function ga(t){return t.componentOffset>-1}function ba(t){return(t.flags&1)===1}function Tn(t){return!!t.template}function Kx(t){return(t[F]&512)!==0}function Yg(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function _t(){return Zg}function Zg(t){return t.type.prototype.ngOnChanges&&(t.setInput=Xx),Qx}function Qx(){let t=Qg(this),e=t?.current;if(e){let i=t.previous;if(i===Ki)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Xx(t,e,i,n,r){let o=this.declaredInputs[n],s=Qg(t)||Jx(t,{previous:Ki,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new qr(c&&c.currentValue,i,l===Ki),Yg(t,e,r,i)}function Qg(t){return t[Kg]||null}function Jx(t,e){return t[Kg]=e}function nD(){return tD}function Zt(t){for(;Array.isArray(t);)t=t[dn];return t}function Jg(t,e){return Zt(e[t])}function yt(t,e){return Zt(e[t.index])}function xu(t,e){return t.data[e]}function iD(t,e){return t[e]}function On(t,e){let i=e[t];return ti(i)?i:i[dn]}function rD(t){return(t[F]&4)===4}function Du(t){return(t[F]&128)===128}function oD(t){return un(t[je])}function tr(t,e){return e==null?null:t[e]}function eb(t){t[Wi]=0}function sD(t){t[F]&1024||(t[F]|=1024,Du(t)&&Yr(t))}function aD(t,e){for(;t>0;)e=e[or],t--;return e}function Eu(t){return!!(t[F]&9216||t[ii]?.dirty)}function xd(t){t[Yt].changeDetectionScheduler?.notify(1),Eu(t)?Yr(t):t[F]&64&&(nD()?(t[F]|=1024,Yr(t)):t[Yt].changeDetectionScheduler?.notify())}function Yr(t){t[Yt].changeDetectionScheduler?.notify();let e=Zr(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!Du(e)));)e=Zr(e)}function tb(t,e){if((t[F]&256)===256)throw new x(911,!1);t[Mn]===null&&(t[Mn]=[]),t[Mn].push(e)}function lD(t,e){if(t[Mn]===null)return;let i=t[Mn].indexOf(e);i!==-1&&t[Mn].splice(i,1)}function Zr(t){let e=t[je];return un(e)?e[je]:e}function cD(){return $.lFrame.elementDepthCount}function dD(){$.lFrame.elementDepthCount++}function uD(){$.lFrame.elementDepthCount--}function nb(){return $.bindingsEnabled}function ib(){return $.skipHydrationRootTNode!==null}function fD(t){return $.skipHydrationRootTNode===t}function hD(){$.skipHydrationRootTNode=null}function Y(){return $.lFrame.lView}function Ce(){return $.lFrame.tView}function Lt(t){return $.lFrame.contextLView=t,t[vt]}function Vt(t){return $.lFrame.contextLView=null,t}function $e(){let t=rb();for(;t!==null&&t.type===64;)t=t.parent;return t}function rb(){return $.lFrame.currentTNode}function mD(){let t=$.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function fi(t,e){let i=$.lFrame;i.currentTNode=t,i.isParent=e}function Cu(){return $.lFrame.isParent}function Iu(){$.lFrame.isParent=!1}function pD(){return $.lFrame.contextLView}function gD(){return $.lFrame.bindingIndex}function bD(t){return $.lFrame.bindingIndex=t}function sr(){return $.lFrame.bindingIndex++}function Su(t){let e=$.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function vD(){return $.lFrame.inI18n}function _D(t,e){let i=$.lFrame;i.bindingIndex=i.bindingRootIndex=t,Dd(e)}function yD(){return $.lFrame.currentDirectiveIndex}function Dd(t){$.lFrame.currentDirectiveIndex=t}function wD(t){let e=$.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ob(){return $.lFrame.currentQueryIndex}function Mu(t){$.lFrame.currentQueryIndex=t}function xD(t){let e=t[U];return e.type===2?e.declTNode:e.type===1?t[dt]:null}function sb(t,e,i){if(i&Z.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(i&Z.Host);)if(r=xD(o),r===null||(o=o[or],r.type&10))break;if(r===null)return!1;e=r,t=o}let n=$.lFrame=ab();return n.currentTNode=e,n.lView=t,!0}function Tu(t){let e=ab(),i=t[U];$.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function ab(){let t=$.lFrame,e=t===null?null:t.child;return e===null?lb(t):e}function lb(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function cb(){let t=$.lFrame;return $.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function Au(){let t=cb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function DD(t){return($.lFrame.contextLView=aD(t,$.lFrame.contextLView))[vt]}function Nn(){return $.lFrame.selectedIndex}function oi(t){$.lFrame.selectedIndex=t}function va(){let t=$.lFrame;return xu(t.tView,t.selectedIndex)}function to(){$.lFrame.currentNamespace=Xg}function ub(){ED()}function ED(){$.lFrame.currentNamespace=null}function CD(){return $.lFrame.currentNamespace}function _a(){return fb}function ya(t){fb=t}function ID(t,e,i){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){let s=Zg(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}function wa(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let o=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),d!=null&&(t.destroyHooks??=[]).push(i,d)}}function Bs(t,e,i){hb(t,e,3,i)}function zs(t,e,i,n){(t[F]&3)===i&&hb(t,e,i,n)}function nd(t,e){let i=t[F];(i&3)===e&&(i&=16383,i+=1,t[F]=i)}function hb(t,e,i,n){let r=n!==void 0?t[Wi]&65535:0,o=n??-1,s=e.length-1,a=0;for(let l=r;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[Wi]+=65536),(a<o||o==-1)&&(SD(t,i,e,l),t[Wi]=(t[Wi]&4294901760)+l+2),l++}function qp(t,e){$t(4,t,e);let i=ee(null);try{e.call(t)}finally{ee(i),$t(5,t,e)}}function SD(t,e,i,n){let r=i[n]<0,o=i[n+1],s=r?-i[n]:i[n],a=t[s];r?t[F]>>14<t[Wi]>>16&&(t[F]&3)===e&&(t[F]+=16384,qp(a,o)):qp(a,o)}function MD(t){return t instanceof si}function TD(t){return(t.flags&8)!==0}function AD(t){return(t.flags&16)!==0}function mb(t){return t!==Yi}function Ks(t){return t&32767}function OD(t){return t>>16}function Qs(t,e){let i=OD(t),n=e;for(;i>0;)n=n[or],i--;return n}function Yp(t){let e=Ed;return Ed=t,e}function FD(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Vr)&&(n=i[Vr]),n==null&&(n=i[Vr]=kD++);let r=n&pb,o=1<<r;e.data[t+(r>>gb)]|=o}function Xs(t,e){let i=bb(t,e);if(i!==-1)return i;let n=e[U];n.firstCreatePass&&(t.injectorIndex=e.length,id(n.data,t),id(e,null),id(n.blueprint,null));let r=Ou(t,e),o=t.injectorIndex;if(mb(r)){let s=Ks(r),a=Qs(r,e),l=a[U].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function id(t,e){t.push(0,0,0,0,0,0,0,0,e)}function bb(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ou(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;r!==null;){if(n=xb(r),n===null)return Yi;if(i++,r=r[or],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Yi}function Cd(t,e,i){FD(t,e,i)}function RD(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,r=0;for(;r<n;){let o=i[r];if(kg(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof i[r]=="string";)r++;else{if(o===e)return i[r+1];r=r+2}}}return null}function vb(t,e,i){if(i&Z.Optional||t!==void 0)return t;mu(e,"NodeInjector")}function _b(t,e,i,n){if(i&Z.Optional&&n===void 0&&(n=null),!(i&(Z.Self|Z.Host))){let r=t[Ji],o=bt(void 0);try{return r?r.get(e,n,i&Z.Optional):Ig(e,n,i&Z.Optional)}finally{bt(o)}}return vb(n,e,i)}function yb(t,e,i,n=Z.Default,r){if(t!==null){if(e[F]&2048&&!(n&Z.Self)){let s=jD(t,e,i,n,Wt);if(s!==Wt)return s}let o=wb(t,e,i,n,Wt);if(o!==Wt)return o}return _b(e,i,n,r)}function wb(t,e,i,n,r){let o=LD(i);if(typeof o=="function"){if(!sb(e,t,n))return n&Z.Host?vb(r,i,n):_b(e,i,n,r);try{let s;if(s=o(n),s==null&&!(n&Z.Optional))mu(i);else return s}finally{db()}}else if(typeof o=="number"){let s=null,a=bb(t,e),l=Yi,c=n&Z.Host?e[Rt][dt]:null;for((a===-1||n&Z.SkipSelf)&&(l=a===-1?Ou(t,e):e[a+8],l===Yi||!Kp(n,!1)?a=-1:(s=e[U],a=Ks(l),e=Qs(l,e)));a!==-1;){let d=e[U];if(Zp(o,a,d.data)){let u=PD(a,e,i,s,n,c);if(u!==Wt)return u}l=e[a+8],l!==Yi&&Kp(n,e[U].data[a+8]===c)&&Zp(o,a,e)?(s=d,a=Ks(l),e=Qs(l,e)):a=-1}}return r}function PD(t,e,i,n,r,o){let s=e[U],a=s.data[t+8],l=n==null?ga(a)&&Ed:n!=s&&(a.type&3)!==0,c=r&Z.Host&&o===a,d=Hs(a,s,i,l,c);return d!==null?ai(e,s,d,a):Wt}function Hs(t,e,i,n,r){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=n?a:a+d,h=r?a+d:c;for(let f=u;f<h;f++){let m=s[f];if(f<l&&i===m||f>=l&&m.type===i)return f}if(r){let f=s[l];if(f&&Tn(f)&&f.type===i)return l}return null}function ai(t,e,i,n){let r=t[i],o=e.data;if(MD(r)){let s=r;s.resolving&&ox(rx(o[i]));let a=Yp(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?bt(s.injectImpl):null,d=sb(t,n,Z.Default);try{r=t[i]=s.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&ID(i,o[i],e)}finally{c!==null&&bt(c),Yp(a),s.resolving=!1,db()}}return r}function LD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Vr)?t[Vr]:void 0;return typeof e=="number"?e>=0?e&pb:VD:e}function Zp(t,e,i){let n=1<<t;return!!(i[e+(t>>gb)]&n)}function Kp(t,e){return!(t&Z.Self)&&!(t&Z.Host&&e)}function VD(){return new ni($e(),Y())}function Nu(t){return Xr(()=>{let e=t.prototype.constructor,i=e[Ws]||Id(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[Ws]||Id(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Id(t){return wg(t)?()=>{let e=Id(Ze(t));return e&&e()}:Zi(t)}function jD(t,e,i,n,r){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=wb(o,s,i,n|Z.Self,Wt);if(a!==Wt)return a;let l=o.parent;if(!l){let c=s[Gg];if(c){let d=c.get(i,Wt,n);if(d!==Wt)return d}l=xb(s),s=s[or]}o=l}return r}function xb(t){let e=t[U],i=e.type;return i===2?e.declTNode:i===1?t[dt]:null}function ar(t){return RD($e(),t)}function Qp(t,e=null,i=null,n){let r=BD(t,e,i,n);return r.resolveInjectorInitializers(),r}function BD(t,e=null,i=null,n,r=new Set){let o=[i||tt,Lx(t)];return n=n||(typeof t=="object"?void 0:lt(t)),new Ur(o,e||_u(),n||null,r)}function rd(t){return t[zD]}function HD(){return new Sd(Y())}function UD(){return lr($e(),Y())}function lr(t,e){return new V(yt(t,e))}function $D(t){return t instanceof V?t.nativeElement:t}function od(t){return e=>{setTimeout(t,void 0,e)}}function WD(){return this._results[Symbol.iterator]()}function Eb(t){return(t.flags&128)===128}function qD(){return GD++}function YD(t){Cb.set(t[pa],t)}function ZD(t){Cb.delete(t[pa])}function An(t,e){ti(e)?(t[Xp]=e[pa],YD(e)):t[Xp]=e}function Ib(t){return Mb(t[Gr])}function Sb(t){return Mb(t[Ft])}function Mb(t){for(;t!==null&&!un(t);)t=t[Ft];return t}function Tb(t){Td=t}function KD(){if(Td!==void 0)return Td;if(typeof document<"u")return document;throw new x(210,!1)}function Ru(t,e,i=!1){return eE(t,e,i)}function nE(){if(Fs===void 0&&(Fs=null,ei.trustedTypes))try{Fs=ei.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fs}function xa(t){return nE()?.createHTML(t)||t}function fn(t){return t instanceof ln?t.changingThisBreaksApplicationSecurity:t}function cr(t,e){let i=iE(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${_g})`)}return i===e}function iE(t){return t instanceof ln&&t.getTypeName()||null}function Ob(t){return new Ad(t)}function Nb(t){return new Od(t)}function kb(t){return new Nd(t)}function Fb(t){return new kd(t)}function Rb(t){return new Fd(t)}function rE(t){let e=new Pd(t);return oE()?new Rd(e):e}function oE(){try{return!!new window.DOMParser().parseFromString(xa(""),"text/html")}catch{return!1}}function Pu(t){return t=String(t),t.match(sE)?t:"unsafe:"+t}function hn(t){let e={};for(let i of t.split(","))e[i]=!0;return e}function ro(...t){let e={};for(let i of t)for(let n in i)i.hasOwnProperty(n)&&(e[n]=!0);return e}function mE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function pE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Bb(e);return e}function gE(t){let e=t.firstChild;if(e&&mE(t,e))throw Bb(e);return e}function eg(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Bb(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function tg(t){return t.replace(/&/g,"&").replace(bE,function(e){let i=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(vE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function zb(t,e){let i=null;try{Rs=Rs||rE(t);let n=e?String(e):"";i=Rs.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=Rs.getInertBodyElement(n)}while(n!==o);let a=new Ld().sanitizeChildren(ng(i)||i);return xa(a)}finally{if(i){let n=ng(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function ng(t){return"content"in t&&_E(t)?t.content:null}function _E(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function DE(t){return t.replace(yE,e=>e.replace(wE,xE))}function Lu(t,e){return EE(t,e)}function Gi(t,e,i,n,r){if(n!=null){let o,s=!1;un(n)?o=n:ti(n)&&(s=!0,n=n[dn]);let a=Zt(n);t===0&&i!==null?r==null?Gb(e,i,a):ea(e,i,a,r||null,!0):t===1&&i!==null?ea(e,i,a,r||null,!0):t===2?BE(e,a,s):t===3&&e.destroyNode(a),o!=null&&HE(e,t,o,i,r)}}function CE(t,e){return t.createText(e)}function IE(t,e,i){t.setValue(e,i)}function SE(t,e){return t.createComment(DE(e))}function Hb(t,e,i){return t.createElement(e,i)}function ME(t,e){Ub(t,e),e[dn]=null,e[dt]=null}function TE(t,e,i,n,r,o){n[dn]=r,n[dt]=e,Ea(t,n,i,1,r,o)}function Ub(t,e){e[Yt].changeDetectionScheduler?.notify(1),Ea(t,e,e[we],2,null,null)}function AE(t){let e=t[Gr];if(!e)return sd(t[U],t);for(;e;){let i=null;if(ti(e))i=e[Gr];else{let n=e[nt];n&&(i=n)}if(!i){for(;e&&!e[Ft]&&e!==t;)ti(e)&&sd(e[U],e),e=e[je];e===null&&(e=t),ti(e)&&sd(e[U],e),i=e&&e[Ft]}e=i}}function OE(t,e,i,n){let r=nt+n,o=i.length;n>0&&(i[r-1][Ft]=e),n<o-nt?(e[Ft]=i[r],Tg(i,nt+n,e)):(i.push(e),e[Ft]=null),e[je]=i;let s=e[eo];s!==null&&i!==s&&NE(s,e);let a=e[an];a!==null&&a.insertView(t),xd(e),e[F]|=128}function NE(t,e){let i=t[er],r=e[je][je][Rt];e[Rt]!==r&&(t[F]|=yu.HasTransplantedViews),i===null?t[er]=[e]:i.push(e)}function $b(t,e){let i=t[er],n=i.indexOf(e);i.splice(n,1)}function Js(t,e){if(t.length<=nt)return;let i=nt+e,n=t[i];if(n){let r=n[eo];r!==null&&r!==t&&$b(r,n),e>0&&(t[i-1][Ft]=n[Ft]);let o=qs(t,nt+e);ME(n[U],n);let s=o[an];s!==null&&s.detachView(o[U]),n[je]=null,n[Ft]=null,n[F]&=-129}return n}function Vu(t,e){if(!(e[F]&256)){let i=e[we];i.destroyNode&&Ea(t,e,i,3,null,null),AE(e)}}function sd(t,e){if(e[F]&256)return;let i=ee(null);try{e[F]&=-129,e[F]|=256,e[ii]&&hc(e[ii]),FE(t,e),kE(t,e),e[U].type===1&&e[we].destroy();let n=e[eo];if(n!==null&&un(e[je])){n!==e[je]&&$b(n,e);let r=e[an];r!==null&&r.detachView(t)}ZD(e)}finally{ee(i)}}function kE(t,e){let i=t.cleanup,n=e[Wr];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let s=i[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[i[o+1]];i[o].call(s)}n!==null&&(e[Wr]=null);let r=e[Mn];if(r!==null){e[Mn]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function FE(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let r=e[i[n]];if(!(r instanceof si)){let o=i[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];$t(4,a,l);try{l.call(a)}finally{$t(5,a,l)}}else{$t(4,r,o);try{o.call(r)}finally{$t(5,r,o)}}}}}function Wb(t,e,i){return RE(t,e.parent,i)}function RE(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[dn];{let{componentOffset:r}=n;if(r>-1){let{encapsulation:o}=t.data[n.directiveStart+r];if(o===Gt.None||o===Gt.Emulated)return null}return yt(n,i)}}function ea(t,e,i,n,r){t.insertBefore(e,i,n,r)}function Gb(t,e,i){t.appendChild(e,i)}function ig(t,e,i,n,r){n!==null?ea(t,e,i,n,r):Gb(t,e,i)}function PE(t,e,i,n){t.removeChild(e,i,n)}function ju(t,e){return t.parentNode(e)}function LE(t,e){return t.nextSibling(e)}function qb(t,e,i){return jE(t,e,i)}function VE(t,e,i){return t.type&40?yt(t,i):null}function Da(t,e,i,n){let r=Wb(t,n,e),o=e[we],s=n.parent||e[dt],a=qb(s,n,e);if(r!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)ig(o,r,i[l],a,!1);else ig(o,r,i,a,!1);rg!==void 0&&rg(o,n,e,i,r)}function Us(t,e){if(e!==null){let i=e.type;if(i&3)return yt(e,t);if(i&4)return Vd(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return Us(t,n);{let r=t[e.index];return un(r)?Vd(-1,r):Zt(r)}}else{if(i&32)return Lu(e,t)()||Zt(t[e.index]);{let n=Yb(t,e);if(n!==null){if(Array.isArray(n))return n[0];let r=Zr(t[Rt]);return Us(r,n)}else return Us(t,e.next)}}}return null}function Yb(t,e){if(e!==null){let n=t[Rt][dt],r=e.projection;return n.projection[r]}return null}function Vd(t,e){let i=nt+t+1;if(i<e.length){let n=e[i],r=n[U].firstChild;if(r!==null)return Us(n,r)}return e[ri]}function BE(t,e,i){let n=ju(t,e);n&&PE(t,n,e,i)}function Bu(t,e,i,n,r,o,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&An(Zt(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)Bu(t,e,i.child,n,r,o,!1),Gi(e,t,r,a,o);else if(l&32){let c=Lu(i,n),d;for(;d=c();)Gi(e,t,r,d,o);Gi(e,t,r,a,o)}else l&16?Zb(t,e,n,i,r,o):Gi(e,t,r,a,o);i=s?i.projectionNext:i.next}}function Ea(t,e,i,n,r,o){Bu(i,n,t.firstChild,e,r,o,!1)}function zE(t,e,i){let n=e[we],r=Wb(t,i,e),o=i.parent||e[dt],s=qb(o,i,e);Zb(n,0,e,i,r,s)}function Zb(t,e,i,n,r,o){let s=i[Rt],l=s[dt].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Gi(e,t,r,d,o)}else{let c=l,d=s[je];Eb(n)&&(c.flags|=128),Bu(t,e,c,d,r,o,!0)}}function HE(t,e,i,n,r){let o=i[ri],s=Zt(i);o!==s&&Gi(e,t,n,o,r);for(let a=nt;a<i.length;a++){let l=i[a];Ea(l[U],l,t,e,n,o)}}function UE(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=n.indexOf("-")===-1?void 0:cn.DashCase;r==null?t.removeStyle(i,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=cn.Important),t.setStyle(i,n,r,o))}}function $E(t,e,i){t.setAttribute(e,"style",i)}function Kb(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function Qb(t,e,i){let{mergedAttrs:n,classes:r,styles:o}=i;n!==null&&vd(t,e,n),r!==null&&Kb(t,e,r),o!==null&&$E(t,e,o)}function T(t=1){Xb(Ce(),Y(),Nn()+t,!1)}function Xb(t,e,i,n){if(!n)if((e[F]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Bs(e,o,i)}else{let o=t.preOrderHooks;o!==null&&zs(e,o,0,i)}oi(i)}function v(t,e=Z.Default){let i=Y();if(i===null)return g(t,e);let n=$e();return yb(n,i,Ze(t),e)}function Jb(){let t="invalid";throw new Error(t)}function ev(t,e,i,n,r,o){let s=ee(null);try{let a=null;r&y.SignalBased&&(a=e[n][Go]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&y.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,i,n):Yg(e,a,n,o)}finally{ee(s)}}function WE(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let r=i[n];if(r<0)oi(~r);else{let o=r,s=i[++n],a=i[++n];_D(s,o);let l=e[o];a(2,l)}}}finally{oi(-1)}}function Ca(t,e,i,n,r,o,s,a,l,c,d){let u=e.blueprint.slice();return u[dn]=r,u[F]=n|4|128|8|64,(c!==null||t&&t[F]&2048)&&(u[F]|=2048),eb(u),u[je]=u[or]=t,u[vt]=i,u[Yt]=s||t&&t[Yt],u[we]=a||t&&t[we],u[Ji]=l||t&&t[Ji]||null,u[dt]=o,u[pa]=qD(),u[$r]=d,u[Gg]=c,u[Rt]=e.type==2?t[Rt]:u,u}function dr(t,e,i,n,r){let o=t.data[e];if(o===null)o=GE(t,e,i,n,r),vD()&&(o.flags|=32);else if(o.type&64){o.type=i,o.value=n,o.attrs=r;let s=mD();o.injectorIndex=s===null?-1:s.injectorIndex}return fi(o,!0),o}function GE(t,e,i,n,r){let o=rb(),s=Cu(),a=s?o:o&&o.parent,l=t.data[e]=XE(t,a,i,e,n,r);return t.firstChild===null&&(t.firstChild=l),o!==null&&(s?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function tv(t,e,i,n){if(i===0)return-1;let r=e.length;for(let o=0;o<i;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return r}function nv(t,e,i,n,r){let o=Nn(),s=n&2;try{oi(-1),s&&e.length>ct&&Xb(t,e,ct,!1),$t(s?2:0,r),i(n,r)}finally{oi(o),$t(s?3:1,r)}}function zu(t,e,i){if(wu(e)){let n=ee(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{ee(n)}}}function Hu(t,e,i){nb()&&(rC(t,e,i,yt(i,e)),(i.flags&64)===64&&ov(t,e,i))}function Uu(t,e,i=yt){let n=e.localNames;if(n!==null){let r=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?i(e,t):t[s];t[r++]=a}}}function iv(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=$u(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function $u(t,e,i,n,r,o,s,a,l,c,d){let u=ct+n,h=u+r,f=qE(u,h),m=typeof c=="function"?c():c;return f[U]={type:t,blueprint:f,template:i,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1,ssrId:d}}function qE(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:Xt);return i}function YE(t,e,i,n){let o=n.get(tE,Ab)||i===Gt.ShadowDom,s=t.selectRootElement(e,o);return ZE(s),s}function ZE(t){KE(t)}function QE(t,e,i,n){let r=lv(e);r.push(i),t.firstCreatePass&&cv(t).push(n,r.length-1)}function XE(t,e,i,n,r,o){let s=e?e.injectorIndex:-1,a=0;return ib()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function og(t,e,i,n,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=y.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}t===0?sg(n,i,c,a,l):sg(n,i,c,a)}return n}function sg(t,e,i,n,r){let o;t.hasOwnProperty(i)?(o=t[i]).push(e,n):o=t[i]=[e,n],r!==void 0&&o.push(r)}function JE(t,e,i){let n=e.directiveStart,r=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let d=n;d<r;d++){let u=o[d],h=i?i.get(u):null,f=h?h.inputs:null,m=h?h.outputs:null;l=og(0,u.inputs,d,l,f),c=og(1,u.outputs,d,c,m);let b=l!==null&&s!==null&&!bu(e)?pC(l,d,s):null;a.push(b)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function eC(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Wu(t,e,i,n,r,o,s,a){let l=yt(e,i),c=e.inputs,d;!a&&c!=null&&(d=c[n])?(qu(t,i,d,n,r),ga(e)&&tC(i,e.index)):e.type&3?(n=eC(n),r=s!=null?s(r,e.value||"",n):r,o.setProperty(l,n,r)):e.type&12}function tC(t,e){let i=On(e,t);i[F]&16||(i[F]|=64)}function Gu(t,e,i,n){if(nb()){let r=n===null?null:{"":-1},o=sC(t,i),s,a;o===null?s=a=null:[s,a]=o,s!==null&&rv(t,e,i,s,r,a),r&&aC(i,n,r)}i.mergedAttrs=Hr(i.mergedAttrs,i.attrs)}function rv(t,e,i,n,r,o){for(let c=0;c<n.length;c++)Cd(Xs(i,e),t,n[c].type);cC(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let d=n[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=tv(t,e,n.length,null);for(let c=0;c<n.length;c++){let d=n[c];i.mergedAttrs=Hr(i.mergedAttrs,d.hostAttrs),dC(t,i,e,l,d),lC(l,d,r),d.contentQueries!==null&&(i.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(i.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}JE(t,i,o)}function nC(t,e,i,n,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;iC(s)!=a&&s.push(a),s.push(i,n,o)}}function iC(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function rC(t,e,i,n){let r=i.directiveStart,o=i.directiveEnd;ga(i)&&uC(e,i,t.data[r+i.componentOffset]),t.firstCreatePass||Xs(i,e),An(n,e);let s=i.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=ai(e,t,a,i);if(An(c,e),s!==null&&mC(e,a-r,c,l,i,s),Tn(l)){let d=On(i.index,e);d[vt]=ai(e,t,a,i)}}}function ov(t,e,i){let n=i.directiveStart,r=i.directiveEnd,o=i.index,s=yD();try{oi(o);for(let a=n;a<r;a++){let l=t.data[a],c=e[a];Dd(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&oC(l,c)}}finally{oi(-1),Dd(s)}}function oC(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function sC(t,e){let i=t.directiveRegistry,n=null,r=null;if(i)for(let o=0;o<i.length;o++){let s=i[o];if(Rg(e,s.selectors,!1))if(n||(n=[]),Tn(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),n.unshift(...a,s);let l=a.length;jd(t,e,l)}else n.unshift(s),jd(t,e,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,n,r),n.push(s)}return n===null?null:[n,r]}function jd(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function aC(t,e,i){if(e){let n=t.localNames=[];for(let r=0;r<e.length;r+=2){let o=i[e[r+1]];if(o==null)throw new x(-301,!1);n.push(e[r],o)}}}function lC(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;Tn(e)&&(i[""]=t)}}function cC(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function dC(t,e,i,n,r){t.data[n]=r;let o=r.factory||(r.factory=Zi(r.type,!0)),s=new si(o,Tn(r),v);t.blueprint[n]=s,i[n]=s,nC(t,e,n,tv(t,i,r.hostVars,Xt),r)}function uC(t,e,i){let n=yt(e,t),r=iv(i),o=t[Yt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Ia(t,Ca(t,r,null,s,n,e,null,o.createRenderer(n,i),null,null,null));t[e.index]=a}function fC(t,e,i,n,r,o){let s=yt(t,e);hC(e[we],s,o,t.value,i,n,r)}function hC(t,e,i,n,r,o,s){if(o==null)t.removeAttribute(e,r,i);else{let a=s==null?jr(o):s(o,n||"",r);t.setAttribute(e,r,a,i)}}function mC(t,e,i,n,r,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],d=s[a++],u=s[a++];ev(n,i,l,c,d,u)}}function pC(t,e,i){let n=null,r=0;for(;r<i.length;){let o=i[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],i[r+1]);break}}r+=2}return n}function sv(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function av(t,e){let i=t.contentQueries;if(i!==null){let n=ee(null);try{for(let r=0;r<i.length;r+=2){let o=i[r],s=i[r+1];if(s!==-1){let a=t.data[s];Mu(o),a.contentQueries(2,e[s],s)}}}finally{ee(n)}}}function Ia(t,e){return t[Gr]?t[Wp][Ft]=e:t[Gr]=e,t[Wp]=e,e}function Bd(t,e,i){Mu(0);let n=ee(null);try{e(t,i)}finally{ee(n)}}function lv(t){return t[Wr]||(t[Wr]=[])}function cv(t){return t.cleanup||(t.cleanup=[])}function dv(t,e){let i=t[Ji],n=i?i.get(it,null):null;n&&n.handleError(e)}function qu(t,e,i,n,r){for(let o=0;o<i.length;){let s=i[o++],a=i[o++],l=i[o++],c=e[s],d=t.data[s];ev(d,c,n,a,l,r)}}function uv(t,e,i){let n=Jg(e,t);IE(t[we],n,i)}function gC(t,e){let i=On(e,t),n=i[U];bC(n,i);let r=i[dn];r!==null&&i[$r]===null&&(i[$r]=Ru(r,i[Ji])),Yu(n,i,i[vt])}function bC(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Yu(t,e,i){Tu(e);try{let n=t.viewQuery;n!==null&&Bd(1,n,i);let r=t.template;r!==null&&nv(t,e,r,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[an]?.finishViewCreation(t),t.staticContentQueries&&av(t,e),t.staticViewQueries&&Bd(2,t.viewQuery,i);let o=t.components;o!==null&&vC(e,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[F]&=-5,Au()}}function vC(t,e){for(let i=0;i<e.length;i++)gC(t,e[i])}function fv(t,e,i,n){let r=ee(null);try{let o=e.tView,a=t[F]&4096?4096:16,l=Ca(t,o,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[eo]=c;let d=t[an];return d!==null&&(l[an]=d.createEmbeddedView(o)),Yu(o,l,i),l}finally{ee(r)}}function _C(t,e){let i=nt+e;if(i<t.length)return t[i]}function zd(t,e){return!e||e.firstChild===null||Eb(t)}function hv(t,e,i,n=!0){let r=e[U];if(OE(r,e,t,i),n){let s=Vd(i,t),a=e[we],l=ju(a,t[ri]);l!==null&&TE(r,t[dt],a,e,l,s)}let o=e[$r];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function yC(t,e){let i=Js(t,e);return i!==void 0&&Vu(i[U],i),i}function ta(t,e,i,n,r=!1){for(;i!==null;){let o=e[i.index];o!==null&&n.push(Zt(o)),un(o)&&wC(o,n);let s=i.type;if(s&8)ta(t,e,i.child,n);else if(s&32){let a=Lu(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=Yb(e,i);if(Array.isArray(a))n.push(...a);else{let l=Zr(e[Rt]);ta(l[U],l,a,n,!0)}}i=r?i.projectionNext:i.next}return n}function wC(t,e){for(let i=nt;i<t.length;i++){let n=t[i],r=n[U].firstChild;r!==null&&ta(n[U],n,r,e)}t[ri]!==t[dn]&&e.push(t[ri])}function xC(t){return t[ii]??DC(t)}function DC(t){let e=mv.pop()??Object.create(CC);return e.lView=t,e}function EC(t){t.lView[ii]!==t&&(t.lView=null,mv.push(t))}function gv(t,e=!0,i=0){let n=t[Yt],r=n.rendererFactory,o=!1;o||r.begin?.();try{IC(t,i)}catch(s){throw e&&dv(t,s),s}finally{o||(r.end?.(),n.inlineEffectRunner?.flush())}}function IC(t,e){Hd(t,e);let i=0;for(;Eu(t);){if(i===pv)throw new x(103,!1);i++,Hd(t,1)}}function SC(t,e,i,n){let r=e[F];if((r&256)===256)return;let o=!1;!o&&e[Yt].inlineEffectRunner?.flush(),Tu(e);let s=null,a=null;!o&&MC(t)&&(a=xC(e),s=uc(a));try{eb(e),bD(t.bindingStartIndex),i!==null&&nv(t,e,i,2,n);let l=(r&3)===3;if(!o)if(l){let u=t.preOrderCheckHooks;u!==null&&Bs(e,u,null)}else{let u=t.preOrderHooks;u!==null&&zs(e,u,0,null),nd(e,0)}if(TC(e),bv(e,0),t.contentQueries!==null&&av(t,e),!o)if(l){let u=t.contentCheckHooks;u!==null&&Bs(e,u)}else{let u=t.contentHooks;u!==null&&zs(e,u,1),nd(e,1)}WE(t,e);let c=t.components;c!==null&&_v(e,c,0);let d=t.viewQuery;if(d!==null&&Bd(2,d,n),!o)if(l){let u=t.viewCheckHooks;u!==null&&Bs(e,u)}else{let u=t.viewHooks;u!==null&&zs(e,u,2),nd(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[js]){for(let u of e[js])u();e[js]=null}o||(e[F]&=-73)}catch(l){throw Yr(e),l}finally{a!==null&&(fc(a,s),EC(a)),Au()}}function MC(t){return t.type!==2}function bv(t,e){for(let i=Ib(t);i!==null;i=Sb(i))for(let n=nt;n<i.length;n++){let r=i[n];vv(r,e)}}function TC(t){for(let e=Ib(t);e!==null;e=Sb(e)){if(!(e[F]&yu.HasTransplantedViews))continue;let i=e[er];for(let n=0;n<i.length;n++){let r=i[n],o=r[je];sD(r)}}}function AC(t,e,i){let n=On(e,t);vv(n,i)}function vv(t,e){Du(t)&&Hd(t,e)}function Hd(t,e){let n=t[U],r=t[F],o=t[ii],s=!!(e===0&&r&16);if(s||=!!(r&64&&e===0),s||=!!(r&1024),s||=!!(o?.dirty&&qo(o)),o&&(o.dirty=!1),t[F]&=-9217,s)SC(n,t,n.template,t[vt]);else if(r&8192){bv(t,1);let a=n.components;a!==null&&_v(t,a,1)}}function _v(t,e,i){for(let n=0;n<e.length;n++)AC(t,e[n],i)}function Zu(t){for(t[Yt].changeDetectionScheduler?.notify();t;){t[F]|=64;let e=Zr(t);if(Kx(t)&&!e)return t;t=e}return null}function kC(){return Sa($e(),Y())}function Sa(t,e){return t.type&4?new NC(e,t,lr(t,e)):null}function Ud(t,e){return FC(t,e)}function RC(t){let e=Error(`No component factory found for ${lt(t)}.`);return e[PC]=t,e}function LC(){let t=Y(),e=$e(),i=On(e.index,t);return(ti(i)?i:t)[we]}function hi(t){ag.has(t)||(ag.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function lg(...t){}function jC(){let t=typeof ei.requestAnimationFrame=="function",e=ei[t?"requestAnimationFrame":"setTimeout"],i=ei[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}function Ku(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function zC(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ei,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Gd(t),t.isCheckStableRunning=!0,Ku(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Gd(t))}function HC(t){let e=()=>{zC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,s,a)=>{if(UC(a))return i.invokeTask(r,o,s,a);try{return cg(t),i.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),dg(t)}},onInvoke:(i,n,r,o,s,a,l)=>{try{return cg(t),i.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),dg(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Gd(t),Ku(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Gd(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function cg(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function dg(t){t._nesting--,Ku(t)}function UC(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function ia(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)r=md(r,a);else if(o==2){let l=a,c=e[++s];n=md(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=r:t.classesWithoutHost=r}function ug(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function $C(t){let e=t.toLowerCase();return e==="svg"?Xg:e==="math"?eD:null}function WC(t,e){let i=t[U],n=ct;return t[n]=e,dr(i,n,2,"#host",null)}function GC(t,e,i,n,r,o,s){let a=r[U];qC(n,t,e,s);let l=null;e!==null&&(l=Ru(e,r[Ji]));let c=o.rendererFactory.createRenderer(e,i),d=16;i.signals?d=4096:i.onPush&&(d=64);let u=Ca(r,iv(i),null,d,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&jd(a,t,n.length-1),Ia(r,u),r[t.index]=u}function qC(t,e,i,n){for(let r of t)e.mergedAttrs=Hr(e.mergedAttrs,r.hostAttrs);e.mergedAttrs!==null&&(ia(e,e.mergedAttrs,!0),i!==null&&Qb(n,i,e))}function YC(t,e,i,n,r,o){let s=$e(),a=r[U],l=yt(s,r);rv(a,r,s,i,null,n);for(let d=0;d<i.length;d++){let u=s.directiveStart+d,h=ai(r,a,u,s);An(h,r)}ov(a,r,s),l&&An(l,r);let c=ai(r,a,s.directiveStart+s.componentOffset,s);if(t[vt]=r[vt]=c,o!==null)for(let d of o)d(c,e);return zu(a,s,r),c}function ZC(t,e,i,n){if(n)vd(t,i,["ng-version","17.3.11"]);else{let{attrs:r,classes:o}=Nx(e.selectors[0]);r&&vd(t,i,r),o&&o.length>0&&Kb(t,i,o.join(" "))}}function KC(t,e,i){let n=t.projection=[];for(let r=0;r<e.length;r++){let o=i[r];n.push(o!=null?Array.from(o):null)}}function QC(){let t=$e();wa(Y()[U],t)}function XC(){let t=$e();return xv(t,Y())}function fg(t){return t[Zs]}function ld(t){return t[Zs]||(t[Zs]=[])}function xv(t,e){let i,n=e[t.index];return un(n)?i=n:(i=sv(n,e,null,t),e[t.index]=i,Ia(e,i)),tI(i,e,t,n),new wv(i,t,e)}function eI(t,e){let i=t[we],n=i.createComment(""),r=yt(e,t),o=ju(i,r);return ea(i,o,n,LE(i,r),!1),n}function iI(t,e,i){return nI(t,e,i)}function rI(t,e,i,n){if(t[ri])return;let r;i.type&8?r=Zt(n):r=eI(e,i),t[ri]=r}function oI(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function sI(t,e){return t.type&11?lr(t,e):t.type&4?Sa(t,e):null}function aI(t,e,i,n){return i===-1?sI(e,t):i===-2?lI(t,e,n):ai(t,t[U],i,e)}function lI(t,e,i){if(i===V)return lr(e,t);if(i===Pt)return Sa(e,t);if(i===ut)return xv(e,t)}function Dv(t,e,i,n){let r=e[an].queries[n];if(r.matches===null){let o=t.data,s=i.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(aI(e,d,s[l+1],i.metadata.read))}}r.matches=a}return r.matches}function eu(t,e,i,n){let r=t.queries.getByIndex(i),o=r.matches;if(o!==null){let s=Dv(t,e,r,i);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)n.push(s[a/2]);else{let c=o[a+1],d=e[-l];for(let u=nt;u<d.length;u++){let h=d[u];h[eo]===h[je]&&eu(h[U],h,c,n)}if(d[er]!==null){let u=d[er];for(let h=0;h<u.length;h++){let f=u[h];eu(f[U],f,c,n)}}}}}return n}function cI(t,e){return t[an].queries[e].queryList}function Ev(t,e,i){let n=new nr((i&4)===4);return QE(t,e,n,n.destroy),(e[an]??=new Qd).queries.push(new Kd(n))-1}function dI(t,e,i){let n=Ce();return n.firstCreatePass&&(Cv(n,new oa(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),Ev(n,Y(),e)}function uI(t,e,i,n){let r=Ce();if(r.firstCreatePass){let o=$e();Cv(r,new oa(e,i,n),o.index),hI(r,t),(i&2)===2&&(r.staticContentQueries=!0)}return Ev(r,Y(),i)}function fI(t){return t.split(",").map(e=>e.trim())}function Cv(t,e,i){t.queries===null&&(t.queries=new Xd),t.queries.track(new Jd(e,i))}function hI(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Qu(t,e){return t.queries.getByIndex(e)}function mI(t,e){let i=t[U],n=Qu(i,e);return n.crossesNgTemplate?eu(i,t,e,[]):Dv(i,t,n,e)}function Ma(t){return typeof t=="function"&&t[Go]!==void 0}function Iv(t){return Ma(t)&&typeof t.set=="function"}function pI(t){return Object.getPrototypeOf(t.prototype).constructor}function wt(t){let e=pI(t.type),i=!0,n=[t];for(;e;){let r;if(Tn(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new x(903,!1);r=e.\u0275dir}if(r){if(i){n.push(r);let s=t;s.inputs=Ps(t.inputs),s.inputTransforms=Ps(t.inputTransforms),s.declaredInputs=Ps(t.declaredInputs),s.outputs=Ps(t.outputs);let a=r.hostBindings;a&&yI(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&vI(t,l),c&&_I(t,c),gI(t,r),Qw(t.outputs,r.outputs),Tn(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===wt&&(i=!1)}}e=Object.getPrototypeOf(e)}bI(n)}function gI(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let r=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=e.inputTransforms[r]}}}function bI(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Hr(r.hostAttrs,i=Hr(i,r.hostAttrs))}}function Ps(t){return t===Ki?{}:t===tt?[]:t}function vI(t,e){let i=t.viewQuery;i?t.viewQuery=(n,r)=>{e(n,r),i(n,r)}:t.viewQuery=e}function _I(t,e){let i=t.contentQueries;i?t.contentQueries=(n,r,o)=>{e(n,r,o),i(n,r,o)}:t.contentQueries=e}function yI(t,e){let i=t.hostBindings;i?t.hostBindings=(n,r)=>{e(n,r),i(n,r)}:t.hostBindings=e}function We(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];Array.isArray(r)&&r[3]&&(i[n]=r[3])}t.inputTransforms=i}function wI(t,e,i=null){return new sa({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}function Sv(t){return DI(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function xI(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function DI(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Kt(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function EI(t,e,i,n){let r=Kt(t,e,i);return Kt(t,e+1,n)||r}function CI(t){return(t.flags&32)===32}function II(t,e,i,n,r,o,s,a,l){let c=e.consts,d=dr(e,t,4,s||null,tr(c,a));Gu(e,i,d,tr(c,l)),wa(e,d);let u=d.tView=$u(2,d,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function ue(t,e,i,n,r,o,s,a){let l=Y(),c=Ce(),d=t+ct,u=c.firstCreatePass?II(d,c,l,e,i,n,r,o,s):c.data[d];fi(u,!1);let h=SI(c,l,u,t);_a()&&Da(c,l,h,u),An(h,l);let f=sv(h,l,h,u);return l[d]=f,Ia(l,f),iI(f,u,l),ba(u)&&Hu(c,l,u),s!=null&&Uu(l,u,a),ue}function MI(t,e,i,n){return ya(!0),e[we].createComment("")}function xe(t,e,i,n){let r=Y(),o=sr();if(Kt(r,o,e)){let s=Ce(),a=va();fC(a,r,t,e,i,n)}return xe}function Mv(t,e,i,n){return Kt(t,sr(),i)?e+jr(i)+n:Xt}function TI(t,e,i,n,r,o){let s=gD(),a=EI(t,s,i,r);return Su(2),a?e+jr(i)+n+jr(r)+o:Xt}function Ls(t,e){return t<<17|e<<2}function di(t){return t>>17&32767}function AI(t){return(t&2)==2}function OI(t,e){return t&131071|e<<17}function tu(t){return t|2}function rr(t){return(t&131068)>>2}function cd(t,e){return t&-131069|e<<2}function NI(t){return(t&1)===1}function nu(t){return t|1}function kI(t,e,i,n,r,o){let s=o?e.classBindings:e.styleBindings,a=di(s),l=rr(s);t[n]=i;let c=!1,d;if(Array.isArray(i)){let u=i;d=u[1],(d===null||Jr(u,d)>0)&&(c=!0)}else d=i;if(r)if(l!==0){let h=di(t[a+1]);t[n+1]=Ls(h,a),h!==0&&(t[h+1]=cd(t[h+1],n)),t[a+1]=OI(t[a+1],n)}else t[n+1]=Ls(a,0),a!==0&&(t[a+1]=cd(t[a+1],n)),a=n;else t[n+1]=Ls(l,0),a===0?a=n:t[l+1]=cd(t[l+1],n),l=n;c&&(t[n+1]=tu(t[n+1])),hg(t,d,n,!0),hg(t,d,n,!1),FI(e,d,t,n,o),s=Ls(a,l),o?e.classBindings=s:e.styleBindings=s}function FI(t,e,i,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Jr(o,e)>=0&&(i[n+1]=nu(i[n+1]))}function hg(t,e,i,n){let r=t[i+1],o=e===null,s=n?di(r):rr(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];RI(l,e)&&(a=!0,t[s+1]=n?nu(c):tu(c)),s=n?di(c):rr(c)}a&&(t[i+1]=n?tu(r):nu(r))}function RI(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Jr(t,e)>=0:!1}function PI(t){return t.substring(kt.key,kt.keyEnd)}function LI(t){return VI(t),Tv(t,Av(t,0,kt.textEnd))}function Tv(t,e){let i=kt.textEnd;return i===e?-1:(e=kt.keyEnd=jI(t,kt.key=e,i),Av(t,e,i))}function VI(t){kt.key=0,kt.keyEnd=0,kt.value=0,kt.valueEnd=0,kt.textEnd=t.length}function Av(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function jI(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function ne(t,e,i){let n=Y(),r=sr();if(Kt(n,r,e)){let o=Ce(),s=va();Wu(o,s,n,t,e,n[we],i,!1)}return ne}function iu(t,e,i,n,r){let o=e.inputs,s=r?"class":"style";qu(t,i,o[s],s,n)}function pn(t,e,i){return Nv(t,e,i,!1),pn}function de(t,e){return Nv(t,e,null,!0),de}function fr(t){kv(WI,Ov,t,!0)}function Ov(t,e){for(let i=LI(e);i>=0;i=Tv(e,i))fa(t,PI(e),!0)}function Nv(t,e,i,n){let r=Y(),o=Ce(),s=Su(2);if(o.firstUpdatePass&&Rv(o,t,s,n),e!==Xt&&Kt(r,s,e)){let a=o.data[Nn()];Pv(o,a,r,r[we],t,r[s+1]=qI(e,i),n,s)}}function kv(t,e,i,n){let r=Ce(),o=Su(2);r.firstUpdatePass&&Rv(r,null,o,n);let s=Y();if(i!==Xt&&Kt(s,o,i)){let a=r.data[Nn()];if(Lv(a,n)&&!Fv(r,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=md(l,i||"")),iu(r,a,s,i,n)}else GI(r,a,s,s[we],s[o+1],s[o+1]=$I(t,e,i),n,o)}}function Fv(t,e){return e>=t.expandoStartIndex}function Rv(t,e,i,n){let r=t.data;if(r[i+1]===null){let o=r[Nn()],s=Fv(t,i);Lv(o,n)&&e===null&&!s&&(e=!1),e=BI(r,o,e,n),kI(r,o,e,i,s,n)}}function BI(t,e,i,n){let r=wD(t),o=n?e.residualClasses:e.residualStyles;if(r===null)(n?e.classBindings:e.styleBindings)===0&&(i=dd(null,t,e,i,n),i=Qr(i,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==r)if(i=dd(r,t,e,i,n),o===null){let l=zI(t,e,n);l!==void 0&&Array.isArray(l)&&(l=dd(null,t,e,l[1],n),l=Qr(l,e.attrs,n),HI(t,e,n,l))}else o=UI(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),i}function zI(t,e,i){let n=i?e.classBindings:e.styleBindings;if(rr(n)!==0)return t[di(n)]}function HI(t,e,i,n){let r=i?e.classBindings:e.styleBindings;t[di(r)]=n}function UI(t,e,i){let n,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;n=Qr(n,s,i)}return Qr(n,e.attrs,i)}function dd(t,e,i,n,r){let o=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(o=e[a],n=Qr(n,o.hostAttrs,r),o!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function Qr(t,e,i){let n=i?1:2,r=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?r=s:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),fa(t,s,i?!0:e[++o]))}return t===void 0?null:t}function $I(t,e,i){if(i==null||i==="")return tt;let n=[],r=fn(i);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&e(n,r);return n}function WI(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&fa(t,n,i)}function GI(t,e,i,n,r,o,s,a){r===Xt&&(r=tt);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;d!==null||u!==null;){let h=l<r.length?r[l+1]:void 0,f=c<o.length?o[c+1]:void 0,m=null,b;d===u?(l+=2,c+=2,h!==f&&(m=u,b=f)):u===null||d!==null&&d<u?(l+=2,m=d):(c+=2,m=u,b=f),m!==null&&Pv(t,e,i,n,m,b,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function Pv(t,e,i,n,r,o,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],d=NI(c)?mg(l,e,i,r,rr(c),s):void 0;if(!aa(d)){aa(o)||AI(c)&&(o=mg(l,null,i,r,a,s));let u=Jg(Nn(),i);UE(n,s,u,r,o)}}function mg(t,e,i,n,r,o){let s=e===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,h=i[r+1];h===Xt&&(h=u?tt:void 0);let f=u?ed(h,n):d===n?h:void 0;if(c&&!aa(f)&&(f=ed(l,n)),aa(f)&&(a=f,s))return a;let m=t[r+1];r=s?di(m):rr(m)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=ed(l,n))}return a}function aa(t){return t!==void 0}function qI(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=lt(fn(t)))),t}function Lv(t,e){return(t.flags&(e?8:16))!==0}function Vv(t,e,i){let n=Y(),r=Mv(n,t,e,i);kv(fa,Ov,r,!0)}function Ie(t,e,i){hi("NgControlFlow");let n=Y(),r=sr(),o=YI(n,ct+t),s=0;if(Kt(n,r,e)){let a=ee(null);try{if(yC(o,s),e!==-1){let l=ZI(n[U],ct+e),c=Ud(o,l.tView.ssrId),d=fv(n,l,i,{dehydratedView:c});hv(o,d,s,zd(l,c))}}finally{ee(a)}}else{let a=_C(o,s);a!==void 0&&(a[vt]=i)}}function YI(t,e){return t[e]}function ZI(t,e){return xu(t,e)}function KI(t,e,i,n,r,o){let s=e.consts,a=tr(s,r),l=dr(e,t,2,n,a);return Gu(e,i,l,tr(s,o)),l.attrs!==null&&ia(l,l.attrs,!1),l.mergedAttrs!==null&&ia(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function N(t,e,i,n){let r=Y(),o=Ce(),s=ct+t,a=r[we],l=o.firstCreatePass?KI(s,o,r,e,i,n):o.data[s],c=QI(o,r,l,a,e,t);r[s]=c;let d=ba(l);return fi(l,!0),Qb(a,c,l),!CI(l)&&_a()&&Da(o,r,c,l),cD()===0&&An(c,r),dD(),d&&(Hu(o,r,l),zu(o,l,r)),n!==null&&Uu(r,l),N}function j(){let t=$e();Cu()?Iu():(t=t.parent,fi(t,!1));let e=t;fD(e)&&hD(),uD();let i=Ce();return i.firstCreatePass&&(wa(i,t),wu(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&TD(e)&&iu(i,e,Y(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&AD(e)&&iu(i,e,Y(),e.stylesWithoutHost,!1),j}function me(t,e,i,n){return N(t,e,i,n),j(),me}function XI(t,e,i,n,r){let o=e.consts,s=tr(o,n),a=dr(e,t,8,"ng-container",s);s!==null&&ia(a,s,!0);let l=tr(o,r);return Gu(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function jv(t,e,i){let n=Y(),r=Ce(),o=t+ct,s=r.firstCreatePass?XI(o,r,n,e,i):r.data[o];fi(s,!0);let a=JI(r,n,s,t);return n[o]=a,_a()&&Da(r,n,a,s),An(a,n),ba(s)&&(Hu(r,n,s),zu(r,s,n)),i!=null&&Uu(n,s),jv}function Bv(){let t=$e(),e=Ce();return Cu()?Iu():(t=t.parent,fi(t,!1)),e.firstCreatePass&&(wa(e,t),wu(t)&&e.queries.elementEnd(t)),Bv}function so(t,e,i){return jv(t,e,i),Bv(),so}function mi(){return Y()}function ao(t,e,i){let n=Y(),r=sr();if(Kt(n,r,e)){let o=Ce(),s=va();Wu(o,s,n,t,e,n[we],i,!0)}return ao}function tS(t){typeof t=="string"&&(eS=t.toLowerCase().replace(/_/g,"-"))}function Oe(t,e,i,n){let r=Y(),o=Ce(),s=$e();return zv(o,r,r[we],s,t,e,n),Oe}function nS(t,e,i,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===i&&r[o+1]===n){let a=e[Wr],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function zv(t,e,i,n,r,o,s){let a=ba(n),c=t.firstCreatePass&&cv(t),d=e[vt],u=lv(e),h=!0;if(n.type&3||s){let b=yt(n,e),w=s?s(b):b,_=u.length,L=s?H=>s(Zt(H[n.index])):n.index,X=null;if(!s&&a&&(X=nS(t,e,r,n.index)),X!==null){let H=X.__ngLastListenerFn__||X;H.__ngNextListenerFn__=o,X.__ngLastListenerFn__=o,h=!1}else{o=gg(n,e,d,o,!1);let H=i.listen(w,r,o);u.push(o,H),c&&c.push(r,L,_,_+1)}}else o=gg(n,e,d,o,!1);let f=n.outputs,m;if(h&&f!==null&&(m=f[r])){let b=m.length;if(b)for(let w=0;w<b;w+=2){let _=m[w],L=m[w+1],Pe=e[_][L].subscribe(o),ve=u.length;u.push(o,Pe),c&&c.push(r,n.index,ve,-(ve+1))}}}function pg(t,e,i,n){let r=ee(null);try{return $t(6,e,i),i(n)!==!1}catch(o){return dv(t,o),!1}finally{$t(7,e,i),ee(r)}}function gg(t,e,i,n,r){return function o(s){if(s===Function)return n;let a=t.componentOffset>-1?On(t.index,e):e;Zu(a);let l=pg(e,i,n,s),c=o.__ngNextListenerFn__;for(;c;)l=pg(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return r&&l===!1&&s.preventDefault(),l}}function pe(t=1){return DD(t)}function iS(t,e){let i=null,n=Ix(t);for(let r=0;r<e.length;r++){let o=e[r];if(o==="*"){i=r;continue}if(n===null?Rg(t,o,!0):Tx(n,o))return r}return i}function xt(t){let e=Y()[Rt][dt];if(!e.projection){let i=t?t.length:1,n=e.projection=bx(i,null),r=n.slice(),o=e.child;for(;o!==null;){let s=t?iS(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:n[s]=o,r[s]=o),o=o.next}}}function De(t,e=0,i){let n=Y(),r=Ce(),o=dr(r,ct+t,16,null,i||null);o.projection===null&&(o.projection=e),Iu(),(!n[$r]||ib())&&(o.flags&32)!==32&&zE(r,n,o)}function Dt(t,e,i,n){uI(t,e,i,n)}function Ne(t,e,i){dI(t,e,i)}function le(t){let e=Y(),i=Ce(),n=ob();Mu(n+1);let r=Qu(i,n);if(t.dirty&&rD(e)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=mI(e,n);t.reset(o,$D),t.notifyOnChanges()}return!0}return!1}function ce(){return cI(Y(),ob())}function pi(t){let e=pD();return iD(e,ct+t)}function ot(t,e=""){let i=Y(),n=Ce(),r=t+ct,o=n.firstCreatePass?dr(n,r,1,e,null):n.data[r],s=rS(n,i,o,e,t);i[r]=s,_a()&&Da(n,i,s,o),fi(o,!1)}function Jt(t){return gi("",t,""),Jt}function gi(t,e,i){let n=Y(),r=Mv(n,t,e,i);return r!==Xt&&uv(n,Nn(),r),gi}function Xu(t,e,i,n,r){let o=Y(),s=TI(o,t,e,i,n,r);return s!==Xt&&uv(o,Nn(),s),Xu}function Ta(t,e,i){Iv(e)&&(e=e());let n=Y(),r=sr();if(Kt(n,r,e)){let o=Ce(),s=va();Wu(o,s,n,t,e,n[we],i,!1)}return Ta}function Ju(t,e){let i=Iv(t);return i&&t.set(e),i}function Aa(t,e){let i=Y(),n=Ce(),r=$e();return zv(n,i,i[we],r,t,e),Aa}function oS(t,e,i){let n=Ce();if(n.firstCreatePass){let r=Tn(t);ru(i,n.data,n.blueprint,r,!0),ru(e,n.data,n.blueprint,r,!1)}}function ru(t,e,i,n,r){if(t=Ze(t),Array.isArray(t))for(let o=0;o<t.length;o++)ru(t[o],e,i,n,r);else{let o=Ce(),s=Y(),a=$e(),l=Xi(t)?t:Ze(t.provide),c=Ug(t),d=a.providerIndexes&1048575,u=a.directiveStart,h=a.providerIndexes>>20;if(Xi(t)||!t.multi){let f=new si(c,r,v),m=fd(l,e,r?d:d+h,u);m===-1?(Cd(Xs(a,s),o,l),ud(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(f),s.push(f)):(i[m]=f,s[m]=f)}else{let f=fd(l,e,d+h,u),m=fd(l,e,d,d+h),b=f>=0&&i[f],w=m>=0&&i[m];if(r&&!w||!r&&!b){Cd(Xs(a,s),o,l);let _=lS(r?aS:sS,i.length,r,n,c);!r&&w&&(i[m].providerFactory=_),ud(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(_),s.push(_)}else{let _=Hv(i[r?m:f],c,!r&&n);ud(o,t,f>-1?f:m,_)}!r&&n&&w&&i[m].componentProviders++}}}function ud(t,e,i,n){let r=Xi(e),o=zx(e);if(r||o){let l=(o?Ze(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let d=c.indexOf(i);d===-1?c.push(i,[n,l]):c[d+1].push(n,l)}else c.push(i,l)}}}function Hv(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function fd(t,e,i,n){for(let r=i;r<n;r++)if(e[r]===t)return r;return-1}function sS(t,e,i,n){return ou(this.multi,[])}function aS(t,e,i,n){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=ai(i,i[U],this.providerFactory.index,n);o=a.slice(0,s),ou(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],ou(r,o);return o}function ou(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function lS(t,e,i,n,r){let o=new si(t,i,v);return o.multi=[],o.index=e,o.componentProviders=0,Hv(o,r,n&&!i),o}function Ke(t,e=[]){return i=>{i.providersResolver=(n,r)=>oS(n,r?r(t):t,e)}}function Se(t){hi("NgStandalone"),t.getStandaloneInjector=e=>e.get(cS).getOrCreateStandaloneInjector(t)}function Oa(t,e){return Sa(t,e)}function lo(t){return!!t&&typeof t.then=="function"}function $v(t){return!!t&&typeof t.subscribe=="function"}function uS(){bm(()=>{throw new x(600,!1)})}function fS(t){return t.isBoundToModule}function hS(t,e,i){try{let n=i();return lo(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function hd(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function mS(t,e,i){!e&&!su(t)||pS(t,i,e)}function su(t){return Eu(t)}function pS(t,e,i){let n;i?(n=0,t[F]|=1024):t[F]&64?n=0:n=1,gv(t,e,n)}function bS(t){return[{provide:S,useFactory:t},{provide:zr,multi:!0,useFactory:()=>{let e=C(gS,{optional:!0});return()=>e.initialize()}},{provide:zr,multi:!0,useFactory:()=>{let e=C(wS);return()=>{e.initialize()}}},{provide:Db,useFactory:vS}]}function vS(){let t=C(S),e=C(it);return i=>t.runOutsideAngular(()=>e.handleError(i))}function _S(t){let e=bS(()=>new S(yS(t)));return ha([[],e])}function yS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function xS(){return typeof $localize<"u"&&$localize.locale||la}function DS(t=[],e){return jt.create({name:e,providers:[{provide:ma,useValue:"platform"},{provide:qv,useValue:new Set([()=>$s=null])},...t]})}function ES(t=[]){if($s)return $s;let e=DS(t);return $s=e,uS(),CS(e),e}function CS(t){t.get(Fu,null)?.forEach(i=>i())}function IS(t){return SS($e(),Y(),(t&16)===16)}function SS(t,e,i){if(ga(t)&&!i){let n=On(t.index,e);return new li(n,n)}else if(t.type&47){let n=e[Rt];return new li(n,e)}return null}function bg(t,e,i){let n=t.previousIndex;if(n===null)return n;let r=0;return i&&n<i.length&&(r=i[n]),n+e+r}function vg(){return new ka([new au])}function ef(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,r=ES(n),o=[_S(),...i||[]],a=new sa({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(S);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(it,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:f=>{c.handleError(f)}})});let u=()=>a.destroy(),h=r.get(qv);return h.add(u),a.onDestroy(()=>{d.unsubscribe(),h.delete(u)}),hS(c,l,()=>{let f=a.get(Wv);return f.runInitializers(),f.donePromise.then(()=>{let m=a.get(Na,la);tS(m||la);let b=a.get(kn);return e!==void 0&&b.bootstrap(e),b})})})}catch(e){return Promise.reject(e)}}function fe(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function gn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function tf(t,e){hi("NgSignals"),!e?.injector&&Yx(tf);let i=e?.injector??C(jt),n=e?.manualCleanup!==!0?i.get(ku):null,r=new fu(i.get(TS),t,typeof Zone>"u"?null:Zone.current,n,i,e?.allowSignalWrites??!1),o=i.get(Ge,null,{optional:!0});return!o||!(o._lView[F]&8)?r.watcher.notify():(o._lView[js]??=[]).push(r.watcher.notify),r}var _g,x,ks,ei,Xw,xg,Vp,Dg,ex,D,tx,nx,ix,Ws,Vr,jp,Z,pd,sx,Br,gd,Gs,ax,lx,cx,Bp,qi,pu,Mg,Ki,tt,zr,Ag,Og,Ys,Ng,Gt,y,Fg,Vx,ma,Vs,Hx,td,qt,Ur,dn,U,F,je,Ft,dt,$r,Wr,vt,Ji,Yt,we,Gr,Wp,or,Rt,eo,Wi,an,pa,Gg,Mn,js,ii,ct,qg,ri,Zs,er,nt,yu,qr,Kg,Gp,$t,Xg,eD,tD,$,db,fb,Yi,si,Ed,ND,pb,gb,kD,Wt,ni,jt,zD,it,Db,ku,Sd,V,Md,se,nr,Cb,GD,Xp,Td,no,QD,Fu,Qt,Be,io,XD,JD,eE,Ab,tE,Fs,ln,Ad,Od,Nd,kd,Fd,Rd,Pd,sE,Pb,Lb,Vb,aE,lE,cE,Jp,jb,dE,uE,fE,hE,Ld,bE,vE,Rs,rt,yE,wE,xE,cn,EE,jE,rg,Xt,KE,mv,CC,pv,li,Pt,OC,NC,zV,FC,Kr,$d,na,PC,Wd,mn,ci,ur,VC,ad,ag,S,BC,yv,qd,Yd,ra,Zd,ut,JC,wv,tI,nI,Kd,Qd,oa,Xd,Jd,ir,sa,oo,SI,kt,QI,JI,la,eS,rS,cS,Uv,dS,Wv,Gv,kn,gS,wS,Na,qv,$s,Ge,au,MS,lu,cu,du,ca,ka,TS,AS,uu,fu,A=p(()=>{"use strict";_m();Ve();et();_g="https://g.co/ng/security#xss",x=class extends Error{constructor(e,i){super(da(e,i)),this.code=e}};ks="__parameters__";ei=globalThis;Xw=he({__forward_ref__:he});xg=he({\u0275prov:he}),Vp=he({\u0275inj:he}),Dg=he({ngInjectableDef:he}),ex=he({ngInjectorDef:he}),D=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=E({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};tx=he({\u0275cmp:he}),nx=he({\u0275dir:he}),ix=he({\u0275pipe:he}),Ws=he({\u0275fac:he}),Vr=he({__NG_ELEMENT_ID__:he}),jp=he({__NG_ENV_ID__:he});Z=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Z||{});sx={},Br=sx,gd="__NG_DI_FLAG__",Gs="ngTempTokenPath",ax="ngTokenPath",lx=/\n/gm,cx="\u0275",Bp="__source";pu=Sg(yg("Optional"),8),Mg=Sg(yg("SkipSelf"),4);Ki={},tt=[],zr=new D(""),Ag=new D("",-1),Og=new D(""),Ys=class{get(e,i=Br){if(i===Br){let n=new Error(`NullInjectorError: No provider for ${lt(e)}!`);throw n.name="NullInjectorError",n}return i}},Ng=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Ng||{}),Gt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Gt||{}),y=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(y||{});Fg="ng-template";Vx=he({provide:String,useValue:he});ma=new D(""),Vs={},Hx={};qt=class{},Ur=class extends qt{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wd(e,s=>this.processProvider(s)),this.records.set(Ag,$i(void 0,this)),r.has("environment")&&this.records.set(qt,$i(void 0,this));let o=this.records.get(ma);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Og,tt,Z.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=ee(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ee(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=Sn(this),n=bt(void 0),r;try{return e()}finally{Sn(i),bt(n)}}get(e,i=Br,n=Z.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(jp))return e[jp](this);n=ua(n);let r,o=Sn(this),s=bt(void 0);try{if(!(n&Z.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=qx(e)&&hu(e);c&&this.injectableDefInScope(c)?l=$i(yd(e),Vs):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&Z.Self?_u():this.parent;return i=n&Z.Optional&&i===Br?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Gs]=a[Gs]||[]).unshift(lt(e)),o)throw a;return hx(a,e,"R3InjectorError",this.source)}else throw a}finally{bt(s),Sn(o)}}resolveInjectorInitializers(){let e=ee(null),i=Sn(this),n=bt(void 0),r;try{let o=this.get(zr,tt,Z.Self);for(let s of o)s()}finally{Sn(i),bt(n),ee(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(lt(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(e){e=Ze(e);let i=Xi(e)?e:Ze(e&&e.provide),n=$x(e);if(!Xi(e)&&e.multi===!0){let r=this.records.get(i);r||(r=$i(void 0,Vs,!0),r.factory=()=>bd(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=ee(null);try{return i.value===Vs&&(i.value=Hx,i.value=i.factory()),typeof i.value=="object"&&i.value&&Gx(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{ee(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=Ze(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};dn=0,U=1,F=2,je=3,Ft=4,dt=5,$r=6,Wr=7,vt=8,Ji=9,Yt=10,we=11,Gr=12,Wp=13,or=14,Rt=15,eo=16,Wi=17,an=18,pa=19,Gg=20,Mn=21,js=22,ii=23,ct=25,qg=1,ri=7,Zs=8,er=9,nt=10,yu=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(yu||{});qr=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};_t.ngInherit=!0;Kg="__ngSimpleChanges__";Gp=null,$t=function(t,e,i){Gp?.(t,e,i)},Xg="svg",eD="math",tD=!1;$={lFrame:lb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};db=cb;fb=!0;Yi=-1,si=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};Ed=!0;ND=256,pb=ND-1,gb=5,kD=0,Wt={};ni=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return yb(this._tNode,this._lView,e,ua(n),i)}};jt=(()=>{let e=class e{static create(n,r){if(Array.isArray(n))return Qp({name:""},r,n,"");{let o=n.name??"";return Qp({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=Br,e.NULL=new Ys,e.\u0275prov=E({token:e,providedIn:"any",factory:()=>g(Ag)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();zD="ngOriginalError";it=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&rd(e);for(;i&&rd(i);)i=rd(i);return i||null}},Db=new D("",{providedIn:"root",factory:()=>C(it).handleError.bind(void 0)}),ku=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=HD,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Sd=class extends ku{constructor(e){super(),this._lView=e}onDestroy(e){return tb(this._lView,e),()=>lD(this._lView,e)}};V=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=UD;let t=e;return t})();Md=class extends R{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,Wg()&&(this.destroyRef=C(ku,{optional:!0})??void 0)}emit(e){let i=ee(null);try{super.next(e)}finally{ee(i)}}subscribe(e,i,n){let r=e,o=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=od(o),r&&(r=od(r)),s&&(s=od(s)));let a=super.subscribe({next:r,error:o,complete:s});return e instanceof ie&&e.add(a),a}};se=Md;nr=class t{get changes(){return this._changes??=new se}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=WD)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=gx(e);(this._changesDetected=!px(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};Cb=new Map,GD=0;Xp="__ngContext__";no=new D("",{providedIn:"root",factory:()=>QD}),QD="ng",Fu=new D(""),Qt=new D("",{providedIn:"platform",factory:()=>"unknown"}),Be=new D(""),io=new D("",{providedIn:"root",factory:()=>KD().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),XD="h",JD="b",eE=()=>null;Ab=!1,tE=new D("",{providedIn:"root",factory:()=>Ab});ln=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_g})`}},Ad=class extends ln{getTypeName(){return"HTML"}},Od=class extends ln{getTypeName(){return"Style"}},Nd=class extends ln{getTypeName(){return"Script"}},kd=class extends ln{getTypeName(){return"URL"}},Fd=class extends ln{getTypeName(){return"ResourceURL"}};Rd=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(xa(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):(i.removeChild(i.firstChild),i)}catch{return null}}},Pd=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let i=this.inertDocument.createElement("template");return i.innerHTML=xa(e),i}};sE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;Pb=hn("area,br,col,hr,img,wbr"),Lb=hn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vb=hn("rp,rt"),aE=ro(Vb,Lb),lE=ro(Lb,hn("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")),cE=ro(Vb,hn("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")),Jp=ro(Pb,lE,cE,aE),jb=hn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dE=hn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),uE=hn("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"),fE=ro(jb,dE,uE),hE=hn("script,style,template"),Ld=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let i=e.firstChild,n=!0,r=[];for(;i;){if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild){r.push(i),i=gE(i);continue}for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let o=pE(i);if(o){i=o;break}i=r.pop()}}return this.buf.join("")}startElement(e){let i=eg(e).toLowerCase();if(!Jp.hasOwnProperty(i))return this.sanitizedSomething=!0,!hE.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);let n=e.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),s=o.name,a=s.toLowerCase();if(!fE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;jb[a]&&(l=Pu(l)),this.buf.push(" ",s,'="',tg(l),'"')}return this.buf.push(">"),!0}endElement(e){let i=eg(e).toLowerCase();Jp.hasOwnProperty(i)&&!Pb.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(e){this.buf.push(tg(e))}};bE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vE=/([^\#-~ |!])/g;rt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(rt||{}),yE=/^>|^->|<!--|-->|--!>|<!-$/g,wE=/(<|>)/g,xE="\u200B$1\u200B";cn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(cn||{});jE=VE;Xt={};KE=()=>null;mv=[];CC=Le(P({},dc),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Yr(t.lView)},consumerOnSignalRead(){this.lView[ii]=this}}),pv=100;li=class{get rootNodes(){let e=this._lView,i=e[U];return ta(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[vt]}set context(e){this._lView[vt]=e}get destroyed(){return(this._lView[F]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[je];if(un(e)){let i=e[Zs],n=i?i.indexOf(this):-1;n>-1&&(Js(e,n),qs(i,n))}this._attachedToViewContainer=!1}Vu(this._lView[U],this._lView)}onDestroy(e){tb(this._lView,e)}markForCheck(){Zu(this._cdRefInjectingView||this._lView)}detach(){this._lView[F]&=-129}reattach(){xd(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,gv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ub(this._lView[U],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=e,xd(this._lView)}},Pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=kC;let t=e;return t})(),OC=Pt,NC=class extends OC{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let r=fv(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new li(r)}};zV=new RegExp(`^(\\d+)*(${JD}|${XD})*(.*)`),FC=()=>null;Kr=class{},$d=class{},na=class{};PC="ngComponent",Wd=class{resolveComponentFactory(e){throw RC(e)}},mn=(()=>{let e=class e{};e.NULL=new Wd;let t=e;return t})(),ci=class{},ur=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>LC();let t=e;return t})();VC=(()=>{let e=class e{};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),ad={},ag=new Set;S=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new se(!1),this.onMicrotaskEmpty=new se(!1),this.onStable=new se(!1),this.onError=new se(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=jC().nativeRequestAnimationFrame,HC(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new x(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,BC,lg,lg);try{return o.runTask(s,i,n)}finally{o.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},BC={};yv=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();qd=class extends mn{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=Qi(e);return new ra(i,this.ngModule)}};Yd=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=ua(n);let r=this.injector.get(e,ad,n);return r!==ad||i===ad?r:this.parentInjector.get(e,i,n)}},ra=class extends na{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=ug(e.inputs);if(i!==null)for(let r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return ug(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=Ox(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=ee(null);try{r=r||this.ngModule;let s=r instanceof qt?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Yd(e,s):e,l=a.get(ci,null);if(l===null)throw new x(407,!1);let c=a.get(VC,null),d=a.get(yv,null),u=a.get(Kr,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:d,changeDetectionScheduler:u},f=l.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",b=n?YE(f,n,this.componentDef.encapsulation,a):Hb(f,m,$C(m)),w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let _=null;b!==null&&(_=Ru(b,a,!0));let L=$u(0,null,null,1,0,null,null,null,null,null,null),X=Ca(null,L,null,w,null,null,h,f,a,null,_);Tu(X);let H,Pe;try{let ve=this.componentDef,_e,ke=null;ve.findHostDirectiveDefs?(_e=[],ke=new Map,ve.findHostDirectiveDefs(ve,_e,ke),_e.push(ve)):_e=[ve];let rn=WC(X,b),xn=GC(rn,b,ve,_e,X,h,f);Pe=xu(L,ct),b&&ZC(f,ve,b,n),i!==void 0&&KC(Pe,this.ngContentSelectors,i),H=YC(xn,ve,_e,ke,X,[QC]),Yu(L,X,null)}finally{Au()}return new Zd(this.componentType,H,lr(Pe,X),X,Pe)}finally{ee(o)}}},Zd=class extends $d{constructor(e,i,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new li(r,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,r;if(n!==null&&(r=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let o=this._rootLView;qu(o[U],o,r,e,i),this.previousInputValues.set(e,i);let s=On(this._tNode.index,o);Zu(s)}}get injector(){return new ni(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};ut=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=XC;let t=e;return t})();JC=ut,wv=class extends JC{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return lr(this._hostTNode,this._hostLView)}get injector(){return new ni(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ou(this._hostTNode,this._hostLView);if(mb(e)){let i=Qs(e,this._hostLView),n=Ks(e),r=i[U].data[n+8];return new ni(r,i)}else return new ni(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=fg(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-nt}createEmbeddedView(e,i,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let s=Ud(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},o,s);return this.insertImpl(a,r,zd(this._hostTNode,s)),a}createComponent(e,i,n,r,o){let s=e&&!Zx(e),a;if(s)a=i;else{let m=i||{};a=m.index,n=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let l=s?e:new ra(Qi(e)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let b=(s?c:this.parentInjector).get(qt,null);b&&(o=b)}let d=Qi(l.componentType??{}),u=Ud(this._lContainer,d?.id??null),h=u?.firstChild??null,f=l.create(c,r,h,o);return this.insertImpl(f.hostView,a,zd(this._hostTNode,u)),f}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let r=e._lView;if(oD(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=r[je],c=new wv(l,l[dt],l[je]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(i),s=this._lContainer;return hv(s,r,o,n),e.attachToViewContainerRef(),Tg(ld(s),o,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=fg(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Js(this._lContainer,i);n&&(qs(ld(this._lContainer),i),Vu(n[U],n))}detach(e){let i=this._adjustIndex(e,-1),n=Js(this._lContainer,i);return n&&qs(ld(this._lContainer),i)!=null?new li(n):null}_adjustIndex(e,i=0){return e??this.length+i}};tI=rI,nI=()=>!1;Kd=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Qd=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,r=[];for(let o=0;o<n;o++){let s=i.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Qu(e,i).matches!==null&&this.queries[i].setDirty()}},oa=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=fI(e):this.predicate=e}},Xd=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let r=i!==null?i.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,i!==null?i.push(o):i=[o])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Jd=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(e,i,oI(i,o)),this.matchTNodeWithReadOption(e,i,Hs(i,e,o,!1,!1))}else n===Pt?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Hs(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===V||r===ut||r===Pt&&i.type&4)this.addMatch(i.index,-2);else{let o=Hs(i,e,r,!1,!1);o!==null&&this.addMatch(i.index,o)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};ir=class{},sa=class extends ir{constructor(e){super(),this.componentFactoryResolver=new qd(this),this.instance=null;let i=new Ur([...e.providers,{provide:ir,useValue:this},{provide:mn,useValue:this.componentFactoryResolver}],e.parent||_u(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};oo=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Zn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();SI=MI;kt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};QI=(t,e,i,n,r,o)=>(ya(!0),Hb(n,r,CD()));JI=(t,e,i,n)=>(ya(!0),SE(e[we],""));la="en-US",eS=la;rS=(t,e,i,n,r)=>(ya(!0),CE(e[we],n));cS=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Bg(!1,n.type),o=r.length>0?wI([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(g(qt))});let t=e;return t})();Uv=new D("");dS=new D(""),Wv=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=C(dS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(lo(s))n.push(s);else if($v(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Gv=new D("");kn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(Db),this.afterRenderEffectManager=C(yv),this.externalTestViews=new Set,this.beforeRender=new R,this.afterTick=new R,this.componentTypes=[],this.components=[],this.isStable=C(oo).hasPendingTasks.pipe(re(n=>!n)),this._injector=C(qt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof na;if(!this._injector.get(Wv).done){let f=!o&&Rx(n),m=!1;throw new x(405,m)}let a;o?a=n:a=this._injector.get(mn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=fS(a)?void 0:this._injector.get(ir),c=r||a.selector,d=a.create(jt.NULL,[],c,l),u=d.location.nativeElement,h=d.injector.get(Uv,null);return h?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),hd(this.components,d),h?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new x(101,!1);let r=ee(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,ee(r)}}detectChangesInAttachedViews(n){let r=0,o=this.afterRenderEffectManager;for(;;){if(r===pv)throw new x(103,!1);if(n){let s=r===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)mS(a,s,l)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>su(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>su(s))))break}}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;hd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Gv,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>hd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();gS=(()=>{let e=class e{constructor(){this.zone=C(S),this.applicationRef=C(kn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();wS=(()=>{let e=class e{constructor(){this.subscription=new ie,this.initialized=!1,this.zone=C(S),this.pendingTasks=C(oo)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{S.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Na=new D("",{providedIn:"root",factory:()=>C(Na,Z.Optional|Z.SkipSelf)||xS()}),qv=new D(""),$s=null;Ge=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=IS;let t=e;return t})();au=class{constructor(){}supports(e){return Sv(e)}create(e){return new lu(e)}},MS=(t,e)=>e,lu=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||MS}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){let s=!n||i&&i.currentIndex<bg(n,r,o)?i:n,a=bg(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let h=0;h<c;h++){let f=h<o.length?o[h]:o[h]=0,m=f+h;d<=m&&m<c&&(o[h]=f+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!Sv(e))throw new x(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,r,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,o,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,o,s,a)),Object.is(i.item,o)||this._addIdentityChange(i,o)),i=i._next}else r=0,xI(e,a=>{s=this._trackByFn(r,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,r),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,r)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new cu(i,n),o,r)),e}_verifyReinsertion(e,i,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let r=i===null?this._itHead:i._next;return e._next=r,e._prev=i,r===null?this._itTail=e:r._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new ca),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ca),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},cu=class{constructor(e,i){this.item=e,this.trackById=i,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}},du=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},ca=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new du,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,r=this.map.get(n);return r?r.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};ka=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||vg()),deps:[[e,new Mg,new pu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new x(901,!1)}};e.\u0275prov=E({token:e,providedIn:"root",factory:vg});let t=e;return t})();TS=new D("",{providedIn:"root",factory:()=>C(AS)}),AS=(()=>{let e=class e{};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new uu});let t=e;return t})(),uu=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=C(oo),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}enqueue(e){let i=e.creationZone;this.queues.has(i)||this.queues.set(i,new Set);let n=this.queues.get(i);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,i]of this.queues)e===null?this.flushQueue(i):e.run(()=>this.flushQueue(i))}flushQueue(e){for(let i of e)e.delete(i),this.queuedEffectCount--,i.run()}},fu=class{constructor(e,i,n,r,o,s){this.scheduler=e,this.effectFn=i,this.creationZone=n,this.injector=o,this.watcher=vm(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(i){this.injector.get(it,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}});function bn(){return Jv}function e_(t){Jv??=t}function n_(t,e){if(t.length==0)return e;if(e.length==0)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?t+e.substring(1):i==1?t+e:t+"/"+e}function Yv(t){let e=t.match(/#|\?|$/),i=e&&e.index||t.length,n=i-(t[i-1]==="/"?1:0);return t.slice(0,n)+t.slice(i)}function bi(t){return t&&t[0]!=="?"?"?"+t:t}function FS(){return new af(g(sf))}function RS(t,e){if(!t||!e.startsWith(t))return e;let i=e.substring(t.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function Zv(t){return t.replace(/\/index.html$/,"")}function PS(t){if(new RegExp("^(https?:)?//").test(t)){let[,i]=t.split(/\/\/[^\/]+/);return i}return t}function Pa(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[r,o]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}function Qv(t,e){t.context.$implicit=e.item}function Xv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${lt(e)}'.`)}function o_(t){return t===lf}function ja(t){return t===LS}var Jv,Fa,B,t_,OS,sf,NS,kS,af,nf,Kv,La,rf,i_,r_,of,Va,Et,lf,LS,hr,Me=p(()=>{"use strict";A();A();Jv=null;Fa=class{},B=new D(""),t_=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:()=>C(OS),providedIn:"platform"});let t=e;return t})(),OS=(()=>{let e=class e extends t_{constructor(){super(),this._doc=C(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bn().getBaseHref(this._doc)}onPopState(n){let r=bn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=bn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();sf=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:()=>C(kS),providedIn:"root"});let t=e;return t})(),NS=new D(""),kS=(()=>{let e=class e extends sf{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??C(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return n_(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+bi(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+bi(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+bi(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(g(t_),g(NS,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),af=(()=>{let e=class e{constructor(n){this._subject=new se,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=PS(Yv(Zv(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+bi(r))}normalize(n){return e.stripTrailingSlash(RS(this._basePath,Zv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+bi(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+bi(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}};e.normalizeQueryParams=bi,e.joinWithSlash=n_,e.stripTrailingSlash=Yv,e.\u0275fac=function(r){return new(r||e)(g(sf))},e.\u0275prov=E({token:e,factory:()=>FS(),providedIn:"root"});let t=e;return t})();nf=/\s+/,Kv=[],La=(()=>{let e=class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=Kv,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(nf):Kv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(nf):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(nf).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(v(V),v(ur))},e.\u0275dir=Q({type:e,selectors:[["","ngClass",""]],inputs:{klass:[y.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),rf=class{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},i_=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new rf(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)r.remove(s===null?void 0:s);else if(s!==null){let l=r.get(s);r.move(l,a),Qv(l,o)}});for(let o=0,s=r.length;o<s;o++){let l=r.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);Qv(s,o)})}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(v(ut),v(Pt),v(ka))},e.\u0275dir=Q({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();r_=(()=>{let e=class e{constructor(n,r){this._viewContainer=n,this._context=new of,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Xv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Xv("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(v(ut),v(Pt))},e.\u0275dir=Q({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),of=class{constructor(){this.$implicit=null,this.ngIf=null}};Va=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}};e.\u0275fac=function(r){return new(r||e)(v(ut))},e.\u0275dir=Q({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[_t]});let t=e;return t})(),Et=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})(),lf="browser",LS="server";hr=class{}});function BS(t,e){let i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(s)||[];l.push(a),i.set(s,l)}),i}function s_(t){return encodeURIComponent(t).replace(zS,(e,i)=>HS[i]??e)}function Ba(t){return`${t}`}function US(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function a_(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function l_(t){return typeof Blob<"u"&&t instanceof Blob}function c_(t){return typeof FormData<"u"&&t instanceof FormData}function $S(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function df(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}function WS(t,e){return e(t)}function GS(t,e,i){return(n,r)=>$g(i,()=>e(n,o=>t(o,r)))}function KS(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function nM(t,e){let i=t.url.toLowerCase();if(!C(h_)||t.method==="GET"||t.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(t);let n=C(Wa).getToken(),r=C(eM);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}function m_(...t){let e=[ho,u_,d_,{provide:uo,useExisting:d_},{provide:za,useExisting:u_},{provide:f_,useValue:nM,multi:!0},{provide:h_,useValue:!0},{provide:Wa,useClass:tM}];for(let i of t)e.push(...i.\u0275providers);return ha(e)}var uo,za,vi,uf,zS,HS,Fn,ff,co,mr,fo,hf,Ha,Ua,$a,ho,f_,qS,YS,d_,ZS,u_,h_,QS,XS,JS,eM,Wa,tM,Ga=p(()=>{"use strict";A();A();Ve();et();Me();Me();uo=class{},za=class{},vi=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
|
|
8
|
+
`).forEach(i=>{let n=i.indexOf(":");if(n>0){let r=i.slice(0,n),o=r.toLowerCase(),s=i.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new t;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":let o=e.value;if(!o)this.headers.delete(i),this.normalizedNames.delete(i);else{let s=this.headers.get(i);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}},uf=class{encodeKey(e){return s_(e)}encodeValue(e){return s_(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};zS=/%(\d[a-f0-9])/gi,HS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};Fn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new uf,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=BS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],r=Array.isArray(n)?n.map(Ba):[Ba(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new t({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(Ba(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(Ba(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},ff=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};co=class t{constructor(e,i,n,r){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(US(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,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.transferCache=o.transferCache),this.headers??=new vi,this.context??=new ff,!this.params)this.params=new Fn,this.urlWithParams=i;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=i;else{let a=i.indexOf("?"),l=a===-1?"?":a<i.length-1?"&":"";this.urlWithParams=i+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||a_(this.body)||l_(this.body)||c_(this.body)||$S(this.body)?this.body:this.body instanceof Fn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||c_(this.body)?null:l_(this.body)?this.body.type||null:a_(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Fn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,c=e.headers||this.headers,d=e.params||this.params,u=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((h,f)=>h.set(f,e.setHeaders[f]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((h,f)=>h.set(f,e.setParams[f]),d)),new t(i,n,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},mr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(mr||{}),fo=class{constructor(e,i=$a.Ok,n="OK"){this.headers=e.headers||new vi,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},hf=class t extends fo{constructor(e={}){super(e),this.type=mr.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ha=class t extends fo{constructor(e={}){super(e),this.type=mr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ua=class extends fo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},$a=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}($a||{});ho=(()=>{let e=class e{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof co)s=n;else{let c;o.headers instanceof vi?c=o.headers:c=new vi(o.headers);let d;o.params&&(o.params instanceof Fn?d=o.params:d=new Fn({fromObject:o.params})),s=new co(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=Ye(s).pipe(Zc(c=>this.handler.handle(c)));if(n instanceof co||o.observe==="events")return a;let l=a.pipe(Ue(c=>c instanceof Ha));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(re(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(re(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Fn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,df(o,r))}post(n,r,o={}){return this.request("POST",n,df(o,r))}put(n,r,o={}){return this.request("PUT",n,df(o,r))}};e.\u0275fac=function(r){return new(r||e)(g(uo))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})();f_=new D(""),qS=new D(""),YS=new D(""),d_=(()=>{let e=class e extends uo{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=C(oo);let o=C(YS,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(f_),...this.injector.get(qS,[])]));this.chain=o.reduceRight((s,a)=>GS(s,a,this.injector),WS)}let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Cn(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(g(za),g(qt))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),ZS=/^\)\]\}',?\n/;u_=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new x(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Je(r.\u0275loadImpl()):Ye(null)).pipe(sn(()=>new W(s=>{let a=r.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((w,_)=>a.setRequestHeader(w,_.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let w=n.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(n.responseType){let w=n.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let l=n.serializeBody(),c=null,d=()=>{if(c!==null)return c;let w=a.statusText||"OK",_=new vi(a.getAllResponseHeaders()),L=KS(a)||n.url;return c=new hf({headers:_,status:a.status,statusText:w,url:L}),c},u=()=>{let{headers:w,status:_,statusText:L,url:X}=d(),H=null;_!==$a.NoContent&&(H=typeof a.response>"u"?a.responseText:a.response),_===0&&(_=H?$a.Ok:0);let Pe=_>=200&&_<300;if(n.responseType==="json"&&typeof H=="string"){let ve=H;H=H.replace(ZS,"");try{H=H!==""?JSON.parse(H):null}catch(_e){H=ve,Pe&&(Pe=!1,H={error:_e,text:H})}}Pe?(s.next(new Ha({body:H,headers:w,status:_,statusText:L,url:X||void 0})),s.complete()):s.error(new Ua({error:H,headers:w,status:_,statusText:L,url:X||void 0}))},h=w=>{let{url:_}=d(),L=new Ua({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:_||void 0});s.error(L)},f=!1,m=w=>{f||(s.next(d()),f=!0);let _={type:mr.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(_.total=w.total),n.responseType==="text"&&a.responseText&&(_.partialText=a.responseText),s.next(_)},b=w=>{let _={type:mr.UploadProgress,loaded:w.loaded};w.lengthComputable&&(_.total=w.total),s.next(_)};return a.addEventListener("load",u),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",m),l!==null&&a.upload&&a.upload.addEventListener("progress",b)),a.send(l),s.next({type:mr.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",u),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",m),l!==null&&a.upload&&a.upload.removeEventListener("progress",b)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(g(hr))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),h_=new D(""),QS="XSRF-TOKEN",XS=new D("",{providedIn:"root",factory:()=>QS}),JS="X-XSRF-TOKEN",eM=new D("",{providedIn:"root",factory:()=>JS}),Wa=class{},tM=(()=>{let e=class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Pa(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(g(B),g(Qt),g(XS))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})()});function oM(){return mo=mo||document.querySelector("base"),mo?mo.getAttribute("href"):null}function sM(t){return new URL(t,document.baseURI).pathname}function fM(t){return cM.replace(yf,t)}function hM(t){return lM.replace(yf,t)}function y_(t,e){return e.map(i=>i.replace(yf,t))}function p_(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}function w_(t,e){return ef(P({rootComponent:t},D_(e)))}function x_(t){return ef(D_(t))}function D_(t){return{appProviders:[...xM,...t?.providers??[]],platformProviders:wM}}function vM(){bf.makeCurrent()}function _M(){return new it}function yM(){return Tb(document),document}var gf,bf,mo,aM,vf,b_,qa,mf,v_,pf,yf,__,lM,cM,dM,uM,Ya,po,_f,go,Za,mM,g_,pM,gM,bM,wM,xM,wf,DM,Ka=p(()=>{"use strict";A();A();Me();gf=class extends Fa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},bf=class t extends gf{static makeCurrent(){e_(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=oM();return i==null?null:sM(i)}resetBaseElement(){mo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Pa(document.cookie,e)}},mo=null;aM=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),vf=new D(""),b_=(()=>{let e=class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new x(5101,!1);return this._eventNameToPlugin.set(n,r),r}};e.\u0275fac=function(r){return new(r||e)(g(vf),g(S))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),qa=class{constructor(e){this._doc=e}},mf="ng-app-id",v_=(()=>{let e=class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ja(s),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${mf}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(mf),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(mf,this.appId),n.appendChild(a),a}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(no),g(io,8),g(Qt))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),pf={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,__="%COMP%",lM=`_nghost-${__}`,cM=`_ngcontent-${__}`,dM=!0,uM=new D("",{providedIn:"root",factory:()=>dM});Ya=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=ja(l),this.defaultRenderer=new po(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Gt.ShadowDom&&(r=Le(P({},r),{encapsulation:Gt.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Za?o.applyToHost(n):o instanceof go&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case Gt.Emulated:s=new Za(c,d,r,this.appId,u,a,l,h);break;case Gt.ShadowDom:return new _f(c,d,n,r,a,l,this.nonce,h);default:s=new go(c,d,r,u,a,l,h);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(g(b_),g(v_),g(no),g(uM),g(B),g(Qt),g(S),g(io))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),po=class{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(pf[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(p_(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(p_(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new x(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;let o=pf[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let r=pf[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(cn.DashCase|cn.Important)?e.style.setProperty(i,n,r&cn.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&cn.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=bn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};_f=class extends po{constructor(e,i,n,r,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=y_(r.id,r.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},go=class extends po{constructor(e,i,n,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?y_(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Za=class extends go{constructor(e,i,n,r,o,s,a,l){let c=r+"-"+n.id;super(e,i,n,o,s,a,l,c),this.contentAttr=fM(c),this.hostAttr=hM(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},mM=(()=>{let e=class e extends qa{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),g_=["alt","control","meta","shift"],pM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},bM=(()=>{let e=class e extends qa{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),g_.forEach(d=>{let u=r.indexOf(d);u>-1&&(r.splice(u,1),a+=d+".")}),a+=s,r.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let o=pM[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),g_.forEach(a=>{if(a!==o){let l=gM[a];l(n)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})();wM=[{provide:Qt,useValue:lf},{provide:Fu,useValue:vM,multi:!0},{provide:B,useFactory:yM,deps:[]}],xM=[{provide:ma,useValue:"root"},{provide:it,useFactory:_M,deps:[]},{provide:vf,useClass:mM,multi:!0,deps:[B,S,Qt]},{provide:vf,useClass:bM,multi:!0,deps:[B]},Ya,v_,b_,{provide:ci,useExisting:Ya},{provide:hr,useClass:aM,deps:[]},[]],wf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=g(DM),o},providedIn:"root"});let t=e;return t})(),DM=(()=>{let e=class e extends wf{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case rt.NONE:return r;case rt.HTML:return cr(r,"HTML")?fn(r):zb(this._doc,String(r)).toString();case rt.STYLE:return cr(r,"Style")?fn(r):r;case rt.SCRIPT:if(cr(r,"Script"))return fn(r);throw new x(5200,!1);case rt.URL:return cr(r,"URL")?fn(r):Pu(String(r));case rt.RESOURCE_URL:if(cr(r,"ResourceURL"))return fn(r);throw new x(5201,!1);default:throw new x(5202,!1)}}bypassSecurityTrustHtml(n){return Ob(n)}bypassSecurityTrustStyle(n){return Nb(n)}bypassSecurityTrustScript(n){return kb(n)}bypassSecurityTrustUrl(n){return Fb(n)}bypassSecurityTrustResourceUrl(n){return Rb(n)}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function vo(t,e){return{type:z.Trigger,name:t,definitions:e,options:{}}}function _o(t,e=null){return{type:z.Animate,styles:e,timings:t}}function E_(t,e=null){return{type:z.Sequence,steps:t,options:e}}function tn(t){return{type:z.Style,styles:t,offset:null}}function Qa(t,e,i){return{type:z.State,name:t,styles:e,options:i}}function pr(t,e,i=null){return{type:z.Transition,expr:t,animation:e,options:i}}function C_(t=null){return{type:z.AnimateChild,options:t}}function I_(t,e,i=null){return{type:z.Query,selector:t,animation:e,options:i}}var z,en,Rn,bo,Xa,Ja=p(()=>{"use strict";z=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(z||{}),en="*";Rn=class{constructor(e=0,i=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=e+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},bo=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let i=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++i==o&&this._onFinish()}),s.onDestroy(()=>{++n==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(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let i=e*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(r)})}getPosition(){let e=this.players.reduce((i,n)=>i===null||n.totalTime>i.totalTime?n:i,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Xa="!"});function S_(t){return new x(3e3,!1)}function CM(){return new x(3100,!1)}function IM(){return new x(3101,!1)}function SM(t){return new x(3001,!1)}function MM(t){return new x(3003,!1)}function TM(t){return new x(3004,!1)}function AM(t,e){return new x(3005,!1)}function OM(){return new x(3006,!1)}function NM(){return new x(3007,!1)}function kM(t,e){return new x(3008,!1)}function FM(t){return new x(3002,!1)}function RM(t,e,i,n,r){return new x(3010,!1)}function PM(){return new x(3011,!1)}function LM(){return new x(3012,!1)}function VM(){return new x(3200,!1)}function jM(){return new x(3202,!1)}function BM(){return new x(3013,!1)}function zM(t){return new x(3014,!1)}function HM(t){return new x(3015,!1)}function UM(t){return new x(3016,!1)}function $M(t,e){return new x(3404,!1)}function WM(t){return new x(3502,!1)}function GM(t){return new x(3503,!1)}function qM(){return new x(3300,!1)}function YM(t){return new x(3504,!1)}function ZM(t){return new x(3301,!1)}function KM(t,e){return new x(3302,!1)}function QM(t){return new x(3303,!1)}function XM(t,e){return new x(3400,!1)}function JM(t){return new x(3401,!1)}function eT(t){return new x(3402,!1)}function tT(t,e){return new x(3505,!1)}function Pn(t){switch(t.length){case 0:return new Rn;case 1:return t[0];default:return new bo(t)}}function z_(t,e,i=new Map,n=new Map){let r=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,f)=>{let m=f,b=h;if(f!=="offset")switch(m=t.normalizePropertyName(m,r),b){case Xa:b=i.get(f);break;case en:b=n.get(f);break;default:b=t.normalizeStyleValue(f,m,b,r);break}u.set(m,b)}),d||o.push(u),a=u,s=c}),r.length)throw WM(r);return o}function $f(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&xf(i,"start",t)));break;case"done":t.onDone(()=>n(i&&xf(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&xf(i,"destroy",t)));break}}function xf(t,e,i){let n=i.totalTime,r=!!i.disabled,o=Wf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function Wf(t,e,i,n,r="",o=0,s){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!s}}function ht(t,e,i){let n=t.get(e);return n||t.set(e,n=i),n}function M_(t){let e=t.indexOf(":"),i=t.substring(1,e),n=t.slice(e+1);return[i,n]}function Gf(t){let e=t.parentNode||t.host||null;return e===nT?null:e}function iT(t){return t.substring(1,6)=="ebkit"}function rT(t){_i||(_i=oT()||{},T_=_i.style?"WebkitAppearance"in _i.style:!1);let e=!0;return _i.style&&!iT(t)&&(e=t in _i.style,!e&&T_&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in _i.style)),e}function oT(){return typeof document<"u"?document.body:null}function H_(t,e){for(;e;){if(e===t)return!0;e=Gf(e)}return!1}function U_(t,e,i){if(i)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}function vn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Af(parseFloat(e[1]),e[2])}function Af(t,e){switch(e){case"s":return t*sT;default:return t}}function sl(t,e,i){return t.hasOwnProperty("duration")?t:lT(t,e,i)}function lT(t,e,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(S_(t)),{duration:0,delay:0,easing:""};r=Af(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Af(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!i){let a=!1,l=e.length;r<0&&(e.push(CM()),a=!0),o<0&&(e.push(IM()),a=!0),a&&e.splice(l,0,S_(t))}return{duration:r,delay:o,easing:s}}function cT(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function nn(t,e,i){e.forEach((n,r)=>{let o=Yf(r);i&&!i.has(r)&&i.set(r,t.style[o]),t.style[o]=n})}function wi(t,e){e.forEach((i,n)=>{let r=Yf(n);t.style[r]=""})}function yo(t){return Array.isArray(t)?t.length==1?t[0]:E_(t):t}function dT(t,e,i){let n=e.params||{},r=G_(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||i.push(SM(o))})}function G_(t){let e=[];if(typeof t=="string"){let i;for(;i=Of.exec(t);)e.push(i[1]);Of.lastIndex=0}return e}function xo(t,e,i){let n=`${t}`,r=n.replace(Of,(o,s)=>{let a=e[s];return a==null&&(i.push(MM(s)),a=""),a.toString()});return r==n?t:r}function Yf(t){return t.replace(uT,(...e)=>e[1].toUpperCase())}function fT(t,e){return t===0||e===0}function hT(t,e,i){if(i.size&&e.length){let n=e[0],r=[];if(i.forEach((o,s)=>{n.has(s)||r.push(s),n.set(s,o)}),r.length)for(let o=1;o<e.length;o++){let s=e[o];r.forEach(a=>s.set(a,Zf(t,a)))}}return e}function ft(t,e,i){switch(e.type){case z.Trigger:return t.visitTrigger(e,i);case z.State:return t.visitState(e,i);case z.Transition:return t.visitTransition(e,i);case z.Sequence:return t.visitSequence(e,i);case z.Group:return t.visitGroup(e,i);case z.Animate:return t.visitAnimate(e,i);case z.Keyframes:return t.visitKeyframes(e,i);case z.Style:return t.visitStyle(e,i);case z.Reference:return t.visitReference(e,i);case z.AnimateChild:return t.visitAnimateChild(e,i);case z.AnimateRef:return t.visitAnimateRef(e,i);case z.Query:return t.visitQuery(e,i);case z.Stagger:return t.visitStagger(e,i);default:throw TM(e.type)}}function Zf(t,e){return window.getComputedStyle(t)[e]}function pT(t,e){let i=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>gT(n,i,e)):i.push(t),i}function gT(t,e,i){if(t[0]==":"){let l=bT(t,i);if(typeof l=="function"){e.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(HM(t)),e;let r=n[1],o=n[2],s=n[3];e.push(O_(r,s));let a=r==ll&&s==ll;o[0]=="<"&&!a&&e.push(O_(s,r))}function bT(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return e.push(UM(t)),"* => *"}}function O_(t,e){let i=tl.has(t)||nl.has(t),n=tl.has(e)||nl.has(e);return(r,o)=>{let s=t==ll||t==r,a=e==ll||e==o;return!s&&i&&typeof r=="boolean"&&(s=r?tl.has(t):nl.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?tl.has(e):nl.has(e)),s&&a}}function Y_(t,e,i,n){return new Nf(t).build(e,i,n)}function _T(t){let e=!!t.split(/\s*,\s*/).find(i=>i==q_);return e&&(t=t.replace(vT,"")),t=t.replace(/@\*/g,ol).replace(/@\w+/g,i=>ol+"-"+i.slice(1)).replace(/:animating/g,Tf),[t,e]}function yT(t){return t?P({},t):null}function wT(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function xT(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=sl(t,e).duration;return Df(o,0,"")}let i=t;if(i.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Df(0,0,"");return o.dynamic=!0,o.strValue=i,o}let r=sl(i,e);return Df(r.duration,r.delay,r.easing)}function yi(t){return t?(t=P({},t),t.params&&(t.params=yT(t.params))):t={},t}function Df(t,e,i){return{duration:t,delay:e,easing:i}}function Kf(t,e,i,n,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function Z_(t,e,i,n,r,o=new Map,s=new Map,a,l,c=[]){return new Ff().buildKeyframes(t,e,i,n,r,o,s,a,l,c)}function k_(t,e=3){let i=Math.pow(10,e-1);return Math.round(t*i)/i}function MT(t,e){let i=new Map,n;return t.forEach(r=>{if(r==="*"){n??=e.keys();for(let o of n)i.set(o,en)}else for(let[o,s]of r)i.set(o,s)}),i}function F_(t,e,i,n,r,o,s,a,l,c,d,u,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}function TT(t,e,i,n,r){return t.some(o=>o(e,i,n,r))}function K_(t,e){let i=P({},e);return Object.entries(t).forEach(([n,r])=>{r!=null&&(i[n]=r)}),i}function AT(t,e,i){return new Vf(t,e,i)}function OT(t,e,i){let n=[(s,a)=>!0],r={type:z.Sequence,steps:[],options:null},o={type:z.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new ul(t,o,e)}function R_(t,e,i){t.has(e)?t.has(i)||t.set(i,t.get(e)):t.has(i)&&t.set(e,t.get(i))}function jT(t,e,i){let n=t.get(e);if(n){if(n.length){let r=n.indexOf(i);n.splice(r,1)}n.length==0&&t.delete(e)}return n}function BT(t){return t??null}function il(t){return t&&t.nodeType===1}function zT(t){return t=="start"||t=="done"}function L_(t,e){let i=t.style.display;return t.style.display=e??"none",i}function V_(t,e,i,n,r){let o=[];i.forEach(l=>o.push(L_(l)));let s=[];n.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let h=e.computeStyle(c,u,r);d.set(u,h),(!h||h.length==0)&&(c[Bt]=VT,s.push(c))}),t.set(c,d)});let a=0;return i.forEach(l=>L_(l,o[a++])),s}function j_(t,e){let i=new Map;if(t.forEach(a=>i.set(a,[])),e.length==0)return i;let n=1,r=new Set(e),o=new Map;function s(a){if(!a)return n;let l=o.get(a);if(l)return l;let c=a.parentNode;return i.has(c)?l=c:r.has(c)?l=n:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==n&&i.get(l).push(a)}),i}function Ct(t,e){t.classList?.add(e)}function gr(t,e){t.classList?.remove(e)}function HT(t,e,i){Pn(i).onDone(()=>t.processLeaveNode(e))}function UT(t){let e=[];return X_(t,e),e}function X_(t,e){for(let i=0;i<t.length;i++){let n=t[i];n instanceof bo?X_(n.players,e):e.push(n)}}function $T(t,e){let i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let r=0;r<i.length;r++){let o=i[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function B_(t,e,i){let n=i.get(t);if(!n)return!1;let r=e.get(t);return r?n.forEach(o=>r.add(o)):e.set(t,n),i.delete(t),!0}function WT(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Sf(e[0]),e.length>1&&(n=Sf(e[e.length-1]))):e instanceof Map&&(i=Sf(e)),i||n?new Hf(t,i,n):null}function Sf(t){let e=null;return t.forEach((i,n)=>{GT(n)&&(e=e||new Map,e.set(n,i))}),e}function GT(t){return t==="display"||t==="position"}function qT(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function YT(t){let e=t.indexOf("."),i=t.substring(0,e),n=t.slice(e+1);return[i,n]}var nT,_i,T_,qf,Qf,xi,Di,sT,$_,aT,W_,Mf,el,ol,A_,Tf,Of,uT,mT,al,ll,tl,nl,q_,vT,N_,Nf,kf,Do,DT,ET,CT,IT,ST,Ff,cl,Rf,dl,Pf,Ef,ul,Lf,Vf,NT,jf,P_,kT,Cf,FT,RT,PT,LT,Q_,VT,Bt,Eo,wo,If,Bf,zf,Co,vr,br,Hf,fl,hl,rl,J_,ml,Uf,pl,Xf=p(()=>{"use strict";Ja();A();A();nT=typeof document>"u"?null:document.documentElement;_i=null,T_=!1;qf=(()=>{let e=class e{validateStyleProperty(n){return rT(n)}matchesElement(n,r){return!1}containsElement(n,r){return H_(n,r)}getParentElement(n){return Gf(n)}query(n,r,o){return U_(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,s,a,l=[],c){return new Rn(o,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),Qf=class Qf{};Qf.NOOP=new qf;xi=Qf,Di=class{},sT=1e3,$_="{{",aT="}}",W_="ng-enter",Mf="ng-leave",el="ng-trigger",ol=".ng-trigger",A_="ng-animating",Tf=".ng-animating";Of=new RegExp(`${$_}\\s*(.+?)\\s*${aT}`,"g");uT=/-+([a-z0-9])/g;mT=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"]),al=class extends Di{normalizePropertyName(e,i){return Yf(e)}normalizeStyleValue(e,i,n,r){let o="",s=n.toString().trim();if(mT.has(i)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(AM(e,n))}return s+o}},ll="*";tl=new Set(["true","1"]),nl=new Set(["false","0"]);q_=":self",vT=new RegExp(`s*${q_}s*,?`,"g");N_="",Nf=class{constructor(e){this._driver=e}build(e,i,n){let r=new kf(i);return this._resetContextStyleTimingState(r),ft(this,yo(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=N_,e.collectedStyles=new Map,e.collectedStyles.set(N_,new Map),e.currentTime=0}visitTrigger(e,i){let n=i.queryCount=0,r=i.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&i.errors.push(OM()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(i),a.type==z.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,i))}),l.name=c}else if(a.type==z.Transition){let l=this.visitTransition(a,i);n+=l.queryCount,r+=l.depCount,s.push(l)}else i.errors.push(NM())}),{type:z.Trigger,name:e.name,states:o,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,i){let n=this.visitStyle(e.styles,i),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{G_(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&i.errors.push(kM(e.name,[...o.values()]))}return{type:z.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let n=ft(this,yo(e.animation),i),r=pT(e.expr,i.errors);return{type:z.Transition,matchers:r,animation:n,queryCount:i.queryCount,depCount:i.depCount,options:yi(e.options)}}visitSequence(e,i){return{type:z.Sequence,steps:e.steps.map(n=>ft(this,n,i)),options:yi(e.options)}}visitGroup(e,i){let n=i.currentTime,r=0,o=e.steps.map(s=>{i.currentTime=n;let a=ft(this,s,i);return r=Math.max(r,i.currentTime),a});return i.currentTime=r,{type:z.Group,steps:o,options:yi(e.options)}}visitAnimate(e,i){let n=xT(e.timings,i.errors);i.currentAnimateTimings=n;let r,o=e.styles?e.styles:tn({});if(o.type==z.Keyframes)r=this.visitKeyframes(o,i);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};n.easing&&(c.easing=n.easing),s=tn(c)}i.currentTime+=n.duration+n.delay;let l=this.visitStyle(s,i);l.isEmptyStep=a,r=l}return i.currentAnimateTimings=null,{type:z.Animate,timings:n,style:r,options:null}}visitStyle(e,i){let n=this._makeStyleAst(e,i);return this._validateStyleAst(n,i),n}_makeStyleAst(e,i){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===en?n.push(a):i.errors.push(FM(a)):n.push(new Map(Object.entries(a)));let o=!1,s=null;return n.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:z.Style,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,i){let n=i.currentAnimateTimings,r=i.currentTime,o=i.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=i.collectedStyles.get(i.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(i.errors.push(RM(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),i.options&&dT(a,i.options,i.errors)})})}visitKeyframes(e,i){let n={type:z.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(PM()),n;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(_=>{let L=this._makeStyleAst(_,i),X=L.offset!=null?L.offset:wT(L.styles),H=0;return X!=null&&(o++,H=L.offset=X),l=l||H<0||H>1,a=a||H<c,c=H,s.push(H),L});l&&i.errors.push(LM()),a&&i.errors.push(VM());let u=e.steps.length,h=0;o>0&&o<u?i.errors.push(jM()):o==0&&(h=r/(u-1));let f=u-1,m=i.currentTime,b=i.currentAnimateTimings,w=b.duration;return d.forEach((_,L)=>{let X=h>0?L==f?1:h*L:s[L],H=X*w;i.currentTime=m+b.delay+H,b.duration=H,this._validateStyleAst(_,i),_.offset=X,n.styles.push(_)}),n}visitReference(e,i){return{type:z.Reference,animation:ft(this,yo(e.animation),i),options:yi(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:z.AnimateChild,options:yi(e.options)}}visitAnimateRef(e,i){return{type:z.AnimateRef,animation:this.visitReference(e.animation,i),options:yi(e.options)}}visitQuery(e,i){let n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;let[o,s]=_T(e.selector);i.currentQuerySelector=n.length?n+" "+o:o,ht(i.collectedStyles,i.currentQuerySelector,new Map);let a=ft(this,yo(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:z.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:yi(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(BM());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:sl(e.timings,i.errors,!0);return{type:z.Stagger,animation:ft(this,yo(e.animation),i),timings:n,options:null}}};kf=class{constructor(e){this.errors=e,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}};Do=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},DT=1,ET=":enter",CT=new RegExp(ET,"g"),IT=":leave",ST=new RegExp(IT,"g");Ff=class{buildKeyframes(e,i,n,r,o,s,a,l,c,d=[]){c=c||new Do;let u=new Rf(e,i,c,r,o,d,[]);u.options=l;let h=l.delay?vn(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),ft(this,n,u);let f=u.timelines.filter(m=>m.containsAnimation());if(f.length&&a.size){let m;for(let b=f.length-1;b>=0;b--){let w=f[b];if(w.element===i){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return f.length?f.map(m=>m.buildKeyframes()):[Kf(i,[],[],[],0,h,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let n=i.subInstructions.get(i.element);if(n){let r=i.createSubContext(e.options),o=i.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);o!=s&&i.transformIntoNewTimeline(s)}i.previousNode=e}visitAnimateRef(e,i){let n=i.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,n),this.visitReference(e.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,n){for(let r of e){let o=r?.delay;if(o){let s=typeof o=="number"?o:vn(xo(o,r?.params??{},i.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,i,n){let o=i.currentTimeline.currentTime,s=n.duration!=null?vn(n.duration):null,a=n.delay!=null?vn(n.delay):null;return s!==0&&e.forEach(l=>{let c=i.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,i){i.updateOptions(e.options,!0),ft(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let n=i.subContextCount,r=i,o=e.options;if(o&&(o.params||o.delay)&&(r=i.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==z.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=cl);let s=vn(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ft(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let n=[],r=i.currentTimeline.currentTime,o=e.options&&e.options.delay?vn(e.options.delay):0;e.steps.forEach(s=>{let a=i.createSubContext(e.options);o&&a.delayNextStep(o),ft(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>i.currentTimeline.mergeTimelineCollectedStyles(s)),i.transformIntoNewTimeline(r),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let n=e.strValue,r=i.params?xo(n,i.params,i.errors):n;return sl(r,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let n=i.currentAnimateTimings=this._visitTiming(e.timings,i),r=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),r.snapshotCurrentStyles());let o=e.style;o.type==z.Keyframes?this.visitKeyframes(o,i):(i.incrementTime(n.duration),this.visitStyle(o,i),r.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let n=i.currentTimeline,r=i.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let n=i.currentAnimateTimings,r=i.currentTimeline.duration,o=n.duration,a=i.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,i.errors,i.options),a.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(a),i.transformIntoNewTimeline(r+o),i.previousNode=e}visitQuery(e,i){let n=i.currentTimeline.currentTime,r=e.options||{},o=r.delay?vn(r.delay):0;o&&(i.previousNode.type===z.Style||n==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=cl);let s=n,a=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,i.errors);i.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{i.currentQueryIndex=d;let u=i.createSubContext(e.options,c);o&&u.delayNextStep(o),c===i.element&&(l=u.currentTimeline),ft(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let h=u.currentTimeline.currentTime;s=Math.max(s,h)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(s),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let n=i.parentContext,r=i.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(i.currentQueryTotal-1),l=s*i.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break}let d=i.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;ft(this,e.animation,i),i.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}},cl={},Rf=class t{constructor(e,i,n,r,o,s,a,l){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new dl(this._driver,i,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=vn(n.duration)),n.delay!=null&&(r.delay=vn(n.delay));let o=n.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!i||!s.hasOwnProperty(a))&&(s[a]=xo(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let n=e.params={};Object.keys(i).forEach(r=>{n[r]=i[r]})}}return e}createSubContext(e=null,i,n){let r=i||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=cl,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){let r={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new Pf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(CT,"."+this._enterClassName),e=e.replace(ST,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,e,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!o&&a.length==0&&s.push(zM(i)),a}},dl=class t{constructor(e,i,n,r){this._driver=e,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,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(e){let i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new t(this._driver,e,i||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+=DT,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||en),this._currentKeyframe.set(i,en);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,r){i&&this._previousKeyframe.set("easing",i);let o=r&&r.params||{},s=MT(e,this._globalTimelineStyles);for(let[a,l]of s){let c=xo(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??en),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{let r=this._styleSummary.get(n);(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Xa?e.add(u):d===en&&i.add(u)}),n||c.set("offset",l/this.duration),r.push(c)});let o=[...e.values()],s=[...i.values()];if(n){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Kf(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Pf=class extends dl{constructor(e,i,n,r,o,s,a=!1){super(e,i,s.delay),this.keyframes=n,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 e=this.keyframes,{delay:i,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&i){let o=[],s=n+i,a=i/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",k_(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let h=new Map(e[u]),f=h.get("offset"),m=i+f*n;h.set("offset",k_(m/s)),o.push(h)}n=s,i=0,r="",e=o}return Kf(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}};Ef={},ul=class{constructor(e,i,n){this._triggerName=e,this.ast=i,this._stateStyles=n}match(e,i,n,r){return TT(this.ast.matchers,e,i,n,r)}buildStyles(e,i,n){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(i,n):new Map}build(e,i,n,r,o,s,a,l,c,d){let u=[],h=this.ast.options&&this.ast.options.params||Ef,f=a&&a.params||Ef,m=this.buildStyles(n,f,u),b=l&&l.params||Ef,w=this.buildStyles(r,b,u),_=new Set,L=new Map,X=new Map,H=r==="void",Pe={params:K_(b,h),delay:this.ast.options?.delay},ve=d?[]:Z_(e,i,this.ast.animation,o,s,m,w,Pe,c,u),_e=0;return ve.forEach(ke=>{_e=Math.max(ke.duration+ke.delay,_e)}),u.length?F_(i,this._triggerName,n,r,H,m,w,[],[],L,X,_e,u):(ve.forEach(ke=>{let rn=ke.element,xn=ht(L,rn,new Set);ke.preStyleProps.forEach($n=>xn.add($n));let sm=ht(X,rn,new Set);ke.postStyleProps.forEach($n=>sm.add($n)),rn!==i&&_.add(rn)}),F_(i,this._triggerName,n,r,H,m,w,ve,[..._.values()],L,X,_e))}};Lf=class{constructor(e,i,n){this.styles=e,this.defaultParams=i,this.normalizer=n}buildStyles(e,i){let n=new Map,r=K_(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=xo(s,r,i));let l=this.normalizer.normalizePropertyName(a,i);s=this.normalizer.normalizeStyleValue(a,l,s,i),n.set(a,s)})}),n}};Vf=class{constructor(e,i,n){this.name=e,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Lf(r.style,o,n))}),R_(this.states,"true","1"),R_(this.states,"false","0"),i.transitions.forEach(r=>{this.transitionFactories.push(new ul(e,r,this.states))}),this.fallbackTransition=OT(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,n,r){return this.transitionFactories.find(s=>s.match(e,i,n,r))||null}matchStyles(e,i,n){return this.fallbackTransition.buildStyles(e,i,n)}};NT=new Do,jf=class{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let n=[],r=[],o=Y_(this._driver,i,n,r);if(n.length)throw GM(n);r.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,i,n){let r=e.element,o=z_(this._normalizer,e.keyframes,i,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,i,n={}){let r=[],o=this._animations.get(e),s,a=new Map;if(o?(s=Z_(this._driver,i,o,W_,Mf,new Map,new Map,n,NT,r),s.forEach(d=>{let u=ht(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(qM()),s=[]),r.length)throw YM(r);a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,en))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Pn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw ZM(e);return i}listen(e,i,n,r){let o=Wf(i,"","","");return $f(this._getPlayer(e),n,o,r),()=>{}}command(e,i,n,r){if(n=="register"){this.register(e,r[0]);return}if(n=="create"){let s=r[0]||{};this.create(e,i,s);return}let o=this._getPlayer(e);switch(n){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(e);break}}},P_="ng-animate-queued",kT=".ng-animate-queued",Cf="ng-animate-disabled",FT=".ng-animate-disabled",RT="ng-star-inserted",PT=".ng-star-inserted",LT=[],Q_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},VT={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bt="__ng_removed",Eo=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=BT(r),n){let o=e,{value:s}=o,a=ac(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let n=this.options.params;Object.keys(i).forEach(r=>{n[r]==null&&(n[r]=i[r])})}}},wo="void",If=new Eo(wo),Bf=class{constructor(e,i,n){this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ct(i,this._hostClassName)}listen(e,i,n,r){if(!this._triggers.has(i))throw KM(n,i);if(n==null||n.length==0)throw QM(i);if(!zT(n))throw XM(n,i);let o=ht(this._elementListeners,e,[]),s={name:i,phase:n,callback:r};o.push(s);let a=ht(this._engine.statesByElement,e,new Map);return a.has(i)||(Ct(e,el),Ct(e,el+"-"+i),a.set(i,If)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(i)||a.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw JM(e);return i}trigger(e,i,n,r=!0){let o=this._getTrigger(i),s=new Co(this.id,i,e),a=this._engine.statesByElement.get(e);a||(Ct(e,el),Ct(e,el+"-"+i),this._engine.statesByElement.set(e,a=new Map));let l=a.get(i),c=new Eo(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(i,c),l||(l=If),!(c.value===wo)&&l.value===c.value){if(!$T(l.params,c.params)){let b=[],w=o.matchStyles(l.value,l.params,b),_=o.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{wi(e,w),nn(e,_)})}return}let h=ht(this._engine.playersByElement,e,[]);h.forEach(b=>{b.namespaceId==this.id&&b.triggerName==i&&b.queued&&b.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),m=!1;if(!f){if(!r)return;f=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(Ct(e,P_),s.onStart(()=>{gr(e,P_)})),s.onDone(()=>{let b=this.players.indexOf(s);b>=0&&this.players.splice(b,1);let w=this._engine.playersByElement.get(e);if(w){let _=w.indexOf(s);_>=0&&w.splice(_,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let n=this._engine.driver.query(e,ol,!0);n.forEach(r=>{if(r[Bt])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,i,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,i,n,r){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,wo,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,s),n&&Pn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(i&&n){let r=new Set;i.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=n.get(s)||If,d=new Eo(wo),u=new Co(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,i){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,i);else{let o=e[Bt];(!o||o===Q_)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,i))}}insertNode(e,i){Ct(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let l=Wf(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,$f(n.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):i.push(n)}),this._queue=[],i.sort((n,r)=>{let o=n.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},zf=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,n,r){this.bodyNode=e,this.driver=i,this._normalizer=n,this.scheduler=r,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=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,i){let n=new Bf(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,i){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(i);for(;a;){let l=r.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return r.set(i,e),e}register(e,i){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,i)),n}registerTrigger(e,i,n){let r=this._namespaceLookup[e];r&&r.register(i,n)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,n=this.statesByElement.get(e);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&i.add(o)}}return i}trigger(e,i,n,r){if(il(i)){let o=this._fetchNamespace(e);if(o)return o.trigger(i,n,r),!0}return!1}insertNode(e,i,n,r){if(!il(i))return;let o=i[Bt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(i);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(i,n)}r&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ct(e,Cf)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),gr(e,Cf))}removeNode(e,i,n){if(il(i)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(i,n):this.markElementAsRemoved(e,i,!1,n);let o=this.namespacesByHostElement.get(i);o&&o.id!==e&&o.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(e,i,n,r,o){this.collectedLeaveElements.push(i),i[Bt]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,i,n,r,o){return il(i)?this._fetchNamespace(e).listen(i,n,r,o):()=>{}}_buildInstruction(e,i,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,i,o)}destroyInnerAnimations(e){let i=this.driver.query(e,ol,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,Tf,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Pn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[Bt];if(i&&i.setForRemoval){if(e[Bt]=Q_,i.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Cf)&&this.markElementAsDisabled(e,!1),this.driver.query(e,FT,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];Ct(r,RT)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{i=this._flushAnimations(n,e)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],i.length?Pn(i).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw eT(e)}_flushAnimations(e,i){let n=new Do,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(I=>{d.add(I);let M=this.driver.query(I,kT,!0);for(let O=0;O<M.length;O++)d.add(M[O])});let u=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=j_(h,this.collectedEnterElements),m=new Map,b=0;f.forEach((I,M)=>{let O=W_+b++;m.set(M,O),I.forEach(J=>Ct(J,O))});let w=[],_=new Set,L=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){let M=this.collectedLeaveElements[I],O=M[Bt];O&&O.setForRemoval&&(w.push(M),_.add(M),O.hasAnimation?this.driver.query(M,PT,!0).forEach(J=>_.add(J)):L.add(M))}let X=new Map,H=j_(h,Array.from(_));H.forEach((I,M)=>{let O=Mf+b++;X.set(M,O),I.forEach(J=>Ct(J,O))}),e.push(()=>{f.forEach((I,M)=>{let O=m.get(M);I.forEach(J=>gr(J,O))}),H.forEach((I,M)=>{let O=X.get(M);I.forEach(J=>gr(J,O))}),w.forEach(I=>{this.processLeaveNode(I)})});let Pe=[],ve=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(i).forEach(O=>{let J=O.player,Fe=O.element;if(Pe.push(J),this.collectedEnterElements.length){let ze=Fe[Bt];if(ze&&ze.setForMove){if(ze.previousTriggersValues&&ze.previousTriggersValues.has(O.triggerName)){let Wn=ze.previousTriggersValues.get(O.triggerName),pt=this.statesByElement.get(O.element);if(pt&&pt.has(O.triggerName)){let Bo=pt.get(O.triggerName);Bo.value=Wn,pt.set(O.triggerName,Bo)}}J.destroy();return}}let Ht=!u||!this.driver.containsElement(u,Fe),at=X.get(Fe),Dn=m.get(Fe),ye=this._buildInstruction(O,n,Dn,at,Ht);if(ye.errors&&ye.errors.length){ve.push(ye);return}if(Ht){J.onStart(()=>wi(Fe,ye.fromStyles)),J.onDestroy(()=>nn(Fe,ye.toStyles)),r.push(J);return}if(O.isFallbackTransition){J.onStart(()=>wi(Fe,ye.fromStyles)),J.onDestroy(()=>nn(Fe,ye.toStyles)),r.push(J);return}let cm=[];ye.timelines.forEach(ze=>{ze.stretchStartingKeyframe=!0,this.disabledNodes.has(ze.element)||cm.push(ze)}),ye.timelines=cm,n.append(Fe,ye.timelines);let dw={instruction:ye,player:J,element:Fe};s.push(dw),ye.queriedElements.forEach(ze=>ht(a,ze,[]).push(J)),ye.preStyleProps.forEach((ze,Wn)=>{if(ze.size){let pt=l.get(Wn);pt||l.set(Wn,pt=new Set),ze.forEach((Bo,sc)=>pt.add(sc))}}),ye.postStyleProps.forEach((ze,Wn)=>{let pt=c.get(Wn);pt||c.set(Wn,pt=new Set),ze.forEach((Bo,sc)=>pt.add(sc))})});if(ve.length){let I=[];ve.forEach(M=>{I.push(tT(M.triggerName,M.errors))}),Pe.forEach(M=>M.destroy()),this.reportError(I)}let _e=new Map,ke=new Map;s.forEach(I=>{let M=I.element;n.has(M)&&(ke.set(M,M),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,_e))}),r.forEach(I=>{let M=I.element;this._getPreviousPlayers(M,!1,I.namespaceId,I.triggerName,null).forEach(J=>{ht(_e,M,[]).push(J),J.destroy()})});let rn=w.filter(I=>B_(I,l,c)),xn=new Map;V_(xn,this.driver,L,c,en).forEach(I=>{B_(I,l,c)&&rn.push(I)});let $n=new Map;f.forEach((I,M)=>{V_($n,this.driver,new Set(I),l,Xa)}),rn.forEach(I=>{let M=xn.get(I),O=$n.get(I);xn.set(I,new Map([...M?.entries()??[],...O?.entries()??[]]))});let oc=[],am=[],lm={};s.forEach(I=>{let{element:M,player:O,instruction:J}=I;if(n.has(M)){if(d.has(M)){O.onDestroy(()=>nn(M,J.toStyles)),O.disabled=!0,O.overrideTotalTime(J.totalTime),r.push(O);return}let Fe=lm;if(ke.size>1){let at=M,Dn=[];for(;at=at.parentNode;){let ye=ke.get(at);if(ye){Fe=ye;break}Dn.push(at)}Dn.forEach(ye=>ke.set(ye,Fe))}let Ht=this._buildAnimation(O.namespaceId,J,_e,o,$n,xn);if(O.setRealPlayer(Ht),Fe===lm)oc.push(O);else{let at=this.playersByElement.get(Fe);at&&at.length&&(O.parentPlayer=Pn(at)),r.push(O)}}else wi(M,J.fromStyles),O.onDestroy(()=>nn(M,J.toStyles)),am.push(O),d.has(M)&&r.push(O)}),am.forEach(I=>{let M=o.get(I.element);if(M&&M.length){let O=Pn(M);I.setRealPlayer(O)}}),r.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I<w.length;I++){let M=w[I],O=M[Bt];if(gr(M,Mf),O&&O.hasAnimation)continue;let J=[];if(a.size){let Ht=a.get(M);Ht&&Ht.length&&J.push(...Ht);let at=this.driver.query(M,Tf,!0);for(let Dn=0;Dn<at.length;Dn++){let ye=a.get(at[Dn]);ye&&ye.length&&J.push(...ye)}}let Fe=J.filter(Ht=>!Ht.destroyed);Fe.length?HT(this,M,Fe):this.processLeaveNode(M)}return w.length=0,oc.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();let M=this.players.indexOf(I);this.players.splice(M,1)}),I.play()}),oc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,n,r,o){let s=[];if(i){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==wo;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(n||r)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,i,n){let r=i.triggerName,o=i.element,s=i.isRemovalTransition?void 0:e,a=i.isRemovalTransition?void 0:r;for(let l of i.timelines){let c=l.element,d=c!==o,u=ht(n,c,[]);this._getPreviousPlayers(c,d,s,a,i.toState).forEach(f=>{let m=f.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),f.destroy(),u.push(f)})}wi(o,i.fromStyles)}_buildAnimation(e,i,n,r,o,s){let a=i.triggerName,l=i.element,c=[],d=new Set,u=new Set,h=i.timelines.map(m=>{let b=m.element;d.add(b);let w=b[Bt];if(w&&w.removedBeforeQueried)return new Rn(m.duration,m.delay);let _=b!==l,L=UT((n.get(b)||LT).map(_e=>_e.getRealPlayer())).filter(_e=>{let ke=_e;return ke.element?ke.element===b:!1}),X=o.get(b),H=s.get(b),Pe=z_(this._normalizer,m.keyframes,X,H),ve=this._buildPlayer(m,Pe,L);if(m.subTimeline&&r&&u.add(b),_){let _e=new Co(e,a,b);_e.setRealPlayer(ve),c.push(_e)}return ve});c.forEach(m=>{ht(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>jT(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>Ct(m,A_));let f=Pn(h);return f.onDestroy(()=>{d.forEach(m=>gr(m,A_)),nn(l,i.toStyles)}),u.forEach(m=>{ht(r,m,[]).push(f)}),f}_buildPlayer(e,i,n){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,n):new Rn(e.duration,e.delay)}},Co=class{constructor(e,i,n){this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new Rn,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,n)=>{i.forEach(r=>$f(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){ht(this._queuedCallbacks,e,[]).push(i)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let i=this._player;i.triggerCallback&&i.triggerCallback(e)}};vr=class{constructor(e,i,n,r){this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new zf(e.body,i,n,r),this._timelineEngine=new jf(e.body,i,n),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,i,n,r,o){let s=e+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=Y_(this._driver,o,l,c);if(l.length)throw $M(r,l);c.length&&void 0,a=AT(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(i,r,a)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,n,r){this._transitionEngine.insertNode(e,i,n,r)}onRemove(e,i,n){this._transitionEngine.removeNode(e,i,n)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,n,r){if(n.charAt(0)=="@"){let[o,s]=M_(n),a=r;this._timelineEngine.command(o,i,s,a)}else this._transitionEngine.trigger(e,i,n,r)}listen(e,i,n,r,o){if(n.charAt(0)=="@"){let[s,a]=M_(n);return this._timelineEngine.listen(s,i,a,o)}return this._transitionEngine.listen(e,i,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};br=class br{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let r=br.initialStylesByElement.get(e);r||br.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&nn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(nn(this._element,this._initialStyles),this._endStyles&&(nn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(br.initialStylesByElement.delete(this._element),this._startStyles&&(wi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wi(this._element,this._endStyles),this._endStyles=null),nn(this._element,this._initialStyles),this._state=3)}};br.initialStylesByElement=new WeakMap;Hf=br;fl=class{constructor(e,i,n,r){this.element=e,this.keyframes=i,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(e,i,n){return e.animate(this._convertKeyframesToObject(i),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&e.set(r,this._finished?n:Zf(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},hl=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return H_(e,i)}getParentElement(e){return Gf(e)}query(e,i,n){return U_(e,i,n)}computeStyle(e,i,n){return Zf(e,i)}animate(e,i,n,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:n,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(f=>f instanceof fl);fT(n,r)&&d.forEach(f=>{f.currentSnapshot.forEach((m,b)=>c.set(b,m))});let u=cT(i).map(f=>new Map(f));u=hT(e,u,c);let h=WT(e,u);return new fl(e,u,l,h)}},rl="@",J_="@.disabled",ml=class{constructor(e,i,n,r){this.namespaceId=e,this.delegate=i,this.engine=n,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,n,r=!0){this.delegate.insertBefore(e,i,n),this.engine.onInsert(this.namespaceId,i,e,r)}removeChild(e,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,n,r){this.delegate.setAttribute(e,i,n,r)}removeAttribute(e,i,n){this.delegate.removeAttribute(e,i,n)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,n,r){this.delegate.setStyle(e,i,n,r)}removeStyle(e,i,n){this.delegate.removeStyle(e,i,n)}setProperty(e,i,n){i.charAt(0)==rl&&i==J_?this.disableAnimations(e,!!n):this.delegate.setProperty(e,i,n)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,n){return this.delegate.listen(e,i,n)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},Uf=class extends ml{constructor(e,i,n,r,o){super(i,n,r,o),this.factory=e,this.namespaceId=i}setProperty(e,i,n){i.charAt(0)==rl?i.charAt(1)=="."&&i==J_?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,i.slice(1),n):this.delegate.setProperty(e,i,n)}listen(e,i,n){if(i.charAt(0)==rl){let r=qT(e),o=i.slice(1),s="";return o.charAt(0)!=rl&&([o,s]=YT(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a)})}return this.delegate.listen(e,i,n)}};pl=class{constructor(e,i,n){this.delegate=e,this.engine=i,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(r,o)=>{let s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(e,i){let n="",r=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new ml(n,r,this.engine,u),c.set(r,d)}return d}let o=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return i.data.animation.forEach(a),new Uf(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>i(n));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([i,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}});function QT(){return new al}function XT(t,e,i){return new pl(t,e,i)}function ty(){return hi("NgEagerAnimations"),[...JT]}var KT,ey,JT,Jj,ny=p(()=>{"use strict";A();A();Ka();Xf();Xf();Me();KT=(()=>{let e=class e extends vr{constructor(n,r,o){super(n,r,o,C(Kr,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(g(B),g(xi),g(Di))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})();ey=[{provide:Di,useFactory:QT},{provide:vr,useClass:KT},{provide:ci,useFactory:XT,deps:[Ya,vr,S]}],JT=[{provide:xi,useFactory:()=>new hl},{provide:Be,useValue:"BrowserAnimations"},...ey],Jj=[{provide:xi,useClass:qf},{provide:Be,useValue:"NoopAnimations"},...ey]});var Jf,iy=p(()=>{"use strict";Ga();ny();Jf={providers:[m_(),ty()]}});function eA(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function tA(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function nA(t){return typeof t=="function"}function iA(t,e){if(!eh){let i=Element.prototype;eh=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?eh.call(t,e):!1}function rA(t,e){return t===e||t!==t&&e!==e}function oA(t){let e={};return t.forEach(({propName:i,templateName:n,transform:r})=>{e[eA(n)]=[i,r]}),e}function sA(t,e){return e.get(mn).resolveComponentFactory(t).inputs}function aA(t,e){let i=t.childNodes,n=e.map(()=>[]),r=-1;e.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=i.length;o<s;++o){let a=i[o],l=lA(a,e,r);l!==-1&&n[l].push(a)}return n}function lA(t,e,i){let n=i;return tA(t)&&e.some((r,o)=>r!=="*"&&iA(t,r)?(n=o,!0):!1),n}function ry(t,e){let i=sA(t,e.injector),n=e.strategyFactory||new th(t,e.injector),r=oA(i),s=class s extends ih{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let u=this[c];delete this[c],l.setInputValue(c,u,d)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,d,u){let[h,f]=r[l];this.ngElementStrategy.setInputValue(h,d,f)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(r);let o=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),o}var gl,eh,cA,th,nh,ih,oy=p(()=>{"use strict";A();Ve();et();gl={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return gl.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return gl.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};cA=10,th=class{constructor(e,i){this.componentFactory=i.get(mn).resolveComponentFactory(e)}create(e){return new nh(this.componentFactory,e)}},nh=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new Kn(1),this.events=this.eventEmitters.pipe(sn(n=>Ot(...n))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:n})=>n)),this.ngZone=this.injector.get(S),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=gl.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},cA))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}rA(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=jt.create({providers:[],parent:this.injector}),n=aA(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Ge),this.implementsOnChanges=nA(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(kn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:r})=>e.instance[n].pipe(re(s=>({name:r,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=gl.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let r=this.unchangedInputs.has(e),o=r?void 0:this.getInputValue(e);this.inputChanges[e]=new qr(o,i,r)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},ih=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}});function fA(){let t=bn()?bn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function Ln(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function py(t){return t!=null&&typeof t.length=="number"}function pA(t){return e=>{if(Ln(e.value)||Ln(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function gA(t){return e=>{if(Ln(e.value)||Ln(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function bA(t){return Ln(t.value)?{required:!0}:null}function vA(t){return t.value===!0?null:{required:!0}}function _A(t){return Ln(t.value)||mA.test(t.value)?null:{email:!0}}function yA(t){return e=>Ln(e.value)||!py(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function wA(t){return e=>py(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function xA(t){if(!t)return gy;let e,i;return typeof t=="string"?(i="",t.charAt(0)!=="^"&&(i+="^"),i+=t,t.charAt(t.length-1)!=="$"&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),n=>{if(Ln(n.value))return null;let r=n.value;return e.test(r)?null:{pattern:{requiredPattern:i,actualValue:r}}}}function gy(t){return null}function by(t){return t!=null}function vy(t){return lo(t)?Je(t):t}function _y(t){let e={};return t.forEach(i=>{e=i!=null?P(P({},e),i):e}),Object.keys(e).length===0?null:e}function yy(t,e){return e.map(i=>i(t))}function DA(t){return!t.validate}function wy(t){return t.map(e=>DA(e)?e:i=>e.validate(i))}function xy(t){if(!t)return null;let e=t.filter(by);return e.length==0?null:function(i){return _y(yy(i,e))}}function lh(t){return t!=null?xy(wy(t)):null}function Dy(t){if(!t)return null;let e=t.filter(by);return e.length==0?null:function(i){let n=yy(i,e).map(vy);return kr(n).pipe(re(_y))}}function ch(t){return t!=null?Dy(wy(t)):null}function sy(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Ey(t){return t._rawValidators}function Cy(t){return t._rawAsyncValidators}function rh(t){return t?Array.isArray(t)?t:[t]:[]}function _l(t,e){return Array.isArray(t)?t.includes(e):t===e}function ay(t,e){let i=rh(e);return rh(t).forEach(r=>{_l(i,r)||i.push(r)}),i}function ly(t,e){return rh(e).filter(i=>!_l(t,i))}function Sy(t){return(Sl(t)?t.validators:t)||null}function CA(t){return Array.isArray(t)?lh(t):t||null}function My(t,e){return(Sl(e)?e.asyncValidators:t)||null}function IA(t){return Array.isArray(t)?ch(t):t||null}function Sl(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function SA(t,e,i){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new x(1e3,"");if(!n[i])throw new x(1001,"")}function MA(t,e,i){t._forEachChild((n,r)=>{if(i[r]===void 0)throw new x(1002,"")})}function TA(t,e){return[...e.path,t]}function Dl(t,e,i=dh){uh(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),OA(t,e),kA(t,e),NA(t,e),AA(t,e)}function cy(t,e,i=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Cl(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function El(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function AA(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function uh(t,e){let i=Ey(t);e.validator!==null?t.setValidators(sy(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=Cy(t);e.asyncValidator!==null?t.setAsyncValidators(sy(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();El(e._rawValidators,r),El(e._rawAsyncValidators,r)}function Cl(t,e){let i=!1;if(t!==null){if(e.validator!==null){let r=Ey(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.validator);o.length!==r.length&&(i=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=Cy(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(i=!0,t.setAsyncValidators(o))}}}let n=()=>{};return El(e._rawValidators,n),El(e._rawAsyncValidators,n),i}function OA(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Ty(t,e)})}function NA(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Ty(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Ty(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function kA(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function Ay(t,e){t==null,uh(t,e)}function FA(t,e){return Cl(t,e)}function RA(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function PA(t){return Object.getPrototypeOf(t.constructor)===dA}function Oy(t,e){t._syncPendingControls(),e.forEach(i=>{let n=i.control;n.updateOn==="submit"&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function LA(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(o=>{o.constructor===Il?i=o:PA(o)?n=o:r=o}),r||n||i||null}function VA(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function dy(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function uy(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var hy,dA,my,uA,hA,Il,sh,ah,mA,vl,yl,Ei,Ci,oh,EA,D2,Iy,Io,bl,_r,So,wl,xl,Ml,dh,jA,Mo,fh,Ny,BA,zA,fy,hh,HA,mh,UA,ky,To=p(()=>{"use strict";A();A();Me();Ve();et();hy=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(v(ur),v(V))},e.\u0275dir=Q({type:e});let t=e;return t})(),dA=(()=>{let e=class e extends hy{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Nu(e)))(o||e)}})(),e.\u0275dir=Q({type:e,features:[wt]});let t=e;return t})(),my=new D(""),uA={provide:my,useExisting:ui(()=>Il),multi:!0};hA=new D(""),Il=(()=>{let e=class e extends hy{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!fA())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(v(ur),v(V),v(hA,8))},e.\u0275dir=Q({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Oe("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Ke([uA]),wt]});let t=e;return t})();sh=new D(""),ah=new D(""),mA=/^(?=.{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])?)*$/,vl=class{static min(e){return pA(e)}static max(e){return gA(e)}static required(e){return bA(e)}static requiredTrue(e){return vA(e)}static email(e){return _A(e)}static minLength(e){return yA(e)}static maxLength(e){return wA(e)}static pattern(e){return xA(e)}static nullValidator(e){return gy(e)}static compose(e){return xy(e)}static composeAsync(e){return Dy(e)}};yl=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=lh(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ch(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},Ei=class extends yl{get formDirective(){return null}get path(){return null}},Ci=class extends yl{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},oh=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},EA={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},D2=Le(P({},EA),{"[class.ng-submitted]":"isSubmitted"}),Iy=(()=>{let e=class e extends oh{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(v(Ci,2))},e.\u0275dir=Q({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&de("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[wt]});let t=e;return t})(),Io="VALID",bl="INVALID",_r="PENDING",So="DISABLED";wl=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Io}get invalid(){return this.status===bl}get pending(){return this.status==_r}get disabled(){return this.status===So}get enabled(){return this.status!==So}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ay(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ay(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(ly(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(ly(e,this._rawAsyncValidators))}hasValidator(e){return _l(this._rawValidators,e)}hasAsyncValidator(e){return _l(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=_r,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=So,this.errors=null,this._forEachChild(n=>{n.disable(Le(P({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Le(P({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Io,this._forEachChild(n=>{n.enable(Le(P({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Le(P({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Io||this.status===_r)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?So:Io}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=_r,this._hasOwnPendingAsyncValidator=!0;let i=vy(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new se,this.statusChanges=new se}_calculateStatus(){return this._allControlsDisabled()?So:this.errors?bl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_r)?_r:this._anyControlsHaveStatus(bl)?bl:Io}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Sl(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=CA(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=IA(this._rawAsyncValidators)}},xl=class extends wl{constructor(e,i,n){super(Sy(i),My(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){MA(this,!0,e),Object.keys(e).forEach(n=>{SA(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>n._syncPendingControls()?!0:i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{let n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}},Ml=new D("CallSetDisabledState",{providedIn:"root",factory:()=>dh}),dh="always";jA={provide:Ei,useExisting:ui(()=>fh)},Mo=Promise.resolve(),fh=(()=>{let e=class e extends Ei{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new se,this.form=new xl({},lh(n),ch(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Mo.then(()=>{let r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Dl(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Mo.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Mo.then(()=>{let r=this._findContainer(n.path),o=new xl({});Ay(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Mo.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Mo.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,Oy(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(r){return new(r||e)(v(sh,10),v(ah,10),v(Ml,8))},e.\u0275dir=Q({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Oe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[y.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ke([jA]),wt]});let t=e;return t})();Ny=class extends wl{constructor(e=null,i,n){super(Sy(i),My(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Sl(i)&&(i.nonNullable||i.initialValueIsDefault)&&(uy(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){dy(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){dy(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){uy(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}},BA=t=>t instanceof Ny,zA={provide:Ci,useExisting:ui(()=>hh)},fy=Promise.resolve(),hh=(()=>{let e=class e extends Ci{constructor(n,r,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Ny,this._registered=!1,this.name="",this.update=new se,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=LA(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),RA(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Dl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){fy.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&fe(r);fy.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?TA(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(v(Ei,9),v(sh,10),v(ah,10),v(my,10),v(Ge,8),v(Ml,8))},e.\u0275dir=Q({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[y.None,"disabled","isDisabled"],model:[y.None,"ngModel","model"],options:[y.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ke([zA]),wt,_t]});let t=e;return t})(),HA={provide:Ei,useExisting:ui(()=>mh)},mh=(()=>{let e=class e extends Ei{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new se,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Cl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return Dl(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){cy(n.control||null,n,!1),VA(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,Oy(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,o=this.form.get(n.path);r!==o&&(cy(r||null,n),BA(o)&&(Dl(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);Ay(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&FA(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){uh(this.form,this),this._oldForm&&Cl(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(v(sh,10),v(ah,10),v(Ml,8))},e.\u0275dir=Q({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Oe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[y.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ke([HA]),wt,_t]});let t=e;return t})(),UA=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})(),ky=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ml,useValue:n.callSetDisabledState??dh}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[UA]});let t=e;return t})()});function $A(){if(Ao==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ao=!0}))}finally{Ao=Ao||!1}return Ao}function Vn(t){return $A()?t:!!t.capture}function Ry(){if(Ii==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ii=!1,Ii;if("scrollBehavior"in document.documentElement.style)Ii=!0;else{let t=Element.prototype.scrollTo;t?Ii=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Ii=!1}}return Ii}function WA(){if(ph==null){let t=typeof document<"u"?document.head:null;ph=!!(t&&(t.createShadowRoot||t.attachShadow))}return ph}function Py(t){if(WA()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function It(t){return t.composedPath?t.composedPath()[0]:t.target}function Oo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var gh,be,Ao,Ii,ph,mt=p(()=>{"use strict";A();A();Me();try{gh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{gh=!1}be=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?o_(this._platformId):typeof document=="object"&&!!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||gh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(r){return new(r||e)(g(Qt))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function zt(t,...e){return e.length?e.some(i=>t[i]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var yr=p(()=>{"use strict"});function wr(t){return t!=null&&`${t}`!="false"}function No(t,e=0){return GA(t)?Number(t):e}function GA(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function xr(t){return Array.isArray(t)?t:[t]}function Te(t){return t==null?"":typeof t=="string"?t:`${t}px`}function _n(t){return t instanceof V?t.nativeElement:t}var Bn=p(()=>{"use strict";A()});var qA,Tl,bh=p(()=>{"use strict";A();qA=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Tl=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({providers:[qA]});let t=e;return t})()});function ZA(t,e){if(!Ly.has(t))try{Si||(Si=document.createElement("style"),e&&Si.setAttribute("nonce",e),Si.setAttribute("type","text/css"),document.head.appendChild(Si)),Si.sheet&&(Si.sheet.insertRule(`@media ${t} {body{ }}`,0),Ly.add(t))}catch(i){console.error(i)}}function KA(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function Vy(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}var Ly,Si,YA,jy,By=p(()=>{"use strict";A();A();Bn();Ve();et();mt();Ly=new Set,YA=(()=>{let e=class e{constructor(n,r){this._platform=n,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):KA}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&ZA(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(r){return new(r||e)(g(be),g(io,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();jy=(()=>{let e=class e{constructor(n,r){this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Vy(xr(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=Vy(xr(n)).map(a=>this._registerQuery(a).observable),s=$c(o);return s=Hi(s.pipe(gt(1)),s.pipe(Lr(1),Rr(0))),s.pipe(re(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),s={observable:new W(a=>{let l=c=>this._zone.run(()=>a.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(Jn(r),re(({matches:a})=>({query:n,matches:a})),oe(this._destroySubject)),mql:r};return this._queries.set(n,s),s}};e.\u0275fac=function(r){return new(r||e)(g(YA),g(S))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function Ch(t,e,i){let n=kl(t,e);i=i.trim(),!n.some(r=>r.trim()===i)&&(n.push(i),t.setAttribute(e,n.join($y)))}function Ll(t,e,i){let n=kl(t,e);i=i.trim();let r=n.filter(o=>o!==i);r.length?t.setAttribute(e,r.join($y)):t.removeAttribute(e)}function kl(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}function vh(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function zy(t,e){t.id||(t.id=`${Wy}-${e}-${yh++}`)}function Ih(t){return t.buttons===0||t.detail===0}function Sh(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}function mO(){return null}var $y,Wy,Al,yh,Gy,wh,Fl,dO,uO,qy,Dr,fO,hO,pO,gO,Yy,Nl,bO,Ol,Vl,Mi,Hy,Uy,_h,Mh,Zy,zn=p(()=>{"use strict";Me();A();A();mt();mt();Ve();yr();et();bh();Bn();By();$y=" ";Wy="cdk-describedby-message",Al="cdk-describedby-host",yh=0,Gy=(()=>{let e=class e{constructor(n,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${yh++}`,this._document=n,this._id=C(no)+"-"+yh++}describe(n,r,o){if(!this._canBeDescribed(n,r))return;let s=vh(r,o);typeof r!="string"?(zy(r,this._id),this._messageRegistry.set(s,{messageElement:r,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(r,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,r,o){if(!r||!this._isElementNode(n))return;let s=vh(r,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof r=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${Al}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(Al);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let o=this._document.createElement("div");zy(o,this._id),o.textContent=n,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(vh(n,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(n){this._messageRegistry.get(n)?.messageElement?.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let s=0;s<r.length;s++)r[s].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(n),o.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(n){let r=kl(n,"aria-describedby").filter(o=>o.indexOf(Wy)!=0);n.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(n,r){let o=this._messageRegistry.get(r);Ch(n,"aria-describedby",o.messageElement.id),n.setAttribute(Al,this._id),o.referenceCount++}_removeMessageReference(n,r){let o=this._messageRegistry.get(r);o.referenceCount--,Ll(n,"aria-describedby",o.messageElement.id),n.removeAttribute(Al)}_isElementDescribedByMessage(n,r){let o=kl(n,"aria-describedby"),s=this._messageRegistry.get(r),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(r){return new(r||e)(g(B),g(be))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();wh=class{constructor(e,i){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new R,this._typeaheadSubscription=ie.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new R,this.change=new R,e instanceof nr?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Ma(e)&&(this._effectRef=tf(()=>this._itemsChanged(e()),{injector:i}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(In(i=>this._pressedLetters.push(i)),Rr(e),Ue(()=>this._pressedLetters.length>0),re(()=>this._pressedLetters.join(""))).subscribe(i=>{let n=this._getItemsArray();for(let r=1;r<n.length+1;r++){let o=(this._activeItemIndex+r)%n.length,s=n[o];if(!this._skipPredicateFn(s)&&s.getLabel().toUpperCase().trim().indexOf(i)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,i=10){return this._pageUpAndDown={enabled:e,delta:i},this}setActiveItem(e){let i=this._activeItem;this.updateActiveItem(e),this._activeItem!==i&&this.change.next(this._activeItemIndex)}onKeydown(e){let i=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(i){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(r||zt(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(i>=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i)));return}this._pressedLetters=[],e.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._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let i=this._getItemsArray(),n=typeof e=="number"?e:i.indexOf(e),r=i[n];this._activeItem=r??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let i=this._getItemsArray();for(let n=1;n<=i.length;n++){let r=(this._activeItemIndex+e*n+i.length)%i.length,o=i[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,i){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=i,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return Ma(this._items)?this._items():this._items instanceof nr?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let i=e.indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}},Fl=class extends wh{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};dO=new D("cdk-input-modality-detector-options"),uO={ignoreKeys:[18,17,224,91,16]},qy=650,Dr=Vn({passive:!0,capture:!0}),fO=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,r,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new Zn(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=It(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<qy||(this._modality.next(Ih(a)?"keyboard":"mouse"),this._mostRecentTarget=It(a))},this._onTouchstart=a=>{if(Sh(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=It(a)},this._options=P(P({},uO),s),this.modalityDetected=this._modality.pipe(Lr(1)),this.modalityChanged=this.modalityDetected.pipe(Ui()),n.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Dr),o.addEventListener("mousedown",this._onMousedown,Dr),o.addEventListener("touchstart",this._onTouchstart,Dr)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Dr),document.removeEventListener("mousedown",this._onMousedown,Dr),document.removeEventListener("touchstart",this._onTouchstart,Dr))}};e.\u0275fac=function(r){return new(r||e)(g(be),g(S),g(B),g(dO,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),hO=new D("liveAnnouncerElement",{providedIn:"root",factory:mO});pO=new D("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),gO=0,Yy=(()=>{let e=class e{constructor(n,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...r){let o=this._defaultOptions,s,a;return r.length===1&&typeof r[0]=="number"?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s<r.length;s++)r[s].remove();return o.classList.add(n),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${gO++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let s=r[o],a=s.getAttribute("aria-owns");a?a.indexOf(n)===-1&&s.setAttribute("aria-owns",a+" "+n):s.setAttribute("aria-owns",n)}}};e.\u0275fac=function(r){return new(r||e)(g(hO,8),g(S),g(B),g(pO,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Nl=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Nl||{}),bO=new D("cdk-focus-monitor-default-options"),Ol=Vn({passive:!0,capture:!0}),Vl=(()=>{let e=class e{constructor(n,r,o,s,a){this._ngZone=n,this._platform=r,this._inputModalityDetector=o,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 R,this._rootNodeFocusAndBlurListener=l=>{let c=It(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=a?.detectionMode||Nl.IMMEDIATE}monitor(n,r=!1){let o=_n(n);if(!this._platform.isBrowser||o.nodeType!==1)return Ye();let s=Py(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;let l={checkChildren:r,subject:new R,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){let r=_n(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){let s=_n(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Nl.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===Nl.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?qy:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,r){let o=this._elementInfo.get(r),s=It(n);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(n,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ol),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ol)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(oe(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ol),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ol),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(r))return!0}return!1}};e.\u0275fac=function(r){return new(r||e)(g(S),g(be),g(fO),g(B,8),g(bO,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mi=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Mi||{}),Hy="cdk-high-contrast-black-on-white",Uy="cdk-high-contrast-white-on-black",_h="cdk-high-contrast-active",Mh=(()=>{let e=class e{constructor(n,r){this._platform=n,this._document=r,this._breakpointSubscription=C(jy).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Mi.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Mi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Mi.BLACK_ON_WHITE}return Mi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(_h,Hy,Uy),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Mi.BLACK_ON_WHITE?n.add(_h,Hy):r===Mi.WHITE_ON_BLACK&&n.add(_h,Uy)}}};e.\u0275fac=function(r){return new(r||e)(g(be),g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Zy=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(r){return new(r||e)(g(Mh))},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[Tl]});let t=e;return t})()});function _O(){return C(B)}function wO(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?yO.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var vO,yO,yn,Hn,Un=p(()=>{"use strict";A();A();Me();vO=new D("cdk-dir-doc",{providedIn:"root",factory:_O});yO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;yn=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new se,n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=wO(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(r){return new(r||e)(g(vO,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})()});function CO(t,e){if(t&1&&me(0,"mat-pseudo-checkbox",1),t&2){let i=pe();ne("disabled",i.disabled)("state",i.selected?"checked":"unchecked")}}function IO(t,e){if(t&1&&me(0,"mat-pseudo-checkbox",3),t&2){let i=pe();ne("disabled",i.disabled)}}function SO(t,e){if(t&1&&(N(0,"span",4),ot(1),j()),t&2){let i=pe();T(),gi("(",i.group.label,")")}}function MO(){return!0}function OO(t,e,i){let n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),r=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+r*r)}function l0(t,e,i){if(i.length){let n=e.toArray(),r=i.toArray(),o=0;for(let s=0;s<t+1;s++)n[s].group&&n[s].group===r[o]&&o++;return o}return 0}function c0(t,e,i,n){return t<i?t:t+e>i+n?Math.max(0,t-n+e):i}var xO,DO,EO,TO,st,zl,r0,St,Nh,Ky,kh,Qy,AO,Xy,Jy,e0,ko,Fh,o0,s0,a0,NO,kO,Ph,Lh,FO,Rh,$l,Vh,t0,n0,Ah,Oh,i0,Bl,d0,Ti=p(()=>{"use strict";A();A();zn();zn();Un();Me();mt();mt();Bn();Ve();yr();xO=["text"],DO=[[["mat-icon"]],"*"],EO=["mat-icon","*"];TO=new D("mat-sanity-checks",{providedIn:"root",factory:MO}),st=(()=>{let e=class e{constructor(n,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return Oo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(r){return new(r||e)(g(Mh),g(TO,8),g(B))},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[Hn,Hn]});let t=e;return t})(),zl=class{constructor(e,i,n,r,o){this._defaultMatcher=e,this.ngControl=i,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,i=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(r,i)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}},r0=(()=>{let e=class e{isErrorState(n,r){return!!(n&&n.invalid&&(n.touched||r&&r.submitted))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),St=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(St||{}),Nh=class{constructor(e,i,n,r=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=St.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Ky=Vn({passive:!0,capture:!0}),kh=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let i=It(e);i&&this._events.get(e.type)?.forEach((n,r)=>{(r===i||r.contains(i))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,i,n,r){let o=this._events.get(i);if(o){let s=o.get(n);s?s.add(r):o.set(n,new Set([r]))}else this._events.set(i,new Map([[n,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,Ky)})}removeHandler(e,i,n){let r=this._events.get(e);if(!r)return;let o=r.get(i);o&&(o.delete(n),o.size===0&&r.delete(i),r.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Ky)))}},Qy={enterDuration:225,exitDuration:150},AO=800,Xy=Vn({passive:!0,capture:!0}),Jy=["mousedown","touchstart"],e0=["mouseup","mouseleave","touchend","touchcancel"],ko=class ko{constructor(e,i,n,r){this._target=e,this._ngZone=i,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=_n(n))}fadeInRipple(e,i,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=P(P({},Qy),n.animation);n.centered&&(e=r.left+r.width/2,i=r.top+r.height/2);let s=n.radius||OO(e,i,r),a=e-r.left,l=i-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),h=u.transitionProperty,f=u.transitionDuration,m=h==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,b=new Nh(this,d,n,m);d.style.transform="scale3d(1, 1, 1)",b.state=St.FADING_IN,n.persistent||(this._mostRecentTransientRipple=b);let w=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let _=()=>this._finishRippleTransition(b),L=()=>this._destroyRipple(b);d.addEventListener("transitionend",_),d.addEventListener("transitioncancel",L),w={onTransitionEnd:_,onTransitionCancel:L}}),this._activeRipples.set(b,w),(m||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(e){if(e.state===St.FADING_OUT||e.state===St.HIDDEN)return;let i=e.element,n=P(P({},Qy),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=St.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let i=_n(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,Jy.forEach(n=>{ko._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{e0.forEach(i=>{this._triggerElement.addEventListener(i,this,Xy)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===St.FADING_IN?this._startFadeOutTransition(e):e.state===St.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=St.VISIBLE,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=St.HIDDEN,i!==null&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){let i=Ih(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+AO;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Sh(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=e.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let i=e.state===St.VISIBLE||e.config.terminateOnPointerUp&&e.state===St.FADING_IN;!e.config.persistent&&i&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Jy.forEach(i=>ko._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&(e0.forEach(i=>e.removeEventListener(i,this,Xy)),this._pointerUpEventsRegistered=!1))}};ko._eventManager=new kh;Fh=ko;o0=new D("mat-ripple-global-options"),s0=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,r,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Fh(this,r,n,o)}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:P(P(P({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{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(n,r=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,r,P(P({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,P(P({},this.rippleConfig),n))}};e.\u0275fac=function(r){return new(r||e)(v(V),v(S),v(be),v(o0,8),v(Be,8))},e.\u0275dir=Q({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&de("mat-ripple-unbounded",o.unbounded)},inputs:{color:[y.None,"matRippleColor","color"],unbounded:[y.None,"matRippleUnbounded","unbounded"],centered:[y.None,"matRippleCentered","centered"],radius:[y.None,"matRippleRadius","radius"],animation:[y.None,"matRippleAnimation","animation"],disabled:[y.None,"matRippleDisabled","disabled"],trigger:[y.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),a0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[st,st]});let t=e;return t})(),NO=(()=>{let e=class e{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(r){return new(r||e)(v(Be,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&de("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Se],decls:0,vars:0,template:function(r,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),kO=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[st]});let t=e;return t})(),Ph=new D("MAT_OPTION_PARENT_COMPONENT"),Lh=new D("MatOptgroup"),FO=0,Rh=class{constructor(e,i=!1){this.source=e,this.isUserInput=i}},$l=(()=>{let e=class e{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(n){this._disabled=n}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,r,o,s){this._element=n,this._changeDetectorRef=r,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${FO++}`,this.onSelectionChange=new se,this._stateChanges=new R}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,r){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!zt(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new Rh(this,n))}};e.\u0275fac=function(r){return new(r||e)(v(V),v(Ge),v(Ph,8),v(Lh,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-option"]],viewQuery:function(r,o){if(r&1&&Ne(xO,7),r&2){let s;le(s=ce())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,o){r&1&&Oe("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),r&2&&(ao("id",o.id),xe("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),de("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[y.HasDecoratorInputTransform,"disabled","disabled",fe]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[We,Se],ngContentSelectors:EO,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(r,o){r&1&&(xt(DO),ue(0,CO,1,2,"mat-pseudo-checkbox",1),De(1),N(2,"span",2,0),De(4,1),j(),ue(5,IO,1,1,"mat-pseudo-checkbox",3)(6,SO,2,1,"span",4),me(7,"div",5)),r&2&&(Ie(0,o.multiple?0:-1),T(5),Ie(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),T(),Ie(6,o.group&&o.group._inert?6:-1),T(),ne("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[NO,s0],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();Vh=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[a0,st,kO]});let t=e;return t})(),t0={capture:!0},n0=["focus","click","mouseenter","touchstart"],Ah="mat-ripple-loader-uninitialized",Oh="mat-ripple-loader-class-name",i0="mat-ripple-loader-centered",Bl="mat-ripple-loader-disabled",d0=(()=>{let e=class e{constructor(){this._document=C(B,{optional:!0}),this._animationMode=C(Be,{optional:!0}),this._globalRippleOptions=C(o0,{optional:!0}),this._platform=C(be),this._ngZone=C(S),this._hosts=new Map,this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;let o=n.target.closest(`[${Ah}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let n of n0)this._document?.addEventListener(n,this._onInteraction,t0)})}ngOnDestroy(){let n=this._hosts.keys();for(let r of n)this.destroyRipple(r);for(let r of n0)this._document?.removeEventListener(r,this._onInteraction,t0)}configureRipple(n,r){n.setAttribute(Ah,""),(r.className||!n.hasAttribute(Oh))&&n.setAttribute(Oh,r.className||""),r.centered&&n.setAttribute(i0,""),r.disabled&&n.setAttribute(Bl,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,r){let o=this._hosts.get(n);if(o){o.disabled=r;return}r?n.setAttribute(Bl,""):n.removeAttribute(Bl)}_createRipple(n){if(!this._document)return;let r=this._hosts.get(n);if(r)return r;n.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",n.getAttribute(Oh)),n.append(o);let s=new s0(new V(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(i0),s.disabled=n.hasAttribute(Bl),this.attachRipple(n,s),s}attachRipple(n,r){n.removeAttribute(Ah),this._hosts.set(n,r)}destroyRipple(n){let r=this._hosts.get(n);r&&(r.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});var RO,PO,LO,VO,jO,BO,f0,h0=p(()=>{"use strict";mt();A();A();zn();Ti();RO=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",PO=["mat-icon-button",""],LO=["*"],VO=new D("MAT_BUTTON_CONFIG"),jO=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],BO=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,r,o,s){this._elementRef=n,this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=C(Vl),this._rippleLoader=C(d0),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=C(VO,{optional:!0}),l=n.nativeElement,c=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of jO)l.hasAttribute(d)&&c.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(r){Jb()},e.\u0275dir=Q({type:e,inputs:{color:"color",disableRipple:[y.HasDecoratorInputTransform,"disableRipple","disableRipple",fe],disabled:[y.HasDecoratorInputTransform,"disabled","disabled",fe],ariaDisabled:[y.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",fe],disabledInteractive:[y.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",fe]},features:[We]});let t=e;return t})(),f0=(()=>{let e=class e extends BO{constructor(n,r,o,s){super(n,r,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(r){return new(r||e)(v(V),v(be),v(S),v(Be,8))},e.\u0275cmp=Ee({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(xe("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),fr(o.color?"mat-"+o.color:""),de("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[wt,Se],attrs:PO,ngContentSelectors:LO,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(xt(),me(0,"span",0),De(1),me(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',RO],encapsulation:2,changeDetection:0});let t=e;return t})()});function HO(){if(Wl===void 0&&(Wl=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Wl=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Wl}function Fo(t){return HO()?.createHTML(t)||t}function m0(t){return Error(`Unable to find icon with the name "${t}"`)}function UO(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function p0(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function g0(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function Gl(t){return t.cloneNode(!0)}function b0(t,e){return t+":"+e}function WO(t){return!!(t.url&&t.options)}function YO(){let t=C(B),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var zO,Wl,wn,$O,GO,qO,v0,ZO,KO,_0,y0=p(()=>{"use strict";A();A();Me();Ve();et();Ga();Ka();zO=["*"];wn=class{constructor(e,i,n){this.url=e,this.svgText=i,this.options=n}},$O=(()=>{let e=class e{constructor(n,r,o,s){this._httpClient=n,this._sanitizer=r,this._errorHandler=s,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=o}addSvgIcon(n,r,o){return this.addSvgIconInNamespace("",n,r,o)}addSvgIconLiteral(n,r,o){return this.addSvgIconLiteralInNamespace("",n,r,o)}addSvgIconInNamespace(n,r,o,s){return this._addSvgIconConfig(n,r,new wn(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,o,s){let a=this._sanitizer.sanitize(rt.HTML,o);if(!a)throw g0(o);let l=Fo(a);return this._addSvgIconConfig(n,r,new wn("",l,s))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,o){return this._addSvgIconSetConfig(n,new wn(r,null,o))}addSvgIconSetLiteralInNamespace(n,r,o){let s=this._sanitizer.sanitize(rt.HTML,r);if(!s)throw g0(r);let a=Fo(s);return this._addSvgIconSetConfig(n,new wn("",a,o))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(rt.RESOURCE_URL,n);if(!r)throw p0(n);let o=this._cachedIconsByUrl.get(r);return o?Ye(Gl(o)):this._loadSvgIconFromConfig(new wn(n,null)).pipe(In(s=>this._cachedIconsByUrl.set(r,s)),re(s=>Gl(s)))}getNamedSvgIcon(n,r=""){let o=b0(r,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(r);return a?this._getSvgFromIconSetConfigs(n,a):zc(m0(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?Ye(Gl(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(re(r=>Gl(r)))}_getSvgFromIconSetConfigs(n,r){let o=this._extractIconWithNameFromAnySet(n,r);if(o)return Ye(o);let s=r.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Os(l=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(rt.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(d)),Ye(null)})));return kr(s).pipe(re(()=>{let a=this._extractIconWithNameFromAnySet(n,r);if(!a)throw m0(n);return a}))}_extractIconWithNameFromAnySet(n,r){for(let o=r.length-1;o>=0;o--){let s=r[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,n,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(In(r=>n.svgText=r),re(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?Ye(null):this._fetchIcon(n).pipe(In(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,o){let s=n.querySelector(`[id="${r}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(Fo("<svg></svg>"));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(n){let r=this._svgElementFromString(Fo("<svg></svg>")),o=n.attributes;for(let s=0;s<o.length;s++){let{name:a,value:l}=o[s];a!=="id"&&r.setAttribute(a,l)}for(let s=0;s<n.childNodes.length;s++)n.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:o}=n,s=o?.withCredentials??!1;if(!this._httpClient)throw UO();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let a=this._sanitizer.sanitize(rt.RESOURCE_URL,r);if(!a)throw p0(r);let l=this._inProgressUrlFetches.get(a);if(l)return l;let c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(re(d=>Fo(d)),Cn(()=>this._inProgressUrlFetches.delete(a)),Pr());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(n,r,o){return this._svgIconConfigs.set(b0(n,r),o),this}_addSvgIconSetConfig(n,r){let o=this._iconSetConfigs.get(n);return o?o.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let o=0;o<this._resolvers.length;o++){let s=this._resolvers[o](r,n);if(s)return WO(s)?new wn(s.url,null,s.options):new wn(s,null)}}};e.\u0275fac=function(r){return new(r||e)(g(ho,8),g(wf),g(B,8),g(it))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();GO=new D("MAT_ICON_DEFAULT_OPTIONS"),qO=new D("mat-icon-location",{providedIn:"root",factory:YO});v0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ZO=v0.map(t=>`[${t}]`).join(", "),KO=/^url\(['"]?#(.*?)['"]?\)$/,_0=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}constructor(n,r,o,s,a,l){this._elementRef=n,this._iconRegistry=r,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ie.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=n.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),r.forEach(o=>n.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let r=this._elementsWithExternalReferences;r&&r.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(ZO),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)v0.forEach(a=>{let l=r[s],c=l.getAttribute(a),d=c?c.match(KO):null;if(d){let u=o.get(l);u||(u=[],o.set(l,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[r,o]=this._splitIconName(n);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(gt(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${r}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(r){return new(r||e)(v(V),v($O),ar("aria-hidden"),v(qO),v(it),v(GO,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(xe("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),fr(o.color?"mat-"+o.color:""),de("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[y.HasDecoratorInputTransform,"inline","inline",fe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[We,Se],ngContentSelectors:zO,decls:1,vars:0,template:function(r,o){r&1&&(xt(),De(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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});let t=e;return t})()});var w0,x0=p(()=>{"use strict";Ga();A();A();w0=(()=>{var e;let i=class i{constructor(){Ho(this,e,C(ho))}play(r,o,s){if(o==="lv-LV-general"){let a={"X-Api-Key":s};return Ir(this,e).get(`https://services.tilde.com/service/tts?system=${o}&text=${r}`,{headers:a,responseType:"blob"})}return Ir(this,e).post(`https://runa.tilde.lv/client/say/?text=${r}&voice=${o}`,null,{responseType:"blob"})}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=E({token:i,factory:i.\u0275fac,providedIn:"root"});let t=i;return t})()});function XO(t,e){if(t&1&&(to(),N(0,"svg",11),me(1,"circle",12),j()),t&2){let i=pe();xe("viewBox",i._viewBox()),T(),pn("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeCircumference()/2,"px")("stroke-width",i._circleStrokeWidth(),"%"),xe("r",i._circleRadius())}}function eN(){return{diameter:D0}}var QO,JO,D0,tN,E0,C0=p(()=>{"use strict";A();A();Me();QO=["determinateSpinner"];JO=new D("mat-progress-spinner-default-options",{providedIn:"root",factory:eN});D0=100,tN=10,E0=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}constructor(n,r,o){this._elementRef=n,this._defaultColor="primary",this._value=0,this._diameter=D0,this._noopAnimations=r==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=n.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,n||0))}get diameter(){return this._diameter}set diameter(n){this._diameter=n||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(n){this._strokeWidth=n||0}_circleRadius(){return(this.diameter-tN)/2}_viewBox(){let n=this._circleRadius()*2+this.strokeWidth;return`0 0 ${n} ${n}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(r){return new(r||e)(v(V),v(Be,8),v(JO))},e.\u0275cmp=Ee({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(r,o){if(r&1&&Ne(QO,5),r&2){let s;le(s=ce())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(r,o){r&2&&(xe("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),fr("mat-"+o.color),pn("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),de("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[y.HasDecoratorInputTransform,"value","value",gn],diameter:[y.HasDecoratorInputTransform,"diameter","diameter",gn],strokeWidth:[y.HasDecoratorInputTransform,"strokeWidth","strokeWidth",gn]},exportAs:["matProgressSpinner"],standalone:!0,features:[We,Se],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(r,o){if(r&1&&(ue(0,XO,2,8,"ng-template",null,0,Oa),N(2,"div",2,1),to(),N(4,"svg",3),me(5,"circle",4),j()(),ub(),N(6,"div",5)(7,"div",6)(8,"div",7),so(9,8),j(),N(10,"div",9),so(11,8),j(),N(12,"div",10),so(13,8),j()()()),r&2){let s=pi(1);T(4),xe("viewBox",o._viewBox()),T(),pn("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),xe("r",o._circleRadius()),T(4),ne("ngTemplateOutlet",s),T(2),ne("ngTemplateOutlet",s),T(2),ne("ngTemplateOutlet",s)}},dependencies:[Va],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let t=e;return t})()});var ql,I0=p(()=>{"use strict";ql={en:{selectVoice:"Demo voices (currently only for Latvian language)",placeholder:'Enter text to listen to a demonstration of the text-to-speech technology. Remember, this service can only be used in accordance with its terms of use (see the "Frequently asked questions" section). It is not permitted to use this service for texts that contain offensive, indecent, defamatory, misleading, hateful, or discriminatory statements. Violation of the terms of use may result in liability as stipulated by the laws of the Republic of Latvia. A maximum of 1000 characters will be spoken.',playDisabled:"Enter text to play",play:"Play",stop:"Stop",voiceList:{sandra4:"Voice 1","lv-LV-general":"Voice 2"}},lv:{selectVoice:"Demo balsis (\u0161obr\u012Bd tikai Latvie\u0161u valod\u0101)",placeholder:"Ievadi tekstu, lai noklaus\u012Btos balss sint\u0113zes tehnolo\u0123ijas demonstr\u0101ciju. Atceries, ka \u0161o pakalpojumu var lietot tikai atbilsto\u0161i t\u0101 lieto\u0161anas noteikumiem (skat\u012Bt sada\u013Cu \u201CBie\u017E\u0101k uzdotie jaut\u0101jumi\u201D)! To nav at\u013Cauts izmantot tekstiem, kas satur aizskaro\u0161us, nepiekl\u0101j\u012Bgus, apmelojo\u0161us, maldino\u0161us, naidu vai diskrimin\u0101ciju veicino\u0161us apgalvojumus. Par lieto\u0161anas noteikumu p\u0101rk\u0101pumu var iest\u0101ties LR likumos noteikt\u0101 atbild\u012Bba. Tiks izrun\u0101ti ne vair\u0101k k\u0101 1000 simboli.",playDisabled:"Ievadi tekstu, lai atska\u0146ot to",play:"Atska\u0146ot",stop:"Apst\u0101din\u0101t",voiceList:{sandra4:"Balss 1","lv-LV-general":"Balss 2"}}}});var Yl,S0=p(()=>{"use strict";Ve();Yl=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,i,n=!0,r){this._multiple=e,this._emitChanges=n,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,i&&i.length&&(e?i.forEach(o=>this._markSelected(o)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...e){this._verifyValueAssignment(e);let i=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),i.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let i=this._hasQueuedChanges();return e&&this._emitChangeEvent(),i}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,i){if(this.compareWith){i=i??this._selection;for(let n of i)if(this.compareWith(e,n))return n;return e}else return e}}});var iN,Ro,rN,Cr,Er,jh,Ai=p(()=>{"use strict";Bn();A();Ve();et();mt();Me();Un();iN=20,Ro=(()=>{let e=class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=iN){return this._platform.isBrowser?new W(r=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(As(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Ye()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){let o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(Ue(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=_n(r),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return Fr(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(r){return new(r||e)(g(S),g(be),g(B,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),rN=20,Cr=(()=>{let e=class e{constructor(n,r,o){this._platform=n,this._change=new R,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,l=-s.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(n=rN){return n>0?this._change.pipe(As(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(r){return new(r||e)(g(be),g(S),g(B,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Er=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})(),jh=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[Hn,Er,Hn,Er]});let t=e;return t})()});var Po,Lo,Vo,Bh,zh,Zl,T0,Hh=p(()=>{"use strict";A();A();Po=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Lo=class extends Po{constructor(e,i,n,r,o){super(),this.component=e,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}},Vo=class extends Po{constructor(e,i,n,r){super(),this.templateRef=e,this.viewContainerRef=i,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,i=this.context){return this.context=i,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Bh=class extends Po{constructor(e){super(),this.element=e instanceof V?e.nativeElement:e}},zh=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Lo)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Vo)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Bh)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Zl=class extends zh{constructor(e,i,n,r,o){super(),this.outletElement=e,this._componentFactoryResolver=i,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let 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(e){let n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(e.injector||this._defaultInjector||jt.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=e,r}attachTemplatePortal(e){let i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=i.indexOf(n);r!==-1&&i.remove(r)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},T0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})()});function Wh(t,e){return e.some(i=>{let n=t.bottom<i.top,r=t.top>i.bottom,o=t.right<i.left,s=t.left>i.right;return n||r||o||s})}function O0(t,e){return e.some(i=>{let n=t.top<i.top,r=t.bottom>i.bottom,o=t.left<i.left,s=t.right>i.right;return n||r||o||s})}function Oi(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function k0(t){if(typeof t!="number"&&t!=null){let[e,i]=t.split(lN);return!i||i==="px"?parseFloat(e):null}return t||null}function F0(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function cN(t,e){return t===e?!0:t.isOriginClipped===e.isOriginClipped&&t.isOriginOutsideView===e.isOriginOutsideView&&t.isOverlayClipped===e.isOverlayClipped&&t.isOverlayOutsideView===e.isOverlayOutsideView}function hN(t){return()=>t.scrollStrategies.reposition()}var A0,Uh,$h,Kl,Gh,oN,Ql,qh,P0,sN,aN,L0,Yh,N0,lN,Zh,R0,Kh,dN,uN,Mt,fN,V0,jo,Xh,mN,Xl,Jl=p(()=>{"use strict";Ai();Ai();Ai();Me();Me();A();A();Bn();mt();mt();et();Un();Un();Hh();Ve();yr();A0=Ry(),Uh=class{constructor(e,i){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Te(-this._previousScrollPosition.left),e.style.top=Te(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,i=this._document.body,n=e.style,r=i.style,o=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),A0&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),A0&&(n.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}},$h=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Ue(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Kl=class{enable(){}disable(){}attach(){}};Gh=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();Wh(i,[{width:n,height:r,bottom:r,right:n,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}},oN=(()=>{let e=class e{constructor(n,r,o,s){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new Kl,this.close=a=>new $h(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Uh(this._viewportRuler,this._document),this.reposition=a=>new Gh(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(r){return new(r||e)(g(Ro),g(Cr),g(S),g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ql=class{constructor(e){if(this.scrollStrategy=new Kl,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let i=Object.keys(e);for(let n of i)e[n]!==void 0&&(this[n]=e[n])}}},qh=class{constructor(e,i){this.connectionPair=e,this.scrollableViewProperties=i}},P0=(()=>{let e=class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),sN=(()=>{let e=class e extends P0{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(n){super.add(n),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)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(S,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),aN=(()=>{let e=class e extends P0{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=It(s)},this._clickListener=s=>{let a=It(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(n){if(super.add(n),!this._isAttached){let r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(be),g(S,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),L0=(()=>{let e=class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||Oo()){let o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}let r=this._document.createElement("div");r.classList.add(n),Oo()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}};e.\u0275fac=function(r){return new(r||e)(g(B),g(be))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yh=class{constructor(e,i,n,r,o,s,a,l,c,d=!1){this._portalOutlet=e,this._host=i,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new R,this._attachments=new R,this._detachments=new R,this._locationChanges=ie.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,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(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let i=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(gt(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),typeof i?.onDestroy=="function"&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let 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),this._host?.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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=P(P({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Le(P({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Te(this._config.width),e.height=Te(this._config.height),e.minWidth=Te(this._config.minWidth),e.minHeight=Te(this._config.minHeight),e.maxWidth=Te(this._config.maxWidth),e.maxHeight=Te(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,i,n){let r=xr(i||[]).filter(o=>!!o);r.length&&(n?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(oe(Ot(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},N0="cdk-overlay-connected-position-bounding-box",lN=/([A-Za-z%]+)$/,Zh=class{get positions(){return this._preferredPositions}constructor(e,i,n,r,o){this._viewportRuler=i,this._document=n,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=ie.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(N0),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}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();let e=this._originRect,i=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,i,a),d=this._getOverlayFit(c,i,n,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){o.push({position:a,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:i})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Oi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(N0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,i)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,i,n){let r;if(n.originX=="center")r=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r=n.originX=="start"?s:a}i.left<0&&(r-=i.left);let o;return n.originY=="center"?o=e.top+e.height/2:o=n.originY=="top"?e.top:e.bottom,i.top<0&&(o-=i.top),{x:r,y:o}}_getOverlayPoint(e,i,n){let r;n.overlayX=="center"?r=-i.width/2:n.overlayX==="start"?r=this._isRtl()?-i.width:0:r=this._isRtl()?0:-i.width;let o;return n.overlayY=="center"?o=-i.height/2:o=n.overlayY=="top"?0:-i.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,i,n,r){let o=F0(i),{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-n.width,h=0-a,f=a+o.height-n.height,m=this._subtractOverflows(o.width,d,u),b=this._subtractOverflows(o.height,h,f),w=m*b;return{visibleArea:w,isCompletelyWithinViewport:o.width*o.height===w,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(e,i,n){if(this._hasFlexibleDimensions){let r=n.bottom-i.y,o=n.right-i.x,s=k0(this._overlayRef.getConfig().minHeight),a=k0(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=r,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let r=F0(i),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),c=Math.max(o.left-n.left-e.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=e.x<this._viewportMargin?o.left-n.left-e.x:0,r.height<=o.height?u=l||-a:u=e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,i){if(this._setTransformOrigin(e),this._setOverlayElementStyles(i,e),this._setBoundingBoxStyles(i,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!cN(this._lastScrollVisibility,n)){let r=new qh(e,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let i=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let o=0;o<i.length;o++)i[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,i){let n=this._viewportRect,r=this._isRtl(),o,s,a;if(i.overlayY==="top")s=e.y,o=n.height-s+this._viewportMargin;else if(i.overlayY==="bottom")a=n.height-e.y+this._viewportMargin*2,o=n.height-a+this._viewportMargin;else{let f=Math.min(n.bottom-e.y+n.top,e.y),m=this._lastBoundingBoxSize.height;o=f*2,s=e.y-f,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-m/2)}let l=i.overlayX==="start"&&!r||i.overlayX==="end"&&r,c=i.overlayX==="end"&&!r||i.overlayX==="start"&&r,d,u,h;if(c)h=n.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=n.right-e.x;else{let f=Math.min(n.right-e.x+n.left,e.x),m=this._lastBoundingBoxSize.width;d=f*2,u=e.x-f,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-m/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(e,i){let n=this._calculateBoundingBoxRect(e,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Te(n.height),r.top=Te(n.top),r.bottom=Te(n.bottom),r.width=Te(n.width),r.left=Te(n.left),r.right=Te(n.right),i.overlayX==="center"?r.alignItems="center":r.alignItems=i.overlayX==="end"?"flex-end":"flex-start",i.overlayY==="center"?r.justifyContent="center":r.justifyContent=i.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Te(o)),s&&(r.maxWidth=Te(s))}this._lastBoundingBoxSize=n,Oi(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Oi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Oi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,i){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Oi(n,this._getExactOverlayY(i,e,d)),Oi(n,this._getExactOverlayX(i,e,d))}else n.position="static";let a="",l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(r?n.maxHeight=Te(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=Te(s.maxWidth):o&&(n.maxWidth="")),Oi(this._pane.style,n)}_getExactOverlayY(e,i,n){let r={top:"",bottom:""},o=this._getOverlayPoint(i,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=Te(o.y);return r}_getExactOverlayX(e,i,n){let r={left:"",right:""},o=this._getOverlayPoint(i,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=Te(o.x);return r}_getScrollVisibility(){let e=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:O0(e,n),isOriginOutsideView:Wh(e,n),isOverlayClipped:O0(i,n),isOverlayOutsideView:Wh(i,n)}}_subtractOverflows(e,...i){return i.reduce((n,r)=>n-Math.max(r,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:e-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,i){return i==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&xr(e).forEach(i=>{i!==""&&this._appliedPanelClasses.indexOf(i)===-1&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof V)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let i=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+i,height:n,width:i}}};R0="cdk-global-overlay-wrapper",Kh=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let i=e.getConfig();this._overlayRef=e,this._width&&!i.width&&e.updateSize({width:this._width}),this._height&&!i.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(R0),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=n,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",f="",m="",b="";l?b="flex-start":d==="center"?(b="center",h?m=u:f=u):h?d==="left"||d==="end"?(b="flex-end",f=u):(d==="right"||d==="start")&&(b="flex-start",m=u):d==="left"||d==="start"?(b="flex-start",f=u):(d==="right"||d==="end")&&(b="flex-end",m=u),e.position=this._cssPosition,e.marginLeft=l?"0":f,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":m,i.justifyContent=b,i.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(R0),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},dN=(()=>{let e=class e{constructor(n,r,o,s){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new Kh}flexibleConnectedTo(n){return new Zh(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(r){return new(r||e)(g(Cr),g(B),g(be),g(L0))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),uN=0,Mt=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d,u,h,f,m){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=h,this._outsideClickDispatcher=f,this._animationsModuleType=m}create(n){let r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new Ql(n);return a.direction=a.direction||this._directionality.value,new Yh(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(n){let r=this._document.createElement("div");return r.id=`cdk-overlay-${uN++}`,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(kn)),new Zl(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(r){return new(r||e)(g(oN),g(L0),g(mn),g(dN),g(sN),g(jt),g(S),g(B),g(yn),g(af),g(aN),g(Be,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fN=[{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"}],V0=new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Mt);return()=>t.scrollStrategies.reposition()}}),jo=(()=>{let e=class e{constructor(n){this.elementRef=n}};e.\u0275fac=function(r){return new(r||e)(v(V))},e.\u0275dir=Q({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let t=e;return t})(),Xh=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(n){this._disposeOnNavigation=n}constructor(n,r,o,s,a){this._overlay=n,this._dir=a,this._backdropSubscription=ie.EMPTY,this._attachSubscription=ie.EMPTY,this._detachSubscription=ie.EMPTY,this._positionSubscription=ie.EMPTY,this._disposeOnNavigation=!1,this._ngZone=C(S),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new se,this.positionChange=new se,this.attach=new se,this.detach=new se,this.overlayKeydown=new se,this.overlayOutsideClick=new se,this._templatePortal=new Vo(r,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=fN);let n=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!zt(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),s=It(r);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Ql({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(n){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return n.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let n=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof jo?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof jo?this.origin.elementRef.nativeElement:this.origin instanceof V?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_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(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Jc(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)(v(Mt),v(Pt),v(ut),v(V0),v(yn,8))},e.\u0275dir=Q({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[y.None,"cdkConnectedOverlayOrigin","origin"],positions:[y.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[y.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[y.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[y.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[y.None,"cdkConnectedOverlayWidth","width"],height:[y.None,"cdkConnectedOverlayHeight","height"],minWidth:[y.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[y.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[y.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[y.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[y.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[y.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[y.None,"cdkConnectedOverlayOpen","open"],disableClose:[y.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[y.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[y.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",fe],lockPosition:[y.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",fe],flexibleDimensions:[y.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",fe],growAfterOpen:[y.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",fe],push:[y.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",fe],disposeOnNavigation:[y.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",fe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[We,_t]});let t=e;return t})();mN={provide:V0,deps:[Mt],useFactory:hN},Xl=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({providers:[Mt,mN],imports:[Hn,T0,jh,jh]});let t=e;return t})()});function bN(t){return()=>t.scrollStrategies.reposition({scrollThrottle:z0})}function _N(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var gN,z0,H0,vN,yN,j0,B0,wN,xN,DN,EN,U0,CN,$0,Jh=p(()=>{"use strict";et();Bn();yr();A();A();Me();mt();mt();zn();zn();Un();Jl();Jl();Hh();Ve();Ai();Ti();gN=["tooltip"],z0=20,H0=new D("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Mt);return()=>t.scrollStrategies.reposition({scrollThrottle:z0})}});vN={provide:H0,deps:[Mt],useFactory:bN};yN=new D("mat-tooltip-default-options",{providedIn:"root",factory:_N}),j0="tooltip-panel",B0=Vn({passive:!0}),wN=8,xN=8,DN=24,EN=200,U0=(()=>{let e=class e{get position(){return this._position}set position(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(n){this._positionAtOrigin=wr(n),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(n){this._disabled=wr(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(n){this._showDelay=No(n)}get hideDelay(){return this._hideDelay}set hideDelay(n){this._hideDelay=No(n),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(n){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=n!=null?String(n).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(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(n,r,o,s,a,l,c,d,u,h,f,m){this._overlay=n,this._elementRef=r,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=d,this._dir=h,this._defaultOptions=f,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=CN,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new R,this._scrollStrategy=u,this._document=m,f&&(this._showDelay=f.showDelay,this._hideDelay=f.hideDelay,f.position&&(this.position=f.position),f.positionAtOrigin&&(this.positionAtOrigin=f.positionAtOrigin),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe(oe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=wN}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(oe(this._destroyed)).subscribe(n=>{n?n==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,o])=>{n.removeEventListener(r,o,B0)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}show(n=this.showDelay,r){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(r);this._detach(),this._portal=this._portal||new Lo(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(oe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(n)}hide(n=this.hideDelay){let r=this._tooltipInstance;r&&(r.isVisible()?r.hide(n):(r._cancelPendingAnimations(),this._detach()))}toggle(n){this._isTooltipVisible()?this.hide():this.show(void 0,n)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(n){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!n)&&s._origin instanceof V)return this._overlayRef;this._detach()}let r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?n||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return o.positionChanges.pipe(oe(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${j0}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(oe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(oe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(oe(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!zt(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(n){let r=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(P(P({},o.main),s.main)),this._addOffset(P(P({},o.fallback),s.fallback))])}_addOffset(n){let r=xN,o=!this._dir||this._dir.value=="ltr";return n.originY==="top"?n.offsetY=-r:n.originY==="bottom"?n.offsetY=r:n.originX==="start"?n.offsetX=o?-r:r:n.originX==="end"&&(n.offsetX=o?r:-r),n}_getOrigin(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"||r=="below"?o={originX:"center",originY:r=="above"?"top":"bottom"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={originX:"start",originY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"?o={overlayX:"center",overlayY:"bottom"}:r=="below"?o={overlayX:"center",overlayY:"top"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={overlayX:"end",overlayY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(gt(1),oe(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}_invertPosition(n,r){return this.position==="above"||this.position==="below"?r==="top"?r="bottom":r==="bottom"&&(r="top"):n==="end"?n="start":n==="start"&&(n="end"),{x:n,y:r}}_updateCurrentPositionClass(n){let{overlayY:r,originX:o,originY:s}=n,a;if(r==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=r==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let c=`${this._cssClassPrefix}-${j0}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",n=>{this._setupPointerExitEventsIfNeeded();let r;n.x!==void 0&&n.y!==void 0&&(r=n),this.show(void 0,r)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",n=>{let r=n.targetTouches?.[0],o=r?{x:r.clientX,y:r.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",r=>{let o=r.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};n.push(["touchend",r],["touchcancel",r])}this._addListeners(n),this._passiveListeners.push(...n)}_addListeners(n){n.forEach(([r,o])=>{this._elementRef.nativeElement.addEventListener(r,o,B0)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(n){if(this._isTooltipVisible()){let r=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;r!==o&&!o.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){let n=this.touchGestures;if(n!=="off"){let r=this._elementRef.nativeElement,o=r.style;(n==="on"||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(n==="on"||!r.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(r){return new(r||e)(v(Mt),v(V),v(Ro),v(ut),v(S),v(be),v(Gy),v(Vl),v(H0),v(yn),v(yN,8),v(B))},e.\u0275dir=Q({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(r,o){r&2&&de("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[y.None,"matTooltipPosition","position"],positionAtOrigin:[y.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[y.None,"matTooltipDisabled","disabled"],showDelay:[y.None,"matTooltipShowDelay","showDelay"],hideDelay:[y.None,"matTooltipHideDelay","hideDelay"],touchGestures:[y.None,"matTooltipTouchGestures","touchGestures"],message:[y.None,"matTooltip","message"],tooltipClass:[y.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let t=e;return t})(),CN=(()=>{let e=class e{constructor(n,r,o){this._changeDetectorRef=n,this._elementRef=r,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(n){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},n)}hide(n){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},n)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:n}){(!n||!this._triggerElement.contains(n))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let n=this._elementRef.nativeElement.getBoundingClientRect();return n.height>DN&&n.width>=EN}_handleAnimationEnd({animationName:n}){(n===this._showAnimation||n===this._hideAnimation)&&this._finalizeAnimation(n===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(n){n?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(n){let r=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(r.classList.remove(n?s:o),r.classList.add(n?o:s),this._isVisible!==n&&(this._isVisible=n,this._changeDetectorRef.markForCheck()),n&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(r);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}n&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(n))}};e.\u0275fac=function(r){return new(r||e)(v(Ge),v(V),v(Be,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&Ne(gN,7),r&2){let s;le(s=ce())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(r,o){r&1&&Oe("mouseleave",function(a){return o._handleMouseLeave(a)}),r&2&&pn("zoom",o.isVisible()?1:null)},standalone:!0,features:[Se],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(r,o){if(r&1){let s=mi();N(0,"div",1,0),Oe("animationend",function(l){return Lt(s),Vt(o._handleAnimationEnd(l))}),N(2,"div",2),ot(3),j()()}r&2&&(de("mdc-tooltip--multiline",o._isMultiline),ne("ngClass",o.tooltipClass),T(3),Jt(o.message))},dependencies:[La],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let t=e;return t})(),$0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({providers:[vN],imports:[Zy,Et,Xl,st,st,Er]});let t=e;return t})()});var em,W0,G0=p(()=>{"use strict";A();A();Ve();et();em=class{constructor(e){this._box=e,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(i=>this._resizeSubject.next(i)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new W(i=>{let n=this._resizeSubject.subscribe(i);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),n.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Ue(i=>i.some(n=>n.target===e)),Ns({bufferSize:1,refCount:!0}),oe(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},W0=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=C(S),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,n]of this._observers)n.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(n,r){let o=r?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new em(o)),this._observers.get(o).observe(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function RN(t,e){t&1&&me(0,"span",17)}function PN(t,e){if(t&1&&(N(0,"label",16),De(1,1),ue(2,RN,1,0,"span",17),j()),t&2){let i=pe(2);ne("floating",i._shouldLabelFloat())("monitorResize",i._hasOutline())("id",i._labelId),xe("for",i._control.disableAutomaticLabeling?null:i._control.id),T(2),Ie(2,!i.hideRequiredMarker&&i._control.required?2:-1)}}function LN(t,e){if(t&1&&ue(0,PN,3,5,"label",16),t&2){let i=pe();Ie(0,i._hasFloatingLabel()?0:-1)}}function VN(t,e){t&1&&me(0,"div",5)}function jN(t,e){}function BN(t,e){if(t&1&&ue(0,jN,0,0,"ng-template",11),t&2){pe(2);let i=pi(1);ne("ngTemplateOutlet",i)}}function zN(t,e){if(t&1&&(N(0,"div",7),ue(1,BN,1,1,null,11),j()),t&2){let i=pe();ne("matFormFieldNotchedOutlineOpen",i._shouldLabelFloat()),T(),Ie(1,i._forceDisplayInfixLabel()?-1:1)}}function HN(t,e){t&1&&(N(0,"div",8,2),De(2,2),j())}function UN(t,e){t&1&&(N(0,"div",9,3),De(2,3),j())}function $N(t,e){}function WN(t,e){if(t&1&&ue(0,$N,0,0,"ng-template",11),t&2){pe();let i=pi(1);ne("ngTemplateOutlet",i)}}function GN(t,e){t&1&&(N(0,"div",12),De(1,4),j())}function qN(t,e){t&1&&(N(0,"div",13),De(1,5),j())}function YN(t,e){t&1&&me(0,"div",14)}function ZN(t,e){if(t&1&&(N(0,"div",18),De(1,6),j()),t&2){let i=pe();ne("@transitionMessages",i._subscriptAnimationState)}}function KN(t,e){if(t&1&&(N(0,"mat-hint",20),ot(1),j()),t&2){let i=pe(2);ne("id",i._hintLabelId),T(),Jt(i.hintLabel)}}function QN(t,e){if(t&1&&(N(0,"div",19),ue(1,KN,2,2,"mat-hint",20),De(2,7),me(3,"div",21),De(4,8),j()),t&2){let i=pe();ne("@transitionMessages",i._subscriptAnimationState),T(),Ie(1,i.hintLabel?1:-1)}}function n1(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let i=e.cloneNode(!0);i.style.setProperty("position","absolute"),i.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(i);let n=i.scrollWidth;return i.remove(),n}var SN,MN,TN,AN,ON,NN,kN,FN,tc,XN,JN,q0,e1,t1,tw,Y0,Z0,ec,K0,Q0,i1,tm,nm,r1,X0,J0,o1,ew,s1,nw,nc,ic=p(()=>{"use strict";A();A();Un();mt();Ve();et();G0();Bn();Ja();Me();bh();Ti();SN=["notch"],MN=["matFormFieldNotchedOutline",""],TN=["*"],AN=["textField"],ON=["iconPrefixContainer"],NN=["textPrefixContainer"],kN=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],FN=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];tc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Q({type:e,selectors:[["mat-label"]],standalone:!0});let t=e;return t})(),XN=new D("MatError"),JN=0,q0=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${JN++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Q({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,o){r&2&&(ao("id",o.id),xe("align",null),de("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let t=e;return t})(),e1=new D("MatPrefix"),t1=new D("MatSuffix"),tw=new D("FloatingLabelParent"),Y0=(()=>{let e=class e{get floating(){return this._floating}set floating(n){this._floating=n,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(n){this._monitorResize=n,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(n){this._elementRef=n,this._floating=!1,this._monitorResize=!1,this._resizeObserver=C(W0),this._ngZone=C(S),this._parent=C(tw),this._resizeSubscription=new ie}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return n1(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(r){return new(r||e)(v(V))},e.\u0275dir=Q({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,o){r&2&&de("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let t=e;return t})();Z0="mdc-line-ripple--active",ec="mdc-line-ripple--deactivating",K0=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(ec);o.propertyName==="opacity"&&a&&s.remove(Z0,ec)},r.runOutsideAngular(()=>{n.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let n=this._elementRef.nativeElement.classList;n.remove(ec),n.add(Z0)}deactivate(){this._elementRef.nativeElement.classList.add(ec)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(r){return new(r||e)(v(V),v(S))},e.\u0275dir=Q({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let t=e;return t})(),Q0=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._ngZone=r,this.open=!1}ngAfterViewInit(){let n=this._elementRef.nativeElement.querySelector(".mdc-floating-label");n?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(n){!this.open||!n?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${n}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(r){return new(r||e)(v(V),v(S))},e.\u0275cmp=Ee({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,o){if(r&1&&Ne(SN,5),r&2){let s;le(s=ce())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,o){r&2&&de("mdc-notched-outline--notched",o.open)},inputs:{open:[y.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Se],attrs:MN,ngContentSelectors:TN,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(r,o){r&1&&(xt(),me(0,"div",1),N(1,"div",2,0),De(3),j(),me(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),i1={transitionMessages:vo("transitionMessages",[Qa("enter",tn({opacity:1,transform:"translateY(0%)"})),pr("void => enter",[tn({opacity:0,transform:"translateY(-5px)"}),_o("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},tm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Q({type:e});let t=e;return t})(),nm=new D("MatFormField"),r1=new D("MAT_FORM_FIELD_DEFAULT_OPTIONS"),X0=0,J0="fill",o1="auto",ew="fixed",s1="translateY(-50%)",nw=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(n){this._hideRequiredMarker=wr(n)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||o1}set floatLabel(n){n!==this._floatLabel&&(this._floatLabel=n,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(n){let r=this._appearance,o=n||this._defaults?.appearance||J0;this._appearance=o,this._appearance==="outline"&&this._appearance!==r&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||ew}set subscriptSizing(n){this._subscriptSizing=n||this._defaults?.subscriptSizing||ew}get hintLabel(){return this._hintLabel}set hintLabel(n){this._hintLabel=n,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(n){this._explicitFormFieldControl=n}constructor(n,r,o,s,a,l,c,d){this._elementRef=n,this._changeDetectorRef=r,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=J0,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${X0++}`,this._hintLabelId=`mat-mdc-hint-${X0++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let n=this._control;n.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${n.controlType}`),n.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),n.ngControl&&n.ngControl.valueChanges&&n.ngControl.valueChanges.pipe(oe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(n=>!n._isText),this._hasTextPrefix=!!this._prefixChildren.find(n=>n._isText),this._hasIconSuffix=!!this._suffixChildren.find(n=>!n._isText),this._hasTextSuffix=!!this._suffixChildren.find(n=>n._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Ot(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(oe(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(oe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(n){let r=this._control?this._control.ngControl:null;return r&&r[n]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let n=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&n.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?n.push(r.id):this._hintLabel&&n.push(this._hintLabelId),o&&n.push(o.id)}else this._errorChildren&&n.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(n)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let n=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){n.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let r=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=r?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${s+a}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;n.style.transform=`var(
|
|
9
|
+
--mat-mdc-form-field-label-transform,
|
|
10
|
+
${s1} translateX(${u})
|
|
11
|
+
)`}_isAttachedToDom(){let n=this._elementRef.nativeElement;if(n.getRootNode){let r=n.getRootNode();return r&&r!==n}return document.documentElement.contains(n)}};e.\u0275fac=function(r){return new(r||e)(v(V),v(Ge),v(S),v(yn),v(be),v(r1,8),v(Be,8),v(B))},e.\u0275cmp=Ee({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,o,s){if(r&1&&(Dt(s,tc,5),Dt(s,tc,7),Dt(s,tm,5),Dt(s,e1,5),Dt(s,t1,5),Dt(s,XN,5),Dt(s,q0,5)),r&2){let a;le(a=ce())&&(o._labelChildNonStatic=a.first),le(a=ce())&&(o._labelChildStatic=a.first),le(a=ce())&&(o._formFieldControl=a.first),le(a=ce())&&(o._prefixChildren=a),le(a=ce())&&(o._suffixChildren=a),le(a=ce())&&(o._errorChildren=a),le(a=ce())&&(o._hintChildren=a)}},viewQuery:function(r,o){if(r&1&&(Ne(AN,5),Ne(ON,5),Ne(NN,5),Ne(Y0,5),Ne(Q0,5),Ne(K0,5)),r&2){let s;le(s=ce())&&(o._textField=s.first),le(s=ce())&&(o._iconPrefixContainer=s.first),le(s=ce())&&(o._textPrefixContainer=s.first),le(s=ce())&&(o._floatingLabel=s.first),le(s=ce())&&(o._notchedOutline=s.first),le(s=ce())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(r,o){r&2&&de("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Ke([{provide:nm,useExisting:e},{provide:tw,useExisting:e}]),Se],ngContentSelectors:FN,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,o){if(r&1){let s=mi();xt(kN),ue(0,LN,1,1,"ng-template",null,0,Oa),N(2,"div",4,1),Oe("click",function(l){return Lt(s),Vt(o._control.onContainerClick(l))}),ue(4,VN,1,0,"div",5),N(5,"div",6),ue(6,zN,2,2,"div",7)(7,HN,3,0,"div",8)(8,UN,3,0,"div",9),N(9,"div",10),ue(10,WN,1,1,null,11),De(11),j(),ue(12,GN,2,0,"div",12)(13,qN,2,0,"div",13),j(),ue(14,YN,1,0,"div",14),j(),N(15,"div",15),ue(16,ZN,2,1)(17,QN,5,2),j()}if(r&2){let s;T(2),de("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),T(2),Ie(4,!o._hasOutline()&&!o._control.disabled?4:-1),T(2),Ie(6,o._hasOutline()?6:-1),T(),Ie(7,o._hasIconPrefix?7:-1),T(),Ie(8,o._hasTextPrefix?8:-1),T(2),Ie(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),T(2),Ie(12,o._hasTextSuffix?12:-1),T(),Ie(13,o._hasIconSuffix?13:-1),T(),Ie(14,o._hasOutline()?-1:14),T(),de("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),T(),Ie(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[Y0,Q0,Va,K0,q0],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[i1.transitionMessages]},changeDetection:0});let t=e;return t})(),nc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[st,Et,Tl,st]});let t=e;return t})()});function f1(t,e){if(t&1&&(N(0,"span",4),ot(1),j()),t&2){let i=pe();T(),Jt(i.placeholder)}}function h1(t,e){t&1&&De(0)}function m1(t,e){if(t&1&&(N(0,"span",11),ot(1),j()),t&2){let i=pe(2);T(),Jt(i.triggerValue)}}function p1(t,e){if(t&1&&(N(0,"span",10),ue(1,h1,1,0)(2,m1,2,1),j()),t&2){let i=pe();T(),Ie(1,i.customTrigger?1:2)}}function g1(t,e){if(t&1){let i=mi();N(0,"div",12,1),Oe("@transformPanel.done",function(r){Lt(i);let o=pe();return Vt(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){Lt(i);let o=pe();return Vt(o._handleKeydown(r))}),De(2,1),j()}if(t&2){let i=pe();Vv("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",i._getPanelTheme(),""),ne("ngClass",i.panelClass)("@transformPanel","showing"),xe("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}function v1(t){return()=>t.scrollStrategies.reposition()}var l1,c1,d1,u1,b1,iw,rw,_1,y1,w1,im,ow,sw,rm=p(()=>{"use strict";Jl();Me();A();A();Ti();Ti();ic();Ai();Ai();zn();zn();Un();S0();yr();To();To();Ve();et();Ja();l1=["trigger"],c1=["panel"],d1=[[["mat-select-trigger"]],"*"],u1=["mat-select-trigger","*"];b1={transformPanelWrap:vo("transformPanelWrap",[pr("* => void",I_("@transformPanel",[C_()],{optional:!0}))]),transformPanel:vo("transformPanel",[Qa("void",tn({opacity:0,transform:"scale(1, 0.8)"})),pr("void => showing",_o("120ms cubic-bezier(0, 0, 0.2, 1)",tn({opacity:1,transform:"scale(1, 1)"}))),pr("* => void",_o("100ms linear",tn({opacity:0})))])},iw=0,rw=new D("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Mt);return()=>t.scrollStrategies.reposition()}});_1=new D("MAT_SELECT_CONFIG"),y1={provide:rw,deps:[Mt],useFactory:v1},w1=new D("MatSelectTrigger"),im=class{constructor(e,i){this.source=e,this.value=i}},ow=(()=>{let e=class e{_scrollOptionIntoView(n){let r=this.options.toArray()[n];if(r){let o=this.panel.nativeElement,s=l0(n,this.options,this.optionGroups),a=r._getHostElement();n===0&&s===1?o.scrollTop=0:o.scrollTop=c0(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(n){return new im(this,n)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(n){this._hideSingleSelectionIndicator=n,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(vl.required)??!1}set required(n){this._required=n,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(n){this._selectionModel,this._multiple=n}get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){this._assignValue(n)&&this._onChange(n)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}constructor(n,r,o,s,a,l,c,d,u,h,f,m,b,w){this._viewportRuler=n,this._changeDetectorRef=r,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=h,this._liveAnnouncer=b,this._defaultOptions=w,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(_,L)=>_===L,this._uid=`mat-select-${iw++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${iw++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=qc(()=>{let _=this.options;return _?_.changes.pipe(Jn(_),sn(()=>Ot(..._.map(L=>L.onSelectionChange)))):this._initialized.pipe(sn(()=>this.optionSelectionChanges))}),this.openedChange=new se,this._openedStream=this.openedChange.pipe(Ue(_=>_),re(()=>{})),this._closedStream=this.openedChange.pipe(Ue(_=>!_),re(()=>{})),this.selectionChange=new se,this.valueChange=new se,this._trackedModal=null,this._skipPredicate=_=>this.panelOpen?!1:_.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),w?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=w.typeaheadDebounceInterval),this._errorStateTracker=new zl(s,h,d,c,this.stateChanges),this._scrollStrategyFactory=m,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Yl(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ui(),oe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(oe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(oe(this._destroy)).subscribe(n=>{n.added.forEach(r=>r.select()),n.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(Jn(null),oe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let n=this._getTriggerAriaLabelledby(),r=this.ngControl;if(n!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?o.setAttribute("aria-labelledby",n):o.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(this._previousControl!==void 0&&r.disabled!==null&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(n){(n.disabled||n.userAriaDescribedBy)&&this.stateChanges.next(),n.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let n=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!n)return;let r=`${this.id}-panel`;this._trackedModal&&Ll(this._trackedModal,"aria-owns",r),Ch(n,"aria-owns",r),this._trackedModal=n}_clearFromModal(){if(!this._trackedModal)return;let n=`${this.id}-panel`;Ll(this._trackedModal,"aria-owns",n),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(n){this._assignValue(n)}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let n=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){let r=n.keyCode,o=r===40||r===38||r===37||r===39,s=r===13||r===32,a=this._keyManager;if(!a.isTyping()&&s&&!zt(n)||(this.multiple||n.altKey)&&o)n.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(n);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(n){let r=this._keyManager,o=n.keyCode,s=o===40||o===38,a=r.isTyping();if(s&&n.altKey)n.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&r.activeItem&&!zt(n))n.preventDefault(),r.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&n.ctrlKey){n.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=r.activeItemIndex;r.onKeydown(n),this._multiple&&s&&n.shiftKey&&r.activeItem&&r.activeItemIndex!==l&&r.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(gt(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(n){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{let r=this._selectOptionByValue(n);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(n){let r=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,n)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(n){return n!==this._value||this._multiple&&Array.isArray(n)?(this.options&&this._setSelectionByValue(n),this._value=n,!0):!1}_getOverlayWidth(n){return this.panelWidth==="auto"?(n instanceof jo?n.elementRef:n||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let n of this.options)n._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Fl(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let n=Ot(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(oe(n)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Ot(...this.options.map(r=>r._stateChanges)).pipe(oe(n)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(n,r){let o=this._selectionModel.isSelected(n);n.value==null&&!this._multiple?(n.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(n.value)):(o!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),r&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),r&&this.focus())),o!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let n=this.options.toArray();this._selectionModel.sort((r,o)=>this.sortComparator?this.sortComparator(r,o,n):n.indexOf(r)-n.indexOf(o)),this.stateChanges.next()}}_propagateChanges(n){let r;this.multiple?r=this.selected.map(o=>o.value):r=this.selected?this.selected.value:n,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let n=-1;for(let r=0;r<this.options.length;r++)if(!this.options.get(r).disabled){n=r;break}this._keyManager.setActiveItem(n)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=n?n+" ":"";return this.ariaLabelledby?r+this.ariaLabelledby:n}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=(n?n+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(n){this.openedChange.emit(n)}setDescribedByIds(n){n.length?this._elementRef.nativeElement.setAttribute("aria-describedby",n.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(r){return new(r||e)(v(Cr),v(Ge),v(S),v(r0),v(V),v(yn,8),v(fh,8),v(mh,8),v(nm,8),v(Ci,10),ar("tabindex"),v(rw),v(Yy),v(_1,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-select"]],contentQueries:function(r,o,s){if(r&1&&(Dt(s,w1,5),Dt(s,$l,5),Dt(s,Lh,5)),r&2){let a;le(a=ce())&&(o.customTrigger=a.first),le(a=ce())&&(o.options=a),le(a=ce())&&(o.optionGroups=a)}},viewQuery:function(r,o){if(r&1&&(Ne(l1,5),Ne(c1,5),Ne(Xh,5)),r&2){let s;le(s=ce())&&(o.trigger=s.first),le(s=ce())&&(o.panel=s.first),le(s=ce())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(r,o){r&1&&Oe("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),r&2&&(xe("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),de("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[y.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[y.HasDecoratorInputTransform,"disabled","disabled",fe],disableRipple:[y.HasDecoratorInputTransform,"disableRipple","disableRipple",fe],tabIndex:[y.HasDecoratorInputTransform,"tabIndex","tabIndex",n=>n==null?0:gn(n)],hideSingleSelectionIndicator:[y.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",fe],placeholder:"placeholder",required:[y.HasDecoratorInputTransform,"required","required",fe],multiple:[y.HasDecoratorInputTransform,"multiple","multiple",fe],disableOptionCentering:[y.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",fe],compareWith:"compareWith",value:"value",ariaLabel:[y.None,"aria-label","ariaLabel"],ariaLabelledby:[y.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[y.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",gn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Ke([{provide:tm,useExisting:e},{provide:Ph,useExisting:e}]),We,_t,Se],ngContentSelectors:u1,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(r,o){if(r&1){let s=mi();xt(d1),N(0,"div",2,0),Oe("click",function(){return Lt(s),Vt(o.open())}),N(3,"div",3),ue(4,f1,2,1,"span",4)(5,p1,3,1),j(),N(6,"div",5)(7,"div",6),to(),N(8,"svg",7),me(9,"path",8),j()()()(),ue(10,g1,3,9,"ng-template",9),Oe("backdropClick",function(){return Lt(s),Vt(o.close())})("attach",function(){return Lt(s),Vt(o._onAttached())})("detach",function(){return Lt(s),Vt(o.close())})}if(r&2){let s=pi(1);T(3),xe("id",o._valueId),T(),Ie(4,o.empty?4:5),T(6),ne("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[jo,Xh,La],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[b1.transformPanel]},changeDetection:0});let t=e;return t})(),sw=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({providers:[y1],imports:[Et,Xl,Vh,st,Er,nc,Vh,st]});let t=e;return t})()});function D1(t,e){if(t&1&&(N(0,"mat-option",12),ot(1),j()),t&2){let i=e.$implicit,n=pe();ne("value",i),T(),gi(" ",n.translations.voiceList[i]," ")}}function E1(t,e){if(t&1&&(N(0,"mat-icon"),ot(1),j()),t&2){let i=pe();T(),gi(" ",i.isPlaying?"stop":"volume_up"," ")}}function C1(t,e){t&1&&me(0,"mat-spinner",13),t&2&&ne("diameter",20)}var rc,om=p(()=>{"use strict";Me();A();To();h0();y0();x0();Ve();C0();I0();Jh();rm();ic();A();Me();To();Jh();ic();rm();Ti();rc=(()=>{var e;let i=class i{constructor(){Ho(this,e,void 0);this.maxCharLength=1e3,this.langAttributeKey="lang",this.defaultLanguage="lv",this.voiceList=["sandra4","lv-LV-general"],this.selectedVoice=this.voiceList[0],mm(this,e,C(w0))}get translations(){return ql[this.language]?ql[this.language]:ql[this.defaultLanguage]}get hasOverflow(){let r=document.querySelector("textarea");return r?.clientHeight<r?.scrollHeight}ngOnInit(){this.watchHtmlLangAttributeChanges()}playText(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let r=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;Ir(this,e).play(r,this.selectedVoice,this.xApiKey).pipe(Cn(()=>{this.isLoading=!1})).subscribe({next:o=>{let s=URL.createObjectURL(o);this.audio=new Audio(s),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(s),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.isPlaying=!1)}watchHtmlLangAttributeChanges(){let r=this.getHtmlLangAttribute();!this.language&&r!==this.defaultLanguage&&(this.language=r);let o=c=>{for(let d of c)if(d.type==="attributes"&&d.attributeName===this.langAttributeKey){let u=this.getHtmlLangAttribute();this.language=u}},s=new MutationObserver(o),a=document.querySelector("html"),l={attributes:!0,attributeFilter:[this.langAttributeKey]};s.observe(a,l)}getHtmlLangAttribute(){return document.querySelector("html").getAttribute(this.langAttributeKey).split("-")[0]}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=Ee({type:i,selectors:[["lib-text-to-speech"]],inputs:{xApiKey:"xApiKey",language:"language",maxCharLength:"maxCharLength"},standalone:!0,features:[Se],decls:15,vars:14,consts:[[1,"text-to-speech-wrapper"],["appearance","outline","color","accent"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[1,"text-to-speech-textarea-wrapper"],[1,"text-to-speech-textarea",3,"ngModelChange","ngModel","placeholder"],[1,"text-to-speech-characters"],[1,"text-to-speech-actions"],[3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[3,"diameter",4,"ngIf"],[3,"value"],[3,"diameter"]],template:function(o,s){if(o&1&&(N(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),ot(3),j(),N(4,"mat-select",2),Aa("valueChange",function(l){return Ju(s.selectedVoice,l)||(s.selectedVoice=l),l}),ue(5,D1,2,2,"mat-option",3),j()(),N(6,"div",4)(7,"textarea",5),Aa("ngModelChange",function(l){return Ju(s.text,l)||(s.text=l),l}),j(),N(8,"div",6),ot(9),j()(),N(10,"div",7)(11,"div",8)(12,"button",9),Oe("click",function(){return s.playText()}),ue(13,E1,2,1,"mat-icon",10)(14,C1,1,1,"mat-spinner",11),j()()()()),o&2){let a;T(3),Jt(s.translations.selectVoice),T(),Ta("value",s.selectedVoice),T(),ne("ngForOf",s.voiceList),T(2),Ta("ngModel",s.text),ne("placeholder",s.translations.placeholder),T(),de("text-overflow",s.hasOverflow),T(),Xu(" ",(a=s.text==null?null:s.text.length)!==null&&a!==void 0?a:0,"/",s.maxCharLength," "),T(2),ne("matTooltip",s.text?"":s.translations.playDisabled),T(),ne("matTooltip",s.isPlaying?s.translations.stop:s.translations.play)("disabled",!s.text||s.isLoading),T(),ne("ngIf",!s.isLoading),T(),ne("ngIf",s.isLoading)}},dependencies:[Et,i_,r_,f0,_0,ky,Il,Iy,hh,E0,$0,U0,nc,nw,tc,sw,ow,$l],styles:[".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-25px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;margin:5px;font-size:14px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}"]});let t=i;return t})()});var aw,lw=p(()=>{"use strict";Me();om();A();aw=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Ee({type:e,selectors:[["app-root"]],standalone:!0,features:[Ke([]),Se],decls:1,vars:0,template:function(r,o){r&1&&me(0,"lib-text-to-speech")},dependencies:[Et,rc],encapsulation:2});let t=e;return t})()});var I1=mw(cw=>{Ka();iy();oy();lw();om();Uo(cw,null,function*(){let t=yield x_(Jf),e=ry(rc,{injector:t.injector});customElements.define("tilde-text-to-speech",e)});w_(aw,Jf).catch(t=>console.error(t))});export default I1();
|