From dd888f0d07e1c1457ec0f4105ab0b897b7dbc20d Mon Sep 17 00:00:00 2001 From: godly-devotion Date: Fri, 29 Mar 2024 14:57:26 +0000 Subject: [PATCH] Auto-generated commit [ci skip] Triggered by commit: https://github.com/godly-devotion/coffee-ratio/commit/41b9741e143689d5e58be0fcab1cf521647dbec0 --- 404.html | 2 +- index.html | 2 +- main.79e27489ac206c61.js | 1 - main.b55d1fb77146fd9a.js | 1 + ngsw-worker.js | 2 +- ngsw.json | 16 ++++++++-------- ...a48dbc8e1.js => polyfills.5611b38346190e91.js | 2 +- ...70d320c55e8.js => runtime.938669fc602ba861.js | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 main.79e27489ac206c61.js create mode 100644 main.b55d1fb77146fd9a.js rename polyfills.1c1bed7a48dbc8e1.js => polyfills.5611b38346190e91.js (99%) rename runtime.3b49c70d320c55e8.js => runtime.938669fc602ba861.js (92%) diff --git a/404.html b/404.html index c10bf25..5732162 100644 --- a/404.html +++ b/404.html @@ -58,5 +58,5 @@ gtag("config", "G-7JH4VZ30RM"); - + diff --git a/index.html b/index.html index c10bf25..5732162 100644 --- a/index.html +++ b/index.html @@ -58,5 +58,5 @@ gtag("config", "G-7JH4VZ30RM"); - + diff --git a/main.79e27489ac206c61.js b/main.79e27489ac206c61.js deleted file mode 100644 index 2347796..0000000 --- a/main.79e27489ac206c61.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkcoffee_ratio=self.webpackChunkcoffee_ratio||[]).push([[590],{32:(Ol,Nl,As)=>{function Ri(e,n){return Object.is(e,n)}let ke=null,ki=!1,Oi=1;const Zt=Symbol("SIGNAL");function D(e){const n=ke;return ke=e,n}const to={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function no(e){if(ki)throw new Error("");if(null===ke)return;ke.consumerOnSignalRead(e);const n=ke.nextProducerIndex++;li(ke),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ur(e){li(e);for(let n=0;n0}function li(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ps(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const so=Symbol("UNSET"),ao=Symbol("COMPUTING"),Fi=Symbol("ERRORED"),vt={...to,value:so,dirty:!0,error:null,equal:Ri,producerMustRecompute:e=>e.value===so||e.value===ao,producerRecomputeValue(e){if(e.value===ao)throw new Error("Detected cycle in computations.");const n=e.value;e.value=ao;const t=ro(e);let i;try{i=e.computation()}catch(r){i=Fi,e.error=r}finally{oo(e,t)}n!==so&&n!==Fi&&i!==Fi&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let lo=function Hn(){throw new Error};function Vs(){lo()}let fr=null;function Bs(e,n){Ns()||Vs(),e.equal(e.value,n)||(e.value=n,function Ul(e){e.version++,function ks(){Oi++}(),Fl(e),fr?.()}(e))}const js={...to,equal:Ri,value:void 0};function ee(e){return"function"==typeof e}function _n(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Qu=_n(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function zl(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class We{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(ee(i))try{i()}catch(o){n=o instanceof Qu?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{lb(o)}catch(s){n=n??[],s instanceof Qu?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Qu(n)}}add(n){var t;if(n&&n!==this)if(this.closed)lb(n);else{if(n instanceof We){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&zl(t,n)}remove(n){const{_finalizers:t}=this;t&&zl(t,n),n instanceof We&&n._removeParent(this)}}We.EMPTY=(()=>{const e=new We;return e.closed=!0,e})();const sb=We.EMPTY;function ab(e){return e instanceof We||e&&"closed"in e&&ee(e.remove)&&ee(e.add)&&ee(e.unsubscribe)}function lb(e){ee(e)?e():e.unsubscribe()}const mr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function cb(e){$l.setTimeout(()=>{const{onUnhandledError:n}=mr;if(!n)throw e;n(e)})}function uo(){}const OA=Ju("C",void 0,void 0);function Ju(e,n,t){return{kind:e,value:n,error:t}}let pr=null;function Gl(e){if(mr.useDeprecatedSynchronousErrorHandling){const n=!pr;if(n&&(pr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=pr;if(pr=null,t)throw i}}else e()}class ef extends We{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ab(n)&&n.add(this)):this.destination=jA}static create(n,t,i){return new Hs(n,t,i)}next(n){this.isStopped?nf(function FA(e){return Ju("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?nf(function NA(e){return Ju("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?nf(OA,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const LA=Function.prototype.bind;function tf(e,n){return LA.call(e,n)}class VA{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){ql(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){ql(i)}else ql(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ql(t)}}}class Hs extends ef{constructor(n,t,i){let r;if(super(),ee(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&mr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&tf(n.next,o),error:n.error&&tf(n.error,o),complete:n.complete&&tf(n.complete,o)}):r=n}this.destination=new VA(r)}}function ql(e){mr.useDeprecatedSynchronousErrorHandling?function PA(e){mr.useDeprecatedSynchronousErrorHandling&&pr&&(pr.errorThrown=!0,pr.error=e)}(e):cb(e)}function nf(e,n){const{onStoppedNotification:t}=mr;t&&$l.setTimeout(()=>t(e,n))}const jA={closed:!0,next:uo,error:function BA(e){throw e},complete:uo},rf="function"==typeof Symbol&&Symbol.observable||"@@observable";function gr(e){return e}let ue=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function UA(e){return e&&e instanceof ef||function HA(e){return e&&ee(e.next)&&ee(e.error)&&ee(e.complete)}(e)&&ab(e)}(t)?t:new Hs(t,i,r);return Gl(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=ub(i))((r,o)=>{const s=new Hs({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[rf](){return this}pipe(...t){return function db(e){return 0===e.length?gr:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ub(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ub(e){var n;return null!==(n=e??mr.Promise)&&void 0!==n?n:Promise}const zA=_n(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let oe=(()=>{class e extends ue{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new fb(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new zA}next(t){Gl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Gl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Gl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?sb:(this.currentObservers=null,o.push(t),new We(()=>{this.currentObservers=null,zl(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new ue;return t.source=this,t}}return e.create=(n,t)=>new fb(n,t),e})();class fb extends oe{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:sb}}class Us extends oe{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function hb(e){return ee(e?.lift)}function Ae(e){return n=>{if(hb(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function be(e,n,t,i,r){return new mb(e,n,t,i,r)}class mb extends ef{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function he(e,n){return Ae((t,i)=>{let r=0;t.subscribe(be(i,o=>{i.next(e.call(n,o,r++))}))})}const pb="https://g.co/ng/security#xss";class E extends Error{constructor(n,t){super(function fo(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function sf(e){return n=>{setTimeout(e,void 0,n)}}const ve=class $A extends oe{constructor(n=!1){super(),this.__isAsync=n}emit(n){const t=D(null);try{super.next(n)}finally{D(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=sf(o),r&&(r=sf(r)),s&&(s=sf(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof We&&n.add(a),a}};var te=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(te||{});function Qe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Qe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function af(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}var Yl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Yl||{}),In=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(In||{});function ci(e){return{toString:e}.toString()}const fe=globalThis,Un={},ne=[];function me(e){for(let n in e)if(e[n]===me)return n;throw Error("Could not find renamed property on target object.")}function YA(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}const zs=me({\u0275cmp:me}),lf=me({\u0275dir:me}),cf=me({\u0275pipe:me}),di=me({\u0275fac:me}),$s=me({__NG_ELEMENT_ID__:me}),vb=me({__NG_ENV_ID__:me});var F=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(F||{});function yb(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}function df(e,n,t){let i=0;for(;in){s=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==yb(h,c,0)||2&i&&c!==f){if(Mn(i))return!1;s=!0}}}}else{if(!s&&!Mn(i)&&!Mn(l))return!1;if(s&&Mn(l))continue;s=!1,i=l|1&i}}return Mn(i)||s}function Mn(e){return 0==(1&e)}function QA(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Mn(s)&&(n+=Mb(o,r),r=""),i=s,o=o||!Mn(i);t++}return""!==r&&(n+=Mb(o,r)),n}function At(e){return ci(()=>{const n=Tb(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Yl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||In.Emulated,styles:e.styles||ne,_:null,schemas:e.schemas||null,tView:null,id:""};Ab(t);const i=e.dependencies;return t.directiveDefs=Zl(i,!1),t.pipeDefs=Zl(i,!0),t.id=function cR(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function sR(e){return X(e)||Je(e)}function aR(e){return null!==e}function Fe(e){return ci(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Sb(e,n){if(null==e)return Un;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=F.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==F.None?[i,a]:i,n[o]=s):t[o]=i}return t}function A(e){return ci(()=>{const n=Tb(e);return Ab(n),n})}function Rt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[zs]||null}function Je(e){return e[lf]||null}function mt(e){return e[cf]||null}function Tb(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Un,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Sb(e.inputs,n),outputs:Sb(e.outputs),debugInfo:null}}function Ab(e){e.features?.forEach(n=>n(e))}function Zl(e,n){if(!e)return null;const t=n?mt:sR;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(aR)}const Oe=0,C=1,N=2,je=3,Sn=4,wt=5,Tn=6,ho=7,De=8,pt=9,ui=10,G=11,qs=12,Rb=13,mo=14,Pe=15,Ws=16,po=17,fi=18,Ys=19,kb=20,Li=21,Xl=22,br=23,W=25,uf=1,zn=7,go=9,He=10;var ff=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ff||{});function Et(e){return Array.isArray(e)&&"object"==typeof e[uf]}function xt(e){return Array.isArray(e)&&!0===e[uf]}function hf(e){return 0!=(4&e.flags)}function vr(e){return e.componentOffset>-1}function Ql(e){return 1==(1&e.flags)}function An(e){return!!e.template}function mf(e){return 0!=(512&e[N])}const Pb="svg";let Vb=!1;function ye(e){for(;Array.isArray(e);)e=e[Oe];return e}function Xs(e,n){return ye(n[e])}function kt(e,n){return ye(n[e.index])}function Ks(e,n){return e.data[n]}function _o(e,n){return e[n]}function en(e,n){const t=n[e];return Et(t)?t:t[Oe]}function bf(e){return 128==(128&e[N])}function $n(e,n){return null==n?null:e[n]}function Bb(e){e[po]=0}function _R(e){1024&e[N]||(e[N]|=1024,bf(e)&&Qs(e))}function vf(e){return!!(9216&e[N]||e[br]?.dirty)}function yf(e){vf(e)?Qs(e):64&e[N]&&(function hR(){return Vb}()?(e[N]|=1024,Qs(e)):e[ui].changeDetectionScheduler?.notify())}function Qs(e){e[ui].changeDetectionScheduler?.notify();let n=yr(e);for(;null!==n&&!(8192&n[N])&&(n[N]|=8192,bf(n));)n=yr(n)}function Jl(e,n){if(256==(256&e[N]))throw new E(911,!1);null===e[Li]&&(e[Li]=[]),e[Li].push(n)}function yr(e){const n=e[je];return xt(n)?n[je]:n}const H={lFrame:Zb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ub(){return H.bindingsEnabled}function bo(){return null!==H.skipHydrationRootTNode}function y(){return H.lFrame.lView}function Q(){return H.lFrame.tView}function wr(e){return H.lFrame.contextLView=e,e[De]}function Er(e){return H.lFrame.contextLView=null,e}function pe(){let e=zb();for(;null!==e&&64===e.type;)e=e.parent;return e}function zb(){return H.lFrame.currentTNode}function Gn(e,n){const t=H.lFrame;t.currentTNode=e,t.isParent=n}function Ef(){return H.lFrame.isParent}function xf(){H.lFrame.isParent=!1}function Rn(){return H.lFrame.bindingIndex++}function mi(e){const n=H.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function SR(e,n){const t=H.lFrame;t.bindingIndex=t.bindingRootIndex=e,Df(n)}function Df(e){H.lFrame.currentDirectiveIndex=e}function If(){return H.lFrame.currentQueryIndex}function ec(e){H.lFrame.currentQueryIndex=e}function AR(e){const n=e[C];return 2===n.type?n.declTNode:1===n.type?e[wt]:null}function Wb(e,n,t){if(t&te.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&te.Host||(r=AR(o),null===r||(o=o[mo],10&r.type))););if(null===r)return!1;n=r,e=o}const i=H.lFrame=Yb();return i.currentTNode=n,i.lView=e,!0}function Mf(e){const n=Yb(),t=e[C];H.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Yb(){const e=H.lFrame,n=null===e?null:e.child;return null===n?Zb(e):n}function Zb(e){const n={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:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Xb(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Kb=Xb;function Sf(){const e=Xb();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Dt(){return H.lFrame.selectedIndex}function xr(e){H.lFrame.selectedIndex=e}function Ce(){const e=H.lFrame;return Ks(e.tView,e.selectedIndex)}let ev=!0;function tc(){return ev}function Vi(e){ev=e}function FR(){return vo(pe(),y())}function vo(e,n){return new we(kt(e,n))}let Rf,we=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=FR}return e})();function tv(e){return e instanceof we?e.nativeElement:e}function yo(e,n){e.forEach(t=>Array.isArray(t)?yo(t,n):n(t))}function nv(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function nc(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function tn(e,n,t){let i=wo(e,n);return i>=0?e[1|i]=t:(i=~i,function iv(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Af(e,n){const t=wo(e,n);if(t>=0)return e[1|t]}function wo(e,n){return function rv(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<UR}),UR="ng",cv=new x(""),pi=new x("",{providedIn:"platform",factory:()=>"unknown"}),qn=new x(""),Of=new x("",{providedIn:"root",factory:()=>function Bi(){if(void 0!==Rf)return Rf;if(typeof document<"u")return document;throw new E(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),GR=me({__forward_ref__:me});function Ee(e){return e.__forward_ref__=Ee,e.toString=function(){return Qe(this())},e}function V(e){return dc(e)?e():e}function dc(e){return"function"==typeof e&&e.hasOwnProperty(GR)&&e.__forward_ref__===Ee}function Vf(e){return e&&!!e.\u0275providers}function Y(e){return"string"==typeof e?e:null==e?"":String(e)}function Bf(e,n){throw new E(-201,!1)}let jf;function uv(){return jf}function Ut(e){const n=jf;return jf=e,n}function fv(e,n,t){const i=sc(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&te.Optional?null:void 0!==n?n:void Bf()}const na={},Hf="__NG_DI_FLAG__",uc="ngTempTokenPath",KR=/\n/gm,hv="__source";let Eo;function ji(e){const n=Eo;return Eo=e,n}function ek(e,n=te.Default){if(void 0===Eo)throw new E(-203,!1);return null===Eo?fv(e,void 0,n):Eo.get(e,n&te.Optional?null:void 0,n)}function w(e,n=te.Default){return(uv()||ek)(V(e),n)}function I(e,n=te.Default){return w(e,fc(n))}function fc(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Uf(e){const n=[];for(let t=0;tnull;function Xf(e,n,t=!1){return pv(e,n,t)}const Mo="__parameters__";function To(e,n,t){return ci(()=>{const i=function eh(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(Mo)?l[Mo]:Object.defineProperty(l,Mo,{value:[]})[Mo];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const wv=ia(To("Inject",e=>({token:e})),-1);function Dr(e,n){return e.hasOwnProperty(di)?e[di]:null}const gi=new x(""),Ev=new x("",-1),th=new x("");class vc{get(n,t=na){if(t===na){const i=new Error(`NullInjectorError: No provider for ${Qe(n)}!`);throw i.name="NullInjectorError",i}return t}}function Ro(e){return{\u0275providers:e}}function mk(...e){return{\u0275providers:nh(0,e),\u0275fromNgModule:!0}}function nh(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return yo(n,s=>{const a=s;yc(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&xv(r,o),t}function xv(e,n){for(let t=0;t{n(o,i)})}}function yc(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=ac(e);const s=!o&&X(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=ac(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)yc(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{yo(o.imports,d=>{yc(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&xv(c,n)}if(!a){const c=Dr(r)||(()=>new r);n({provide:r,useFactory:c,deps:ne},r),n({provide:th,useValue:r,multi:!0},r),n({provide:gi,useValue:()=>w(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;ih(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function ih(e,n){for(let t of e)Vf(t)&&(t=t.\u0275providers),Array.isArray(t)?ih(t,n):n(t)}const pk=me({provide:String,useValue:me});function rh(e){return null!==e&&"object"==typeof e&&pk in e}function Cr(e){return"function"==typeof e}const oh=new x(""),wc={},_k={};let sh;function Ec(){return void 0===sh&&(sh=new vc),sh}class Wn{}class ko extends Wn{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,lh(n,s=>this.processProvider(s)),this.records.set(Ev,Oo(void 0,this)),r.has("environment")&&this.records.set(Wn,Oo(void 0,this));const o=this.records.get(oh);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(th,ne,te.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=D(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=ji(this),i=Ut(void 0);try{return n()}finally{ji(t),Ut(i)}}get(n,t=na,i=te.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(vb))return n[vb](this);i=fc(i);const o=ji(this),s=Ut(void 0);try{if(!(i&te.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function Ek(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(n)&&sc(n);l=c&&this.injectableDefInScope(c)?Oo(ah(n),wc):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&te.Self?Ec():this.parent).get(n,t=i&te.Optional&&t===na?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[uc]=a[uc]||[]).unshift(Qe(n)),o)throw a;return function nk(e,n,t,i){const r=e[uc];throw n[hv]&&r.unshift(n[hv]),e.message=function ik(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Qe(n);if(Array.isArray(n))r=n.map(Qe).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Qe(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(KR,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[uc]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Ut(s),ji(o)}}resolveInjectorInitializers(){const n=D(null),t=ji(this),i=Ut(void 0);try{const o=this.get(gi,ne,te.Self);for(const s of o)s()}finally{ji(t),Ut(i),D(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Qe(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(n){let t=Cr(n=V(n))?n:V(n&&n.provide);const i=function vk(e){return rh(e)?Oo(void 0,e.useValue):Oo(Iv(e),wc)}(n);if(!Cr(n)&&!0===n.multi){let r=this.records.get(t);r||(r=Oo(void 0,wc,!0),r.factory=()=>Uf(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=D(null);try{return t.value===wc&&(t.value=_k,t.value=t.factory()),"object"==typeof t.value&&t.value&&function wk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{D(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=V(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function ah(e){const n=sc(e),t=null!==n?n.factory:Dr(e);if(null!==t)return t;if(e instanceof x)throw new E(204,!1);if(e instanceof Function)return function bk(e){if(e.length>0)throw new E(204,!1);const t=function jR(e){return e&&(e[lc]||e[lv])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new E(204,!1)}function Iv(e,n,t){let i;if(Cr(e)){const r=V(e);return Dr(r)||ah(r)}if(rh(e))i=()=>V(e.useValue);else if(function Cv(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Uf(e.deps||[]));else if(function Dv(e){return!(!e||!e.useExisting)}(e))i=()=>w(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function yk(e){return!!e.deps}(e))return Dr(r)||ah(r);i=()=>new r(...Uf(e.deps))}return i}function Oo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function lh(e,n){for(const t of e)Array.isArray(t)?lh(t,n):t&&Vf(t)?lh(t.\u0275providers,n):n(t)}function No(e){if(!uv()&&!function JR(){return Eo}())throw new E(-203,!1)}class kk{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Sv(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function bn(){return Tv}function Tv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Nk),Ok}function Ok(){const e=Rv(this),n=e?.current;if(n){const t=e.previous;if(t===Un)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function Nk(e,n,t,i,r){const o=this.declaredInputs[i],s=Rv(e)||function Fk(e,n){return e[Av]=n}(e,{previous:Un,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new kk(c&&c.currentValue,t,l===Un),Sv(e,n,r,t)}bn.ngInherit=!0;const Av="__ngSimpleChanges__";function Rv(e){return e[Av]||null}const Yn=function(e,n,t){};function Dc(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[po]+=65536),(a>14>16&&(3&e[N])===n&&(e[N]+=16384,Ov(a,o)):Ov(a,o)}const Po=-1;class la{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function hh(e){return e!==Po}function ca(e){return 32767&e}function da(e,n){let t=function zk(e){return e>>16}(e),i=n;for(;t>0;)i=i[mo],t--;return i}let mh=!0;function Mc(e){const n=mh;return mh=e,n}const Nv=255,Fv=5;let $k=0;const Zn={};function Sc(e,n){const t=Pv(e,n);if(-1!==t)return t;const i=n[C];i.firstCreatePass&&(e.injectorIndex=n.length,ph(i.data,e),ph(n,null),ph(i.blueprint,null));const r=Tc(e,n),o=e.injectorIndex;if(hh(r)){const s=ca(r),a=da(r,n),l=a[C].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function ph(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Pv(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Tc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=zv(r),null===i)return Po;if(t++,r=r[mo],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Po}function gh(e,n,t){!function Gk(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty($s)&&(i=t[$s]),null==i&&(i=t[$s]=$k++);const r=i&Nv;n.data[e+(r>>Fv)]|=1<=0?n&Nv:Zk:n}(t);if("function"==typeof o){if(!Wb(n,e,i))return i&te.Host?Lv(r,0,i):Vv(n,t,i,r);try{let s;if(s=o(i),null!=s||i&te.Optional)return s;Bf()}finally{Kb()}}else if("number"==typeof o){let s=null,a=Pv(e,n),l=Po,c=i&te.Host?n[Pe][wt]:null;for((-1===a||i&te.SkipSelf)&&(l=-1===a?Tc(e,n):n[a+8],l!==Po&&Uv(i,!1)?(s=n[C],a=ca(l),n=da(l,n)):a=-1);-1!==a;){const d=n[C];if(Hv(o,a,d.data)){const u=Wk(a,n,t,s,i,c);if(u!==Zn)return u}l=n[a+8],l!==Po&&Uv(i,n[C].data[a+8]===c)&&Hv(o,a,n)?(s=d,a=ca(l),n=da(l,n)):a=-1}}return r}function Wk(e,n,t,i,r,o){const s=n[C],a=s.data[e+8],d=Ac(a,s,t,null==i?vr(a)&&mh:i!=s&&0!=(3&a.type),r&te.Host&&o===a);return null!==d?Ir(n,s,d,a):Zn}function Ac(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,f=r?a+d:e.directiveEnd;for(let h=i?a:a+d;h=l&&m.type===t)return h}if(r){const h=s[l];if(h&&An(h)&&h.type===t)return l}return null}function Ir(e,n,t,i){let r=e[t];const o=n.data;if(function Bk(e){return e instanceof la}(r)){const s=r;s.resolving&&function YR(e,n){throw n&&n.join(" > "),new E(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Y(e)}(o[t]));const a=Mc(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ut(s.injectImpl):null;Wb(e,i,te.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function Lk(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=Tv(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Ut(c),Mc(a),s.resolving=!1,Kb()}}return r}function Hv(e,n,t){return!!(t[n+(e>>Fv)]&1<{const n=e.prototype.constructor,t=n[di]||_h(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[di]||_h(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function _h(e){return dc(e)?()=>{const n=_h(V(e));return n&&n()}:Dr(e)}function zv(e){const n=e[C],t=n.type;return 2===t?n.declTNode:1===t?e[wt]:null}function ua(e){return function qk(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r{class e{static#e=this.THROW_IF_NOT_FOUND=na;static#t=this.NULL=new vc;static create(t,i){if(Array.isArray(t))return Yv({name:""},i,t,"");{const r=t.name??"";return Yv({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=M({token:e,providedIn:"any",factory:()=>w(Ev)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function vh(e){return e.ngOriginalError}class nn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&vh(n);for(;t&&vh(t);)t=vh(t);return t||null}}const Kv=new x("",{providedIn:"root",factory:()=>I(nn).handleError.bind(void 0)}),Jv=new x("",{providedIn:"root",factory:()=>!1});let Oc;function Bo(e){return function yh(){if(void 0===Oc&&(Oc=null,fe.trustedTypes))try{Oc=fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oc}()?.createHTML(e)||e}class Mr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${pb})`}}class sO extends Mr{getTypeName(){return"HTML"}}class aO extends Mr{getTypeName(){return"Style"}}class lO extends Mr{getTypeName(){return"Script"}}class cO extends Mr{getTypeName(){return"URL"}}class dO extends Mr{getTypeName(){return"ResourceURL"}}function rn(e){return e instanceof Mr?e.changingThisBreaksApplicationSecurity:e}function Xn(e,n){const t=function uO(e){return e instanceof Mr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${pb})`)}return t===n}class _O{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(Bo(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class bO{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Bo(n),t}}const yO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fc(e){return(e=String(e)).match(yO)?e:"unsafe:"+e}function _i(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function fa(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const ry=_i("area,br,col,hr,img,wbr"),oy=_i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sy=_i("rp,rt"),Eh=fa(ry,fa(oy,_i("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")),fa(sy,_i("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")),fa(sy,oy)),xh=_i("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ay=fa(xh,_i("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"),_i("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")),wO=_i("script,style,template");class EO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!Eh.hasOwnProperty(t))return this.sanitizedSomething=!0,!wO.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=n.nodeName.toLowerCase();Eh.hasOwnProperty(t)&&!ry.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ly(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const xO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,DO=/([^\#-~ |!])/g;function ly(e){return e.replace(/&/g,"&").replace(xO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(DO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Pc;function cy(e,n){let t=null;try{Pc=Pc||function iy(e){const n=new bO(e);return function vO(){try{return!!(new window.DOMParser).parseFromString(Bo(""),"text/html")}catch{return!1}}()?new _O(n):n}(e);let i=n?String(n):"";t=Pc.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Pc.getInertBodyElement(i)}while(i!==o);return Bo((new EO).sanitizeChildren(Dh(t)||t))}finally{if(t){const i=Dh(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Dh(e){return"content"in e&&function CO(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var gt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(gt||{});const Ch=new Map;let jO=0;const Mh="__ngContext__";function It(e,n){Et(n)?(e[Mh]=n[Ys],function UO(e){Ch.set(e[Ys],e)}(n)):e[Mh]=n}var Ui=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ui||{});let Rh;function kh(e,n){return Rh(e,n)}function Ho(e,n,t,i,r){if(null!=i){let o,s=!1;xt(i)?o=i:Et(i)&&(s=!0,i=i[Oe]);const a=ye(i);0===e&&null!==t?null==r?Ay(n,t,a):Sr(n,t,a,r||null,!0):1===e&&null!==t?Sr(n,t,a,r||null,!0):2===e?function $c(e,n,t){const i=Uc(e,n);i&&function dN(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function hN(e,n,t,i,r){const o=t[zn];o!==ye(t)&&Ho(n,e,i,o,r);for(let a=He;a0&&(e[t-1][Sn]=i[Sn]);const o=nc(e,He+n);!function iN(e,n){My(e,n),n[Oe]=null,n[wt]=null}(i[C],i);const s=o[fi];null!==s&&s.detachView(o[C]),i[je]=null,i[Sn]=null,i[N]&=-129}return i}function Hc(e,n){if(!(256&n[N])){const t=n[G];t.destroyNode&&Gc(e,n,t,3,null,null),function oN(e){let n=e[qs];if(!n)return Nh(e[C],e);for(;n;){let t=null;if(Et(n))t=n[qs];else{const i=n[He];i&&(t=i)}if(!t){for(;n&&!n[Sn]&&n!==e;)Et(n)&&Nh(n[C],n),n=n[je];null===n&&(n=e),Et(n)&&Nh(n[C],n),t=n&&n[Sn]}n=t}}(n)}}function Nh(e,n){if(256&n[N])return;const t=D(null);try{n[N]&=-129,n[N]|=256,n[br]&&function Fs(e){if(li(e),ai(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[ho]=null);const r=n[Li];if(null!==r){n[Li]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===In.None||o===In.Emulated)return null}return kt(i,t)}}(e,n.parent,t)}function Sr(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Ay(e,n,t){e.appendChild(n,t)}function Ry(e,n,t,i,r){null!==i?Sr(e,n,t,i,r):Ay(e,n,t)}function Uc(e,n){return e.parentNode(n)}function ky(e,n,t){return Ny(e,n,t)}let Ph,Ny=function Oy(e,n,t){return 40&e.type?kt(e,t):null};function zc(e,n,t,i){const r=Fh(e,i,n),o=n[G],a=ky(i.parent||n[wt],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lW&&Hy(e,n,W,!1),Yn(s?2:0,r),t(i,r)}finally{xr(o),Yn(s?3:1,r)}}function jh(e,n,t){if(hf(n)){const i=D(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Wy(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=F.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?Yy(i,t,c,a,l):Yy(i,t,c,a)}return i}function Yy(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function $t(e,n,t,i,r,o,s,a){const l=kt(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(Yh(e,t,d,i,r),vr(n)&&function IN(e,n){const t=en(n,e);16&t[N]||(t[N]|=64)}(t,n.index)):3&n.type&&(i=function CN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function $h(e,n,t,i){if(Ub()){const r=null===i?null:{"":-1},o=function kN(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,_a(e,t,r.hostVars,Z),r)}function Kn(e,n,t,i,r,o){const s=kt(e,n);!function qh(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?Y(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[G],s,o,e.value,t,i,r)}function VN(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Sn]=n),i{Qs(e.lView)},consumerOnSignalRead(){this.lView[br]=this}};function ow(e){return aw(e[qs])}function sw(e){return aw(e[Sn])}function aw(e){for(;null!==e&&!xt(e);)e=e[Sn];return e}function Zc(e,n=!0,t=0){const i=e[ui],r=i.rendererFactory;r.begin?.();try{!function ZN(e,n){Kh(e,n);let t=0;for(;vf(e);){if(100===t)throw new E(103,!1);t++,Kh(e,1)}}(e,t)}catch(s){throw n&&Yc(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function XN(e,n,t,i){const r=n[N];if(256==(256&r))return;n[ui].inlineEffectRunner?.flush(),Mf(n);let s=null,a=null;(function KN(e){return 2!==e.type})(e)&&(a=function zN(e){return e[br]??function $N(e){const n=rw.pop()??Object.create(qN);return n.lView=e,n}(e)}(n),s=ro(a));try{Bb(n),function Gb(e){return H.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&$y(e,n,t,2,i);const l=3==(3&r);if(l){const u=e.preOrderCheckHooks;null!==u&&Cc(n,u,null)}else{const u=e.preOrderHooks;null!==u&&Ic(n,u,0,null),uh(n,0)}if(function QN(e){for(let n=ow(e);null!==n;n=sw(n)){if(!(n[N]&ff.HasTransplantedViews))continue;const t=n[go];for(let i=0;i-1&&(pa(n,i),nc(t,i))}this._attachedToViewContainer=!1}Hc(this._lView[C],this._lView)}onDestroy(n){Jl(this._lView,n)}markForCheck(){wa(this._cdRefInjectingView||this._lView)}detach(){this._lView[N]&=-129}reattach(){yf(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,Zc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,My(this._lView[C],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n,yf(this._lView)}}let vi=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=nF}return e})();const eF=vi,tF=class extends eF{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=ba(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:i});return new Ea(r)}};function nF(){return Xc(pe(),y())}function Xc(e,n){return 4&e.type?new tF(n,e,vo(e,n)):null}let _w=()=>null;function $o(e,n){return _w(e,n)}class im{}class DF{}class bw{}class IF{resolveComponentFactory(n){throw function CF(e){const n=Error(`No component factory found for ${Qe(e)}.`);return n.ngComponent=e,n}(n)}}let Ma=(()=>{class e{static#e=this.NULL=new IF}return e})();class rm{}let Tr=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function MF(){const e=y(),t=en(pe().index,e);return(Et(t)?t:e)[G]}()}return e})(),SF=(()=>{class e{static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>null})}return e})();const om={};let zi=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=AF;static#t=this.__NG_ENV_ID__=t=>t}return e})();class TF extends zi{constructor(n){super(),this._lView=n}onDestroy(n){return Jl(this._lView,n),()=>function wf(e,n){if(null===e[Li])return;const t=e[Li].indexOf(n);-1!==t&&e[Li].splice(t,1)}(this._lView,n)}}function AF(){return new TF(y())}const yw=new Set;function kn(e){yw.has(e)||(yw.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function ww(...e){}class B{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ve(!1),this.onMicrotaskEmpty=new ve(!1),this.onStable=new ve(!1),this.onError=new ve(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function RF(){const e="function"==typeof fe.requestAnimationFrame;let n=fe[e?"requestAnimationFrame":"setTimeout"],t=fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function NF(e){const n=()=>{!function OF(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,am(e),e.isCheckStableRunning=!0,sm(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),am(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function FF(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return Ew(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),xw(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return Ew(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),xw(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,am(e),sm(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!B.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(B.isInAngularZone())throw new E(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,kF,ww,ww);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const kF={};function sm(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function am(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ew(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xw(e){e._nesting--,sm(e)}let Sa=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})();function nd(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&By(e,t,o.join(" "))}}(h,K,p,i),void 0!==t&&function ZF(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=KF}return e})();function KF(){return Nw(pe(),y())}const QF=On,kw=class extends QF{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return vo(this._hostTNode,this._hostLView)}get injector(){return new tt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Tc(this._hostTNode,this._hostLView);if(hh(n)){const t=da(n,this._hostLView),i=ca(n);return new tt(t[C].data[i+8],t)}return new tt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ow(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-He}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=$o(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,zo(this._hostTNode,s)),a}createComponent(n,t,i,r,o){const s=n&&!function aa(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Ra(X(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const p=(s?c:this.parentInjector).get(Wn,null);p&&(o=p)}const d=X(l.componentType??{}),u=$o(this._lContainer,d?.id??null),h=l.create(c,r,u?.firstChild??null,o);return this.insertImpl(h.hostView,a,zo(this._hostTNode,u)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function gR(e){return xt(e[je])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[je],c=new kw(l,l[wt],l[je]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return va(s,r,o,i),n.attachToViewContainerRef(),nv(um(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Ow(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=pa(this._lContainer,t);i&&(nc(um(this._lContainer),t),Hc(i[C],i))}detach(n){const t=this._adjustIndex(n,-1),i=pa(this._lContainer,t);return i&&null!=nc(um(this._lContainer),t)?new Ea(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Ow(e){return e[8]}function um(e){return e[8]||(e[8]=[])}function Nw(e,n){let t;const i=n[e.index];return xt(i)?t=i:(t=Ky(i,n,null,e),n[e.index]=t,Wc(n,t)),Fw(t,n,e,i),new kw(t,e,n)}let Fw=function Lw(e,n,t,i){if(e[zn])return;let r;r=8&t.type?ye(i):function JF(e,n){const t=e[G],i=t.createComment(""),r=kt(n,e);return Sr(t,Uc(t,r),i,function uN(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[zn]=r},fm=()=>!1;class hm{constructor(n){this.queryList=n,this.matches=null}clone(){return new hm(this.queryList)}setDirty(){this.queryList.setDirty()}}class mm{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class pm{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=He;u(no(n),n.value);return t[Zt]=n,t}(e),i=t[Zt];return n?.equal&&(i.equal=n.equal),t.set=r=>Bs(i,r),t.update=r=>function Hl(e,n){Ns()||Vs(),Bs(e,n(e.value))}(i,r),t.asReadonly=qw.bind(t),t}function qw(){const e=this[Zt];if(void 0===e.readonlyFn){const n=()=>this();n[Zt]=e,e.readonlyFn=n}return e.readonlyFn}function se(e){let n=function o0(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(An(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new E(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=rd(e.inputs),s.inputTransforms=rd(e.inputTransforms),s.declaredInputs=rd(e.declaredInputs),s.outputs=rd(e.outputs);const a=r.hostBindings;a&&x1(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&w1(e,l),c&&E1(e,c),v1(e,r),YA(e.outputs,r.outputs),An(r)&&r.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Gs(r.hostAttrs,t=Gs(t,r.hostAttrs))}}(i)}function v1(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function rd(e){return e===Un?{}:e===ne?[]:e}function w1(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function E1(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function x1(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function od(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[3]&&(t[i]=r[3])}e.inputTransforms=t}class kr{}class c0 extends kr{constructor(n){super(),this.componentFactoryResolver=new Aw(this),this.instance=null;const t=new ko([...n.providers,{provide:kr,useValue:this},{provide:Ma,useValue:this.componentFactoryResolver}],n.parent||Ec(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let Oa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Us(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ue(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Le(e,n,t,i,r,o,s,a){const l=y(),c=Q(),d=e+W,u=c.firstCreatePass?function L1(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Uo(n,e,4,s||null,$n(c,a));$h(n,t,d,$n(c,l)),Dc(n,d);const u=d.tView=zh(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,c,l,n,t,i,r,o,s):c.data[d];Gn(u,!1);const f=u0(c,l,u,e);tc()&&zc(c,l,f,u),It(f,l);const h=Ky(f,l,f,u);return l[d]=h,Wc(l,h),function Pw(e,n,t){return fm(e,n,t)}(h,u,l),Ql(u)&&Hh(c,l,u),null!=s&&Uh(l,u,a),Le}let u0=function f0(e,n,t,i){return Vi(!0),n[G].createComment("")};function Ye(e,n,t,i){const r=y();return Ue(r,Rn(),n)&&(Q(),Kn(Ce(),r,e,n,t,i)),Ye}function md(e,n){return e<<17|n<<2}function qi(e){return e>>17&32767}function Nm(e){return 2|e}function Fr(e){return(131068&e)>>2}function Fm(e,n){return-131069&e|n<<2}function Pm(e){return 1|e}function z0(e,n,t,i){const r=e[t+1],o=null===n;let s=i?qi(r):Fr(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];wP(e[s],n)&&(a=!0,e[s+1]=i?Pm(c):Nm(c)),s=i?qi(c):Fr(c)}a&&(e[t+1]=i?Nm(r):Pm(r))}function wP(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&wo(e,n)>=0}const nt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $0(e){return e.substring(nt.key,nt.keyEnd)}function G0(e,n){const t=nt.textEnd;return t===n?-1:(n=nt.keyEnd=function CP(e,n,t){for(;n32;)n++;return n}(e,nt.key=n,t),as(e,n,t))}function as(e,n,t){for(;n=0;t=G0(n,t))tn(e,$0(n),!0)}function Nn(e,n,t,i){const r=y(),o=Q(),s=mi(2);o.firstUpdatePass&&K0(o,e,s,i),n!==Z&&Ue(r,s,n)&&J0(o,o.data[Dt()],r,r[G],e,r[s+1]=function PP(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Qe(rn(e)))),e}(n,t),i,s)}function X0(e,n){return n>=e.expandoStartIndex}function K0(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Dt()],s=X0(e,t);tE(o,i)&&null===n&&!s&&(n=!1),n=function TP(e,n,t,i){const r=function Cf(e){const n=H.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=Ba(t=Bm(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Bm(r,e,n,t,i),null===o){let l=function AP(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Fr(i))return e[qi(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Bm(null,e,n,l[1],i),l=Ba(l,n.attrs,i),function RP(e,n,t,i){e[qi(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function kP(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):d=t,r)if(0!==l){const f=qi(e[a+1]);e[i+1]=md(f,a),0!==f&&(e[f+1]=Fm(e[f+1],i)),e[a+1]=function _P(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=md(a,0),0!==a&&(e[a+1]=Fm(e[a+1],i)),a=i;else e[i+1]=md(l,0),0===a?a=i:e[l+1]=Fm(e[l+1],i),l=i;c&&(e[i+1]=Nm(e[i+1])),z0(e,d,i,!0),z0(e,d,i,!1),function yP(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&wo(o,n)>=0&&(t[i+1]=Pm(t[i+1]))}(n,d,e,i,o),s=md(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Bm(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[r+1];f===Z&&(f=u?ne:void 0);let h=u?Af(f,i):d===i?f:void 0;if(c&&!pd(h)&&(h=Af(l,i)),pd(h)&&(a=h,s))return a;const m=e[r+1];r=s?qi(m):Fr(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Af(l,i))}return a}function pd(e){return void 0!==e}function tE(e,n){return 0!=(e.flags&(n?8:16))}class WP{destroy(n){}updateValue(n,t){}swap(n,t){const i=Math.min(n,t),r=Math.max(n,t),o=this.detach(r);if(r-i>1){const s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,t){this.attach(t,this.detach(n))}}function jm(e,n,t,i,r){return e===t&&Object.is(n,i)?1:Object.is(r(e,n),r(t,i))?-1:0}function Hm(e,n,t,i){return!(void 0===n||!n.has(i)||(e.attach(t,n.get(i)),n.delete(i),0))}function nE(e,n,t,i,r){if(Hm(e,n,i,t(i,r)))e.updateValue(i,r);else{const o=e.create(i,r);e.attach(i,o)}}function iE(e,n,t,i){const r=new Set;for(let o=n;o<=t;o++)r.add(i(o,e.at(o)));return r}class rE{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let i=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,i]of this.kvMap)if(n(i,t),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,t)}}}function Ze(e,n,t){kn("NgControlFlow");const i=y(),r=Rn(),o=Um(i,W+e);if(Ue(i,r,n)){const a=D(null);try{if(Xh(o,0),-1!==n){const l=zm(i[C],W+n),c=$o(o,l.tView.ssrId);va(o,ba(i,l,t,{dehydratedView:c}),0,zo(l,c))}}finally{D(a)}}else{const a=nw(o,0);void 0!==a&&(a[De]=t)}}class ZP{constructor(n,t,i){this.lContainer=n,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-He}}function oE(e,n){return n}class KP{constructor(n,t,i){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=i}}class QP extends WP{constructor(n,t,i){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-He}at(n){return this.getLView(n)[De].$implicit}attach(n,t){const i=t[Tn];this.needsIndexUpdate||=n!==this.length,va(this.lContainer,t,n,zo(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function JP(e,n){return pa(e,n)}(this.lContainer,n)}create(n,t){const i=$o(this.lContainer,this.templateTNode.tView.ssrId);return ba(this.hostLView,this.templateTNode,new ZP(this.lContainer,t,n),{dehydratedView:i})}destroy(n){Hc(n[C],n)}updateValue(n,t){this.getLView(n)[De].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n(Vi(!0),jc(i,r,function Jb(){return H.lFrame.currentNamespace}()));function qm(){return y()}function ja(e,n,t){const i=y();return Ue(i,Rn(),n)&&$t(Q(),Ce(),i,e,n,i[G],t,!0),ja}const cs="en-US";let mE=cs;function ge(e,n,t,i){const r=y(),o=Q(),s=pe();return function Zm(e,n,t,i,r,o,s){const a=Ql(i),c=e.firstCreatePass&&ew(e),d=n[De],u=Jy(n);let f=!0;if(3&i.type||s){const p=kt(i,n),g=s?s(p):p,v=u.length,_=s?k=>s(ye(k[i.index])):i.index;let S=null;if(!s&&a&&(S=function iV(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,f=!1;else{o=HE(i,n,d,o,!1);const k=t.listen(g,r,o);u.push(o,k),c&&c.push(r,_,v,v+1)}}else o=HE(i,n,d,o,!1);const h=i.outputs;let m;if(f&&null!==h&&(m=h[r])){const p=m.length;if(p)for(let g=0;g-1?en(e.index,n):n);let l=jE(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=jE(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function lt(e=1){return function RR(e){return(H.lFrame.contextLView=function jb(e,n){for(;e>0;)n=n[mo],e--;return n}(e,H.lFrame.contextLView))[De]}(e)}function rV(e,n){let t=null;const i=function JA(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r(Vi(!0),function Bc(e,n){return e.createText(n)}(n[G],i));function ni(e){return ds("",e,""),ni}function ds(e,n,t){const i=y(),r=function Jo(e,n,t,i){return Ue(e,Rn(),t)?n+Y(t)+i:Z}(i,e,n,t);return r!==Z&&function bi(e,n,t){const i=Xs(n,e);!function Iy(e,n,t){e.setValue(n,t)}(e[G],i,t)}(i,Dt(),r),ds}function Km(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(Cr(e)||!e.multi){const h=new la(c,r,b),m=Jm(l,n,r?d:d+f,u);-1===m?(gh(Sc(a,s),o,l),Qm(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[m]=h,s[m]=h)}else{const h=Jm(l,n,d+f,u),m=Jm(l,n,d,d+f),g=m>=0&&t[m];if(r&&!g||!r&&!(h>=0&&t[h])){gh(Sc(a,s),o,l);const v=function DV(e,n,t,i,r){const o=new la(e,t,b);return o.multi=[],o.index=n,o.componentProviders=0,_x(o,r,i&&!t),o}(r?xV:EV,t.length,r,i,c);!r&&g&&(t[m].providerFactory=v),Qm(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(v),s.push(v)}else Qm(o,e,h>-1?h:m,_x(t[r?m:h],c,!r&&i));!r&&i&&g&&t[m].componentProviders++}}}function Qm(e,n,t,i){const r=Cr(n),o=function gk(e){return!!e.useClass}(n);if(r||o){const l=(o?V(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function _x(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Jm(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function wV(e,n,t){const i=Q();if(i.firstCreatePass){const r=An(e);Km(t,i.data,i.blueprint,r,!0),Km(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let CV=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=nh(0,t.type),r=i.length>0?function d0(e,n,t=null){return new c0({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(w(Wn))})}return e})();function Ft(e){kn("NgStandalone"),e.getStandaloneInjector=n=>n.get(CV).getOrCreateStandaloneInjector(e)}function Ix(e,n,t,i,r,o){const s=n+t;return Ue(e,s,r)?function Qn(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function qa(e,n){const t=e[n];return t===Z?void 0:t}(e,s+1)}function an(e,n){const t=Q();let i;const r=e+W;t.firstCreatePass?(i=function GV(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=Dr(i.type)),a=Ut(b);try{const l=Mc(!1),c=o();return Mc(l),function lV(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,y(),r,c),c}finally{Ut(a)}}function ln(e,n,t){const i=e+W,r=y(),o=_o(r,i);return function Wa(e,n){return e[C].data[n].pure}(r,i)?Ix(r,function Ot(){const e=H.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,o.transform,t,o):o.transform(t)}function Rx(e,n){return Xc(e,n)}const Kx=new x("");function Cd(e){return!!e&&"function"==typeof e.then}function Qx(e){return!!e&&"function"==typeof e.subscribe}const Jx=new x("");let dp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=I(Jx,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Cd(o))t.push(o);else if(Qx(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const eD=new x("");let yi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(Kv),this.afterRenderEffectManager=I(Sa),this.componentTypes=[],this.components=[],this.isStable=I(Oa).hasPendingTasks.pipe(he(t=>!t)),this._injector=I(Wn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof bw;if(!this._injector.get(dp).done)throw!r&&function _r(e){const n=X(e)||Je(e)||mt(e);return null!==n&&n.standalone}(t),new E(405,!1);let s;s=r?t:this._injector.get(Ma).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function G2(e){return e.isBoundToModule}(s)?void 0:this._injector.get(kr),c=s.create(Ct.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(Kx,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Id(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new E(101,!1);const t=D(null);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,D(t)}}detectChangesInAttachedViews(){let t=0;const i=this.afterRenderEffectManager;for(;;){if(100===t)throw new E(103,!1);const r=0===t;for(let{_lView:o,notifyErrorHandler:s}of this._views)!r&&!up(o)||this.detectChangesInView(o,s,r);if(t++,i.executeInternalCallbacks(),!this._views.some(({_lView:o})=>up(o))&&(i.execute(),!this._views.some(({_lView:o})=>up(o))))break}}detectChangesInView(t,i,r){let o;r?(o=0,t[N]|=1024):o=64&t[N]?0:1,Zc(t,i,o)}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Id(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(eD,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Id(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Id(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function up(e){return vf(e)}let X2=(()=>{class e{constructor(){this.zone=I(B),this.applicationRef=I(yi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oD(e){return[{provide:B,useFactory:e},{provide:gi,multi:!0,useFactory:()=>{const n=I(X2,{optional:!0});return()=>n.initialize()}},{provide:gi,multi:!0,useFactory:()=>{const n=I(J2);return()=>{n.initialize()}}},{provide:Kv,useFactory:K2}]}function K2(){const e=I(B),n=I(nn);return t=>e.runOutsideAngular(()=>n.handleError(t))}function Q2(e){return Ro([[],oD(()=>new B(function sD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let J2=(()=>{class e{constructor(){this.subscription=new We,this.initialized=!1,this.zone=I(B),this.pendingTasks=I(Oa)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{B.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ii=new x("",{providedIn:"root",factory:()=>I(ii,te.Optional|te.SkipSelf)||function eB(){return typeof $localize<"u"&&$localize.locale||cs}()}),fp=new x("");let Yi=null;let ms=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=sB}return e})();function sB(e){return function aB(e,n,t){if(vr(e)&&!t){const i=en(e.index,n);return new Ea(i,i)}return 47&e.type?new Ea(n[Pe],n):null}(pe(),y(),16==(16&e))}function NB(e){try{const{rootComponent:n,appProviders:t,platformProviders:i}=e,r=function oB(e=[]){if(Yi)return Yi;const n=function cD(e=[],n){return Ct.create({name:n,providers:[{provide:oh,useValue:"platform"},{provide:fp,useValue:new Set([()=>Yi=null])},...e]})}(e);return Yi=n,function tD(){!function Ll(e){lo=e}(()=>{throw new E(600,!1)})}(),function dD(e){e.get(cv,null)?.forEach(t=>t())}(n),n}(i),o=[Q2(),...t||[]],a=new c0({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(B);return l.run(()=>{a.resolveInjectorInitializers();const c=a.get(nn,null);let d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:h=>{c.handleError(h)}})});const u=()=>a.destroy(),f=r.get(fp);return f.add(u),a.onDestroy(()=>{d.unsubscribe(),f.delete(u)}),function nD(e,n,t){try{const i=t();return Cd(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(c,l,()=>{const h=a.get(dp);return h.runInitializers(),h.donePromise.then(()=>{!function pE(e){"string"==typeof e&&(mE=e.toLowerCase().replace(/_/g,"-"))}(a.get(ii,cs)||cs);const p=a.get(yi);return void 0!==n&&p.bootstrap(n),p})})})}catch(n){return Promise.reject(n)}}function cn(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function UD(e,n){kn("NgSignals");const t=function Ls(e){const n=Object.create(vt);n.computation=e;const t=()=>{if(Os(n),no(n),n.value===Fi)throw n.error;return n.value};return t[Zt]=n,t}(e);return n?.equal&&(t[Zt].equal=n.equal),t}function zD(e){const n=D(null);try{return e()}finally{D(n)}}let $D=null;function Zi(){return $D}class tj{}const ae=new x("");let GD=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>I(nj),providedIn:"platform"})}return e})(),nj=(()=>{class e extends GD{constructor(){super(),this._doc=I(ae),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zi().getBaseHref(this._doc)}onPopState(t){const i=Zi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Zi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function qD(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function WD(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Vr(e){return e&&"?"!==e[0]?"?"+e:e}let wp=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>I(rj),providedIn:"root"})}return e})();const ij=new x("");let rj=(()=>{class e extends wp{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??I(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return qD(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Vr(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+Vr(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+Vr(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(GD),w(ij,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YD=(()=>{class e{constructor(t){this._subject=new ve,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function aj(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(WD(ZD(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Vr(i))}normalize(t){return e.stripTrailingSlash(function sj(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,ZD(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vr(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}static#e=this.normalizeQueryParams=Vr;static#t=this.joinWithSlash=qD;static#n=this.stripTrailingSlash=WD;static#i=this.\u0275fac=function(i){return new(i||e)(w(wp))};static#r=this.\u0275prov=M({token:e,factory:()=>function oj(){return new YD(w(wp))}(),providedIn:"root"})}return e})();function ZD(e){return e.replace(/\/index.html$/,"")}const Rp=/\s+/,rC=[];let oC=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=rC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Rp):rC}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Rp):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(Rp).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(Tr))};static#t=this.\u0275dir=A({type:e,selectors:[["","ngClass",""]],inputs:{klass:[F.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})(),dC=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(b(On))};static#t=this.\u0275dir=A({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[bn]})}return e})();class nH{createSubscription(n,t){return zD(()=>n.subscribe({next:t,error:i=>{throw i}}))}dispose(n){zD(()=>n.unsubscribe())}}class iH{createSubscription(n,t){return n.then(t,i=>{throw i})}dispose(n){}}const rH=new iH,oH=new nH;let uC=(()=>{class e{constructor(t){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i))}_selectStrategy(t){if(Cd(t))return rH;if(Qx(t))return oH;throw function Vn(e,n){return new E(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||e)(b(ms,16))};static#t=this.\u0275pipe=Rt({name:"async",type:e,pure:!1,standalone:!0})}return e})(),Pp=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({})}return e})();const hC="browser";function Lp(e){return e===hC}function mC(e){return"server"===e}class tU extends tj{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Bp extends tU{static makeCurrent(){!function ej(e){$D??=e}(new Bp)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function nU(){return tl=tl||document.querySelector("base"),tl?tl.getAttribute("href"):null}();return null==t?null:function iU(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){tl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function Gj(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let tl=null,oU=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const jp=new x("");let xC=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new E(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(w(jp),w(B))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class DC{constructor(n){this._doc=n}}const Hp="ng-app-id";let CC=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=mC(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Hp}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(Hp),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Hp,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae),w(cc),w(Of,8),w(pi))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const Up={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/"},zp=/%COMP%/g,cU=new x("",{providedIn:"root",factory:()=>!0});function MC(e,n){return n.map(t=>t.replace(zp,e))}let $p=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=mC(a),this.defaultRenderer=new Gp(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===In.ShadowDom&&(i={...i,encapsulation:In.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof TC?r.applyToHost(t):r instanceof qp&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case In.Emulated:o=new TC(l,c,i,this.appId,d,s,a,u);break;case In.ShadowDom:return new hU(l,c,t,i,s,a,this.nonce,u);default:o=new qp(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(w(xC),w(CC),w(cc),w(cU),w(ae),w(pi),w(B),w(Of))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class Gp{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Up[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(SC(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(SC(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new E(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Up[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Up[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Ui.DashCase|Ui.Important)?n.style.setProperty(t,i,r&Ui.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Ui.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=Zi().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function SC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class hU extends Gp{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=MC(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class qp extends Gp{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?MC(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class TC extends qp{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function dU(e){return"_ngcontent-%COMP%".replace(zp,e)}(c),this.hostAttr=function uU(e){return"_nghost-%COMP%".replace(zp,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}const AC=["alt","control","meta","shift"],pU={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gU={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function RC(e){return{appProviders:[...DU,...e?.providers??[]],platformProviders:EU}}const EU=[{provide:pi,useValue:hC},{provide:cv,useValue:function vU(){Bp.makeCurrent()},multi:!0},{provide:ae,useFactory:function wU(){return function BR(e){Rf=e}(document),document},deps:[]}],DU=[{provide:oh,useValue:"root"},{provide:nn,useFactory:function yU(){return new nn},deps:[]},{provide:jp,useClass:(()=>{class e extends DC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),multi:!0,deps:[ae,B,pi]},{provide:jp,useClass:(()=>{class e extends DC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zi().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),AC.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=pU[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),AC.forEach(s=>{s!==r&&(0,gU[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),multi:!0,deps:[ae]},$p,CC,xC,{provide:rm,useExisting:$p},{provide:class MH{},useClass:oU,deps:[]},[]];let Wp=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:function(i){let r=null;return r=i?new(i||e):w(SU),r},providedIn:"root"})}return e})(),SU=(()=>{class e extends Wp{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case gt.NONE:return i;case gt.HTML:return Xn(i,"HTML")?rn(i):cy(this._doc,String(i)).toString();case gt.STYLE:return Xn(i,"Style")?rn(i):i;case gt.SCRIPT:if(Xn(i,"Script"))return rn(i);throw new E(5200,!1);case gt.URL:return Xn(i,"URL")?rn(i):Fc(String(i));case gt.RESOURCE_URL:if(Xn(i,"ResourceURL"))return rn(i);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(t){return function fO(e){return new sO(e)}(t)}bypassSecurityTrustStyle(t){return function hO(e){return new aO(e)}(t)}bypassSecurityTrustScript(t){return function mO(e){return new lO(e)}(t)}bypassSecurityTrustUrl(t){return function pO(e){return new cO(e)}(t)}bypassSecurityTrustResourceUrl(t){return function gO(e){return new dO(e)}(t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var U=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(U||{});const xi="*";function FC(e,n){return{type:U.Trigger,name:e,definitions:n,options:{}}}function Yp(e,n=null){return{type:U.Animate,styles:n,timings:e}}function _s(e){return{type:U.Style,styles:e,offset:null}}function Zp(e,n,t){return{type:U.State,name:e,styles:n,options:t}}function Xp(e,n,t=null){return{type:U.Transition,expr:e,animation:n,options:t}}class il{constructor(n=0,t=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=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class PC{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function LC(e){return new E(3e3,!1)}function Xi(e){switch(e.length){case 0:return new il;case 1:return e[0];default:return new PC(e)}}function VC(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,h)=>{let m=h,p=f;if("offset"!==h)switch(m=e.normalizePropertyName(m,r),p){case"!":p=t.get(h);break;case xi:p=i.get(h);break;default:p=e.normalizeStyleValue(h,m,p,r)}u.set(m,p)}),d||o.push(u),a=u,s=c}),r.length)throw function nz(e){return new E(3502,!1)}();return o}function Qp(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&Jp(t,"start",e)));break;case"done":e.onDone(()=>i(t&&Jp(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&Jp(t,"destroy",e)))}}function Jp(e,n,t){const o=eg(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function eg(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function un(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function BC(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const mz=typeof document>"u"?null:document.documentElement;function tg(e){const n=e.parentNode||e.host||null;return n===mz?null:n}let Br=null,jC=!1;function HC(e,n){for(;n;){if(n===e)return!0;n=tg(n)}return!1}function UC(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let ng=(()=>{class e{validateStyleProperty(t){return function gz(e){Br||(Br=function _z(){return typeof document<"u"?document.body:null}()||{},jC=!!Br.style&&"WebkitAppearance"in Br.style);let n=!0;return Br.style&&!function pz(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Br.style,!n&&jC&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Br.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return HC(t,i)}getParentElement(t){return tg(t)}query(t,i,r){return UC(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new il(r,o)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class ig{static#e=this.NOOP=new ng}class rg{}const vz=1e3,og="ng-enter",Zd="ng-leave",Xd="ng-trigger",Kd=".ng-trigger",$C="ng-animating",sg=".ng-animating";function Di(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:ag(parseFloat(n[1]),n[2])}function ag(e,n){return"s"===n?e*vz:e}function Qd(e,n,t){return e.hasOwnProperty("duration")?e:function wz(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(LC()),{duration:0,delay:0,easing:""};r=ag(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=ag(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function NU(){return new E(3100,!1)}()),a=!0),o<0&&(n.push(function FU(){return new E(3101,!1)}()),a=!0),a&&n.splice(l,0,LC())}return{duration:r,delay:o,easing:s}}(e,n,t)}function ri(e,n,t){n.forEach((i,r)=>{const o=cg(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function jr(e,n){n.forEach((t,i)=>{const r=cg(i);e.style[r]=""})}function rl(e){return Array.isArray(e)?1==e.length?e[0]:function TU(e,n=null){return{type:U.Sequence,steps:e,options:n}}(e):e}const lg=new RegExp("{{\\s*(.+?)\\s*}}","g");function qC(e){let n=[];if("string"==typeof e){let t;for(;t=lg.exec(e);)n.push(t[1]);lg.lastIndex=0}return n}function ol(e,n,t){const i=`${e}`,r=i.replace(lg,(o,s)=>{let a=n[s];return null==a&&(t.push(function LU(e){return new E(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const Dz=/-+([a-z0-9])/g;function cg(e){return e.replace(Dz,(...n)=>n[1].toUpperCase())}function fn(e,n,t){switch(n.type){case U.Trigger:return e.visitTrigger(n,t);case U.State:return e.visitState(n,t);case U.Transition:return e.visitTransition(n,t);case U.Sequence:return e.visitSequence(n,t);case U.Group:return e.visitGroup(n,t);case U.Animate:return e.visitAnimate(n,t);case U.Keyframes:return e.visitKeyframes(n,t);case U.Style:return e.visitStyle(n,t);case U.Reference:return e.visitReference(n,t);case U.AnimateChild:return e.visitAnimateChild(n,t);case U.AnimateRef:return e.visitAnimateRef(n,t);case U.Query:return e.visitQuery(n,t);case U.Stagger:return e.visitStagger(n,t);default:throw function VU(e){return new E(3004,!1)}()}}function dg(e,n){return window.getComputedStyle(e)[n]}const Mz=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class WC extends rg{normalizePropertyName(n,t){return cg(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(Mz.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function BU(e,n){return new E(3005,!1)}())}return s+o}}const Jd="*";const eu=new Set(["true","1"]),tu=new Set(["false","0"]);function YC(e,n){const t=eu.has(e)||tu.has(e),i=eu.has(n)||tu.has(n);return(r,o)=>{let s=e==Jd||e==r,a=n==Jd||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?eu.has(e):tu.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?eu.has(n):tu.has(n)),s&&a}}const Rz=new RegExp("s*:selfs*,?","g");function ug(e,n,t,i){return new kz(e).build(n,t,i)}class kz{constructor(n){this._driver=n}build(n,t,i){const r=new Fz(t);return this._resetContextStyleTimingState(r),fn(this,rl(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function jU(){return new E(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==U.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==U.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function HU(){return new E(3007,!1)}())}),{type:U.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{qC(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function UU(e,n){return new E(3008,!1)}(0,o.values()))}return{type:U.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=fn(this,rl(n.animation),t),r=function Sz(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function Tz(e,n,t){if(":"==e[0]){const l=function Az(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function KU(e){return new E(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(YC(r,s)),"<"==o[0]&&(r!=Jd||s!=Jd)&&n.push(YC(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:U.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Hr(n.options)}}visitSequence(n,t){return{type:U.Sequence,steps:n.steps.map(i=>fn(this,i,t)),options:Hr(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=fn(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:U.Group,steps:o,options:Hr(n.options)}}visitAnimate(n,t){const i=function Lz(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return fg(Qd(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=fg(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Qd(t,n);return fg(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:_s({});if(o.type==U.Keyframes)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=_s(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:U.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===xi?i.push(a):t.errors.push(new E(3002,!1)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:U.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function $U(e,n,t,i,r){return new E(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function xz(e,n,t){const i=n.params||{},r=qC(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function PU(e){return new E(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:U.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function GU(){return new E(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(v=>{const _=this._makeStyleAst(v,t);let S=null!=_.offset?_.offset:function Pz(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(_.styles),k=0;return null!=S&&(o++,k=_.offset=S),l=l||k<0||k>1,a=a||k0&&o{const S=f>0?_==h?1:f*_:s[_],k=S*g;t.currentTime=m+p.delay+k,p.duration=k,this._validateStyleAst(v,t),v.offset=S,i.styles.push(v)}),i}visitReference(n,t){return{type:U.Reference,animation:fn(this,rl(n.animation),t),options:Hr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:U.AnimateChild,options:Hr(n.options)}}visitAnimateRef(n,t){return{type:U.AnimateRef,animation:this.visitReference(n.animation,t),options:Hr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function Oz(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(Rz,"")),e=e.replace(/@\*/g,Kd).replace(/@\w+/g,t=>Kd+"-"+t.slice(1)).replace(/:animating/g,sg),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,un(t.collectedStyles,t.currentQuerySelector,new Map);const a=fn(this,rl(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:U.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Hr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function ZU(){return new E(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Qd(n.timings,t.errors,!0);return{type:U.Stagger,animation:fn(this,rl(n.animation),t),timings:i,options:null}}}class Fz{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hr(e){return e?(e={...e}).params&&(e.params=function Nz(e){return e?{...e}:null}(e.params)):e={},e}function fg(e,n,t){return{duration:e,delay:n,easing:t}}function hg(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class nu{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const jz=new RegExp(":enter","g"),Uz=new RegExp(":leave","g");function mg(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new zz).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class zz{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new nu;const u=new pg(n,t,c,r,o,d,[]);u.options=l;const f=l.delay?Di(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),fn(this,i,u);const h=u.timelines.filter(m=>m.containsAnimation());if(h.length&&a.size){let m;for(let p=h.length-1;p>=0;p--){const g=h[p];if(g.element===t){m=g;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return h.length?h.map(m=>m.buildKeyframes()):[hg(t,[],[],[],0,f,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:Di(ol(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?Di(i.duration):null,a=null!=i.delay?Di(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),fn(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==U.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=iu);const s=Di(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>fn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?Di(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),fn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return Qd(t.params?ol(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==U.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?Di(r.delay):0;o&&(t.previousNode.type===U.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=iu);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),fn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;fn(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const iu={};class pg{constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=iu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new ru(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Di(i.duration)),null!=i.delay&&(r.delay=Di(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=ol(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new pg(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=iu,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new $z(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(jz,"."+this._enterClassName)).replace(Uz,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function XU(e){return new E(3014,!1)}()),a}}class ru{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new ru(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||xi),this._currentKeyframe.set(t,xi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function Gz(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,xi)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=ol(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??xi),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===xi&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return hg(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class $z extends ru{constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",KC(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let f=new Map(n[u]);const h=f.get("offset");f.set("offset",KC((t+h*i)/s)),o.push(f)}i=s,t=0,r="",n=o}return hg(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function KC(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function QC(e,n,t,i,r,o,s,a,l,c,d,u,f){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const gg={};class JC{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function qz(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||gg,m=this.buildStyles(i,a&&a.params||gg,u),p=l&&l.params||gg,g=this.buildStyles(r,p,u),v=new Set,_=new Map,S=new Map,k="void"===r,z={params:eI(p,f),delay:this.ast.options?.delay},K=d?[]:mg(n,t,this.ast.animation,o,s,m,g,z,c,u);let Te=0;return K.forEach(st=>{Te=Math.max(st.duration+st.delay,Te)}),u.length?QC(t,this._triggerName,i,r,k,m,g,[],[],_,S,Te,u):(K.forEach(st=>{const Ai=st.element,cr=un(_,Ai,new Set);st.preStyleProps.forEach(Qr=>cr.add(Qr));const TA=un(S,Ai,new Set);st.postStyleProps.forEach(Qr=>TA.add(Qr)),Ai!==t&&v.add(Ai)}),QC(t,this._triggerName,i,r,k,m,g,K,[...v.values()],_,S,Te))}}function eI(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class Wz{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=eI(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=ol(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class Zz{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new Wz(r.style,r.options&&r.options.params||{},i))}),tI(this.states,"true","1"),tI(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new JC(n,r,this.states))}),this.fallbackTransition=function Xz(e,n,t){return new JC(e,{type:U.Transition,animation:{type:U.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function tI(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const Kz=new nu;class Qz{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],o=ug(this._driver,t,i,[]);if(i.length)throw function iz(e){return new E(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=VC(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=mg(this._driver,t,o,og,Zd,new Map,new Map,i,Kz,r),s.forEach(d=>{const u=un(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(function rz(){return new E(3300,!1)}()),s=[]),r.length)throw function oz(e){return new E(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,xi))})});const c=Xi(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function sz(e){return new E(3301,!1)}();return t}listen(n,t,i,r){const o=eg(t,"","","");return Qp(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const nI="ng-animate-queued",_g="ng-animate-disabled",i$=[],iI={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},r$={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bn="__ng_removed";class bg{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function l$(e){return e??null}(i?n.value:n),i){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const sl="void",vg=new bg(sl);class o${constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,En(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function az(e,n){return new E(3302,!1)}();if(null==i||0==i.length)throw function lz(e){return new E(3303,!1)}();if(!function c$(e){return"start"==e||"done"==e}(i))throw function cz(e,n){return new E(3400,!1)}();const o=un(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=un(this._engine.statesByElement,n,new Map);return a.has(t)||(En(n,Xd),En(n,Xd+"-"+t),a.set(t,vg)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function dz(e){return new E(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new yg(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(En(n,Xd),En(n,Xd+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new bg(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=vg),c.value!==sl&&l.value===c.value){if(!function f$(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r{jr(n,g),ri(n,v)})}return}const f=un(this._engine.playersByElement,n,[]);f.forEach(p=>{p.namespaceId==this.id&&p.triggerName==t&&p.queued&&p.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),m=!1;if(!h){if(!r)return;h=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(En(n,nI),s.onStart(()=>{bs(n,nI)})),s.onDone(()=>{let p=this.players.indexOf(s);p>=0&&this.players.splice(p,1);const g=this._engine.playersByElement.get(n);if(g){let v=g.indexOf(s);v>=0&&g.splice(v,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,Kd,!0);i.forEach(r=>{if(r[Bn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,sl,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&Xi(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||vg,d=new bg(sl),u=new yg(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[Bn];(!o||o===iI)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){En(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=eg(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Qp(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class s${_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i,r){this.bodyNode=n,this.driver=t,this._normalizer=i,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(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new o$(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(ou(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!ou(t))return;const o=t[Bn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),En(n,_g)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),bs(n,_g))}removeNode(n,t,i){if(ou(t)){this.scheduler?.notify();const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[Bn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return ou(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,Kd,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,sg,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Xi(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Bn];if(t&&t.setForRemoval){if(n[Bn]=iI,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(_g)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Xi(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function uz(e){return new E(3402,!1)}()}_flushAnimations(n,t){const i=new nu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(O=>{d.add(O);const P=this.driver.query(O,".ng-animate-queued",!0);for(let j=0;j{const j=og+p++;m.set(P,j),O.forEach(re=>En(re,j))});const g=[],v=new Set,_=new Set;for(let O=0;Ov.add(re)):_.add(P))}const S=new Map,k=sI(f,Array.from(v));k.forEach((O,P)=>{const j=Zd+p++;S.set(P,j),O.forEach(re=>En(re,j))}),n.push(()=>{h.forEach((O,P)=>{const j=m.get(P);O.forEach(re=>bs(re,j))}),k.forEach((O,P)=>{const j=S.get(P);O.forEach(re=>bs(re,j))}),g.forEach(O=>{this.processLeaveNode(O)})});const z=[],K=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(j=>{const re=j.player,ht=j.element;if(z.push(re),this.collectedEnterElements.length){const Tt=ht[Bn];if(Tt&&Tt.setForMove){if(Tt.previousTriggersValues&&Tt.previousTriggersValues.has(j.triggerName)){const Jr=Tt.previousTriggersValues.get(j.triggerName),Cn=this.statesByElement.get(j.element);if(Cn&&Cn.has(j.triggerName)){const Xu=Cn.get(j.triggerName);Xu.value=Jr,Cn.set(j.triggerName,Xu)}}return void re.destroy()}}const si=!u||!this.driver.containsElement(u,ht),pn=S.get(ht),dr=m.get(ht),Ve=this._buildInstruction(j,i,dr,pn,si);if(Ve.errors&&Ve.errors.length)return void K.push(Ve);if(si)return re.onStart(()=>jr(ht,Ve.fromStyles)),re.onDestroy(()=>ri(ht,Ve.toStyles)),void r.push(re);if(j.isFallbackTransition)return re.onStart(()=>jr(ht,Ve.fromStyles)),re.onDestroy(()=>ri(ht,Ve.toStyles)),void r.push(re);const kA=[];Ve.timelines.forEach(Tt=>{Tt.stretchStartingKeyframe=!0,this.disabledNodes.has(Tt.element)||kA.push(Tt)}),Ve.timelines=kA,i.append(ht,Ve.timelines),s.push({instruction:Ve,player:re,element:ht}),Ve.queriedElements.forEach(Tt=>un(a,Tt,[]).push(re)),Ve.preStyleProps.forEach((Tt,Jr)=>{if(Tt.size){let Cn=l.get(Jr);Cn||l.set(Jr,Cn=new Set),Tt.forEach((Xu,ob)=>Cn.add(ob))}}),Ve.postStyleProps.forEach((Tt,Jr)=>{let Cn=c.get(Jr);Cn||c.set(Jr,Cn=new Set),Tt.forEach((Xu,ob)=>Cn.add(ob))})});if(K.length){const O=[];K.forEach(P=>{O.push(function fz(e,n){return new E(3505,!1)}())}),z.forEach(P=>P.destroy()),this.reportError(O)}const Te=new Map,st=new Map;s.forEach(O=>{const P=O.element;i.has(P)&&(st.set(P,P),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,Te))}),r.forEach(O=>{const P=O.element;this._getPreviousPlayers(P,!1,O.namespaceId,O.triggerName,null).forEach(re=>{un(Te,P,[]).push(re),re.destroy()})});const Ai=g.filter(O=>lI(O,l,c)),cr=new Map;oI(cr,this.driver,_,c,xi).forEach(O=>{lI(O,l,c)&&Ai.push(O)});const Qr=new Map;h.forEach((O,P)=>{oI(Qr,this.driver,new Set(O),l,"!")}),Ai.forEach(O=>{const P=cr.get(O),j=Qr.get(O);cr.set(O,new Map([...P?.entries()??[],...j?.entries()??[]]))});const rb=[],AA=[],RA={};s.forEach(O=>{const{element:P,player:j,instruction:re}=O;if(i.has(P)){if(d.has(P))return j.onDestroy(()=>ri(P,re.toStyles)),j.disabled=!0,j.overrideTotalTime(re.totalTime),void r.push(j);let ht=RA;if(st.size>1){let pn=P;const dr=[];for(;pn=pn.parentNode;){const Ve=st.get(pn);if(Ve){ht=Ve;break}dr.push(pn)}dr.forEach(Ve=>st.set(Ve,ht))}const si=this._buildAnimation(j.namespaceId,re,Te,o,Qr,cr);if(j.setRealPlayer(si),ht===RA)rb.push(j);else{const pn=this.playersByElement.get(ht);pn&&pn.length&&(j.parentPlayer=Xi(pn)),r.push(j)}}else jr(P,re.fromStyles),j.onDestroy(()=>ri(P,re.toStyles)),AA.push(j),d.has(P)&&r.push(j)}),AA.forEach(O=>{const P=o.get(O.element);if(P&&P.length){const j=Xi(P);O.setRealPlayer(j)}}),r.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O!si.destroyed);ht.length?d$(this,P,ht):this.processLeaveNode(P)}return g.length=0,rb.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();const P=this.players.indexOf(O);this.players.splice(P,1)}),O.play()}),rb}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==sl;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=un(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(h=>{const m=h.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),h.destroy(),u.push(h)})}jr(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,f=t.timelines.map(m=>{const p=m.element;d.add(p);const g=p[Bn];if(g&&g.removedBeforeQueried)return new il(m.duration,m.delay);const v=p!==l,_=function u$(e){const n=[];return aI(e,n),n}((i.get(p)||i$).map(Te=>Te.getRealPlayer())).filter(Te=>!!Te.element&&Te.element===p),S=o.get(p),k=s.get(p),z=VC(this._normalizer,m.keyframes,S,k),K=this._buildPlayer(m,z,_);if(m.subTimeline&&r&&u.add(p),v){const Te=new yg(n,a,p);Te.setRealPlayer(K),c.push(Te)}return K});c.forEach(m=>{un(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function a$(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>En(m,$C));const h=Xi(f);return h.onDestroy(()=>{d.forEach(m=>bs(m,$C)),ri(l,t.toStyles)}),u.forEach(m=>{un(r,m,[]).push(h)}),h}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new il(n.duration,n.delay)}}class yg{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new il,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(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Qp(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){un(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function ou(e){return e&&1===e.nodeType}function rI(e,n){const t=e.style.display;return e.style.display=n??"none",t}function oI(e,n,t,i,r){const o=[];t.forEach(l=>o.push(rI(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=n.computeStyle(c,u,r);d.set(u,f),(!f||0==f.length)&&(c[Bn]=r$,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>rI(l,o[a++])),s}function sI(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function En(e,n){e.classList?.add(n)}function bs(e,n){e.classList?.remove(n)}function d$(e,n,t){Xi(t).onDone(()=>e.processLeaveNode(n))}function aI(e,n){for(let t=0;tr.add(o)):n.set(e,i),t.delete(e),!0}class al{constructor(n,t,i,r){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new s$(n.body,t,i,r),this._timelineEngine=new Qz(n.body,t,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=ug(this._driver,o,l,[]);if(l.length)throw function tz(e,n){return new E(3404,!1)}();a=function Yz(e,n,t){return new Zz(e,n,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=BC(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=BC(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class ll{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let r=ll.initialStylesByElement.get(n);r||ll.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ri(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ri(this._element,this._initialStyles),this._endStyles&&(ri(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ll.initialStylesByElement.delete(this._element),this._startStyles&&(jr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jr(this._element,this._endStyles),this._endStyles=null),ri(this._element,this._initialStyles),this._state=3)}}function wg(e){let n=null;return e.forEach((t,i)=>{(function m$(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class cI{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:dg(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class dI{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return HC(n,t)}getParentElement(n){return tg(n)}query(n,t,i){return UC(n,t,i)}computeStyle(n,t,i){return dg(n,t)}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(h=>h instanceof cI);(function Cz(e,n){return 0===e||0===n})(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((m,p)=>c.set(p,m))});let u=function Ez(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(h=>new Map(h));u=function Iz(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,dg(e,a)))}}return n}(n,u,c);const f=function h$(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=wg(n[0]),n.length>1&&(i=wg(n[n.length-1]))):n instanceof Map&&(t=wg(n)),t||i?new ll(e,t,i):null}(n,u);return new cI(n,u,l,f)}}const uI="@.disabled";class fI{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==uI?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class p$ extends fI{constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==uI?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function g$(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function _$(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}class b${constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,o)=>{const s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(r);return d||(d=new fI("",r,this.engine,()=>c.delete(r)),c.set(r,d)),d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new p$(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&nt(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const E$=[{provide:ig,useFactory:()=>new dI},{provide:qn,useValue:"BrowserAnimations"},...[{provide:rg,useFactory:function y$(){return new WC}},{provide:al,useClass:(()=>{class e extends al{constructor(t,i,r){super(t,i,r,I(im,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae),w(ig),w(rg))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})()},{provide:rm,useFactory:function w$(e,n,t){return new b$(e,n,t)},deps:[$p,al,B]}]];function Ki(e){return this instanceof Ki?(this.v=e,this):new Ki(e)}function _I(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Cg(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ig=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function bI(e){return ee(e?.then)}function vI(e){return ee(e[rf])}function yI(e){return Symbol.asyncIterator&&ee(e?.[Symbol.asyncIterator])}function wI(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const EI=function q$(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function xI(e){return ee(e?.[EI])}function DI(e){return function gI(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(m,p){o.push([f,h,m,p])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Ki?Promise.resolve(f.value.v).then(c,d):u(o[0][2],f)}(i[f](h))}catch(m){u(o[0][3],m)}}function c(f){a("next",f)}function d(f){a("throw",f)}function u(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Ki(t.read());if(r)return yield Ki(void 0);yield yield Ki(i)}}finally{t.releaseLock()}})}function CI(e){return ee(e?.getReader)}function qe(e){if(e instanceof ue)return e;if(null!=e){if(vI(e))return function W$(e){return new ue(n=>{const t=e[rf]();if(ee(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ig(e))return function Y$(e){return new ue(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,cb)})}(e);if(yI(e))return II(e);if(xI(e))return function X$(e){return new ue(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(CI(e))return function K$(e){return II(DI(e))}(e)}throw wI(e)}function II(e){return new ue(n=>{(function Q$(e,n){var t,i,r,o;return function mI(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=_I(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function MI(e){return new ue(n=>{qe(e()).subscribe(n)})}function Mg(e,n){const t=ee(e)?e:()=>e,i=r=>r.error(t());return new ue(n?r=>n.schedule(i,0,r):i)}function Ci(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Qi(e,n,t=1/0){return ee(n)?Qi((i,r)=>he((o,s)=>n(i,o,r,s))(qe(e(i,r))),t):("number"==typeof n&&(t=n),Ae((i,r)=>function J$(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&n.complete()},h=p=>c{o&&n.next(p),c++;let g=!1;qe(t(p,d++)).subscribe(be(n,v=>{r?.(v),o?h(v):n.next(v)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;l.length&&cm(v)):m(v)}f()}catch(v){n.error(v)}}))};return e.subscribe(be(n,h,()=>{u=!0,f()})),()=>{a?.()}}(i,r,e,t)))}const{isArray:e3}=Array;function Sg(e){return he(n=>function t3(e,n){return e3(n)?e(...n):e(n)}(e,n))}const n3=["addListener","removeListener"],r3=["addEventListener","removeEventListener"],o3=["on","off"];function cl(e,n,t,i){if(ee(t)&&(i=t,t=void 0),i)return cl(e,n,t).pipe(Sg(i));const[r,o]=function l3(e){return ee(e.addEventListener)&&ee(e.removeEventListener)}(e)?r3.map(s=>a=>e[s](n,a,t)):function s3(e){return ee(e.addListener)&&ee(e.removeListener)}(e)?n3.map(SI(e,n)):function a3(e){return ee(e.on)&&ee(e.off)}(e)?o3.map(SI(e,n)):[];if(!r&&Ig(e))return Qi(s=>cl(s,n,t))(qe(e));if(!r)throw new TypeError("Invalid event target");return new ue(s=>{const a=(...l)=>s.next(1o(a)})}function SI(e,n){return t=>i=>e[t](n,i)}function TI(e){return e&&ee(e.schedule)}function Tg(e){return e[e.length-1]}function Ag(e){return ee(Tg(e))?e.pop():void 0}function dl(e){return TI(Tg(e))?e.pop():void 0}function Rg(e,n=0){return Ae((t,i)=>{t.subscribe(be(i,r=>Ci(i,e,()=>i.next(r),n),()=>Ci(i,e,()=>i.complete(),n),r=>Ci(i,e,()=>i.error(r),n)))})}function AI(e,n=0){return Ae((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function RI(e,n){if(!e)throw new Error("Iterable cannot be null");return new ue(t=>{Ci(t,n,()=>{const i=e[Symbol.asyncIterator]();Ci(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function vs(e,n){return n?function p3(e,n){if(null!=e){if(vI(e))return function d3(e,n){return qe(e).pipe(AI(n),Rg(n))}(e,n);if(Ig(e))return function f3(e,n){return new ue(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(bI(e))return function u3(e,n){return qe(e).pipe(AI(n),Rg(n))}(e,n);if(yI(e))return RI(e,n);if(xI(e))return function h3(e,n){return new ue(t=>{let i;return Ci(t,n,()=>{i=e[EI](),Ci(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>ee(i?.return)&&i.return()})}(e,n);if(CI(e))return function m3(e,n){return RI(DI(e),n)}(e,n)}throw wI(e)}(e,n):qe(e)}function ct(...e){return vs(e,dl(e))}function kI(e=1/0){return Qi(gr,e)}function ul(...e){return function g3(){return kI(1)}()(vs(e,dl(e)))}const ys=new ue(uo),Ur=new ue(e=>e.complete());function ws(...e){const n=dl(e),t=function c3(e,n){return"number"==typeof Tg(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?qe(i[0]):kI(t)(vs(i,n)):Ur}function ot(e,n){return Ae((t,i)=>{let r=0;t.subscribe(be(i,o=>e.call(n,o,r++)&&i.next(o)))})}function Ii(e,n){return Ae((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(be(i,l=>{r?.unsubscribe();let c=0;const d=o++;qe(e(l,d)).subscribe(r=be(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}class v3 extends ue{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,hb(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new We;const t=this.getSubject();n.add(this.source.subscribe(be(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=We.EMPTY)}return n}refCount(){return function b3(){return Ae((e,n)=>{let t=null;e._refCount++;const i=be(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const r=e._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}()(this)}}const w3={connector:()=>new oe};function OI(e,n=w3){const{connector:t}=n;return Ae((i,r)=>{const o=t();qe(e(function y3(e){return new ue(n=>e.subscribe(n))}(o))).subscribe(r),r.add(i.subscribe(o))})}function qt(e){return e<=0?()=>Ur:Ae((n,t)=>{let i=0;n.subscribe(be(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function Vt(e,n,t){const i=ee(e)||n||t?{next:e,error:n,complete:t}:e;return i?Ae((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(be(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):gr}class D3 extends We{constructor(n,t){super()}schedule(n,t=0){return this}}const au={setInterval(e,n,...t){const{delegate:i}=au;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=au;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class lu extends D3{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return au.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&au.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,zl(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const kg={now:()=>(kg.delegate||Date).now(),delegate:void 0};class fl{constructor(n,t=fl.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}fl.now=kg.now;class cu extends fl{constructor(n,t=fl.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const du=new cu(lu),C3=du;function NI(){return Ae((e,n)=>{e.subscribe(be(n,uo))})}function FI(e,n){return n?t=>ul(n.pipe(qt(1),NI()),t.pipe(FI(e))):Qi((t,i)=>qe(e(t,i)).pipe(qt(1),function I3(e){return he(()=>e)}(t)))}function PI(e=0,n,t=C3){let i=-1;return null!=n&&(TI(n)?t=n:i=n),new ue(r=>{let o=function M3(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}const hl="Service workers are disabled or not supported by this browser";class uu{constructor(n){if(this.serviceWorker=n,n){const i=cl(n,"controllerchange").pipe(he(()=>n.controller)),o=ul(MI(()=>ct(n.controller)),i);this.worker=o.pipe(ot(d=>!!d)),this.registration=this.worker.pipe(Ii(()=>n.getRegistration()));const c=cl(n,"message").pipe(he(d=>d.data)).pipe(ot(d=>d&&d.type)).pipe(function x3(e){return e?n=>OI(e)(n):n=>function E3(e,n){const t=ee(e)?e:()=>e;return ee(n)?OI(n,{connector:t}):i=>new v3(i,t)}(new oe)(n)}());c.connect(),this.events=c}else this.worker=this.events=this.registration=function T3(e){return MI(()=>Mg(new Error(e)))}(hl)}postMessage(n,t){return this.worker.pipe(qt(1),Vt(i=>{i.postMessage({action:n,...t})})).toPromise().then(()=>{})}postMessageWithOperation(n,t,i){const r=this.waitForOperationCompleted(i),o=this.postMessage(n,t);return Promise.all([o,r]).then(([,s])=>s)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(n){let t;return t="string"==typeof n?i=>i.type===n:i=>n.includes(i.type),this.events.pipe(ot(t))}nextEventOfType(n){return this.eventsOfType(n).pipe(qt(1))}waitForOperationCompleted(n){return this.eventsOfType("OPERATION_COMPLETED").pipe(ot(t=>t.nonce===n),qt(1),he(t=>{if(void 0!==t.result)return t.result;throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let A3=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,this.pushManager=null,this.subscriptionChanges=new oe,!t.isEnabled)return this.messages=ys,this.notificationClicks=ys,void(this.subscription=ys);this.messages=this.sw.eventsOfType("PUSH").pipe(he(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(he(r=>r.data)),this.pushManager=this.sw.registration.pipe(he(r=>r.pushManager));const i=this.pushManager.pipe(Ii(r=>r.getSubscription()));this.subscription=ws(i,this.subscriptionChanges)}requestSubscription(t){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(hl));const i={userVisibleOnly:!0};let r=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length));for(let s=0;ss.subscribe(i)),qt(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(qt(1),Ii(i=>{if(null===i)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(hl))}decodeBase64(t){return atob(t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(uu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),R3=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,!t.isEnabled)return this.versionUpdates=ys,void(this.unrecoverable=ys);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(hl));const t=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(hl));const t=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:t},t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(uu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const LI=new x("");function k3(e,n,t,i){return()=>{if(!Lp(i)||!("serviceWorker"in navigator)||!1===t.enabled)return;let r;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof t.registrationStrategy)r=t.registrationStrategy();else{const[s,...a]=(t.registrationStrategy||"registerWhenStable:30000").split(":");switch(s){case"registerImmediately":r=ct(null);break;case"registerWithDelay":r=VI(+a[0]||0);break;case"registerWhenStable":r=a[0]?ws(BI(e),VI(+a[0])):BI(e);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${t.registrationStrategy}`)}}e.get(B).runOutsideAngular(()=>r.pipe(qt(1)).subscribe(()=>navigator.serviceWorker.register(n,{scope:t.scope}).catch(s=>console.error("Service worker registration failed with:",s))))}}function VI(e){return ct(null).pipe(function S3(e,n=du){const t=PI(e,n);return FI(()=>t)}(e))}function BI(e){return e.get(yi).isStable.pipe(ot(t=>t))}function O3(e,n){return new uu(Lp(n)&&!1!==e.enabled?navigator.serviceWorker:void 0)}class Og{}const L3=new class P3 extends cu{}(class F3 extends lu{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}schedule(n,t=0){return t>0?super.schedule(n,t):(this.delay=t,this.state=n,this.scheduler.flush(this),this)}execute(n,t){return t>0||this.closed?super.execute(n,t):this._execute(n,t)}requestAsyncId(n,t,i=0){return null!=i&&i>0||null==i&&this.delay>0?super.requestAsyncId(n,t,i):(n.flush(this),0)}});function ml(...e){const n=Ag(e);return Ae((t,i)=>{const r=e.length,o=new Array(r);let s=e.map(()=>!1),a=!1;for(let l=0;l{o[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(gr))&&(s=null))},uo));t.subscribe(be(i,l=>{if(a){const c=[l,...o];i.next(n?n(...c):c)}}))})}function fu(e,n=gr){return e=e??H3,Ae((t,i)=>{let r,o=!0;t.subscribe(be(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function H3(e,n){return e===n}function Mt(e){return Ae((n,t)=>{qe(e).subscribe(be(t,()=>t.complete(),uo)),!t.closed&&n.subscribe(t)})}function Ng(e){e||(No(),e=I(zi));const n=new ue(t=>e.onDestroy(t.next.bind(t)));return t=>t.pipe(Mt(n))}const pl={};function Bt(e,n){if(pl[e]=(pl[e]||0)+1,"function"==typeof n)return Fg(e,(...i)=>({...n(...i),type:e}));switch(n?n._as:"empty"){case"empty":return Fg(e,()=>({type:e}));case"props":return Fg(e,i=>({...i,type:e}));default:throw new Error("Unexpected config.")}}function Fg(e,n){return Object.defineProperty(n,"type",{value:e,writable:!1})}const HI="@ngrx/store/init";let Es=(()=>{class e extends Us{constructor(){super({type:HI})}next(t){if("function"==typeof t)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof t>"u")throw new TypeError("Actions must be objects");if(typeof t.type>"u")throw new TypeError("Actions must have a type property");super.next(t)}complete(){}ngOnDestroy(){super.complete()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const q3=[Es],UI=new x("@ngrx/store Internal Root Guard"),zI=new x("@ngrx/store Internal Initial State"),Lg=new x("@ngrx/store Initial State"),$I=new x("@ngrx/store Reducer Factory"),GI=new x("@ngrx/store Internal Reducer Factory Provider"),qI=new x("@ngrx/store Initial Reducers"),Vg=new x("@ngrx/store Internal Initial Reducers"),YI=(new x("@ngrx/store Store Features"),new x("@ngrx/store Internal Store Reducers")),JI=(new x("@ngrx/store Internal Feature Reducers"),new x("@ngrx/store Internal Feature Configs"),new x("@ngrx/store Internal Store Features"),new x("@ngrx/store Internal Feature Reducers Token"),new x("@ngrx/store Feature Reducers"),new x("@ngrx/store User Provided Meta Reducers")),hu=new x("@ngrx/store Meta Reducers"),eM=new x("@ngrx/store Internal Resolved Meta Reducers"),tM=new x("@ngrx/store User Runtime Checks Config"),nM=new x("@ngrx/store Internal User Runtime Checks Config"),gl=new x("@ngrx/store Internal Runtime Checks"),jg=new x("@ngrx/store Check if Action types are unique"),mu=new x("@ngrx/store Root Store Provider"),Hg=new x("@ngrx/store Feature State Provider");function Ug(e,n={}){const t=Object.keys(e),i={};for(let o=0;oo(r),t(n))}}function rM(e,n){return Array.isArray(n)&&n.length>0&&(e=iM.apply(null,[...n,e])),(t,i)=>{const r=e(t);return(o,s)=>r(o=void 0===o?i:o,s)}}class zg extends ue{}class oM extends Es{}let pu=(()=>{class e extends Us{get currentReducers(){return this.reducers}constructor(t,i,r,o){super(o(r,i)),this.dispatcher=t,this.initialState=i,this.reducers=r,this.reducerFactory=o}addFeature(t){this.addFeatures([t])}addFeatures(t){const i=t.reduce((r,{reducers:o,reducerFactory:s,metaReducers:a,initialState:l,key:c})=>{const d="function"==typeof o?function Y3(e){const n=Array.isArray(e)&&e.length>0?iM(...e):t=>t;return(t,i)=>(t=n(t),(r,o)=>t(r=void 0===r?i:r,o))}(a)(o,l):rM(s,a)(o,l);return r[c]=d,r},{});this.addReducers(i)}removeFeature(t){this.removeFeatures([t])}removeFeatures(t){this.removeReducers(t.map(i=>i.key))}addReducer(t,i){this.addReducers({[t]:i})}addReducers(t){this.reducers={...this.reducers,...t},this.updateReducers(Object.keys(t))}removeReducer(t){this.removeReducers([t])}removeReducers(t){t.forEach(i=>{this.reducers=function W3(e,n){return Object.keys(e).filter(t=>t!==n).reduce((t,i)=>Object.assign(t,{[i]:e[i]}),{})}(this.reducers,i)}),this.updateReducers(t)}updateReducers(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:"@ngrx/store/update-reducers",features:t})}ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(i){return new(i||e)(w(oM),w(Lg),w(qI),w($I))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const X3=[pu,{provide:zg,useExisting:pu},{provide:oM,useExisting:Es}];let gu=(()=>{class e extends oe{ngOnDestroy(){this.complete()}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const K3=[gu];class sM extends ue{}let aM=(()=>{class e extends Us{static#e=this.INIT=HI;constructor(t,i,r,o){super(o);const c=t.pipe(Rg(L3)).pipe(ml(i)).pipe(function B3(e,n){return Ae(function V3(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(be(s,d=>{const u=c++;l=a?e(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}(Q3,{state:o}));this.stateSubscription=c.subscribe(({state:d,action:u})=>{this.next(d),r.next(u)}),this.state=function jI(e,n){const t=!n?.manualCleanup;t&&!n?.injector&&No();const i=t?n?.injector?.get(zi)??I(zi):null;let r;r=ym(n?.requireSync?{kind:0}:{kind:1,value:n?.initialValue});const o=e.subscribe({next:s=>r.set({kind:1,value:s}),error:s=>{if(n?.rejectErrors)throw s;r.set({kind:2,error:s})}});return i?.onDestroy(o.unsubscribe.bind(o)),UD(()=>{const s=r();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new E(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#t=this.\u0275fac=function(i){return new(i||e)(w(Es),w(zg),w(gu),w(Lg))};static#n=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();function Q3(e={state:void 0},[n,t]){const{state:i}=e;return{state:t(i,n),action:n}}const J3=[aM,{provide:sM,useExisting:aM}];let er=(()=>{class e extends ue{constructor(t,i,r){super(),this.actionsObserver=i,this.reducerManager=r,this.source=t,this.state=t.state}select(t,...i){return t5.call(null,t,...i)(this)}selectSignal(t,i){return UD(()=>t(this.state()),i)}lift(t){const i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=t,i}dispatch(t){this.actionsObserver.next(t)}next(t){this.actionsObserver.next(t)}error(t){this.actionsObserver.error(t)}complete(){this.actionsObserver.complete()}addReducer(t,i){this.reducerManager.addReducer(t,i)}removeReducer(t){this.reducerManager.removeReducer(t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(sM),w(Es),w(pu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const e5=[er];function t5(e,n,...t){return function(r){let o;if("string"==typeof e){const s=[n,...t].filter(Boolean);o=r.pipe(function j3(...e){const n=e.length;if(0===n)throw new Error("list of properties cannot be empty.");return he(t=>{let i=t;for(let r=0;re(s,n)))}return o.pipe(fu())}}const $g="https://ngrx.io/guide/store/configuration/runtime-checks";function lM(e){return void 0===e}function cM(e){return null===e}function dM(e){return Array.isArray(e)}function uM(e){return"object"==typeof e&&null!==e}function Gg(e){return"function"==typeof e}function qg(e,n){return e===n}function Wg(e,n=qg,t=qg){let o,i=null,r=null;return{memoized:function c(){if(void 0!==o)return o.result;if(!i)return r=e.apply(null,arguments),i=arguments,r;if(!function d5(e,n,t){for(let i=0;i"function"==typeof n)}(i[0])&&(i=function p5(e){const n=Object.values(e),t=Object.keys(e);return[...n,(...r)=>t.reduce((o,s,a)=>({...o,[s]:r[a]}),{})]}(i[0]));const r=i.slice(0,i.length-1),o=i[i.length-1],s=r.filter(d=>d.release&&"function"==typeof d.release),a=e(function(...d){return o.apply(null,d)}),l=Wg(function(d,u){return n.stateFn.apply(null,[d,r,u,a])});return Object.assign(l.memoized,{release:function c(){l.reset(),a.reset(),s.forEach(d=>d.release())},projector:a.memoized,setResult:l.setResult,clearResult:l.clearResult})}}(Wg)(...e)}function u5(e,n,t,i){if(void 0===t){const o=n.map(s=>s(e));return i.memoized.apply(null,o)}const r=n.map(o=>o(e,t));return i.memoized.apply(null,[...r,t])}function b5(e){return e instanceof x?I(e):e}function mM(e){return"function"==typeof e?e():e}function w5(e,n){return e.concat(n)}function E5(){if(I(er,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Yg(e){Object.freeze(e);const n=Gg(e);return Object.getOwnPropertyNames(e).forEach(t=>{if(!t.startsWith("\u0275")&&function l5(e,n){return Object.prototype.hasOwnProperty.call(e,n)}(e,t)&&(!n||"caller"!==t&&"callee"!==t&&"arguments"!==t)){const i=e[t];(uM(i)||Gg(i))&&!Object.isFrozen(i)&&Yg(i)}}),e}function Zg(e,n=[]){return(lM(e)||cM(e))&&0===n.length?{path:["root"],value:e}:Object.keys(e).reduce((i,r)=>{if(i)return i;const o=e[r];return function a5(e){return Gg(e)&&e.hasOwnProperty("\u0275cmp")}(o)?i:!(lM(o)||cM(o)||function o5(e){return"number"==typeof e}(o)||function r5(e){return"boolean"==typeof e}(o)||function n5(e){return"string"==typeof e}(o)||dM(o))&&(function fM(e){if(!function s5(e){return uM(e)&&!dM(e)}(e))return!1;const n=Object.getPrototypeOf(e);return n===Object.prototype||null===n}(o)?Zg(o,[...n,r]):{path:[...n,r],value:o})},!1)}function pM(e,n){if(!1===e)return;const t=e.path.join("."),i=new Error(`Detected unserializable ${n} at "${t}". ${$g}#strict${n}serializability`);throw i.value=e.value,i.unserializablePath=t,i}function I5(e){return{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function M5({strictActionSerializability:e,strictStateSerializability:n}){return t=>e||n?function D5(e,n){return function(t,i){n.action(i)&&pM(Zg(i),"action");const r=e(t,i);return n.state()&&pM(Zg(r),"state"),r}}(t,{action:i=>e&&!Xg(i),state:()=>n}):t}function S5({strictActionImmutability:e,strictStateImmutability:n}){return t=>e||n?function x5(e,n){return function(t,i){const r=n.action(i)?Yg(i):i,o=e(t,r);return n.state()?Yg(o):o}}(t,{action:i=>e&&!Xg(i),state:()=>n}):t}function Xg(e){return e.type.startsWith("@ngrx")}function T5({strictActionWithinNgZone:e}){return n=>e?function C5(e,n){return function(t,i){if(n.action(i)&&!B.isInAngularZone())throw new Error(`Action '${i.type}' running outside NgZone. ${$g}#strictactionwithinngzone`);return e(t,i)}}(n,{action:t=>e&&!Xg(t)}):n}function A5(e){return[{provide:nM,useValue:e},{provide:tM,useFactory:R5,deps:[nM]},{provide:gl,deps:[tM],useFactory:I5},{provide:hu,multi:!0,deps:[gl],useFactory:S5},{provide:hu,multi:!0,deps:[gl],useFactory:M5},{provide:hu,multi:!0,deps:[gl],useFactory:T5}]}function R5(e){return e}function k5(e){if(!e.strictActionTypeUniqueness)return;const n=Object.entries(pl).filter(([,t])=>t>1).map(([t])=>t);if(n.length)throw new Error(`Action types are registered more than once, ${n.map(t=>`"${t}"`).join(", ")}. ${$g}#strictactiontypeuniqueness`)}function O5(e={},n={}){return[{provide:UI,useFactory:E5},{provide:zI,useValue:n.initialState},{provide:Lg,useFactory:mM,deps:[zI]},{provide:Vg,useValue:e},{provide:YI,useExisting:e instanceof x?e:Vg},{provide:qI,deps:[Vg,[new wv(YI)]],useFactory:b5},{provide:JI,useValue:n.metaReducers?n.metaReducers:[]},{provide:eM,deps:[hu,JI],useFactory:w5},{provide:GI,useValue:n.reducerFactory?n.reducerFactory:Ug},{provide:$I,deps:[GI,eM],useFactory:rM},q3,X3,K3,J3,e5,A5(n.runtimeChecks),[{provide:jg,multi:!0,deps:[gl],useFactory:k5}]]}const F5=[{provide:mu,useFactory:function N5(){I(Es),I(zg),I(gu),I(er),I(UI,{optional:!0}),I(jg,{optional:!0})}},{provide:gi,multi:!0,useFactory:()=>()=>I(mu)}];function oi(...e){return{reducer:e.pop(),types:e.map(i=>i.type)}}function _M(e,...n){const t=new Map;for(const i of n)for(const r of i.types){const o=t.get(r);t.set(r,o?(a,l)=>i.reducer(o(a,l),l):i.reducer)}return function(i=e,r){const o=t.get(r.type);return o?o(i,r):i}}class Mi{constructor(n,t,i){this.kind=n,this.value=t,this.error=i,this.hasValue="N"===n}observe(n){return bM(this,n)}do(n,t,i){const{kind:r,value:o,error:s}=this;return"N"===r?n?.(o):"E"===r?t?.(s):i?.()}accept(n,t,i){var r;return ee(null===(r=n)||void 0===r?void 0:r.next)?this.observe(n):this.do(n,t,i)}toObservable(){const{kind:n,value:t,error:i}=this,r="N"===n?ct(t):"E"===n?Mg(()=>i):"C"===n?Ur:0;if(!r)throw new TypeError(`Unexpected notification kind ${n}`);return r}static createNext(n){return new Mi("N",n)}static createError(n){return new Mi("E",void 0,n)}static createComplete(){return Mi.completeNotification}}function bM(e,n){var t,i,r;const{kind:o,value:s,error:a}=e;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(t=n.next)||void 0===t||t.call(n,s):"E"===o?null===(i=n.error)||void 0===i||i.call(n,a):null===(r=n.complete)||void 0===r||r.call(n)}function Kg(e){return Ae((n,t)=>{let o,i=null,r=!1;i=n.subscribe(be(t,void 0,void 0,s=>{o=qe(e(s,Kg(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function vM(e,n,t,i){return Ae((r,o)=>{let s;n&&"function"!=typeof n?({duration:t,element:s,connector:i}=n):s=n;const a=new Map,l=m=>{a.forEach(m),m(o)},c=m=>l(p=>p.error(m));let d=0,u=!1;const f=new mb(o,m=>{try{const p=e(m);let g=a.get(p);if(!g){a.set(p,g=i?i():new oe);const v=function h(m,p){const g=new ue(v=>{d++;const _=p.subscribe(v);return()=>{_.unsubscribe(),0==--d&&u&&f.unsubscribe()}});return g.key=m,g}(p,g);if(o.next(v),t){const _=be(g,()=>{g.complete(),_?.unsubscribe()},void 0,void 0,()=>a.delete(p));f.add(qe(t(v)).subscribe(_))}}g.next(s?s(m):m)}catch(p){c(p)}},()=>l(m=>m.complete()),c,()=>a.clear(),()=>(u=!0,0===d));r.subscribe(f)})}function yM(e,n){return n?t=>t.pipe(yM((i,r)=>qe(e(i,r)).pipe(he((o,s)=>n(i,o,r,s))))):Ae((t,i)=>{let r=0,o=null,s=!1;t.subscribe(be(i,a=>{o||(o=be(i,void 0,()=>{o=null,s&&i.complete()}),qe(e(a,r++)).subscribe(o))},()=>{s=!0,!o&&i.complete()}))})}Mi.completeNotification=new Mi("C");const z5={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},_u="__@ngrx/effects_create__";function hn(e,n={}){const t=n.functional?e:e(),i={...z5,...n};return Object.defineProperty(t,_u,{value:i}),t}function EM(e){return Object.getPrototypeOf(e)}function Qg(e){return"function"==typeof e}function Y5(e,n,t){const i=EM(e),o=i&&"Object"!==i.constructor.name?i.constructor.name:null,s=function wM(e){return function $5(e){return Object.getOwnPropertyNames(e).filter(i=>!(!e[i]||!e[i].hasOwnProperty(_u))&&e[i][_u].hasOwnProperty("dispatch")).map(i=>({propertyName:i,...e[i][_u]}))}(e)}(e).map(({propertyName:a,dispatch:l,useEffectsErrorHandler:c})=>{const d="function"==typeof e[a]?e[a]():e[a],u=c?t(d,n):d;return!1===l?u.pipe(NI()):u.pipe(function H5(){return Ae((e,n)=>{e.subscribe(be(n,t=>{n.next(Mi.createNext(t))},()=>{n.next(Mi.createComplete()),n.complete()},t=>{n.next(Mi.createError(t)),n.complete()}))})}()).pipe(he(h=>({effect:e[a],notification:h,propertyName:a,sourceName:o,sourceInstance:e})))});return ws(...s)}function xM(e,n,t=10){return e.pipe(Kg(i=>(n&&n.handleError(i),t<=1?e:xM(e,n,t-1))))}let DM=(()=>{class e extends ue{constructor(t){super(),t&&(this.source=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}static#e=this.\u0275fac=function(i){return new(i||e)(w(gu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function mn(...e){return ot(n=>e.some(t=>"string"==typeof t?t===n.type:t.type===n.type))}new x("@ngrx/effects Internal Root Guard"),new x("@ngrx/effects User Provided Effects"),new x("@ngrx/effects Internal Root Effects"),new x("@ngrx/effects Internal Root Effects Instances"),new x("@ngrx/effects Internal Feature Effects"),new x("@ngrx/effects Internal Feature Effects Instance Groups");const K5=new x("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>xM}),Jg="@ngrx/effects/init",Q5=Bt(Jg);function l4(e){return e_(e,"ngrxOnInitEffects")}function e_(e,n){return e&&n in e&&"function"==typeof e[n]}let CM=(()=>{class e extends oe{constructor(t,i){super(),this.errorHandler=t,this.effectsErrorHandler=i}addEffects(t){this.next(t)}toActions(){return this.pipe(vM(t=>function G5(e){return!!e.constructor&&"Object"!==e.constructor.name&&"Function"!==e.constructor.name}(t)?EM(t):t),Qi(t=>t.pipe(vM(c4))),Qi(t=>{const i=t.pipe(yM(o=>function d4(e,n){return t=>{const i=Y5(t,e,n);return function s4(e){return e_(e,"ngrxOnRunEffects")}(t)?t.ngrxOnRunEffects(i):i}}(this.errorHandler,this.effectsErrorHandler)(o)),he(o=>(function J5(e,n){if("N"===e.notification.kind){const t=e.notification.value;!function e4(e){return"function"!=typeof e&&e&&e.type&&"string"==typeof e.type}(t)&&n.handleError(new Error(`Effect ${function t4({propertyName:e,sourceInstance:n,sourceName:t}){const i="function"==typeof n[e];return t?`"${t}.${String(e)}${i?"()":""}"`:`"${String(e)}()"`}(e)} dispatched an invalid action: ${function n4(e){try{return JSON.stringify(e)}catch{return e}}(t)}`))}}(o,this.errorHandler),o.notification)),ot(o=>"N"===o.kind&&null!=o.value),function U5(){return Ae((e,n)=>{e.subscribe(be(n,t=>bM(t,n)))})}());return ws(i,t.pipe(qt(1),ot(l4),he(o=>o.ngrxOnInitEffects())))}))}static#e=this.\u0275fac=function(i){return new(i||e)(w(nn),w(K5))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function c4(e){return function r4(e){return e_(e,"ngrxOnIdentifyEffects")}(e)?e.ngrxOnIdentifyEffects():""}let IM=(()=>{class e{get isStarted(){return!!this.effectsSubscription}constructor(t,i){this.effectSources=t,this.store=i,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(w(CM),w(er))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const MM={production:!0,providers:[]},SM=Bt("[Calc] Restore Preferences"),TM=Bt("[Calc] Restore Preferences Success",{_as:"props",_p:void 0}),f4=Bt("[Calc] Restore Preferences Failure"),t_=Bt("[Calc] Update Water Ratio",{_as:"props",_p:void 0}),n_=Bt("[Calc] Toggle Blend Ratio Use"),i_=Bt("[Calc] Update Blend Ratio",{_as:"props",_p:void 0}),r_=Bt("[Calc] Update Total Brew",{_as:"props",_p:void 0}),o_=Bt("[Calc] Update Total Brew Unit",{_as:"props",_p:void 0});var xn=As(904),Wt=function(e){return e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Paused=2]="Paused",e}(Wt||{}),xs=function(e){return e.ML="ml",e.OZ="oz",e}(xs||{});class tr{static roundDecimal(n){return Math.round(100*n)/100}static convertVolumeUnits(n,t,i){if(t===i)return n;switch(i){case xs.ML:return 29.574*n;case xs.OZ:return n/29.574;default:return 0}}}const Yt={waterRatio:16,useBlendRatio:!1,blendRatio:2,totalBrew:500,totalBrewUnit:xs.ML},p4=_M({waterRatio:Yt.waterRatio,useBlendRatio:Yt.useBlendRatio,blendRatio:Yt.blendRatio,totalBrew:Yt.totalBrew,totalBrewUnit:Yt.totalBrewUnit},oi(TM,(e,{waterRatio:n,useBlendRatio:t,blendRatio:i,brew:r,unit:o})=>(0,xn.cp)(e,{waterRatio:{$set:n},useBlendRatio:{$set:t},blendRatio:{$set:i},totalBrew:{$set:r},totalBrewUnit:{$set:o}})),oi(t_,(e,{waterRatio:n})=>(0,xn.cp)(e,{waterRatio:{$set:n>0?n:0}})),oi(n_,e=>(0,xn.cp)(e,{useBlendRatio:{$set:!e.useBlendRatio}})),oi(i_,(e,{blendRatio:n})=>(0,xn.cp)(e,{blendRatio:{$set:n>0?n:0}})),oi(r_,(e,{brew:n})=>(0,xn.cp)(e,{totalBrew:{$set:n>0?n:0}})),oi(o_,(e,{unit:n})=>(0,xn.cp)(e,{totalBrew:{$set:tr.convertVolumeUnits(e.totalBrew,e.totalBrewUnit,n)},totalBrewUnit:{$set:n}}))),_l=e=>e.calc,AM=St(_l,e=>e.waterRatio),RM=St(_l,e=>e.useBlendRatio),_4=St(_l,e=>e.blendRatio),s_=St(_l,e=>e.totalBrew),kM=St(_l,e=>e.totalBrewUnit),b4=St(s_,e=>tr.roundDecimal(e)),OM=St(s_,kM,AM,(e,n,t)=>{const r=function g4(e,n){return n<=0?0:e/n}(tr.convertVolumeUnits(e,n,xs.ML),t);return tr.roundDecimal(r)}),a_=St(OM,e=>tr.roundDecimal(e/10.25)),v4=St(a_,e=>tr.roundDecimal(29.574*e)),y4=St(a_,e=>tr.roundDecimal(e/8)),NM=Bt("[Stopwatch] Restore"),l_=Bt("[Stopwatch] Restore Success",{_as:"props",_p:void 0}),c_=Bt("[Stopwatch] Toggle Run"),bu=Bt("[Stopwatch] Tick",{_as:"props",_p:void 0}),vu=Bt("[Stopwatch] Reset"),x4=_M({status:Wt.NotStarted,startTime:Date.now(),lastTime:Date.now()},oi(l_,(e,{status:n,startTime:t,lastTime:i})=>(0,xn.cp)(e,{status:{$set:n},startTime:{$set:t},lastTime:{$set:i}})),oi(c_,e=>{if(e.status===Wt.Running)return(0,xn.cp)(e,{status:{$set:Wt.Paused}});if(e.status===Wt.Paused){const n=e.lastTime-e.startTime;return(0,xn.cp)(e,{status:{$set:Wt.Running},startTime:{$set:Date.now()-n},lastTime:{$set:Date.now()}})}return(0,xn.cp)(e,{status:{$set:Wt.Running},startTime:{$set:Date.now()},lastTime:{$set:Date.now()}})}),oi(bu,(e,{now:n})=>(0,xn.cp)(e,{lastTime:{$set:n}})),oi(vu,e=>(0,xn.cp)(e,{status:{$set:Wt.NotStarted},startTime:{$set:Date.now()},lastTime:{$set:Date.now()}}))),d_=e=>e.stopwatch,FM=St(d_,e=>e.status),PM=St(d_,e=>e.startTime),D4=St(d_,e=>e.lastTime),LM=St(PM,D4,(e,n)=>(n-e)/1e3),C4={calc:p4,stopwatch:x4};let M4=(()=>{class e{constructor(t,i){this.actions$=t,this.store$=i,this.init$=hn(()=>this.actions$.pipe(mn(Jg),Ii(()=>ct(SM())))),this.restorePreferences$=hn(()=>this.actions$.pipe(mn(SM),Ii(()=>{const r=Number(localStorage.getItem("cr-water-ratio")??Yt.waterRatio),o="true"===localStorage.getItem("cr-use-blend-ratio"),s=Number(localStorage.getItem("cr-blend-ratio")??Yt.blendRatio),a=Number(localStorage.getItem("cr-brew")??Yt.totalBrew),l=localStorage.getItem("cr-brew-unit")??Yt.totalBrewUnit;return Number.isNaN(r)||Number.isNaN(s)||Number.isNaN(a)||Number.isNaN(l)?ct(f4()):ct(TM({waterRatio:r,useBlendRatio:o,blendRatio:s,brew:a,unit:l}))}))),this.updateWaterRatio$=hn(()=>this.actions$.pipe(mn(t_),ot(({waterRatio:r})=>r>0),Vt(({waterRatio:r})=>localStorage.setItem("cr-water-ratio",r.toString()))),{dispatch:!1}),this.toggleBlendRatioUse$=hn(()=>this.actions$.pipe(mn(n_),ml(this.store$.select(RM)),Vt(([,r])=>localStorage.setItem("cr-use-blend-ratio",r.toString()))),{dispatch:!1}),this.updateBlendRatio$=hn(()=>this.actions$.pipe(mn(i_),ot(({blendRatio:r})=>r>0),Vt(({blendRatio:r})=>localStorage.setItem("cr-blend-ratio",r.toString()))),{dispatch:!1}),this.updateTotalBrew$=hn(()=>this.actions$.pipe(mn(r_),ot(({brew:r})=>r>0),Vt(({brew:r})=>localStorage.setItem("cr-brew",r.toString()))),{dispatch:!1}),this.updateTotalBrewUnit$=hn(()=>this.actions$.pipe(mn(o_),ml(this.store$.select(s_)),Vt(([{unit:r},o])=>{localStorage.setItem("cr-brew",o.toString()),localStorage.setItem("cr-brew-unit",r.toString())})),{dispatch:!1})}static#e=this.\u0275fac=function(i){return new(i||e)(w(DM),w(er))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),S4=(()=>{class e{constructor(t,i){this.actions$=t,this.store$=i,this.init$=hn(()=>this.actions$.pipe(mn(Jg),Ii(()=>ct(NM())))),this.restore$=hn(()=>this.actions$.pipe(mn(NM),Ii(()=>{const r=Number(localStorage.getItem("cr-stopwatch-status")),o=Number(localStorage.getItem("cr-stopwatch-starttime")),s=Number(localStorage.getItem("cr-stopwatch-lasttime"));return!r||Number.isNaN(r)||!o||Number.isNaN(o)||!s||Number.isNaN(s)?Ur:ct(l_({status:r,startTime:o,lastTime:s}))}))),this.restoreSuccess$=hn(()=>this.actions$.pipe(mn(l_),Vt(({status:r})=>{r===Wt.Running&&(this.intervalId=window.setInterval(()=>{this.store$.dispatch(bu({now:Date.now()}))},100))})),{dispatch:!1}),this.toggleRun$=hn(()=>this.actions$.pipe(mn(c_),ml(this.store$.select(FM),this.store$.select(PM)),Vt(([,r,o])=>{switch(localStorage.setItem("cr-stopwatch-status",r.toString()),r){case Wt.Running:localStorage.setItem("cr-stopwatch-starttime",o.toString()),this.intervalId=window.setInterval(()=>{this.store$.dispatch(bu({now:Date.now()}))},100);break;case Wt.Paused:clearInterval(this.intervalId)}})),{dispatch:!1}),this.tick$=hn(()=>this.actions$.pipe(mn(bu),ml(this.store$.select(LM)),Ii(([{now:r},o])=>(localStorage.setItem("cr-stopwatch-lasttime",r.toString()),o>=3600?ct(vu()):Ur)))),this.reset$=hn(()=>this.actions$.pipe(mn(vu),Vt(()=>{clearInterval(this.intervalId);const r=Date.now().toString();localStorage.setItem("cr-stopwatch-status",Wt.NotStarted.toString()),localStorage.setItem("cr-stopwatch-starttime",r),localStorage.setItem("cr-stopwatch-lasttime",r)})),{dispatch:!1}),this.intervalId=0}static#e=this.\u0275fac=function(i){return new(i||e)(w(DM),w(er))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const T4={providers:[function D$(){return kn("NgEagerAnimations"),[...E$]}(),function N3(e,n={}){return Ro([A3,R3,{provide:LI,useValue:e},{provide:Og,useValue:n},{provide:uu,useFactory:O3,deps:[Og,pi]},{provide:Jx,useFactory:k3,deps:[Ct,LI,Og,pi],multi:!0}])}("ngsw-worker.js",{enabled:MM.production,registrationStrategy:"registerImmediately"}),function P5(e,n){return Ro([...O5(e,n),F5])}(C4,{metaReducers:[],runtimeChecks:{strictStateImmutability:!0,strictActionImmutability:!0,strictStateSerializability:!1,strictActionSerializability:!1,strictActionWithinNgZone:!0,strictActionTypeUniqueness:!0}}),function u4(...e){const n=e.flat();return Ro([function q5(e){return e.filter(Qg)}(n),{provide:gi,multi:!0,useValue:()=>{I(mu),I(Hg,{optional:!0});const i=I(IM),r=I(CM),o=!i.isStarted;o&&i.start();for(const s of n){const a=Qg(s)?I(s):s;r.addEffects(a)}o&&I(er).dispatch(Q5())}}])}(M4,S4),MM.providers]},{isArray:A4}=Array,{getPrototypeOf:R4,prototype:k4,keys:O4}=Object;function VM(e){if(1===e.length){const n=e[0];if(A4(n))return{args:n,keys:null};if(function N4(e){return e&&"object"==typeof e&&R4(e)===k4}(n)){const t=O4(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}function BM(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function jM(...e){const n=Ag(e),{args:t,keys:i}=VM(e),r=new ue(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?BM(i,a):a),o.complete())}))}});return n?r.pipe(Sg(n)):r}let HM=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Tr),b(we))};static#t=this.\u0275dir=A({type:e})}return e})(),zr=(()=>{class e extends HM{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275dir=A({type:e,features:[se]})}return e})();const jn=new x(""),P4={provide:jn,useExisting:Ee(()=>yu),multi:!0},V4=new x("");let yu=(()=>{class e extends HM{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function L4(){const e=Zi()?Zi().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Tr),b(we),b(V4,8))};static#t=this.\u0275dir=A({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&ge("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[_e([P4]),se]})}return e})();function nr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function zM(e){return null!=e&&"number"==typeof e.length}const dt=new x(""),ir=new x(""),B4=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class $r{static min(n){return $M(n)}static max(n){return function GM(e){return n=>{if(nr(n.value)||nr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function qM(e){return nr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function WM(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function YM(e){return nr(e.value)||B4.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function ZM(e){return n=>nr(n.value)||!zM(n.value)?null:n.value.lengthzM(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return KM(n)}static nullValidator(n){return null}static compose(n){return iS(n)}static composeAsync(n){return rS(n)}}function $M(e){return n=>{if(nr(n.value)||nr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(nr(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function wu(e){return null}function QM(e){return null!=e}function JM(e){return Cd(e)?vs(e):e}function eS(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function tS(e,n){return n.map(t=>t(e))}function nS(e){return e.map(n=>function j4(e){return!e.validate}(n)?n:t=>n.validate(t))}function iS(e){if(!e)return null;const n=e.filter(QM);return 0==n.length?null:function(t){return eS(tS(t,n))}}function u_(e){return null!=e?iS(nS(e)):null}function rS(e){if(!e)return null;const n=e.filter(QM);return 0==n.length?null:function(t){return jM(tS(t,n).map(JM)).pipe(he(eS))}}function f_(e){return null!=e?rS(nS(e)):null}function oS(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function sS(e){return e._rawValidators}function aS(e){return e._rawAsyncValidators}function h_(e){return e?Array.isArray(e)?e:[e]:[]}function Eu(e,n){return Array.isArray(e)?e.includes(n):e===n}function lS(e,n){const t=h_(n);return h_(e).forEach(r=>{Eu(t,r)||t.push(r)}),t}function cS(e,n){return h_(n).filter(t=>!Eu(e,t))}class dS{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(n){this._rawValidators=n||[],this._composedValidatorFn=u_(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=f_(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class jt extends dS{get formDirective(){return null}get path(){return null}}class Si extends dS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class uS{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let fS=(()=>{class e extends uS{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Si,2))};static#t=this.\u0275dir=A({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[se]})}return e})(),hS=(()=>{class e extends uS{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(jt,10))};static#t=this.\u0275dir=A({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[se]})}return e})();const bl="VALID",Du="INVALID",Ds="PENDING",vl="DISABLED";function g_(e){return(Cu(e)?e.validators:e)||null}function __(e,n){return(Cu(n)?n.asyncValidators:e)||null}function Cu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function pS(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new E(1e3,"");if(!i[t])throw new E(1001,"")}function gS(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new E(1002,"")})}class Iu{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===bl}get invalid(){return this.status===Du}get pending(){return this.status==Ds}get disabled(){return this.status===vl}get enabled(){return this.status!==vl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(lS(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(lS(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(cS(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(cS(n,this._rawAsyncValidators))}hasValidator(n){return Eu(this._rawValidators,n)}hasAsyncValidator(n){return Eu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Ds,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=vl,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=bl,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bl||this.status===Ds)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vl:bl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ds,this._hasOwnPendingAsyncValidator=!0;const t=JM(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ve,this.statusChanges=new ve}_calculateStatus(){return this._allControlsDisabled()?vl:this.errors?Du:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ds)?Ds:this._anyControlsHaveStatus(Du)?Du:bl}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Cu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function $4(e){return Array.isArray(e)?u_(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function G4(e){return Array.isArray(e)?f_(e):e||null}(this._rawAsyncValidators)}}class yl extends Iu{constructor(n,t,i){super(g_(t),__(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){gS(this,0,n),Object.keys(n).forEach(i=>{pS(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class _S extends yl{}const Cs=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Mu}),Mu="always";function wl(e,n,t=Mu){b_(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function W4(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&bS(e,n)})}(e,n),function Z4(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function Y4(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&bS(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function q4(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Tu(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Ru(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Au(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function b_(e,n){const t=sS(e);null!==n.validator?e.setValidators(oS(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=aS(e);null!==n.asyncValidator?e.setAsyncValidators(oS(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Au(n._rawValidators,r),Au(n._rawAsyncValidators,r)}function Ru(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=sS(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const r=aS(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}const i=()=>{};return Au(n._rawValidators,i),Au(n._rawAsyncValidators,i),t}function bS(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function vS(e,n){b_(e,n)}function yS(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const e8={provide:jt,useExisting:Ee(()=>ku)},El=Promise.resolve();let ku=(()=>{class e extends jt{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ve,this.form=new yl({},u_(t),f_(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){El.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),wl(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){El.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){El.then(()=>{const i=this._findContainer(t.path),r=new yl({});vS(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){El.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){El.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,yS(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(i){return new(i||e)(b(dt,10),b(ir,10),b(Cs,8))};static#t=this.\u0275dir=A({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&ge("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[F.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_e([e8]),se]})}return e})();function wS(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function ES(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const xl=class extends Iu{constructor(n=null,t,i){super(g_(t),__(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=ES(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){wS(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){wS(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){ES(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};Promise.resolve();let MS=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const r8={provide:jn,useExisting:Ee(()=>E_),multi:!0};let E_=(()=>{class e extends zr{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275dir=A({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){1&i&&ge("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[_e([r8]),se]})}return e})();const x_=new x(""),c8={provide:jt,useExisting:Ee(()=>Dl)};let Dl=(()=>{class e extends jt{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ve,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ru(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return wl(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Tu(t.control||null,t,!1),function J4(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,yS(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(Tu(i||null,t),(e=>e instanceof xl)(r)&&(wl(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);vS(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function X4(e,n){return Ru(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){b_(this.form,this),this._oldForm&&Ru(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||e)(b(dt,10),b(ir,10),b(Cs,8))};static#t=this.\u0275dir=A({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&ge("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[F.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_e([c8]),se,bn]})}return e})();const f8={provide:Si,useExisting:Ee(()=>I_)};let I_=(()=>{class e extends Si{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ve,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function w_(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===yu?t=o:function Q4(e){return Object.getPrototypeOf(e.constructor)===zr}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){this._added||this._setUpControl(),function y_(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function Su(e,n){return[...n.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||e)(b(jt,13),b(dt,10),b(ir,10),b(jn,10),b(x_,8))};static#n=this.\u0275dir=A({type:e,selectors:[["","formControlName",""]],inputs:{name:[F.None,"formControlName","name"],isDisabled:[F.None,"disabled","isDisabled"],model:[F.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[_e([f8]),se,bn]})}return e})();let Gr=(()=>{class e{constructor(){this._validator=wu}ngOnChanges(t){if(this.inputName in t){const i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):wu,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,features:[bn]})}return e})();const y8={provide:dt,useExisting:Ee(()=>T_),multi:!0};let T_=(()=>{class e extends Gr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>function FS(e){return"number"==typeof e?e:parseFloat(e)}(t),this.createValidator=t=>$M(t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275dir=A({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){2&i&&Ye("min",r._enabled?r.min:null)},inputs:{min:"min"},features:[_e([y8]),se]})}return e})();const I8={provide:dt,useExisting:Ee(()=>k_),multi:!0};let k_=(()=>{class e extends Gr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>KM(t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275dir=A({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,r){2&i&&Ye("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[_e([I8]),se]})}return e})(),M8=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({})}return e})();class jS extends Iu{constructor(n,t,i){super(g_(t),__(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){gS(this,0,n),n.forEach((i,r)=>{pS(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function HS(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let O_,S8=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,i=null){const r=this._reduceControls(t);let o={};return HS(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new yl(r,o)}record(t,i=null){const r=this._reduceControls(t);return new _S(r,i)}control(t,i,r){let o={};return this.useNonNullable?(HS(i)?o=i:(o.validators=i,o.asyncValidators=r),new xl(t,{...o,nonNullable:!0})):new xl(t,i,r)}array(t,i,r){const o=t.map(s=>this._createControl(s));return new jS(o,i,r)}_reduceControls(t){const i={};return Object.keys(t).forEach(r=>{i[r]=this._createControl(t[r])}),i}_createControl(t){return t instanceof xl||t instanceof Iu?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),T8=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:x_,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Cs,useValue:t.callSetDisabledState??Mu}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[M8]})}return e})();try{O_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{O_=!1}let Is,ut=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Lp(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!O_)&&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}static#e=this.\u0275fac=function(i){return new(i||e)(w(pi))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const US=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function zS(){if(Is)return Is;if("object"!=typeof document||!document)return Is=new Set(US),Is;let e=document.createElement("input");return Is=new Set(US.filter(n=>(e.setAttribute("type",n),e.type===n))),Is}let Cl,qr,N_;function Ms(e){return function A8(){if(null==Cl&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Cl=!0}))}finally{Cl=Cl||!1}return Cl}()?e:!!e.capture}function R8(){if(null==qr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return qr=!1,qr;if("scrollBehavior"in document.documentElement.style)qr=!0;else{const e=Element.prototype.scrollTo;qr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return qr}function rr(e){return e.composedPath?e.composedPath()[0]:e.target}function F_(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function qS(e){return ot((n,t)=>e<=t)}let J8=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WS=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({providers:[J8]})}return e})();function or(e){return null!=e&&"false"!=`${e}`}function YS(e,n=0){return function eG(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):n}function Nu(e){return Array.isArray(e)?e:[e]}function Ke(e){return null==e?"":"string"==typeof e?e:`${e}px`}function sr(e){return e instanceof we?e.nativeElement:e}function ZS(e,n,t){e?Ci(t,e,n):n()}function iG(...e){const n=dl(e);return Ae((t,i)=>{(n?ul(e,t,n):ul(e,t)).subscribe(i)})}const XS=new Set;let Wr,rG=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):sG}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function oG(e,n){if(!XS.has(e))try{Wr||(Wr=document.createElement("style"),n&&(Wr.nonce=n),Wr.setAttribute("type","text/css"),document.head.appendChild(Wr)),Wr.sheet&&(Wr.sheet.insertRule(`@media ${e} {body{ }}`,0),XS.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(ut),w(Of,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sG(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let aG=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new oe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return KS(Nu(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=function tG(...e){const n=dl(e),t=Ag(e),{args:i,keys:r}=VM(e);if(0===i.length)return vs([],n);const o=new ue(function nG(e,n,t=gr){return i=>{ZS(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=vs(e[l],n);let d=!1;c.subscribe(be(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>BM(r,s):gr));return t?o.pipe(Sg(t)):o}(KS(Nu(t)).map(s=>this._registerQuery(s).observable));return o=ul(o.pipe(qt(1)),o.pipe(qS(1),function GS(e,n=du){return Ae((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(he(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new ue(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(iG(i),he(({matches:s})=>({query:t,matches:s})),Mt(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(w(rG),w(B))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function KS(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function Fu(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}const JS="cdk-describedby-message",Pu="cdk-describedby-host";let P_=0,dG=(()=>{class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+P_++,this._document=t,this._id=I(cc)+"-"+P_++}describe(t,i,r){if(!this._canBeDescribed(t,i))return;const o=L_(i,r);"string"!=typeof i?(eT(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(t,o)||this._addMessageReference(t,o)}removeDescription(t,i,r){if(!i||!this._isElementNode(t))return;const o=L_(i,r);if(this._isElementDescribedByMessage(t,o)&&this._removeMessageReference(t,o),"string"==typeof i){const s=this._messageRegistry.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const t=this._document.querySelectorAll(`[${Pu}="${this._id}"]`);for(let i=0;i0!=r.indexOf(JS));t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){const r=this._messageRegistry.get(i);(function lG(e,n,t){const i=Fu(e,n);t=t.trim(),!i.some(r=>r.trim()===t)&&(i.push(t),e.setAttribute(n,i.join(" ")))})(t,"aria-describedby",r.messageElement.id),t.setAttribute(Pu,this._id),r.referenceCount++}_removeMessageReference(t,i){const r=this._messageRegistry.get(i);r.referenceCount--,function cG(e,n,t){const i=Fu(e,n);t=t.trim();const r=i.filter(o=>o!==t);r.length?e.setAttribute(n,r.join(" ")):e.removeAttribute(n)}(t,"aria-describedby",r.messageElement.id),t.removeAttribute(Pu)}_isElementDescribedByMessage(t,i){const r=Fu(t,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(t,i){if(!this._isElementNode(t))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=t.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae),w(ut))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function L_(e,n){return"string"==typeof e?`${n||""}/${e}`:e}function eT(e,n){e.id||(e.id=`${JS}-${n}-${P_++}`)}function nT(e){return 0===e.buttons||0===e.detail}function iT(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const bG=new x("cdk-input-modality-detector-options"),vG={ignoreKeys:[18,17,224,91,16]},Ss=Ms({passive:!0,capture:!0});let yG=(()=>{class e{get mostRecentModality(){return this._modality.value}constructor(t,i,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new Us(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=rr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(nT(s)?"keyboard":"mouse"),this._mostRecentTarget=rr(s))},this._onTouchstart=s=>{iT(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=rr(s))},this._options={...vG,...o},this.modalityDetected=this._modality.pipe(qS(1)),this.modalityChanged=this.modalityDetected.pipe(fu()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ss),r.addEventListener("mousedown",this._onMousedown,Ss),r.addEventListener("touchstart",this._onTouchstart,Ss)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ss),document.removeEventListener("mousedown",this._onMousedown,Ss),document.removeEventListener("touchstart",this._onTouchstart,Ss))}static#e=this.\u0275fac=function(i){return new(i||e)(w(ut),w(B),w(ae),w(bG,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Lu=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Lu||{});const EG=new x("cdk-focus-monitor-default-options"),Vu=Ms({passive:!0,capture:!0});let V_=(()=>{class e{constructor(t,i,r,o,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new oe,this._rootNodeFocusAndBlurListener=a=>{for(let c=rr(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||Lu.IMMEDIATE}monitor(t,i=!1){const r=sr(t);if(!this._platform.isBrowser||1!==r.nodeType)return ct();const o=function O8(e){if(function k8(){if(null==N_){const e=typeof document<"u"?document.head:null;N_=!(!e||!e.createShadowRoot&&!e.attachShadow)}return N_}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new oe,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=sr(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=sr(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Lu.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,this._detectionMode===Lu.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=rr(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vu)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Mt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=I(aG).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Yr.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Yr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Yr.BLACK_ON_WHITE}return Yr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(B_,oT,sT),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===Yr.BLACK_ON_WHITE?t.add(B_,oT):i===Yr.WHITE_ON_BLACK&&t.add(B_,sT)}}static#e=this.\u0275fac=function(i){return new(i||e)(w(ut),w(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xG=(()=>{class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||e)(w(aT))};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[WS]})}return e})();const DG=new x("cdk-dir-doc",{providedIn:"root",factory:function CG(){return I(ae)}}),IG=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let j_=(()=>{class e{constructor(t){this.value="ltr",this.change=new ve,t&&(this.value=function MG(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?IG.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||e)(w(DG,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ml=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({})}return e})();const SG=["mat-internal-form-field",""],TG=["*"],RG=new x("mat-sanity-checks",{providedIn:"root",factory:function AG(){return!0}});let ft=(()=>{class e{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!F_()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static#e=this.\u0275fac=function(i){return new(i||e)(w(aT),w(RG,8),w(ae))};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[Ml,Ml]})}return e})();class dT{constructor(n,t,i,r,o){this._defaultMatcher=n,this.ngControl=t,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){const n=this.errorState,t=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,t)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}let LG=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Dn=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(Dn||{});class VG{constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=Dn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const uT=Ms({passive:!0,capture:!0});class BG{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=rr(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,uT)})}removeHandler(n,t,i){const r=this._events.get(n);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,uT)))}}const fT={enterDuration:225,exitDuration:150},hT=Ms({passive:!0,capture:!0}),mT=["mousedown","touchstart"],pT=["mouseup","mouseleave","touchend","touchcancel"];class Bu{static#e=this._eventManager=new BG;constructor(n,t,i,r){this._target=n,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=sr(i))}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...fT,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function HG(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-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=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,m="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,p=new VG(this,d,i,m);d.style.transform="scale3d(1, 1, 1)",p.state=Dn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=p);let g=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>this._finishRippleTransition(p),_=()=>this._destroyRipple(p);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",_),g={onTransitionEnd:v,onTransitionCancel:_}}),this._activeRipples.set(p,g),(m||!c)&&this._finishRippleTransition(p),p}fadeOutRipple(n){if(n.state===Dn.FADING_OUT||n.state===Dn.HIDDEN)return;const t=n.element,i={...fT,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=Dn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=sr(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,mT.forEach(i=>{Bu._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{pT.forEach(t=>{this._triggerElement.addEventListener(t,this,hT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Dn.FADING_IN?this._startFadeOutTransition(n):n.state===Dn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Dn.VISIBLE,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Dn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=nT(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(n.state===Dn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Dn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(mT.forEach(t=>Bu._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&pT.forEach(t=>n.removeEventListener(t,this,hT)))}}const gT=new x("mat-ripple-global-options");let _T=(()=>{class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,r,o,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Bu(this,i,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(B),b(ut),b(gT,8),b(qn,8))};static#t=this.\u0275dir=A({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&ie("mat-ripple-unbounded",r.unbounded)},inputs:{color:[F.None,"matRippleColor","color"],unbounded:[F.None,"matRippleUnbounded","unbounded"],centered:[F.None,"matRippleCentered","centered"],radius:[F.None,"matRippleRadius","radius"],animation:[F.None,"matRippleAnimation","animation"],disabled:[F.None,"matRippleDisabled","disabled"],trigger:[F.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return e})(),UG=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[ft,ft]})}return e})();const bT={capture:!0},vT=["focus","click","mouseenter","touchstart"],H_="mat-ripple-loader-uninitialized",U_="mat-ripple-loader-class-name",yT="mat-ripple-loader-centered",ju="mat-ripple-loader-disabled";let zG=(()=>{class e{constructor(){this._document=I(ae,{optional:!0}),this._animationMode=I(qn,{optional:!0}),this._globalRippleOptions=I(gT,{optional:!0}),this._platform=I(ut),this._ngZone=I(B),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;const r=t.target.closest(`[${H_}]`);r&&this._createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(const t of vT)this._document?.addEventListener(t,this._onInteraction,bT)})}ngOnDestroy(){const t=this._hosts.keys();for(const i of t)this.destroyRipple(i);for(const i of vT)this._document?.removeEventListener(i,this._onInteraction,bT)}configureRipple(t,i){t.setAttribute(H_,""),(i.className||!t.hasAttribute(U_))&&t.setAttribute(U_,i.className||""),i.centered&&t.setAttribute(yT,""),i.disabled&&t.setAttribute(ju,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){const r=this._hosts.get(t);r?r.disabled=i:i?t.setAttribute(ju,""):t.removeAttribute(ju)}_createRipple(t){if(!this._document)return;const i=this._hosts.get(t);if(i)return i;t.querySelector(".mat-ripple")?.remove();const r=this._document.createElement("span");r.classList.add("mat-ripple",t.getAttribute(U_)),t.append(r);const o=new _T(new we(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=t,o.centered=t.hasAttribute(yT),o.disabled=t.hasAttribute(ju),this.attachRipple(t,o),o}attachRipple(t,i){t.removeAttribute(H_),this._hosts.set(t,i)}destroyRipple(t){const i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$G=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=At({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){2&i&&ie("mdc-form-field--align-end","before"===r.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Ft],attrs:SG,ngContentSelectors:TG,decls:1,vars:0,template:function(i,r){1&i&&(Pn(),Re(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}return e})();const GG=["mat-button",""],qG=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],WG=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ZG=["mat-icon-button",""],XG=["*"],KG=new x("MAT_BUTTON_CONFIG"),QG=[{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"]}];let wT=(()=>{class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,i,r,o){this._elementRef=t,this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=I(V_),this._rippleLoader=I(zG),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const s=I(KG,{optional:!0}),a=t.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(const{attribute:c,mdcClasses:d}of QG)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(i){!function Uy(){throw new Error("invalid")}()};static#t=this.\u0275dir=A({type:e,inputs:{color:"color",disableRipple:[F.HasDecoratorInputTransform,"disableRipple","disableRipple",cn],disabled:[F.HasDecoratorInputTransform,"disabled","disabled",cn],ariaDisabled:[F.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",cn],disabledInteractive:[F.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",cn]},features:[od]})}return e})(),JG=(()=>{class e extends wT{constructor(t,i,r,o){super(t,i,r,o)}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(ut),b(B),b(qn,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){2&i&&(Ye("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Va(r.color?"mat-"+r.color:""),ie("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[se,Ft],attrs:GG,ngContentSelectors:WG,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){1&i&&(Pn(qG),it(0,"span",0),Re(1),T(2,"span",1),Re(3,1),R(),Re(4,2),it(5,"span",2)(6,"span",3)),2&i&&ie("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return e})(),tq=(()=>{class e extends wT{constructor(t,i,r,o){super(t,i,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(ut),b(B),b(qn,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){2&i&&(Ye("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Va(r.color?"mat-"+r.color:""),ie("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[se,Ft],attrs:ZG,ngContentSelectors:XG,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(i,r){1&i&&(Pn(),it(0,"span",0),Re(1),it(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}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return e})(),nq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[ft,UG,ft]})}return e})();const iq=["*"],lq=new x("MAT_CARD_CONFIG");let ET=(()=>{class e{constructor(t){this.appearance=t?.appearance||"raised"}static#e=this.\u0275fac=function(i){return new(i||e)(b(lq,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){2&i&&ie("mat-mdc-card-outlined","outlined"===r.appearance)("mdc-card--outlined","outlined"===r.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[Ft],ngContentSelectors:iq,decls:1,vars:0,template:function(i,r){1&i&&(Pn(),Re(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{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;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return e})(),xT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}return e})(),uq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[ft,Pp,ft]})}return e})(),fq=(()=>{class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=or(t)}get inset(){return this._inset}set inset(t){this._inset=or(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,r){2&i&&(Ye("aria-orientation",r.vertical?"vertical":"horizontal"),ie("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[Ft],decls:0,vars:0,template:function(i,r){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return e})(),hq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[ft,ft]})}return e})();class mq extends oe{constructor(n=1/0,t=1/0,i=kg){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;snew oe),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},m=()=>{const p=s;h(),p?.unsubscribe()};return Ae((p,g)=>{c++,!u&&!d&&f();const v=l=l??n();g.add(()=>{c--,0===c&&!u&&!d&&(a=z_(m,r))}),v.subscribe(g),!s&&c>0&&(s=new Hs({next:_=>v.next(_),error:_=>{u=!0,f(),a=z_(h,t,_),v.error(_)},complete:()=>{d=!0,f(),a=z_(h,i),v.complete()}}),qe(p).subscribe(s))})(o)}}function z_(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Hs({next:()=>{i.unsubscribe(),e()}});return qe(n(...t)).subscribe(i)}class gq{constructor(n){this._box=n,this._destroyed=new oe,this._resizeSubject=new oe,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new ue(t=>{const i=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ot(t=>t.some(i=>i.target===n)),function pq(e,n,t){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e):i=e??1/0,DT({connector:()=>new mq(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}({bufferSize:1,refCount:!0}),Mt(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let _q=(()=>{class e{constructor(){this._observers=new Map,this._ngZone=I(B)}ngOnDestroy(){for(const[,t]of this._observers)t.destroy();this._observers.clear()}observe(t,i){const r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new gq(r)),this._observers.get(r).observe(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const bq=["notch"],vq=["matFormFieldNotchedOutline",""],yq=["*"],wq=["textField"],Eq=["iconPrefixContainer"],xq=["textPrefixContainer"];function Dq(e,n){1&e&&it(0,"span",16)}function Cq(e,n){if(1&e&&(T(0,"label",14),Re(1,1),Le(2,Dq,1,0,"span",15),R()),2&e){const t=lt(2);Be("floating",t._shouldLabelFloat())("monitorResize",t._hasOutline())("id",t._labelId),Ye("for",t._control.id),q(2),Ze(2,!t.hideRequiredMarker&&t._control.required?2:-1)}}function Iq(e,n){1&e&&Le(0,Cq,3,5,"label",14),2&e&&Ze(0,lt()._hasFloatingLabel()?0:-1)}function Mq(e,n){1&e&&it(0,"div",17)}function Sq(e,n){}function Tq(e,n){1&e&&Le(0,Sq,0,0,"ng-template",9),2&e&&(lt(2),Be("ngTemplateOutlet",yd(1)))}function Aq(e,n){if(1&e&&(T(0,"div",5),Le(1,Tq,1,1,null,9),R()),2&e){const t=lt();Be("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat()),q(),Ze(1,t._forceDisplayInfixLabel()?-1:1)}}function Rq(e,n){1&e&&(T(0,"div",18,19),Re(2,2),R())}function kq(e,n){1&e&&(T(0,"div",20,21),Re(2,3),R())}function Oq(e,n){}function Nq(e,n){1&e&&Le(0,Oq,0,0,"ng-template",9),2&e&&(lt(),Be("ngTemplateOutlet",yd(1)))}function Fq(e,n){1&e&&(T(0,"div",22),Re(1,4),R())}function Pq(e,n){1&e&&(T(0,"div",23),Re(1,5),R())}function Lq(e,n){1&e&&it(0,"div",12)}function Vq(e,n){1&e&&(T(0,"div",24),Re(1,6),R()),2&e&&Be("@transitionMessages",lt()._subscriptAnimationState)}function Bq(e,n){if(1&e&&(T(0,"mat-hint",26),J(1),R()),2&e){const t=lt(2);Be("id",t._hintLabelId),q(),ni(t.hintLabel)}}function jq(e,n){if(1&e&&(T(0,"div",25),Le(1,Bq,2,2,"mat-hint",26),Re(2,7),it(3,"div",27),Re(4,8),R()),2&e){const t=lt();Be("@transitionMessages",t._subscriptAnimationState),q(),Ze(1,t.hintLabel?1:-1)}}const Hq=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Uq=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let CT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["mat-label"]],standalone:!0})}return e})();const zq=new x("MatError");let $q=0,IT=(()=>{class e{constructor(){this.align="start",this.id="mat-mdc-hint-"+$q++}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){2&i&&(ja("id",r.id),Ye("align",null),ie("mat-mdc-form-field-hint-end","end"===r.align))},inputs:{align:"align",id:"id"},standalone:!0})}return e})();const Gq=new x("MatPrefix"),MT=new x("MatSuffix");let qq=(()=>{class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[F.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[_e([{provide:MT,useExisting:e}])]})}return e})();const ST=new x("FloatingLabelParent");let TT=(()=>{class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=I(_q),this._ngZone=I(B),this._parent=I(ST),this._resizeSubscription=new We}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Wq(e){if(null!==e.offsetParent)return e.scrollWidth;const t=e.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const i=t.scrollWidth;return t.remove(),i}(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())})}static#e=this.\u0275fac=function(i){return new(i||e)(b(we))};static#t=this.\u0275dir=A({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){2&i&&ie("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return e})();const AT="mdc-line-ripple--active",Hu="mdc-line-ripple--deactivating";let RT=(()=>{class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,s=o.contains(Hu);"opacity"===r.propertyName&&s&&o.remove(AT,Hu)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(Hu),t.add(AT)}deactivate(){this._elementRef.nativeElement.classList.add(Hu)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(B))};static#t=this.\u0275dir=A({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return e})(),kT=(()=>{class e{constructor(t,i){this._elementRef=t,this._ngZone=i,this.open=!1}ngAfterViewInit(){const t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){this._notch.nativeElement.style.width=this.open&&t?`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(B))};static#t=this.\u0275cmp=At({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(1&i&&ti(bq,5),2&i){let o;_t(o=bt())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){2&i&&ie("mdc-notched-outline--notched",r.open)},inputs:{open:[F.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ft],attrs:vq,ngContentSelectors:yq,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(i,r){1&i&&(Pn(),it(0,"div",0),T(1,"div",1,2),Re(3),R(),it(4,"div",3))},encapsulation:2,changeDetection:0})}return e})();const Yq={transitionMessages:FC("transitionMessages",[Zp("enter",_s({opacity:1,transform:"translateY(0%)"})),Xp("void => enter",[_s({opacity:0,transform:"translateY(-5px)"}),Yp("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let OT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e})}return e})();const NT=new x("MatFormField"),Zq=new x("MAT_FORM_FIELD_DEFAULT_OPTIONS");let FT=0,Qq=(()=>{class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=or(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,i,r,o,s,a,l,c){this._elementRef=t,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+FT++,this._hintLabelId="mat-mdc-hint-"+FT++,this._subscriptAnimationState="",this._destroyed=new oe,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.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(){const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Mt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),ws(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Mt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Mt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_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(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),r&&t.push(r.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const t=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(t.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,s=r?.getBoundingClientRect().width??0;t.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+s}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(ms),b(B),b(j_),b(ut),b(Zq,8),b(qn,8),b(ae))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(1&i&&(Wi(o,CT,5),Wi(o,CT,7),Wi(o,OT,5),Wi(o,Gq,5),Wi(o,MT,5),Wi(o,zq,5),Wi(o,IT,5)),2&i){let s;_t(s=bt())&&(r._labelChildNonStatic=s.first),_t(s=bt())&&(r._labelChildStatic=s.first),_t(s=bt())&&(r._formFieldControl=s.first),_t(s=bt())&&(r._prefixChildren=s),_t(s=bt())&&(r._suffixChildren=s),_t(s=bt())&&(r._errorChildren=s),_t(s=bt())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(1&i&&(ti(wq,5),ti(Eq,5),ti(xq,5),ti(TT,5),ti(kT,5),ti(RT,5)),2&i){let o;_t(o=bt())&&(r._textField=o.first),_t(o=bt())&&(r._iconPrefixContainer=o.first),_t(o=bt())&&(r._textPrefixContainer=o.first),_t(o=bt())&&(r._floatingLabel=o.first),_t(o=bt())&&(r._notchedOutline=o.first),_t(o=bt())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){2&i&&ie("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===r._animationMode)("mat-form-field-appearance-fill","fill"==r.appearance)("mat-form-field-appearance-outline","outline"==r.appearance)("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary","accent"!==r.color&&"warn"!==r.color)("mat-accent","accent"===r.color)("mat-warn","warn"===r.color)("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[_e([{provide:NT,useExisting:e},{provide:ST,useExisting:e}]),Ft],ngContentSelectors:Uq,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","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","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[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(i,r){if(1&i&&(Pn(Hq),Le(0,Iq,1,1,"ng-template",null,0,Rx),T(2,"div",1,2),ge("click",function(s){return r._control.onContainerClick(s)}),Le(4,Mq,1,0,"div",3),T(5,"div",4),Le(6,Aq,2,2,"div",5)(7,Rq,3,0,"div",6)(8,kq,3,0,"div",7),T(9,"div",8),Le(10,Nq,1,1,null,9),Re(11),R(),Le(12,Fq,2,0,"div",10)(13,Pq,2,0,"div",11),R(),Le(14,Lq,1,0,"div",12),R(),T(15,"div",13),Le(16,Vq,2,1)(17,jq,5,2),R()),2&i){let o;q(2),ie("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),q(2),Ze(4,r._hasOutline()||r._control.disabled?-1:4),q(2),Ze(6,r._hasOutline()?6:-1),q(),Ze(7,r._hasIconPrefix?7:-1),q(),Ze(8,r._hasTextPrefix?8:-1),q(2),Ze(10,!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),q(2),Ze(12,r._hasTextSuffix?12:-1),q(),Ze(13,r._hasIconSuffix?13:-1),q(),Ze(14,r._hasOutline()?-1:14),q(),ie("mat-mdc-form-field-subscript-dynamic-size","dynamic"===r.subscriptSizing),q(),Ze(16,"error"===(o=r._getDisplayedMessages())?16:"hint"===o?17:-1)}},dependencies:[TT,kT,dC,RT,IT],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%}.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:[Yq.transitionMessages]},changeDetection:0})}return e})(),$_=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[ft,Pp,WS,ft]})}return e})();class G_{}class Ti{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Ti?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Ti;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Ti?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class t6{encodeKey(n){return VT(n)}encodeValue(n){return VT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const i6=/%(\d[a-f0-9])/gi,r6={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function VT(e){return encodeURIComponent(e).replace(i6,(n,t)=>r6[t]??n)}function Uu(e){return`${e}`}class ar{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new t6,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function n6(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(Uu):[Uu(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new ar({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Uu(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Uu(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class o6{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function BT(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function jT(e){return typeof Blob<"u"&&e instanceof Blob}function HT(e){return typeof FormData<"u"&&e instanceof FormData}class Tl{constructor(n,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function s6(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ti,this.context??=new o6,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":au.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((u,f)=>u.set(f,n.setParams[f]),c)),new Tl(t,i,o,{params:c,headers:l,context:d,reportProgress:a,responseType:r,withCredentials:s})}}var W_=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(W_||{});class Y_{constructor(n,t=zT.Ok,i="OK"){this.headers=n.headers||new Ti,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Al extends Y_{constructor(n={}){super(n),this.type=W_.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Al({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}var zT=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(zT||{});function Z_(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let X_=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof Tl)o=t;else{let l,c;l=r.headers instanceof Ti?r.headers:new Ti(r.headers),r.params&&(c=r.params instanceof ar?r.params:new ar({fromObject:r.params})),o=new Tl(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const s=ct(o).pipe(function e6(e,n){return ee(n)?Qi(e,n,1):Qi(e,1)}(l=>this.handler.handle(l)));if(t instanceof Tl||"events"===r.observe)return s;const a=s.pipe(ot(l=>l instanceof Al));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(he(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(he(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(he(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(he(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new ar).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,Z_(r,i))}post(t,i,r={}){return this.request("POST",t,Z_(r,i))}put(t,i,r={}){return this.request("PUT",t,Z_(r,i))}static#e=this.\u0275fac=function(i){return new(i||e)(w(G_))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const T6=["*"];let Gu;function Rl(e){return function A6(){if(void 0===Gu&&(Gu=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(Gu=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Gu}()?.createHTML(e)||e}function iA(e){return Error(`Unable to find icon with the name "${e}"`)}function rA(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function oA(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Xr{constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let qu=(()=>{class e{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new Xr(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(gt.HTML,r);if(!s)throw oA(r);const a=Rl(s);return this._addSvgIconConfig(t,i,new Xr("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new Xr(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(gt.HTML,i);if(!o)throw oA(i);const s=Rl(o);return this._addSvgIconSetConfig(t,new Xr("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(gt.RESOURCE_URL,t);if(!i)throw rA(t);const r=this._cachedIconsByUrl.get(i);return r?ct(Wu(r)):this._loadSvgIconFromConfig(new Xr(t,null)).pipe(Vt(o=>this._cachedIconsByUrl.set(i,o)),he(o=>Wu(o)))}getNamedSvgIcon(t,i=""){const r=sA(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):Mg(iA(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?ct(Wu(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(he(i=>Wu(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?ct(r):jM(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Kg(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(gt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),ct(null)})))).pipe(he(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw iA(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Vt(i=>t.svgText=i),he(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?ct(null):this._fetchIcon(t).pipe(Vt(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Rl(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(Rl("")),r=t.attributes;for(let o=0;oRl(c)),function Jq(e){return Ae((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}(()=>this._inProgressUrlFetches.delete(s)),DT());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(sA(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;rn?n.pathname+n.search:""}}}),aA=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],L6=aA.map(e=>`[${e}]`).join(", "),V6=/^url\(['"]?#(.*?)['"]?\)$/;let B6=(()=>{class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(t,i,r,o,s,a){this._elementRef=t,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=We.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(L6),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(V6):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(qt(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(qu),ua("aria-hidden"),b(F6),b(nn),b(N6,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(Ye("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Va(r.color?"mat-"+r.color:""),ie("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[F.HasDecoratorInputTransform,"inline","inline",cn],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[od,Ft],ngContentSelectors:T6,decls:1,vars:0,template:function(i,r){1&i&&(Pn(),Re(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})}return e})(),j6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[ft,ft]})}return e})();const lA=Ms({passive:!0});let H6=(()=>{class e{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Ur;const i=sr(t),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new oe,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,lA),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,lA)}}),o}stopMonitoring(t){const i=sr(t),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((t,i)=>this.stopMonitoring(i))}static#e=this.\u0275fac=function(i){return new(i||e)(w(ut),w(B))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),U6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({})}return e})();const z6=new x("MAT_INPUT_VALUE_ACCESSOR"),$6=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let G6=0,q6=(()=>{class e{get disabled(){return this._disabled}set disabled(t){this._disabled=or(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator($r.required)??!1}set required(t){this._required=or(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&zS().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=or(t)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,r,o,s,a,l,c,d,u){this._elementRef=t,this._platform=i,this.ngControl=r,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+G6++,this.focused=!1,this.stateChanges=new oe,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(m=>zS().has(m)),this._iOSKeyupListener=m=>{const p=m.target;!p.value&&0===p.selectionStart&&0===p.selectionEnd&&(p.setSelectionRange(1,1),p.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,h=f.nodeName.toLowerCase();this._inputValueAccessor=l||f,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new dT(a,r,s,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){const t=this._getPlaceholder();if(t!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=t,t?i.setAttribute("placeholder",t):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){$6.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(ut),b(Si,10),b(ku,8),b(Dl,8),b(LG),b(z6,10),b(H6),b(B),b(NT,8))};static#t=this.\u0275dir=A({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,r){1&i&&ge("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),2&i&&(ja("id",r.id)("disabled",r.disabled)("required",r.required),Ye("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ie("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[F.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[_e([{provide:OT,useExisting:e}]),bn]})}return e})(),W6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[ft,$_,$_,U6,ft]})}return e})();const Y6=["switch"];function Z6(e,n){1&e&&(T(0,"div",12),function Qb(){H.lFrame.currentNamespace=Pb}(),T(1,"svg",13),it(2,"path",14),R(),T(3,"svg",15),it(4,"path",16),R()())}const X6=["*"],K6=new x("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),Q6={provide:jn,useExisting:Ee(()=>J_),multi:!0};class cA{constructor(n,t){this.source=n,this.checked=t}}let J6=0,J_=(()=>{class e{_createChangeEvent(t){return new cA(this,t)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,i,r,o,s,a){this._elementRef=t,this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=s,this._onChange=l=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new ve,this.toggleChange=new ve,this.tabIndex=parseInt(o)||0,this.color=s.color||"accent",this._noopAnimations="NoopAnimations"===a,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++J6,this.hideIcon=s.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&!0!==t.value?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new cA(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(i){return new(i||e)(b(we),b(V_),b(ms),ua("tabindex"),b(K6),b(qn,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(i,r){if(1&i&&ti(Y6,5),2&i){let o;_t(o=bt())&&(r._switchElement=o.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,r){2&i&&(ja("id",r.id),Ye("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Va(r.color?"mat-"+r.color:""),ie("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[F.None,"aria-label","ariaLabel"],ariaLabelledby:[F.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[F.None,"aria-describedby","ariaDescribedby"],required:[F.HasDecoratorInputTransform,"required","required",cn],color:"color",disabled:[F.HasDecoratorInputTransform,"disabled","disabled",cn],disableRipple:[F.HasDecoratorInputTransform,"disableRipple","disableRipple",cn],tabIndex:[F.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?0:function WB(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}(t)],checked:[F.HasDecoratorInputTransform,"checked","checked",cn],hideIcon:[F.HasDecoratorInputTransform,"hideIcon","hideIcon",cn]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[_e([Q6,{provide:dt,useExisting:e,multi:!0}]),od,bn,Ft],ngContentSelectors:X6,decls:13,vars:24,consts:[["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,r){if(1&i&&(Pn(),T(0,"div",0)(1,"button",1,2),ge("click",function(){return r._handleClick()}),it(3,"div",3),T(4,"div",4)(5,"div",5)(6,"div",6),it(7,"div",7),R(),T(8,"div",8),it(9,"div",9),R(),Le(10,Z6,5,0,"div",10),R()()(),T(11,"label",11),ge("click",function(s){return s.stopPropagation()}),Re(12),R()()),2&i){const o=yd(2);Be("labelPosition",r.labelPosition),q(),ie("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled),Be("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled),Ye("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked),q(8),Be("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),q(),Ze(10,r.hideIcon?-1:10),q(),Be("for",r.buttonId),Ye("id",r._labelId)}},dependencies:[_T,$G],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0})}return e})(),nW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[J_,ft,ft]})}return e})();const kl={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=kl;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new We(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=kl;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=kl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class rW extends cu{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class iW extends lu{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=kl.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(kl.cancelAnimationFrame(t),n._scheduled=void 0)}});let eb,sW=1;const Yu={};function dA(e){return e in Yu&&(delete Yu[e],!0)}const aW={setImmediate(e){const n=sW++;return Yu[n]=!0,eb||(eb=Promise.resolve()),eb.then(()=>dA(n)&&e()),n},clearImmediate(e){dA(e)}},{setImmediate:lW,clearImmediate:cW}=aW,Zu={setImmediate(...e){const{delegate:n}=Zu;return(n?.setImmediate||lW)(...e)},clearImmediate(e){const{delegate:n}=Zu;return(n?.clearImmediate||cW)(e)},delegate:void 0};new class uW extends cu{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class dW extends lu{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Zu.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Zu.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function uA(e,n=du){return function hW(e){return Ae((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(be(t,c=>{i=!0,r=c,o||qe(e(c)).subscribe(o=be(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>PI(e,n))}let fA=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new oe,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new ue(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(uA(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ct()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(ot(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=sr(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>cl(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(w(B),w(ut),w(ae,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hA=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new oe,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(uA(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||e)(w(ut),w(B),w(ae,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tb=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({})}return e})(),mA=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({imports:[Ml,tb,Ml,tb]})}return e})();class nb{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class pA extends nb{constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class gW extends nb{constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class _W extends nb{constructor(n){super(),this.element=n instanceof we?n.nativeElement:n}}class bW{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof pA?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof gW?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof _W?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class vW extends bW{constructor(n,t,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Ct.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=n,r}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let yW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({})}return e})();const gA=R8();class wW{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ke(-this._previousScrollPosition.left),n.style.top=Ke(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),gA&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),gA&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class EW{constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(ot(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class _A{enable(){}disable(){}attach(){}}function ib(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function bA(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class xW{constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();ib(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let DW=(()=>{class e{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new _A,this.close=s=>new EW(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new wW(this._viewportRuler,this._document),this.reposition=s=>new xW(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static#e=this.\u0275fac=function(i){return new(i||e)(w(fA),w(hA),w(B),w(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class CW{constructor(n){if(this.scrollStrategy=new _A,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class IW{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let vA=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),MW=(()=>{class e extends vA{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),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)}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae),w(B,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),SW=(()=>{class e extends vA{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=rr(o)},this._clickListener=o=>{const s=rr(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||e)(w(ae),w(ut),w(B,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yA=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||F_()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new oe,this._outsidePointerEvents=new oe,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(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(qt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ke(this._config.width),n.height=Ke(this._config.height),n.minWidth=Ke(this._config.minWidth),n.minHeight=Ke(this._config.minHeight),n.maxWidth=Ke(this._config.maxWidth),n.maxHeight=Ke(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const r=Nu(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(Mt(ws(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const wA="cdk-overlay-connected-position-bounding-box",AW=/([A-Za-z%]+)$/;class RW{get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new oe,this._resizeSubscription=We.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(wA),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Kr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wA),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=xA(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,m=this._subtractOverflows(o.width,0-s,s+o.width-i.width),p=this._subtractOverflows(o.height,f,h),g=m*p;return{visibleArea:g,isCompletelyWithinViewport:o.width*o.height===g,fitsInViewportVertically:p===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=EA(this._overlayRef.getConfig().minHeight),a=EA(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=xA(t),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:n.xm&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)f=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)u=n.x,d=i.right-n.x;else{const h=Math.min(i.right-n.x+i.left,n.x),m=this._lastBoundingBoxSize.width;d=2*h,u=n.x-h,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-m/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Ke(i.height),r.top=Ke(i.top),r.bottom=Ke(i.bottom),r.width=Ke(i.width),r.left=Ke(i.left),r.right=Ke(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ke(o)),s&&(r.maxWidth=Ke(s))}this._lastBoundingBoxSize=i,Kr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Kr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Kr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Kr(i,this._getExactOverlayY(t,n,d)),Kr(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Ke(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Ke(s.maxWidth):o&&(i.maxWidth="")),Kr(this._pane.style,i)}_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ke(o.y),r}_getExactOverlayX(n,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ke(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:bA(n,i),isOriginOutsideView:ib(n,i),isOverlayClipped:bA(t,i),isOverlayOutsideView:ib(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Nu(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof we)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function Kr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function EA(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(AW);return t&&"px"!==t?null:parseFloat(n)}return e||null}function xA(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const DA="cdk-global-overlay-wrapper";class OW{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(DA),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",m="",p="";l?p="flex-start":"center"===d?(p="center",f?m=u:h=u):f?"left"===d||"end"===d?(p="flex-end",h=u):("right"===d||"start"===d)&&(p="flex-start",m=u):"left"===d||"start"===d?(p="flex-start",h=u):("right"===d||"end"===d)&&(p="flex-end",m=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":m,t.justifyContent=p,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(DA),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let NW=(()=>{class e{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new OW}flexibleConnectedTo(t){return new RW(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||e)(w(hA),w(ae),w(ut),w(yA))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),FW=0,Ts=(()=>{class e{constructor(t,i,r,o,s,a,l,c,d,u,f,h){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new CW(t);return s.direction=s.direction||this._directionality.value,new TW(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+FW++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(yi)),new vW(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||e)(w(DW),w(yA),w(Ma),w(NW),w(MW),w(Ct),w(B),w(ae),w(j_),w(YD),w(SW),w(qn,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const VW={provide:new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=I(Ts);return()=>e.scrollStrategies.reposition()}}),deps:[Ts],useFactory:function LW(e){return()=>e.scrollStrategies.reposition()}};let BW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({providers:[Ts,VW],imports:[Ml,yW,mA,mA]})}return e})();const jW=["tooltip"],IA=new x("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const e=I(Ts);return()=>e.scrollStrategies.reposition({scrollThrottle:20})}}),UW={provide:IA,deps:[Ts],useFactory:function HW(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},$W=new x("mat-tooltip-default-options",{providedIn:"root",factory:function zW(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),MA="tooltip-panel",SA=Ms({passive:!0});let XW=(()=>{class e{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=or(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=or(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=YS(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=YS(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,r,o,s,a,l,c,d,u,f,h){this._overlay=t,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=f,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=KW,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new oe,this._scrollStrategy=d,this._document=h,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)),u.change.pipe(Mt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Mt(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{t.removeEventListener(i,r,SA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new pA(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Mt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof we)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&t||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(Mt(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${MA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Mt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Mt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Mt(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!function $S(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const i=t.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(t){const r=!this._dir||"ltr"==this._dir.value;return"top"===t.originY?t.offsetY=-8:"bottom"===t.originY?t.offsetY=8:"start"===t.originX?t.offsetX=r?-8:8:"end"===t.originX&&(t.offsetX=r?8:-8),t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&t||"right"==i&&!t?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&t||"right"==i&&!t?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(qt(1),Mt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){const{overlayY:i,originX:r,originY:o}=t;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${MA}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==t.x&&void 0!==t.y&&(i=t),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{const i=t.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,SA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(t.clientX,t.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const i=this._elementRef.nativeElement,r=i.style;("on"===t||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===t||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ts),b(we),b(fA),b(On),b(B),b(ut),b(dG),b(V_),b(IA),b(j_),b($W,8),b(ae))};static#t=this.\u0275dir=A({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){2&i&&ie("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[F.None,"matTooltipPosition","position"],positionAtOrigin:[F.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[F.None,"matTooltipDisabled","disabled"],showDelay:[F.None,"matTooltipShowDelay","showDelay"],hideDelay:[F.None,"matTooltipHideDelay","hideDelay"],touchGestures:[F.None,"matTooltipTouchGestures","touchGestures"],message:[F.None,"matTooltip","message"],tooltipClass:[F.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return e})(),KW=(()=>{class e{constructor(t,i,r){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new oe,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===r}show(t){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}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:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>24&&t.width>=200}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(t?o:r),i.classList.add(t?r:o),this._isVisible=t,t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static#e=this.\u0275fac=function(i){return new(i||e)(b(ms),b(we),b(qn,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(1&i&&ti(jW,7),2&i){let o;_t(o=bt())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,r){1&i&&ge("mouseleave",function(s){return r._handleMouseLeave(s)}),2&i&&Vm("zoom",r.isVisible()?1:null)},standalone:!0,features:[Ft],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,r){1&i&&(T(0,"div",0,1),ge("animationend",function(s){return r._handleAnimationEnd(s)}),T(2,"div",2),J(3),R()()),2&i&&(ie("mdc-tooltip--multiline",r._isMultiline),Be("ngClass",r.tooltipClass),q(3),ni(r.message))},dependencies:[oC],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})}return e})(),QW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=Ne({providers:[UW],imports:[xG,Pp,BW,ft,ft,tb]})}return e})(),JW=(()=>{class e{transform(t){return!t||Number.isNaN(t)||t<0?"00:00.0":new Date(1e3*t).toISOString().slice(14,-3)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=Rt({name:"stopwatchDuration",type:e,pure:!0,standalone:!0})}return e})();function e9(e,n){1&e&&(T(0,"mat-icon"),J(1,"pause"),R())}function t9(e,n){1&e&&(T(0,"mat-icon"),J(1,"play_arrow"),R())}function n9(e,n){if(1&e){const t=qm();T(0,"button",23),ge("click",function(){const o=wr(t).$implicit;return Er(lt().updateWaterRatio.emit(o))}),J(1),R()}if(2&e){const t=n.$implicit;ie("cr-selected",lt().waterRatio===t),Ye("id","waterRatio"+t),q(),ds(" 1:",t," ")}}function i9(e,n){if(1&e){const t=qm();T(0,"div",24)(1,"button",25),ge("click",function(){return wr(t),Er(lt().updateBlendRatio.emit(2))}),J(2," 1:1 "),R(),T(3,"button",25),ge("click",function(){return wr(t),Er(lt().updateBlendRatio.emit(3))}),J(4," 1:2 "),R(),T(5,"button",25),ge("click",function(){return wr(t),Er(lt().updateBlendRatio.emit(4))}),J(6," 1:3 "),R(),T(7,"button",25),ge("click",function(){return wr(t),Er(lt().updateBlendRatio.emit(5))}),J(8," 1:4 "),R(),T(9,"button",25),ge("click",function(){return wr(t),Er(lt().updateBlendRatio.emit(6))}),J(10," 1:5 "),R()()}if(2&e){const t=lt();q(),ie("cr-selected",2===t.blendRatio),Be("disabled",!t.useBlendRatio),q(2),ie("cr-selected",3===t.blendRatio),Be("disabled",!t.useBlendRatio),q(2),ie("cr-selected",4===t.blendRatio),Be("disabled",!t.useBlendRatio),q(2),ie("cr-selected",5===t.blendRatio),Be("disabled",!t.useBlendRatio),q(2),ie("cr-selected",6===t.blendRatio),Be("disabled",!t.useBlendRatio)}}function r9(e,n){if(1&e&&(T(0,"div",22)(1,"span"),J(2),R(),T(3,"span",20),J(4,"g"),R()(),T(5,"div",22)(6,"span",26),J(7,"\ufe62"),R(),T(8,"span"),J(9),R(),T(10,"span",20),J(11,"g"),R()()),2&e){const t=lt();q(2),ni(t.Utils.roundDecimal(t.grounds/t.blendRatio)),q(7),ni(t.Utils.roundDecimal(t.grounds*(t.blendRatio-1)/t.blendRatio))}}function o9(e,n){1&e&&(T(0,"span",26),J(1,"\ufe66"),R())}let s9=(()=>{class e{constructor(t){this.fb=t,this.waterRatio=Yt.waterRatio,this.useBlendRatio=Yt.useBlendRatio,this.blendRatio=Yt.blendRatio,this.brew=Yt.totalBrew,this.brewUnit=Yt.totalBrewUnit,this.grounds=0,this.groundsInOunces=0,this.groundsInML=0,this.groundsInCups=0,this.stopwatchStatus=Wt.NotStarted,this.stopwatchDuration=0,this.updateWaterRatio=new ve,this.toggleUseBlendRatio=new ve,this.updateBlendRatio=new ve,this.updateTotalBrew=new ve,this.updateTotalBrewUnit=new ve,this.toggleStopwatchRun=new ve,this.resetStopwatch=new ve,this.StopwatchStatus=Wt,this.VolumeUnit=xs,this.Utils=tr,this.waterRatioOptions=[...Array(22).keys()].map(i=>i+1),this.destroyRef=I(zi),this.canCalc=i=>{if(!i)return null;const r=i.get("waterRatio"),o=i.get("brew");return r&&o?r.value?o.value?null:{brewEmpty:"Brew is required."}:{waterRatioEmtpy:"Water ratio is required"}:null}}ngOnInit(){this.form=this.fb.nonNullable.group({waterRatio:[this.waterRatio,[$r.required,$r.pattern("^[0-9]*$"),$r.min(3)]],brew:[this.brew,[$r.required,$r.pattern("^([0-9]+.?[0-9]*|.[0-9]+)$"),$r.min(0)]]},{validators:[this.canCalc]}),this.form.controls.waterRatio.valueChanges.pipe(fu(),ot(t=>!Number.isNaN(t)),Vt(t=>this.updateWaterRatio.emit(t)),Ng(this.destroyRef)).subscribe(),this.form.controls.brew.valueChanges.pipe(fu(),ot(t=>!Number.isNaN(t)),Vt(t=>this.updateTotalBrew.emit(t)),Ng(this.destroyRef)).subscribe()}ngAfterViewInit(){document.getElementById(`waterRatio${this.waterRatio}`)?.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}ngOnChanges(t){if(t.brew?.currentValue){const i=t.brew?.currentValue;this.form?.patchValue({brew:i},{emitEvent:!1})}}static#e=this.\u0275fac=function(i){return new(i||e)(b(S8))};static#t=this.\u0275cmp=At({type:e,selectors:[["app-calc"]],inputs:{waterRatio:"waterRatio",useBlendRatio:"useBlendRatio",blendRatio:"blendRatio",brew:"brew",brewUnit:"brewUnit",grounds:"grounds",groundsInOunces:"groundsInOunces",groundsInML:"groundsInML",groundsInCups:"groundsInCups",stopwatchStatus:"stopwatchStatus",stopwatchDuration:"stopwatchDuration"},outputs:{updateWaterRatio:"updateWaterRatio",toggleUseBlendRatio:"toggleUseBlendRatio",updateBlendRatio:"updateBlendRatio",updateTotalBrew:"updateTotalBrew",updateTotalBrewUnit:"updateTotalBrewUnit",toggleStopwatchRun:"toggleStopwatchRun",resetStopwatch:"resetStopwatch"},standalone:!0,features:[bn,Ft],decls:67,vars:23,consts:[[1,"cr-stopwatch-container"],[1,"cr-stopwatch-duration"],["aria-label","Toggle stopwatch run","mat-flat-button","",1,"cr-stopwatch-run",3,"click"],["aria-label","Reset stopwatch","mat-flat-button","",1,"cr-stopwatch-reset",3,"click"],[1,"cr-form",3,"formGroup"],[1,"cr-card-title"],[1,"cr-ratio-toggle-group","cr-scroll-shadows"],["for","totalBrew",1,"cr-card-title"],[1,"cr-brew-input"],["floatLabel","auto","appearance","fill"],["id","totalBrew","matInput","","inputmode","numeric","pattern","[0-9]+\\.?[0-9]*|\\.[0-9]+","type","number","min","0","step","10","placeholder","0","formControlName","brew","autocomplete","off"],["matSuffix","",1,"cr-card-unit"],[1,"cr-ratio-toggle-group",2,"justify-content","flex-end"],["aria-label","Total brew in milliliters","mat-icon-button","",3,"click"],["aria-label","Total brew in ounces","mat-icon-button","",3,"click"],["aria-label","Toggle blend ratio use",3,"checked","change"],["class","cr-ratio-toggle-group"],[1,"cr-card-title",2,"padding-top","1rem"],[1,"cr-card-value",2,"margin-bottom","1rem"],["class","cr-card-math"],[1,"cr-card-unit"],["matTooltip","Based on one cup of ground or whole bean weighing roughly 82 grams","matTooltipShowDelay","0","matTooltipPosition","above"],[1,"cr-card-value"],["mat-icon-button","",3,"click"],[1,"cr-ratio-toggle-group"],["mat-icon-button","",3,"disabled","click"],[1,"cr-card-math"],["mat-icon-button","",3,"cr-selected"]],template:function(i,r){1&i&&(T(0,"mat-card")(1,"mat-card-content")(2,"div",0)(3,"div",1),J(4),an(5,"stopwatchDuration"),R(),T(6,"button",2),ge("click",function(){return r.toggleStopwatchRun.emit()}),Le(7,e9,2,0,"mat-icon")(8,t9,2,0,"mat-icon"),R(),T(9,"button",3),ge("click",function(){return r.resetStopwatch.emit()}),T(10,"mat-icon"),J(11,"refresh"),R()()()()(),T(12,"form",4)(13,"mat-card")(14,"mat-card-content")(15,"div",5),J(16,"Water Ratio"),R(),T(17,"div",6),function sE(e,n,t,i,r,o,s,a,l,c,d,u,f){kn("NgControlFlow");const h=void 0!==l,m=y(),p=a?s.bind(m[Pe][De]):s,g=new KP(h,p);m[W+e]=g,Le(e+1,n,t,i,r,o),h&&Le(e+2,l,c,d,u,f)}(18,n9,2,4,"button",27,oE),R(),T(20,"div",7),J(21," Total Brew "),R(),T(22,"div",8)(23,"mat-form-field",9),it(24,"input",10),T(25,"span",11),J(26),R()()(),T(27,"div",12)(28,"button",13),ge("click",function(){return r.updateTotalBrewUnit.emit(r.VolumeUnit.ML)}),J(29," ml "),R(),T(30,"button",14),ge("click",function(){return r.updateTotalBrewUnit.emit(r.VolumeUnit.OZ)}),J(31," oz "),R()(),T(32,"div",5)(33,"span"),J(34,"Blend Ratio"),R(),T(35,"mat-slide-toggle",15),ge("change",function(){return r.toggleUseBlendRatio.emit()}),R()(),Le(36,i9,11,15,"div",16),it(37,"mat-divider"),T(38,"div",17),J(39," Grounds "),R(),Le(40,r9,12,2),T(41,"div",18),Le(42,o9,2,0,"span",19),T(43,"span"),J(44),R(),T(45,"span",20),J(46,"g"),R()(),T(47,"div",5)(48,"span"),J(49,"Approx. Grounds in Volume"),R(),T(50,"mat-icon",21),J(51," info "),R()(),T(52,"div",22)(53,"span"),J(54),R(),T(55,"span",20),J(56,"ml"),R()(),T(57,"div",22)(58,"span"),J(59),R(),T(60,"span",20),J(61,"oz"),R()(),T(62,"div",22)(63,"span"),J(64),R(),T(65,"span",20),J(66,"cups"),R()()()()()),2&i&&(q(4),ds(" ",ln(5,21,r.stopwatchDuration)," "),q(2),ie("cr-stopwatch-running",r.stopwatchStatus===r.StopwatchStatus.Running)("cr-stopwatch-paused",r.stopwatchStatus===r.StopwatchStatus.Paused),q(),Ze(7,r.stopwatchStatus===r.StopwatchStatus.Running?7:-1),q(),Ze(8,r.stopwatchStatus!==r.StopwatchStatus.Running?8:-1),q(4),Be("formGroup",r.form),q(6),function aE(e){const n=D(null),t=Dt();try{const i=y(),r=i[C],o=i[t];if(void 0===o.liveCollection){const a=t+1,l=Um(i,a),c=zm(r,a);o.liveCollection=new QP(l,i,c)}else o.liveCollection.reset();const s=o.liveCollection;if(function YP(e,n,t){let i,r,o=0,s=e.length-1;if(Array.isArray(n)){let a=n.length-1;for(;o<=s&&o<=a;){const l=e.at(o),c=n[o],d=jm(o,l,o,c,t);if(0!==d){d<0&&e.updateValue(o,c),o++;continue}const u=e.at(s),f=n[a],h=jm(s,u,a,f,t);if(0!==h){h<0&&e.updateValue(s,f),s--,a--;continue}const m=t(o,l),p=t(s,u),g=t(o,c);if(Object.is(g,p)){const v=t(a,f);Object.is(v,m)?(e.swap(o,s),e.updateValue(s,f),a--,s--):e.move(s,o),e.updateValue(o,c),o++}else if(i??=new rE,r??=iE(e,o,s,t),Hm(e,i,o,g))e.updateValue(o,c),o++,s++;else if(r.has(g))i.set(m,e.detach(o)),s--;else{const v=e.create(o,n[o]);e.attach(o,v),o++,s++}}for(;o<=a;)nE(e,i,t,o,n[o]),o++}else if(null!=n){const a=n[Symbol.iterator]();let l=a.next();for(;!l.done&&o<=s;){const c=e.at(o),d=l.value,u=jm(o,c,o,d,t);if(0!==u)u<0&&e.updateValue(o,d),o++,l=a.next();else{i??=new rE,r??=iE(e,o,s,t);const f=t(o,d);if(Hm(e,i,o,f))e.updateValue(o,d),o++,s++,l=a.next();else if(r.has(f)){const h=t(o,c);i.set(h,e.detach(o)),s--}else e.attach(o,e.create(o,d)),o++,s++,l=a.next()}}for(;!l.done;)nE(e,i,t,e.length,l.value),l=a.next()}for(;o<=s;)e.destroy(e.detach(s--));i?.forEach(a=>{e.destroy(a)})}(s,e,o.trackByFn),s.updateIndexes(),o.hasEmptyBlock){const a=Rn(),l=0===s.length;if(Ue(i,a,l)){const c=t+2,d=Um(i,c);if(l){const u=zm(r,c),f=$o(d,u.tView.ssrId);va(d,ba(i,u,void 0,{dehydratedView:f}),0,zo(u,f))}else Xh(d,0)}}}finally{D(n)}}(r.waterRatioOptions),q(8),ds(" ",r.brewUnit," "),q(2),ie("cr-selected",r.brewUnit===r.VolumeUnit.ML),q(2),ie("cr-selected",r.brewUnit===r.VolumeUnit.OZ),q(5),Be("checked",r.useBlendRatio),q(),Ze(36,r.useBlendRatio?36:-1),q(4),Ze(40,r.useBlendRatio?40:-1),q(2),Ze(42,r.useBlendRatio?42:-1),q(2),ni(r.grounds),q(10),ni(r.groundsInML),q(5),ni(r.groundsInOunces),q(5),ni(r.groundsInCups))},dependencies:[nq,JG,tq,uq,ET,xT,hq,fq,$_,Qq,qq,j6,B6,W6,q6,nW,J_,QW,XW,T8,MS,yu,E_,fS,hS,k_,T_,Dl,I_,JW],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:.5rem;justify-content:center;max-width:30rem;padding:1rem;overflow:hidden}[_nghost-%COMP%] .cr-brew-input{display:flex;align-items:baseline;font-size:2rem;margin-bottom:-.6rem}[_nghost-%COMP%] .cr-brew-input input{font-size:2rem}.cr-card-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;color:#ffffff8a;font-size:.875rem}.cr-card-value[_ngcontent-%COMP%]{font-size:2rem;line-height:2rem;text-align:right}.mat-mdc-card[_ngcontent-%COMP%] .cr-card-value[_ngcontent-%COMP%]:not(:last-child){margin-bottom:.5rem}.cr-card-math[_ngcontent-%COMP%]{color:#ffffff8a}.cr-card-unit[_ngcontent-%COMP%]{margin-left:.4rem;color:#d69060;font-weight:500;font-size:1.4rem}.cr-stopwatch-container[_ngcontent-%COMP%]{display:grid;grid-template:"duration duration" "run reset"/1fr 1fr;align-items:center;column-gap:.5rem;row-gap:.5rem}.cr-stopwatch-container[_ngcontent-%COMP%] .mat-mdc-unelevated-button[_ngcontent-%COMP%]{height:3.2rem;padding:0;border-radius:.8rem}.cr-stopwatch-container[_ngcontent-%COMP%] .mat-mdc-unelevated-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:1.5rem}.cr-stopwatch-duration[_ngcontent-%COMP%]{grid-area:duration;font-weight:500;font-size:2.5rem;line-height:2.5rem;text-align:center}.cr-stopwatch-run[_ngcontent-%COMP%]{grid-area:run}.cr-stopwatch-reset[_ngcontent-%COMP%]{grid-area:reset}.cr-stopwatch-run.cr-stopwatch-running[_ngcontent-%COMP%]{color:#e53835}.cr-stopwatch-run.cr-stopwatch-paused[_ngcontent-%COMP%]{color:#43a047}.cr-form[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;overflow:hidden}.cr-ratio-toggle-group[_ngcontent-%COMP%]{display:flex;gap:1rem;justify-content:space-between;margin-bottom:1rem;border-radius:1.5rem}.cr-ratio-toggle-group[_ngcontent-%COMP%] .mat-mdc-icon-button.cr-selected[_ngcontent-%COMP%]{color:#d69060;font-weight:600;background:#ffffff1a}.cr-scroll-shadows[_ngcontent-%COMP%]{overflow-y:auto;background:linear-gradient(90deg,#353535,#35353500),linear-gradient(270deg,#353535,#35353500 70%),linear-gradient(90deg,#1e1e1e,#353535),linear-gradient(270deg,#1e1e1e,#353535);background-color:#ffffff1a;background-repeat:no-repeat;background-position:top left,top right,top left,top right;background-size:40px 100%,40px 100%,20px 100%,20px 100%;background-attachment:local,local,scroll,scroll}'],changeDetection:0})}return e})();(function bU(e,n){return NB({rootComponent:e,...RC(n)})})((()=>{class e{constructor(t){this.store=t,this.waterRatio$=t.select(AM),this.useBlendRatio$=t.select(RM),this.blendRatio$=t.select(_4),this.totalBrewDisplay$=t.select(b4),this.totalBrewUnit$=t.select(kM),this.grounds$=t.select(OM),this.groundsInOunces$=t.select(a_),this.groundsInML$=t.select(v4),this.groundsInCups$=t.select(y4),this.stopwatchStatus$=t.select(FM),this.stopwatchDuration$=t.select(LM)}updateWaterRatio(t){this.store.dispatch(t_({waterRatio:t}))}toggleUseBlendRatio(){this.store.dispatch(n_())}updateBlendRatio(t){this.store.dispatch(i_({blendRatio:t}))}updateTotalBrew(t){this.store.dispatch(r_({brew:t}))}updateTotalBrewUnit(t){this.store.dispatch(o_({unit:t}))}toggleStopwatchRun(){this.store.dispatch(c_())}resetStopwatch(){this.store.dispatch(vu())}static#e=this.\u0275fac=function(i){return new(i||e)(b(er))};static#t=this.\u0275cmp=At({type:e,selectors:[["app-root"]],standalone:!0,features:[Ft],decls:12,vars:33,consts:[[3,"waterRatio","useBlendRatio","blendRatio","brew","brewUnit","grounds","groundsInOunces","groundsInML","groundsInCups","stopwatchStatus","stopwatchDuration","updateWaterRatio","toggleUseBlendRatio","updateBlendRatio","updateTotalBrew","updateTotalBrewUnit","toggleStopwatchRun","resetStopwatch"]],template:function(i,r){1&i&&(T(0,"app-calc",0),ge("updateWaterRatio",function(s){return r.updateWaterRatio(s)})("toggleUseBlendRatio",function(){return r.toggleUseBlendRatio()})("updateBlendRatio",function(s){return r.updateBlendRatio(s)})("updateTotalBrew",function(s){return r.updateTotalBrew(s)})("updateTotalBrewUnit",function(s){return r.updateTotalBrewUnit(s)})("toggleStopwatchRun",function(){return r.toggleStopwatchRun()})("resetStopwatch",function(){return r.resetStopwatch()}),an(1,"async"),an(2,"async"),an(3,"async"),an(4,"async"),an(5,"async"),an(6,"async"),an(7,"async"),an(8,"async"),an(9,"async"),an(10,"async"),an(11,"async"),R()),2&i&&Be("waterRatio",ln(1,11,r.waterRatio$))("useBlendRatio",ln(2,13,r.useBlendRatio$))("blendRatio",ln(3,15,r.blendRatio$))("brew",ln(4,17,r.totalBrewDisplay$))("brewUnit",ln(5,19,r.totalBrewUnit$))("grounds",ln(6,21,r.grounds$))("groundsInOunces",ln(7,23,r.groundsInOunces$))("groundsInML",ln(8,25,r.groundsInML$))("groundsInCups",ln(9,27,r.groundsInCups$))("stopwatchStatus",ln(10,29,r.stopwatchStatus$))("stopwatchDuration",ln(11,31,r.stopwatchDuration$))},dependencies:[s9,uC],styles:["[_nghost-%COMP%]{display:flex;align-items:flex-start;justify-content:center;width:100%;height:100%;-webkit-user-select:none;user-select:none}"],changeDetection:0})}return e})(),T4).catch(e=>console.error(e))},904:(Ol,Nl)=>{var gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(D){return typeof D}:function(D){return D&&"function"==typeof Symbol&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D};function Ri(D){return Object.assign(new D.constructor,D)}Nl.cp=function ke(D,$){if("object"!==(typeof $>"u"?"undefined":gn($)))throw new Error("update is not an object");if($.hasOwnProperty("$set"))return $.$set;if($.hasOwnProperty("$push")){if(null==D&&(D=[]),!Array.isArray(D))throw new Error("view is not an array in push");if(!Array.isArray($.$push))throw new Error("update is not an array in push");if(0===$.$push.length)return D;var Xt=Ri(D),eo=!0,to=!1,no=void 0;try{for(var Os,ks=$.$push[Symbol.iterator]();!(eo=(Os=ks.next()).done);eo=!0)Xt.push(Os.value)}catch(_n){to=!0,no=_n}finally{try{!eo&&ks.return&&ks.return()}finally{if(to)throw no}}return Xt}if($.hasOwnProperty("$unshift")){if(null==D&&(D=[]),!Array.isArray(D))throw new Error("view is not an array in unshift");if(!Array.isArray($.$unshift))throw new Error("update is not an array in unshift");if(0===$.$unshift.length)return D;var Ns=Ri(D),io=!0,ro=!1,oo=void 0;try{for(var Fs,ur=$.$unshift.reverse()[Symbol.iterator]();!(io=(Fs=ur.next()).done);io=!0)Ns.unshift(Fs.value)}catch(_n){ro=!0,oo=_n}finally{try{!io&&ur.return&&ur.return()}finally{if(ro)throw oo}}return Ns}if($.hasOwnProperty("$splice")){if(null==D&&(D=[]),!Array.isArray(D))throw new Error("view is not an array in splice");if(!Array.isArray($.$splice))throw new Error("update is not an array in splice");var Ni=Ri(D),ai=!0,li=!1,Ps=void 0;try{for(var so,Ls=$.$splice[Symbol.iterator]();!(ai=(so=Ls.next()).done);ai=!0){var ao=so.value;if(!Array.isArray(ao))throw new Error("update element is not an array");Ni.splice.apply(Ni,ao)}}catch(_n){li=!0,Ps=_n}finally{try{!ai&&Ls.return&&Ls.return()}finally{if(li)throw Ps}}return Ni}if($.hasOwnProperty("$apply")){if("function"!=typeof $.$apply)throw new Error("update is not a function in apply");var Fi=void 0;return Array.isArray(D)||"object"===(typeof D>"u"?"undefined":gn(D))&&null!==D?Fi=Ri(D):D!==Object(D)&&(Fi=D),$.$apply(Fi)}null==D&&(D={});var vt=Ri(D),Hn=!1;if($.hasOwnProperty("$merge")){if("object"!==(typeof D>"u"?"undefined":gn(D)))throw new Error("view is not an object in merge");if("object"!==(typeof $>"u"?"undefined":gn($)))throw new Error("update is not an object in merge");var lo=!0,Vs=!1,Ll=void 0;try{for(var Vl,fr=Object.keys($.$merge)[Symbol.iterator]();!(lo=(Vl=fr.next()).done);lo=!0){var Bl=Vl.value;if(!(Bl in D)||$.$merge[Bl]!==D[Bl]){Hn=!0;break}}}catch(_n){Vs=!0,Ll=_n}finally{try{!lo&&fr.return&&fr.return()}finally{if(Vs)throw Ll}}Hn&&Object.assign(vt,$.$merge)}if($.hasOwnProperty("$unset")){if("object"!==(typeof D>"u"?"undefined":gn(D)))throw new Error("view is not an object in unset");if("object"===gn($.$unset)){var jl=!0,Bs=!1,Hl=void 0;try{for(var Ul,js=$.$unset[Symbol.iterator]();!(jl=(Ul=js.next()).done);jl=!0){var Ku=Ul.value;Ku in vt&&(delete vt[Ku],Hn=!0)}}catch(_n){Bs=!0,Hl=_n}finally{try{!jl&&js.return&&js.return()}finally{if(Bs)throw Hl}}}else $.$unset in vt&&(delete vt[$.$unset],Hn=!0)}if(Array.isArray(D)){for(var co in $){var hr=parseInt(co);if(co!=hr)throw new Error("non-numeric key in array update");vt[hr]=ke(vt[hr],$[co]),vt[hr]!==D[hr]&&(Hn=!0)}return Hn?vt:D}if("object"===(typeof D>"u"?"undefined":gn(D))){for(var Kt in $){var ee=Kt;"$"===Kt[0]&&"$"!==Kt[1]||(Kt.startsWith("$$")&&(Kt=Kt.substr(1)),vt[Kt]=ke(vt[Kt],$[ee]),(vt[Kt]!==D[Kt]||void 0===vt[Kt]&&!D.hasOwnProperty(Kt))&&(Hn=!0))}return Hn?vt:D}throw new Error("view not an array or object")}}},Ol=>{Ol(Ol.s=32)}]); \ No newline at end of file diff --git a/main.b55d1fb77146fd9a.js b/main.b55d1fb77146fd9a.js new file mode 100644 index 0000000..45a393e --- /dev/null +++ b/main.b55d1fb77146fd9a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcoffee_ratio=self.webpackChunkcoffee_ratio||[]).push([[792],{984:(Vl,Bl,Rs)=>{function Fi(e,n){return Object.is(e,n)}let Ne=null,Pi=!1,Li=1;const Xt=Symbol("SIGNAL");function D(e){const n=Ne;return Ne=e,n}const no={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function io(e){if(Pi)throw new Error("");if(null===Ne)return;Ne.consumerOnSignalRead(e);const n=Ne.nextProducerIndex++;mi(Ne),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function hr(e){mi(e);for(let n=0;n0}function mi(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ls(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const ao=Symbol("UNSET"),lo=Symbol("COMPUTING"),Bi=Symbol("ERRORED"),vt={...no,value:ao,dirty:!0,error:null,equal:Fi,producerMustRecompute:e=>e.value===ao||e.value===lo,producerRecomputeValue(e){if(e.value===lo)throw new Error("Detected cycle in computations.");const n=e.value;e.value=lo;const t=oo(e);let i;try{i=e.computation()}catch(r){i=Bi,e.error=r}finally{so(e,t)}n!==ao&&n!==Bi&&i!==Bi&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let co=function $n(){throw new Error};function Bs(){co()}let mr=null;function js(e,n){Fs()||Bs(),e.equal(e.value,n)||(e.value=n,function Wl(e){e.version++,function ks(){Li++}(),jl(e),mr?.()}(e))}const Hs={...no,equal:Fi,value:void 0};function ee(e){return"function"==typeof e}function bn(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const rf=bn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Yl(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class We{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(ee(i))try{i()}catch(o){n=o instanceof rf?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{ub(o)}catch(s){n=n??[],s instanceof rf?n=[...n,...s.errors]:n.push(s)}}if(n)throw new rf(n)}}add(n){var t;if(n&&n!==this)if(this.closed)ub(n);else{if(n instanceof We){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Yl(t,n)}remove(n){const{_finalizers:t}=this;t&&Yl(t,n),n instanceof We&&n._removeParent(this)}}We.EMPTY=(()=>{const e=new We;return e.closed=!0,e})();const cb=We.EMPTY;function db(e){return e instanceof We||e&&"closed"in e&&ee(e.remove)&&ee(e.add)&&ee(e.unsubscribe)}function ub(e){ee(e)?e():e.unsubscribe()}const gr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Zl={setTimeout(e,n,...t){const{delegate:i}=Zl;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Zl;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function fb(e){Zl.setTimeout(()=>{const{onUnhandledError:n}=gr;if(!n)throw e;n(e)})}function fo(){}const HA=sf("C",void 0,void 0);function sf(e,n,t){return{kind:e,value:n,error:t}}let _r=null;function Xl(e){if(gr.useDeprecatedSynchronousErrorHandling){const n=!_r;if(n&&(_r={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=_r;if(_r=null,t)throw i}}else e()}class af extends We{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,db(n)&&n.add(this)):this.destination=YA}static create(n,t,i){return new Us(n,t,i)}next(n){this.isStopped?cf(function zA(e){return sf("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?cf(function UA(e){return sf("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?cf(HA,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const GA=Function.prototype.bind;function lf(e,n){return GA.call(e,n)}class qA{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Kl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Kl(i)}else Kl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Kl(t)}}}class Us extends af{constructor(n,t,i){let r;if(super(),ee(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&gr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&lf(n.next,o),error:n.error&&lf(n.error,o),complete:n.complete&&lf(n.complete,o)}):r=n}this.destination=new qA(r)}}function Kl(e){gr.useDeprecatedSynchronousErrorHandling?function $A(e){gr.useDeprecatedSynchronousErrorHandling&&_r&&(_r.errorThrown=!0,_r.error=e)}(e):fb(e)}function cf(e,n){const{onStoppedNotification:t}=gr;t&&Zl.setTimeout(()=>t(e,n))}const YA={closed:!0,next:fo,error:function WA(e){throw e},complete:fo},df="function"==typeof Symbol&&Symbol.observable||"@@observable";function br(e){return e}let fe=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function XA(e){return e&&e instanceof af||function ZA(e){return e&&ee(e.next)&&ee(e.error)&&ee(e.complete)}(e)&&db(e)}(t)?t:new Us(t,i,r);return Xl(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=mb(i))((r,o)=>{const s=new Us({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[df](){return this}pipe(...t){return function hb(e){return 0===e.length?br:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=mb(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function mb(e){var n;return null!==(n=e??gr.Promise)&&void 0!==n?n:Promise}const KA=bn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ne=(()=>{class e extends fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new pb(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new KA}next(t){Xl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Xl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Xl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?cb:(this.currentObservers=null,o.push(t),new We(()=>{this.currentObservers=null,Yl(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new fe;return t.source=this,t}}return e.create=(n,t)=>new pb(n,t),e})();class pb extends ne{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:cb}}class zs extends ne{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function gb(e){return ee(e?.lift)}function Ae(e){return n=>{if(gb(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ve(e,n,t,i,r){return new _b(e,n,t,i,r)}class _b extends af{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function me(e,n){return Ae((t,i)=>{let r=0;t.subscribe(ve(i,o=>{i.next(e.call(n,o,r++))}))})}const bb="https://g.co/ng/security#xss";class w extends Error{constructor(n,t){super(function ho(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function pi(e){return{toString:e}.toString()}const po="__parameters__";function _o(e,n,t){return pi(()=>{const i=function uf(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(po)?l[po]:Object.defineProperty(l,po,{value:[]})[po];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const he=globalThis;function pe(e){for(let n in e)if(e[n]===pe)return n;throw Error("Could not find renamed property on target object.")}function QA(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Je).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function ff(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const JA=pe({__forward_ref__:pe});function ye(e){return e.__forward_ref__=ye,e.toString=function(){return Je(this())},e}function V(e){return Jl(e)?e():e}function Jl(e){return"function"==typeof e&&e.hasOwnProperty(JA)&&e.__forward_ref__===ye}function M(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function ec(e){return Eb(e,nc)||Eb(e,xb)}function Eb(e,n){return e.hasOwnProperty(n)?e[n]:null}function tc(e){return e&&(e.hasOwnProperty(hf)||e.hasOwnProperty(rR))?e[hf]:null}const nc=pe({\u0275prov:pe}),hf=pe({\u0275inj:pe}),xb=pe({ngInjectableDef:pe}),rR=pe({ngInjectorDef:pe});class x{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=M({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function bf(e){return e&&!!e.\u0275providers}const $s=pe({\u0275cmp:pe}),vf=pe({\u0275dir:pe}),yf=pe({\u0275pipe:pe}),gi=pe({\u0275fac:pe}),Gs=pe({__NG_ELEMENT_ID__:pe}),Ib=pe({__NG_ENV_ID__:pe});function q(e){return"string"==typeof e?e:null==e?"":String(e)}function wf(e,n){throw new w(-201,!1)}var te=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(te||{});let Ef;function Mb(){return Ef}function Ht(e){const n=Ef;return Ef=e,n}function Sb(e,n,t){const i=ec(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&te.Optional?null:void 0!==n?n:void wf()}const qs={},xf="__NG_DI_FLAG__",ic="ngTempTokenPath",dR=/\n/gm,Tb="__source";let bo;function Hi(e){const n=bo;return bo=e,n}function hR(e,n=te.Default){if(void 0===bo)throw new w(-203,!1);return null===bo?Sb(e,void 0,n):bo.get(e,n&te.Optional?null:void 0,n)}function E(e,n=te.Default){return(Mb()||hR)(V(e),n)}function C(e,n=te.Default){return E(e,rc(n))}function rc(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Df(e){const n=[];for(let t=0;t({token:e})),-1);function vr(e,n){return e.hasOwnProperty(gi)?e[gi]:null}function yo(e,n){e.forEach(t=>Array.isArray(t)?yo(t,n):n(t))}function Nb(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function sc(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function tn(e,n,t){let i=wo(e,n);return i>=0?e[1|i]=t:(i=~i,function kb(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function If(e,n){const t=wo(e,n);if(t>=0)return e[1|t]}function wo(e,n){return function Ob(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[d+1].toLowerCase(),2&i&&c!==u){if(Sn(i))return!1;s=!0}}}}else{if(!s&&!Sn(i)&&!Sn(l))return!1;if(s&&Sn(l))continue;s=!1,i=l|1&i}}return Sn(i)||s}function Sn(e){return!(1&e)}function DR(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Sn(s)&&(n+=Hb(o,r),r=""),i=s,o=o||!Sn(i);t++}return""!==r&&(n+=Hb(o,r)),n}function At(e){return pi(()=>{const n=zb(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===cc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mn.Emulated,styles:e.styles||ie,_:null,schemas:e.schemas||null,tView:null,id:""};$b(t);const i=e.dependencies;return t.directiveDefs=dc(i,!1),t.pipeDefs=dc(i,!0),t.id=function FR(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function NR(e){return X(e)||et(e)}function kR(e){return null!==e}function Fe(e){return pi(()=>({type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ub(e,n){if(null==e)return Gn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=F.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==F.None?[i,a]:i,n[o]=s):t[o]=i}return t}function A(e){return pi(()=>{const n=zb(e);return $b(n),n})}function Rt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[$s]||null}function et(e){return e[vf]||null}function mt(e){return e[yf]||null}function zb(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Gn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ub(e.inputs,n),outputs:Ub(e.outputs),debugInfo:null}}function $b(e){e.features?.forEach(n=>n(e))}function dc(e,n){if(!e)return null;const t=n?mt:NR;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(kR)}function wr(e){return{\u0275providers:e}}function PR(...e){return{\u0275providers:Af(0,e),\u0275fromNgModule:!0}}function Af(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return yo(n,s=>{const a=s;uc(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Gb(r,o),t}function Gb(e,n){for(let t=0;t{n(o,i)})}}function uc(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=tc(e);const s=!o&&X(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=tc(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)uc(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{yo(o.imports,d=>{uc(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&Gb(c,n)}if(!a){const c=vr(r)||(()=>new r);n({provide:r,useFactory:c,deps:ie},r),n({provide:Mf,useValue:r,multi:!0},r),n({provide:_i,useValue:()=>E(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rf(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function Rf(e,n){for(let t of e)bf(t)&&(t=t.\u0275providers),Array.isArray(t)?Rf(t,n):n(t)}const LR=pe({provide:String,useValue:pe});function Nf(e){return null!==e&&"object"==typeof e&&LR in e}function Er(e){return"function"==typeof e}const kf=new x(""),fc={},BR={};let Of;function hc(){return void 0===Of&&(Of=new lc),Of}class qn{}class Eo extends qn{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Pf(n,s=>this.processProvider(s)),this.records.set(Fb,xo(void 0,this)),r.has("environment")&&this.records.set(qn,xo(void 0,this));const o=this.records.get(kf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Mf,ie,te.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=D(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Hi(this),i=Ht(void 0);try{return n()}finally{Hi(t),Ht(i)}}get(n,t=qs,i=te.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Ib))return n[Ib](this);i=rc(i);const o=Hi(this),s=Ht(void 0);try{if(!(i&te.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function $R(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(n)&&ec(n);l=c&&this.injectableDefInScope(c)?xo(Ff(n),fc):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&te.Self?hc():this.parent).get(n,t=i&te.Optional&&t===qs?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[ic]=a[ic]||[]).unshift(Je(n)),o)throw a;return function pR(e,n,t,i){const r=e[ic];throw n[Tb]&&r.unshift(n[Tb]),e.message=function gR(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Je(n);if(Array.isArray(n))r=n.map(Je).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Je(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(dR,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[ic]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Ht(s),Hi(o)}}resolveInjectorInitializers(){const n=D(null),t=Hi(this),i=Ht(void 0);try{const o=this.get(_i,ie,te.Self);for(const s of o)s()}finally{Hi(t),Ht(i),D(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Je(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(n){let t=Er(n=V(n))?n:V(n&&n.provide);const i=function HR(e){return Nf(e)?xo(void 0,e.useValue):xo(Yb(e),fc)}(n);if(!Er(n)&&!0===n.multi){let r=this.records.get(t);r||(r=xo(void 0,fc,!0),r.factory=()=>Df(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=D(null);try{return t.value===fc&&(t.value=BR,t.value=t.factory()),"object"==typeof t.value&&t.value&&function zR(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{D(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=V(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Ff(e){const n=ec(e),t=null!==n?n.factory:vr(e);if(null!==t)return t;if(e instanceof x)throw new w(204,!1);if(e instanceof Function)return function jR(e){if(e.length>0)throw new w(204,!1);const t=function iR(e){return e&&(e[nc]||e[xb])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new w(204,!1)}function Yb(e,n,t){let i;if(Er(e)){const r=V(e);return vr(r)||Ff(r)}if(Nf(e))i=()=>V(e.useValue);else if(function Wb(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Df(e.deps||[]));else if(function qb(e){return!(!e||!e.useExisting)}(e))i=()=>E(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function UR(e){return!!e.deps}(e))return vr(r)||Ff(r);i=()=>new r(...Df(e.deps))}return i}function xo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Pf(e,n){for(const t of e)Array.isArray(t)?Pf(t,n):t&&bf(t)?Pf(t.\u0275providers,n):n(t)}function Xb(){return void 0!==Mb()||null!=function fR(){return bo}()}function Do(e){if(!Xb())throw new w(-203,!1)}const Oe=0,I=1,O=2,He=3,Tn=4,wt=5,nn=6,Io=7,Ce=8,pt=9,An=10,H=11,Xs=12,Qb=13,Mo=14,Pe=15,Ks=16,So=17,bi=18,Qs=19,Jb=20,Ui=21,pc=22,xr=23,W=25,Vf=1,Wn=7,To=9,Ue=10;var Bf=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Bf||{});function Et(e){return Array.isArray(e)&&"object"==typeof e[Vf]}function xt(e){return Array.isArray(e)&&!0===e[Vf]}function jf(e){return!!(4&e.flags)}function Dr(e){return e.componentOffset>-1}function _c(e){return!(1&~e.flags)}function Rn(e){return!!e.template}function Hf(e){return!!(512&e[O])}class iN{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function iv(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function vn(){return rv}function rv(e){return e.type.prototype.ngOnChanges&&(e.setInput=oN),rN}function rN(){const e=sv(this),n=e?.current;if(n){const t=e.previous;if(t===Gn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function oN(e,n,t,i,r){const o=this.declaredInputs[i],s=sv(e)||function sN(e,n){return e[ov]=n}(e,{previous:Gn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new iN(c&&c.currentValue,t,l===Gn),iv(e,n,r,t)}vn.ngInherit=!0;const ov="__ngSimpleChanges__";function sv(e){return e[ov]||null}const Yn=function(e,n,t){},av="svg";let cv=!1;function we(e){for(;Array.isArray(e);)e=e[Oe];return e}function ea(e,n){return we(n[e])}function Nt(e,n){return we(n[e.index])}function ta(e,n){return e.data[n]}function Ao(e,n){return e[n]}function rn(e,n){const t=n[e];return Et(t)?t:t[Oe]}function qf(e){return!(128&~e[O])}function Zn(e,n){return null==n?null:e[n]}function dv(e){e[So]=0}function fN(e){1024&e[O]||(e[O]|=1024,qf(e)&&na(e))}function Wf(e){return!!(9216&e[O]||e[xr]?.dirty)}function Yf(e){e[An].changeDetectionScheduler?.notify(1),Wf(e)?na(e):64&e[O]&&(function lN(){return cv}()?(e[O]|=1024,na(e)):e[An].changeDetectionScheduler?.notify())}function na(e){e[An].changeDetectionScheduler?.notify();let n=Cr(e);for(;null!==n&&!(8192&n[O])&&(n[O]|=8192,qf(n));)n=Cr(n)}function bc(e,n){if(!(256&~e[O]))throw new w(911,!1);null===e[Ui]&&(e[Ui]=[]),e[Ui].push(n)}function Cr(e){const n=e[He];return xt(n)?n[He]:n}const U={lFrame:yv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function hv(){return U.bindingsEnabled}function Ro(){return null!==U.skipHydrationRootTNode}function y(){return U.lFrame.lView}function Q(){return U.lFrame.tView}function Nn(e){return U.lFrame.contextLView=e,e[Ce]}function kn(e){return U.lFrame.contextLView=null,e}function ge(){let e=mv();for(;null!==e&&64===e.type;)e=e.parent;return e}function mv(){return U.lFrame.currentTNode}function Xn(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function Xf(){return U.lFrame.isParent}function Kf(){U.lFrame.isParent=!1}function On(){return U.lFrame.bindingIndex++}function yi(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function xN(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,Qf(n)}function Qf(e){U.lFrame.currentDirectiveIndex=e}function eh(){return U.lFrame.currentQueryIndex}function vc(e){U.lFrame.currentQueryIndex=e}function CN(e){const n=e[I];return 2===n.type?n.declTNode:1===n.type?e[wt]:null}function bv(e,n,t){if(t&te.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&te.Host||(r=CN(o),null===r||(o=o[Mo],10&r.type))););if(null===r)return!1;n=r,e=o}const i=U.lFrame=vv();return i.currentTNode=n,i.lView=e,!0}function th(e){const n=vv(),t=e[I];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function vv(){const e=U.lFrame,n=null===e?null:e.child;return null===n?yv(e):n}function yv(e){const n={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:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function wv(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ev=wv;function nh(){const e=wv();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Dt(){return U.lFrame.selectedIndex}function Ir(e){U.lFrame.selectedIndex=e}function Ie(){const e=U.lFrame;return ta(e.tView,e.selectedIndex)}let Cv=!0;function ra(){return Cv}function Kn(e){Cv=e}function yc(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[So]+=65536),(a>14>16&&(3&e[O])===n&&(e[O]+=16384,Mv(a,o)):Mv(a,o)}const No=-1;class oa{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function oh(e){return e!==No}function sa(e){return 32767&e}function aa(e,n){let t=function PN(e){return e>>16}(e),i=n;for(;t>0;)i=i[Mo],t--;return i}let sh=!0;function xc(e){const n=sh;return sh=e,n}const Sv=255,Tv=5;let LN=0;const Qn={};function Dc(e,n){const t=Av(e,n);if(-1!==t)return t;const i=n[I];i.firstCreatePass&&(e.injectorIndex=n.length,ah(i.data,e),ah(n,null),ah(i.blueprint,null));const r=Cc(e,n),o=e.injectorIndex;if(oh(r)){const s=sa(r),a=aa(r,n),l=a[I].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function ah(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Av(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Cc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Lv(r),null===i)return No;if(t++,r=r[Mo],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return No}function lh(e,n,t){!function VN(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Gs)&&(i=t[Gs]),null==i&&(i=t[Gs]=LN++);const r=i&Sv;n.data[e+(r>>Tv)]|=1<=0?n&Sv:UN:n}(t);if("function"==typeof o){if(!bv(n,e,i))return i&te.Host?Rv(r,0,i):Nv(n,t,i,r);try{let s;if(s=o(i),null!=s||i&te.Optional)return s;wf()}finally{Ev()}}else if("number"==typeof o){let s=null,a=Av(e,n),l=No,c=i&te.Host?n[Pe][wt]:null;for((-1===a||i&te.SkipSelf)&&(l=-1===a?Cc(e,n):n[a+8],l!==No&&Pv(i,!1)?(s=n[I],a=sa(l),n=aa(l,n)):a=-1);-1!==a;){const d=n[I];if(Fv(o,a,d.data)){const u=jN(a,n,t,s,i,c);if(u!==Qn)return u}l=n[a+8],l!==No&&Pv(i,n[I].data[a+8]===c)&&Fv(o,a,n)?(s=d,a=sa(l),n=aa(l,n)):a=-1}}return r}function jN(e,n,t,i,r,o){const s=n[I],a=s.data[e+8],d=Ic(a,s,t,null==i?Dr(a)&&sh:i!=s&&!!(3&a.type),r&te.Host&&o===a);return null!==d?Mr(n,s,d,a):Qn}function Ic(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,f=r?a+d:e.directiveEnd;for(let h=i?a:a+d;h=l&&m.type===t)return h}if(r){const h=s[l];if(h&&Rn(h)&&h.type===t)return l}return null}function Mr(e,n,t,i){let r=e[t];const o=n.data;if(function NN(e){return e instanceof oa}(r)){const s=r;s.resolving&&function aR(e,n){throw n&&n.join(" > "),new w(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():q(e)}(o[t]));const a=xc(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Ht(s.injectImpl):null;bv(e,i,te.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function AN(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=rv(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Ht(c),xc(a),s.resolving=!1,Ev()}}return r}function Fv(e,n,t){return!!(t[n+(e>>Tv)]&1<{const n=e.prototype.constructor,t=n[gi]||ch(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[gi]||ch(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function ch(e){return Jl(e)?()=>{const n=ch(V(e));return n&&n()}:vr(e)}function Lv(e){const n=e[I],t=n.type;return 2===t?n.declTNode:1===t?e[wt]:null}function Fo(e){return function BN(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r{class e{static#e=this.THROW_IF_NOT_FOUND=qs;static#t=this.NULL=new lc;static create(t,i){if(Array.isArray(t))return Uv({name:""},i,t,"");{const r=t.name??"";return Uv({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=M({token:e,providedIn:"any",factory:()=>E(Fb)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function uh(e){return e.ngOriginalError}class zt{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&uh(n);for(;t&&uh(t);)t=uh(t);return t||null}}const Gv=new x("",{providedIn:"root",factory:()=>C(zt).handleError.bind(void 0)});let Jn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=QN;static#t=this.__NG_ENV_ID__=t=>t}return e})();class KN extends Jn{constructor(n){super(),this._lView=n}onDestroy(n){return bc(this._lView,n),()=>function Zf(e,n){if(null===e[Ui])return;const t=e[Ui].indexOf(n);-1!==t&&e[Ui].splice(t,1)}(this._lView,n)}}function QN(){return new KN(y())}function JN(){return Po(ge(),y())}function Po(e,n){return new Ee(Nt(e,n))}let Ee=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=JN}return e})();function Wv(e){return e instanceof Ee?e.nativeElement:e}function fh(e){return n=>{setTimeout(e,void 0,n)}}const xe=class ek extends ne{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,Xb()&&(this.destroyRef=C(Jn,{optional:!0})??void 0)}emit(n){const t=D(null);try{super.next(n)}finally{D(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=fh(o),r&&(r=fh(r)),s&&(s=fh(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof We&&n.add(a),a}};function tk(){return this._results[Symbol.iterator]()}class la{static#e=Symbol.iterator;get changes(){return this._changes??=new xe}constructor(n=!1){this._emitDistinctChangesOnly=n,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;const t=la.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=tk)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function Ut(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function vR(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ixk}),xk="ng",hy=new x(""),wi=new x("",{providedIn:"platform",factory:()=>"unknown"}),ei=new x(""),_h=new x("",{providedIn:"root",factory:()=>function zi(){if(void 0!==gh)return gh;if(typeof document<"u")return document;throw new w(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let my=()=>null;function Ch(e,n,t=!1){return my(e,n,t)}const vy=new x("",{providedIn:"root",factory:()=>!1});let Vc;function Bo(e){return function Th(){if(void 0===Vc&&(Vc=null,he.trustedTypes))try{Vc=he.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vc}()?.createHTML(e)||e}class Sr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bb})`}}class Lk extends Sr{getTypeName(){return"HTML"}}class Vk extends Sr{getTypeName(){return"Style"}}class Bk extends Sr{getTypeName(){return"Script"}}class jk extends Sr{getTypeName(){return"URL"}}class Hk extends Sr{getTypeName(){return"ResourceURL"}}function on(e){return e instanceof Sr?e.changingThisBreaksApplicationSecurity:e}function ti(e,n){const t=function Uk(e){return e instanceof Sr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${bb})`)}return t===n}class Yk{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(Bo(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class Zk{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Bo(n),t}}const Kk=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function jc(e){return(e=String(e)).match(Kk)?e:"unsafe:"+e}function Ei(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function pa(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Cy=Ei("area,br,col,hr,img,wbr"),Iy=Ei("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),My=Ei("rp,rt"),Rh=pa(Cy,pa(Iy,Ei("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")),pa(My,Ei("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")),pa(My,Iy)),Nh=Ei("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Sy=pa(Nh,Ei("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"),Ei("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")),Qk=Ei("script,style,template");class Jk{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=nO(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=tO(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=Ty(n).toLowerCase();if(!Rh.hasOwnProperty(t))return this.sanitizedSomething=!0,!Qk.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=Ty(n).toLowerCase();Rh.hasOwnProperty(t)&&!Cy.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Ry(n))}}function tO(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw Ay(n);return n}function nO(e){const n=e.firstChild;if(n&&function eO(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw Ay(n);return n}function Ty(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function Ay(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const iO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rO=/([^\#-~ |!])/g;function Ry(e){return e.replace(/&/g,"&").replace(iO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(rO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Hc;function Ny(e,n){let t=null;try{Hc=Hc||function Dy(e){const n=new Zk(e);return function Xk(){try{return!!(new window.DOMParser).parseFromString(Bo(""),"text/html")}catch{return!1}}()?new Yk(n):n}(e);let i=n?String(n):"";t=Hc.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Hc.getInertBodyElement(i)}while(i!==o);return Bo((new Jk).sanitizeChildren(kh(t)||t))}finally{if(t){const i=kh(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function kh(e){return"content"in e&&function oO(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var gt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(gt||{}),Gi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gi||{});let Lh;function Vh(e,n){return Lh(e,n)}function Ho(e,n,t,i,r){if(null!=i){let o,s=!1;xt(i)?o=i:Et(i)&&(s=!0,i=i[Oe]);const a=we(i);0===e&&null!==t?null==r?qy(n,t,a):Tr(n,t,a,r||null,!0):1===e&&null!==t?Tr(n,t,a,r||null,!0):2===e?function va(e,n,t){const i=qc(e,n);i&&function OO(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function LO(e,n,t,i,r){const o=t[Wn];o!==we(t)&&Ho(n,e,i,o,r);for(let a=Ue;a0&&(e[t-1][Tn]=i[Tn]);const o=sc(e,Ue+n);!function MO(e,n){zy(e,n),n[Oe]=null,n[wt]=null}(i[I],i);const s=o[bi];null!==s&&s.detachView(o[I]),i[He]=null,i[Tn]=null,i[O]&=-129}return i}function Gc(e,n){if(!(256&n[O])){const t=n[H];t.destroyNode&&Yc(e,n,t,3,null,null),function TO(e){let n=e[Xs];if(!n)return Hh(e[I],e);for(;n;){let t=null;if(Et(n))t=n[Xs];else{const i=n[Ue];i&&(t=i)}if(!t){for(;n&&!n[Tn]&&n!==e;)Et(n)&&Hh(n[I],n),n=n[He];null===n&&(n=e),Et(n)&&Hh(n[I],n),t=n&&n[Tn]}n=t}}(n)}}function Hh(e,n){if(256&n[O])return;const t=D(null);try{n[O]&=-129,n[O]|=256,n[xr]&&function Ps(e){if(mi(e),hi(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[Io]=null);const r=n[Ui];if(null!==r){n[Ui]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Mn.None||o===Mn.Emulated)return null}return Nt(i,t)}}(e,n.parent,t)}function Tr(e,n,t,i,r){e.insertBefore(n,t,i,r)}function qy(e,n,t){e.appendChild(n,t)}function Wy(e,n,t,i,r){null!==i?Tr(e,n,t,i,r):qy(e,n,t)}function qc(e,n){return e.parentNode(n)}function Yy(e,n,t){return Xy(e,n,t)}let zh,Xy=function Zy(e,n,t){return 40&e.type?Nt(e,t):null};function Wc(e,n,t,i){const r=Uh(e,i,n),o=n[H],a=Yy(i.parent||n[wt],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lW&&iw(e,n,W,!1),Yn(s?2:0,r),t(i,r)}finally{Ir(o),Yn(s?3:1,r)}}function Wh(e,n,t){if(jf(n)){const i=D(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function cw(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=F.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?dw(i,t,c,a,l):dw(i,t,c,a)}return i}function dw(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function Gt(e,n,t,i,r,o,s,a){const l=Nt(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(tm(e,t,d,i,r),Dr(n)&&function XO(e,n){const t=rn(n,e);16&t[O]||(t[O]|=64)}(t,n.index)):3&n.type&&(i=function ZO(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Kh(e,n,t,i){if(hv()){const r=null===i?null:{"":-1},o=function nF(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,ya(e,t,r.hostVars,Y),r)}function ni(e,n,t,i,r,o){const s=Nt(e,n);!function Jh(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?q(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function lF(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Tn]=n),i{na(e.lView)},consumerOnSignalRead(){this.lView[xr]=this}},ww=100;function Qc(e,n=!0,t=0){const i=e[An],r=i.rendererFactory;r.begin?.();try{!function _F(e,n){rm(e,n);let t=0;for(;Wf(e);){if(t===ww)throw new w(103,!1);t++,rm(e,1)}}(e,t)}catch(s){throw n&&Kc(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function bF(e,n,t,i){const r=n[O];if(!(256&~r))return;n[An].inlineEffectRunner?.flush(),th(n);let s=null,a=null;(function vF(e){return 2!==e.type})(e)&&(a=function hF(e){return e[xr]??function mF(e){const n=yw.pop()??Object.create(gF);return n.lView=e,n}(e)}(n),s=oo(a));try{dv(n),function gv(e){return U.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&sw(e,n,t,2,i);const l=!(3&~r);if(l){const u=e.preOrderCheckHooks;null!==u&&wc(n,u,null)}else{const u=e.preOrderHooks;null!==u&&Ec(n,u,0,null),ih(n,0)}if(function yF(e){for(let n=iy(e);null!==n;n=ry(n)){if(!(n[O]&Bf.HasTransplantedViews))continue;const t=n[To];for(let i=0;i-1&&(_a(n,i),sc(t,i))}this._attachedToViewContainer=!1}Gc(this._lView[I],this._lView)}onDestroy(n){bc(this._lView,n)}markForCheck(){Da(this._cdRefInjectingView||this._lView)}detach(){this._lView[O]&=-129}reattach(){Yf(this._lView),this._lView[O]|=128}detectChanges(){this._lView[O]|=1024,Qc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,zy(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n,Yf(this._lView)}}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=DF}return e})();const EF=Di,xF=class extends EF{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=wa(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Ca(r)}};function DF(){return Jc(ge(),y())}function Jc(e,n){return 4&e.type?new xF(n,e,Po(e,n)):null}let Aw=()=>null;function $o(e,n){return Aw(e,n)}class rd{}class YF{}class Rw{}class XF{resolveComponentFactory(n){throw function ZF(e){const n=Error(`No component factory found for ${Je(e)}.`);return n.ngComponent=e,n}(n)}}let Aa=(()=>{class e{static#e=this.NULL=new XF}return e})();class dm{}let Ar=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function KF(){const e=y(),t=rn(ge().index,e);return(Et(t)?t:e)[H]}()}return e})(),QF=(()=>{class e{static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>null})}return e})();const um={},kw=new Set;function Fn(e){kw.has(e)||(kw.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ow(...e){}class B{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xe(!1),this.onMicrotaskEmpty=new xe(!1),this.onStable=new xe(!1),this.onError=new xe(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function JF(){const e="function"==typeof he.requestAnimationFrame;let n=he[e?"requestAnimationFrame":"setTimeout"],t=he[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function n1(e){const n=()=>{!function t1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(he,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,hm(e),e.isCheckStableRunning=!0,fm(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),hm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function r1(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return Fw(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Pw(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return Fw(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Pw(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,hm(e),fm(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!B.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(B.isInAngularZone())throw new w(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,e1,Ow,Ow);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const e1={};function fm(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function hm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fw(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pw(e){e._nesting--,fm(e)}let Ra=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})();function sd(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&tw(e,t,o.join(" "))}}(h,K,p,i),void 0!==t&&function b1(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=y1}return e})();function y1(){return Ww(ge(),y())}const w1=Pn,Gw=class extends w1{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Po(this._hostTNode,this._hostLView)}get injector(){return new nt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Cc(this._hostTNode,this._hostLView);if(oh(n)){const t=aa(n,this._hostLView),i=sa(n);return new nt(t[I].data[i+8],t)}return new nt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=qw(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ue}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=$o(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,zo(this._hostTNode,s)),a}createComponent(n,t,i,r,o){const s=n&&!function Zs(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Oa(X(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const p=(s?c:this.parentInjector).get(qn,null);p&&(o=p)}const d=X(l.componentType??{}),u=$o(this._lContainer,d?.id??null),h=l.create(c,r,u?.firstChild??null,o);return this.insertImpl(h.hostView,a,zo(this._hostTNode,u)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function uN(e){return xt(e[He])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[He],c=new Gw(l,l[wt],l[He]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Ea(s,r,o,i),n.attachToViewContainerRef(),Nb(_m(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=qw(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=_a(this._lContainer,t);i&&(sc(_m(this._lContainer),t),Gc(i[I],i))}detach(n){const t=this._adjustIndex(n,-1),i=_a(this._lContainer,t);return i&&null!=sc(_m(this._lContainer),t)?new Ca(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function qw(e){return e[8]}function _m(e){return e[8]||(e[8]=[])}function Ww(e,n){let t;const i=n[e.index];return xt(i)?t=i:(t=hw(i,n,null,e),n[e.index]=t,Xc(n,t)),Yw(t,n,e,i),new Gw(t,e,n)}let Yw=function Xw(e,n,t,i){if(e[Wn])return;let r;r=8&t.type?we(i):function E1(e,n){const t=e[H],i=t.createComment(""),r=Nt(n,e);return Tr(t,qc(t,r),i,function FO(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[Wn]=r},bm=()=>!1;class vm{constructor(n){this.queryList=n,this.matches=null}clone(){return new vm(this.queryList)}setDirty(){this.queryList.setDirty()}}class ym{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class wm{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=Ue;u(io(n),n.value);return t[Xt]=n,t}(e),i=t[Xt];return n?.equal&&(i.equal=n.equal),t.set=r=>js(i,r),t.update=r=>function ql(e,n){Fs()||Bs(),js(e,n(e.value))}(i,r),t.asReadonly=s0.bind(t),t}function s0(){const e=this[Xt];if(void 0===e.readonlyFn){const n=()=>this();n[Xt]=e,e.readonlyFn=n}return e.readonlyFn}function se(e){let n=function b0(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Rn(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new w(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=ld(e.inputs),s.inputTransforms=ld(e.inputTransforms),s.declaredInputs=ld(e.declaredInputs),s.outputs=ld(e.outputs);const a=r.hostBindings;a&&G1(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&z1(e,l),c&&$1(e,c),H1(e,r),QA(e.outputs,r.outputs),Rn(r)&&r.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Ys(r.hostAttrs,t=Ys(t,r.hostAttrs))}}(i)}function H1(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function ld(e){return e===Gn?{}:e===ie?[]:e}function z1(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function $1(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function G1(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function cd(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[3]&&(t[i]=r[3])}e.inputTransforms=t}class kr{}class E0 extends kr{constructor(n){super(),this.componentFactoryResolver=new zw(this),this.instance=null;const t=new Eo([...n.providers,{provide:kr,useValue:this},{provide:Aa,useValue:this.componentFactoryResolver}],n.parent||hc(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let Pa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new zs(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ze(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Le(e,n,t,i,r,o,s,a){const l=y(),c=Q(),d=e+W,u=c.firstCreatePass?function oP(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Uo(n,e,4,s||null,Zn(c,a));Kh(n,t,d,Zn(c,l)),yc(n,d);const u=d.tView=Xh(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,c,l,n,t,i,r,o,s):c.data[d];Xn(u,!1);const f=D0(c,l,u,e);ra()&&Wc(c,l,f,u),It(f,l);const h=hw(f,l,f,u);return l[d]=h,Xc(l,h),function Zw(e,n,t){return bm(e,n,t)}(h,u,l),_c(u)&&Yh(c,l,u),null!=s&&Zh(l,u,a),Le}let D0=function C0(e,n,t,i){return Kn(!0),n[H].createComment("")};function Ye(e,n,t,i){const r=y();return ze(r,On(),n)&&(Q(),ni(Ie(),r,e,n,t,i)),Ye}function bd(e,n){return e<<17|n<<2}function Yi(e){return e>>17&32767}function jm(e){return 2|e}function Pr(e){return(131068&e)>>2}function Hm(e,n){return-131069&e|n<<2}function Um(e){return 1|e}function nE(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Yi(r):Pr(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];zP(e[s],n)&&(a=!0,e[s+1]=i?Um(c):jm(c)),s=i?Yi(c):Pr(c)}a&&(e[t+1]=i?jm(r):Um(r))}function zP(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&wo(e,n)>=0}const it={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iE(e){return e.substring(it.key,it.keyEnd)}function rE(e,n){const t=it.textEnd;return t===n?-1:(n=it.keyEnd=function WP(e,n,t){for(;n32;)n++;return n}(e,it.key=n,t),as(e,n,t))}function as(e,n,t){for(;n=0;t=rE(n,t))tn(e,iE(n),!0)}function Ln(e,n,t,i){const r=y(),o=Q(),s=yi(2);o.firstUpdatePass&&dE(o,e,s,i),n!==Y&&ze(r,s,n)&&fE(o,o.data[Dt()],r,r[H],e,r[s+1]=function rL(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Je(on(e)))),e}(n,t),i,s)}function cE(e,n){return n>=e.expandoStartIndex}function dE(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Dt()],s=cE(e,t);mE(o,i)&&null===n&&!s&&(n=!1),n=function KP(e,n,t,i){const r=function Jf(e){const n=U.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=za(t=Gm(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Gm(r,e,n,t,i),null===o){let l=function QP(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Pr(i))return e[Yi(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Gm(null,e,n,l[1],i),l=za(l,n.attrs,i),function JP(e,n,t,i){e[Yi(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function eL(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):d=t,r)if(0!==l){const f=Yi(e[a+1]);e[i+1]=bd(f,a),0!==f&&(e[f+1]=Hm(e[f+1],i)),e[a+1]=function BP(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=bd(a,0),0!==a&&(e[a+1]=Hm(e[a+1],i)),a=i;else e[i+1]=bd(l,0),0===a?a=i:e[l+1]=Hm(e[l+1],i),l=i;c&&(e[i+1]=jm(e[i+1])),nE(e,d,i,!0),nE(e,d,i,!1),function UP(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&wo(o,n)>=0&&(t[i+1]=Um(t[i+1]))}(n,d,e,i,o),s=bd(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Gm(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[r+1];f===Y&&(f=u?ie:void 0);let h=u?If(f,i):d===i?f:void 0;if(c&&!vd(h)&&(h=If(l,i)),vd(h)&&(a=h,s))return a;const m=e[r+1];r=s?Yi(m):Pr(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=If(l,i))}return a}function vd(e){return void 0!==e}function mE(e,n){return!!(e.flags&(n?8:16))}class pL{destroy(n){}updateValue(n,t){}swap(n,t){const i=Math.min(n,t),r=Math.max(n,t),o=this.detach(r);if(r-i>1){const s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(n,t){this.attach(t,this.detach(n))}}function qm(e,n,t,i,r){return e===t&&Object.is(n,i)?1:Object.is(r(e,n),r(t,i))?-1:0}function Wm(e,n,t,i){return!(void 0===n||!n.has(i)||(e.attach(t,n.get(i)),n.delete(i),0))}function pE(e,n,t,i,r){if(Wm(e,n,i,t(i,r)))e.updateValue(i,r);else{const o=e.create(i,r);e.attach(i,o)}}function gE(e,n,t,i){const r=new Set;for(let o=n;o<=t;o++)r.add(i(o,e.at(o)));return r}class _E{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let i=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,i]of this.kvMap)if(n(i,t),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,t)}}}function Ze(e,n,t){Fn("NgControlFlow");const i=y(),r=On(),o=Ym(i,W+e);if(ze(i,r,n)){const a=D(null);try{if(im(o,0),-1!==n){const l=Zm(i[I],W+n),c=$o(o,l.tView.ssrId);Ea(o,wa(i,l,t,{dehydratedView:c}),0,zo(l,c))}}finally{D(a)}}else{const a=bw(o,0);void 0!==a&&(a[Ce]=t)}}class _L{constructor(n,t,i){this.lContainer=n,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-Ue}}function bE(e,n){return n}class vL{constructor(n,t,i){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=i}}class yL extends pL{constructor(n,t,i){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ue}at(n){return this.getLView(n)[Ce].$implicit}attach(n,t){const i=t[nn];this.needsIndexUpdate||=n!==this.length,Ea(this.lContainer,t,n,zo(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function wL(e,n){return _a(e,n)}(this.lContainer,n)}create(n,t){const i=$o(this.lContainer,this.templateTNode.tView.ssrId);return wa(this.hostLView,this.templateTNode,new _L(this.lContainer,t,n),{dehydratedView:i})}destroy(n){Gc(n[I],n)}updateValue(n,t){this.getLView(n)[Ce].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n(Kn(!0),$c(i,r,function Dv(){return U.lFrame.currentNamespace}()));function ls(){return y()}function $a(e,n,t){const i=y();return ze(i,On(),n)&&Gt(Q(),Ie(),i,e,n,i[H],t,!0),$a}const ds="en-US";let ME=ds;function _e(e,n,t,i){const r=y(),o=Q(),s=ge();return function ep(e,n,t,i,r,o,s){const a=_c(i),c=e.firstCreatePass&&gw(e),d=n[Ce],u=pw(n);let f=!0;if(3&i.type||s){const p=Nt(i,n),g=s?s(p):p,v=u.length,_=s?N=>s(we(N[i.index])):i.index;let S=null;if(!s&&a&&(S=function MV(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=o,S.__ngLastListenerFn__=o,f=!1;else{o=tx(i,n,d,o,!1);const N=t.listen(g,r,o);u.push(o,N),c&&c.push(r,_,v,v+1)}}else o=tx(i,n,d,o,!1);const h=i.outputs;let m;if(f&&null!==h&&(m=h[r])){const p=m.length;if(p)for(let g=0;g-1?rn(e.index,n):n);let l=ex(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=ex(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function lt(e=1){return function IN(e){return(U.lFrame.contextLView=function uv(e,n){for(;e>0;)n=n[Mo],e--;return n}(e,U.lFrame.contextLView))[Ce]}(e)}function SV(e,n){let t=null;const i=function CR(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r(Kn(!0),function Bh(e,n){return e.createText(n)}(n[H],i));function ai(e){return us("",e,""),ai}function us(e,n,t){const i=y(),r=function Jo(e,n,t,i){return ze(e,On(),t)?n+q(t)+i:Y}(i,e,n,t);return r!==Y&&function xi(e,n,t){const i=ea(n,e);!function Uy(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,Dt(),r),us}function np(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(Er(e)||!e.multi){const h=new oa(c,r,b),m=rp(l,n,r?d:d+f,u);-1===m?(lh(Dc(a,s),o,l),ip(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[m]=h,s[m]=h)}else{const h=rp(l,n,d+f,u),m=rp(l,n,d,d+f),g=m>=0&&t[m];if(r&&!g||!r&&!(h>=0&&t[h])){lh(Dc(a,s),o,l);const v=function YV(e,n,t,i,r){const o=new oa(e,t,b);return o.multi=[],o.index=n,o.componentProviders=0,Rx(o,r,i&&!t),o}(r?WV:qV,t.length,r,i,c);!r&&g&&(t[m].providerFactory=v),ip(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(v),s.push(v)}else ip(o,e,h>-1?h:m,Rx(t[r?m:h],c,!r&&i));!r&&i&&g&&t[m].componentProviders++}}}function ip(e,n,t,i){const r=Er(n),o=function VR(e){return!!e.useClass}(n);if(r||o){const l=(o?V(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function Rx(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rp(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function GV(e,n,t){const i=Q();if(i.firstCreatePass){const r=Rn(e);np(t,i.data,i.blueprint,r,!0),np(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let ZV=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=Af(0,t.type),r=i.length>0?function x0(e,n,t=null){return new E0({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(E(qn))})}return e})();function Ft(e){Fn("NgStandalone"),e.getStandaloneInjector=n=>n.get(ZV).getOrCreateStandaloneInjector(e)}function kx(e,n,t,i,r,o){const s=n+t;return ze(e,s,r)?function ii(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function Ka(e,n){const t=e[n];return t===Y?void 0:t}(e,s+1)}function ln(e,n){const t=Q();let i;const r=e+W;t.firstCreatePass?(i=function c2(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=vr(i.type)),a=Ht(b);try{const l=xc(!1),c=o();return xc(l),function NV(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,y(),r,c),c}finally{Ht(a)}}function cn(e,n,t){const i=e+W,r=y(),o=Ao(r,i);return function Qa(e,n){return e[I].data[n].pure}(r,i)?kx(r,function kt(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,o.transform,t,o):o.transform(t)}function Vx(e,n){return Jc(e,n)}const rD=new x("");function Td(e){return!!e&&"function"==typeof e.then}function oD(e){return!!e&&"function"==typeof e.subscribe}const sD=new x("");let mp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=C(sD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Td(o))t.push(o);else if(oD(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const aD=new x("");let Ci=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(Gv),this.afterRenderEffectManager=C(Ra),this.externalTestViews=new Set,this.beforeRender=new ne,this.afterTick=new ne,this.componentTypes=[],this.components=[],this.isStable=C(Pa).hasPendingTasks.pipe(me(t=>!t)),this._injector=C(qn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof Rw;if(!this._injector.get(mp).done)throw!r&&function yr(e){const n=X(e)||et(e)||mt(e);return null!==n&&n.standalone}(t),new w(405,!1);let s;s=r?t:this._injector.get(Aa).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function lB(e){return e.isBoundToModule}(s)?void 0:this._injector.get(kr),c=s.create(Ct.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(rD,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Ad(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new w(101,!1);const i=D(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,D(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===ww)throw new w(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)dB(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>pp(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>pp(o))))break}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Ad(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(aD,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ad(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new w(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ad(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function dB(e,n,t){!n&&!pp(e)||function uB(e,n,t){let i;t?(i=0,e[O]|=1024):i=64&e[O]?0:1,Qc(e,n,i)}(e,t,n)}function pp(e){return Wf(e)}let pB=(()=>{class e{constructor(){this.zone=C(B),this.applicationRef=C(Ci)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fD(e){return[{provide:B,useFactory:e},{provide:_i,multi:!0,useFactory:()=>{const n=C(pB,{optional:!0});return()=>n.initialize()}},{provide:_i,multi:!0,useFactory:()=>{const n=C(bB);return()=>{n.initialize()}}},{provide:Gv,useFactory:gB}]}function gB(){const e=C(B),n=C(zt);return t=>e.runOutsideAngular(()=>n.handleError(t))}function _B(e){return wr([[],fD(()=>new B(function hD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let bB=(()=>{class e{constructor(){this.subscription=new We,this.initialized=!1,this.zone=C(B),this.pendingTasks=C(Pa)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{B.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const li=new x("",{providedIn:"root",factory:()=>C(li,te.Optional|te.SkipSelf)||function vB(){return typeof $localize<"u"&&$localize.locale||ds}()}),gp=new x("");let Xi=null;let ps=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=CB}return e})();function CB(e){return function IB(e,n,t){if(Dr(e)&&!t){const i=rn(e.index,n);return new Ca(i,i)}return 47&e.type?new Ca(n[Pe],n):null}(ge(),y(),!(16&~e))}function QB(e){try{const{rootComponent:n,appProviders:t,platformProviders:i}=e,r=function DB(e=[]){if(Xi)return Xi;const n=function gD(e=[],n){return Ct.create({name:n,providers:[{provide:kf,useValue:"platform"},{provide:gp,useValue:new Set([()=>Xi=null])},...e]})}(e);return Xi=n,function lD(){!function Ul(e){co=e}(()=>{throw new w(600,!1)})}(),function _D(e){e.get(hy,null)?.forEach(t=>t())}(n),n}(i),o=[_B(),...t||[]],a=new E0({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(B);return l.run(()=>{a.resolveInjectorInitializers();const c=a.get(zt,null);let d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:h=>{c.handleError(h)}})});const u=()=>a.destroy(),f=r.get(gp);return f.add(u),a.onDestroy(()=>{d.unsubscribe(),f.delete(u)}),function cD(e,n,t){try{const i=t();return Td(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(c,l,()=>{const h=a.get(mp);return h.runInitializers(),h.donePromise.then(()=>{!function SE(e){"string"==typeof e&&(ME=e.toLowerCase().replace(/_/g,"-"))}(a.get(li,ds)||ds);const p=a.get(Ci);return void 0!==n&&p.bootstrap(n),p})})})}catch(n){return Promise.reject(n)}}function dn(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function XD(e,n){Fn("NgSignals");const t=function Vs(e){const n=Object.create(vt);n.computation=e;const t=()=>{if(Os(n),io(n),n.value===Bi)throw n.error;return n.value};return t[Xt]=n,t}(e);return n?.equal&&(t[Xt].equal=n.equal),t}function KD(e){const n=D(null);try{return e()}finally{D(n)}}let QD=null;function Ki(){return QD}class wj{}const ae=new x("");let JD=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>C(Ej),providedIn:"platform"})}return e})(),Ej=(()=>{class e extends JD{constructor(){super(),this._doc=C(ae),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ki().getBaseHref(this._doc)}onPopState(t){const i=Ki().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Ki().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function eC(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function tC(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Br(e){return e&&"?"!==e[0]?"?"+e:e}let Cp=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:()=>C(Dj),providedIn:"root"})}return e})();const xj=new x("");let Dj=(()=>{class e extends Cp{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??C(ae).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return eC(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Br(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+Br(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+Br(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(E(JD),E(xj,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nC=(()=>{class e{constructor(t){this._subject=new xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function Mj(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(tC(iC(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Br(i))}normalize(t){return e.stripTrailingSlash(function Ij(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,iC(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Br(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Br(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}static#e=this.normalizeQueryParams=Br;static#t=this.joinWithSlash=eC;static#n=this.stripTrailingSlash=tC;static#i=this.\u0275fac=function(i){return new(i||e)(E(Cp))};static#r=this.\u0275prov=M({token:e,factory:()=>function Cj(){return new nC(E(Cp))}(),providedIn:"root"})}return e})();function iC(e){return e.replace(/\/index.html$/,"")}const Fp=/\s+/,fC=[];let hC=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=fC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Fp):fC}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Fp):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(Fp).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(Ar))};static#t=this.\u0275dir=A({type:e,selectors:[["","ngClass",""]],inputs:{klass:[F.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})(),bC=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(b(Pn))};static#t=this.\u0275dir=A({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[vn]})}return e})();class EH{createSubscription(n,t){return KD(()=>n.subscribe({next:t,error:i=>{throw i}}))}dispose(n){KD(()=>n.unsubscribe())}}class xH{createSubscription(n,t){return n.then(t,i=>{throw i})}dispose(n){}}const DH=new xH,CH=new EH;let vC=(()=>{class e{constructor(t){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i))}_selectStrategy(t){if(Td(t))return DH;if(oD(t))return CH;throw function Hn(e,n){return new w(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||e)(b(ps,16))};static#t=this.\u0275pipe=Rt({name:"async",type:e,pure:!1,standalone:!0})}return e})(),jp=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({})}return e})();const wC="browser";function Hp(e){return e===wC}function EC(e){return"server"===e}class wU extends wj{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class zp extends wU{static makeCurrent(){!function yj(e){QD??=e}(new zp)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function EU(){return sl=sl||document.querySelector("base"),sl?sl.getAttribute("href"):null}();return null==t?null:function xU(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){sl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function uH(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let sl=null,CU=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const $p=new x("");let RC=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(E($p),E(B))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class NC{constructor(n){this._doc=n}}const Gp="ng-app-id";let kC=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=EC(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Gp}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(Gp),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Gp,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae),E(Rc),E(_h,8),E(wi))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const qp={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/"},Wp=/%COMP%/g,TU=new x("",{providedIn:"root",factory:()=>!0});function FC(e,n){return n.map(t=>t.replace(Wp,e))}let Yp=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=EC(a),this.defaultRenderer=new Zp(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Mn.ShadowDom&&(i={...i,encapsulation:Mn.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof LC?r.applyToHost(t):r instanceof Xp&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case Mn.Emulated:o=new LC(l,c,i,this.appId,d,s,a,u);break;case Mn.ShadowDom:return new kU(l,c,t,i,s,a,this.nonce,u);default:o=new Xp(l,c,i,d,s,a,u)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(E(RC),E(kC),E(Rc),E(TU),E(ae),E(wi),E(B),E(_h))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class Zp{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(qp[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(PC(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(PC(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new w(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=qp[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=qp[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Gi.DashCase|Gi.Important)?n.style.setProperty(t,i,r&Gi.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gi.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=Ki().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function PC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class kU extends Zp{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=FC(r.id,r.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xp extends Zp{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?FC(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class LC extends Xp{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function AU(e){return"_ngcontent-%COMP%".replace(Wp,e)}(c),this.hostAttr=function RU(e){return"_nghost-%COMP%".replace(Wp,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}const VC=["alt","control","meta","shift"],FU={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},PU={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function BC(e){return{appProviders:[...$U,...e?.providers??[]],platformProviders:UU}}const UU=[{provide:wi,useValue:wC},{provide:hy,useValue:function BU(){zp.makeCurrent()},multi:!0},{provide:ae,useFactory:function HU(){return function Ek(e){gh=e}(document),document},deps:[]}],$U=[{provide:kf,useValue:"root"},{provide:zt,useFactory:function jU(){return new zt},deps:[]},{provide:$p,useClass:(()=>{class e extends NC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),multi:!0,deps:[ae,B,wi]},{provide:$p,useClass:(()=>{class e extends NC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ki().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),VC.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=FU[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),VC.forEach(s=>{s!==r&&(0,PU[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),multi:!0,deps:[ae]},Yp,kC,RC,{provide:dm,useExisting:Yp},{provide:class WH{},useClass:CU,deps:[]},[]];let Kp=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:function(i){let r=null;return r=i?new(i||e):E(YU),r},providedIn:"root"})}return e})(),YU=(()=>{class e extends Kp{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case gt.NONE:return i;case gt.HTML:return ti(i,"HTML")?on(i):Ny(this._doc,String(i)).toString();case gt.STYLE:return ti(i,"Style")?on(i):i;case gt.SCRIPT:if(ti(i,"Script"))return on(i);throw new w(5200,!1);case gt.URL:return ti(i,"URL")?on(i):jc(String(i));case gt.RESOURCE_URL:if(ti(i,"ResourceURL"))return on(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(t){return function zk(e){return new Lk(e)}(t)}bypassSecurityTrustStyle(t){return function $k(e){return new Vk(e)}(t)}bypassSecurityTrustScript(t){return function Gk(e){return new Bk(e)}(t)}bypassSecurityTrustUrl(t){return function qk(e){return new jk(e)}(t)}bypassSecurityTrustResourceUrl(t){return function Wk(e){return new Hk(e)}(t)}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var z=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(z||{});const Si="*";function zC(e,n){return{type:z.Trigger,name:e,definitions:n,options:{}}}function Qp(e,n=null){return{type:z.Animate,styles:n,timings:e}}function bs(e){return{type:z.Style,styles:e,offset:null}}function Jp(e,n,t){return{type:z.State,name:e,styles:n,options:t}}function eg(e,n,t=null){return{type:z.Transition,expr:e,animation:n,options:t}}class ll{constructor(n=0,t=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=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class $C{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function GC(e){return new w(3e3,!1)}function Qi(e){switch(e.length){case 0:return new ll;case 1:return e[0];default:return new $C(e)}}function qC(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,h)=>{let m=h,p=f;if("offset"!==h)switch(m=e.normalizePropertyName(m,r),p){case"!":p=t.get(h);break;case Si:p=i.get(h);break;default:p=e.normalizeStyleValue(h,m,p,r)}u.set(m,p)}),d||o.push(u),a=u,s=c}),r.length)throw function Ez(e){return new w(3502,!1)}();return o}function ng(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&ig(t,"start",e)));break;case"done":e.onDone(()=>i(t&&ig(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&ig(t,"destroy",e)))}}function ig(e,n,t){const o=rg(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function rg(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function fn(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function WC(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const Oz=typeof document>"u"?null:document.documentElement;function og(e){const n=e.parentNode||e.host||null;return n===Oz?null:n}let jr=null,YC=!1;function ZC(e,n){for(;n;){if(n===e)return!0;n=og(n)}return!1}function XC(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let sg=(()=>{class e{validateStyleProperty(t){return function Pz(e){jr||(jr=function Lz(){return typeof document<"u"?document.body:null}()||{},YC=!!jr.style&&"WebkitAppearance"in jr.style);let n=!0;return jr.style&&!function Fz(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in jr.style,!n&&YC&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in jr.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return ZC(t,i)}getParentElement(t){return og(t)}query(t,i,r){return XC(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new ll(r,o)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();class ag{static#e=this.NOOP=new sg}class lg{}const Bz=1e3,cg="ng-enter",Jd="ng-leave",eu="ng-trigger",tu=".ng-trigger",QC="ng-animating",dg=".ng-animating";function Ti(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:ug(parseFloat(n[1]),n[2])}function ug(e,n){return"s"===n?e*Bz:e}function nu(e,n,t){return e.hasOwnProperty("duration")?e:function Hz(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(GC()),{duration:0,delay:0,easing:""};r=ug(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=ug(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function ez(){return new w(3100,!1)}()),a=!0),o<0&&(n.push(function tz(){return new w(3101,!1)}()),a=!0),a&&n.splice(l,0,GC())}return{duration:r,delay:o,easing:s}}(e,n,t)}function ci(e,n,t){n.forEach((i,r)=>{const o=hg(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function Hr(e,n){n.forEach((t,i)=>{const r=hg(i);e.style[r]=""})}function cl(e){return Array.isArray(e)?1==e.length?e[0]:function ZU(e,n=null){return{type:z.Sequence,steps:e,options:n}}(e):e}const fg=new RegExp("{{\\s*(.+?)\\s*}}","g");function eI(e){let n=[];if("string"==typeof e){let t;for(;t=fg.exec(e);)n.push(t[1]);fg.lastIndex=0}return n}function dl(e,n,t){const i=`${e}`,r=i.replace(fg,(o,s)=>{let a=n[s];return null==a&&(t.push(function iz(e){return new w(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const $z=/-+([a-z0-9])/g;function hg(e){return e.replace($z,(...n)=>n[1].toUpperCase())}function hn(e,n,t){switch(n.type){case z.Trigger:return e.visitTrigger(n,t);case z.State:return e.visitState(n,t);case z.Transition:return e.visitTransition(n,t);case z.Sequence:return e.visitSequence(n,t);case z.Group:return e.visitGroup(n,t);case z.Animate:return e.visitAnimate(n,t);case z.Keyframes:return e.visitKeyframes(n,t);case z.Style:return e.visitStyle(n,t);case z.Reference:return e.visitReference(n,t);case z.AnimateChild:return e.visitAnimateChild(n,t);case z.AnimateRef:return e.visitAnimateRef(n,t);case z.Query:return e.visitQuery(n,t);case z.Stagger:return e.visitStagger(n,t);default:throw function rz(e){return new w(3004,!1)}()}}function mg(e,n){return window.getComputedStyle(e)[n]}const Wz=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class tI extends lg{normalizePropertyName(n,t){return hg(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(Wz.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function oz(e,n){return new w(3005,!1)}())}return s+o}}const iu="*";const ru=new Set(["true","1"]),ou=new Set(["false","0"]);function nI(e,n){const t=ru.has(e)||ou.has(e),i=ru.has(n)||ou.has(n);return(r,o)=>{let s=e==iu||e==r,a=n==iu||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?ru.has(e):ou.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?ru.has(n):ou.has(n)),s&&a}}const Kz=new RegExp("s*:selfs*,?","g");function pg(e,n,t,i){return new Qz(e).build(n,t,i)}class Qz{constructor(n){this._driver=n}build(n,t,i){const r=new t$(t);return this._resetContextStyleTimingState(r),hn(this,cl(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function sz(){return new w(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==z.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==z.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function az(){return new w(3007,!1)}())}),{type:z.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{eI(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function lz(e,n){return new w(3008,!1)}(0,o.values()))}return{type:z.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=hn(this,cl(n.animation),t),r=function Yz(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function Zz(e,n,t){if(":"==e[0]){const l=function Xz(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function _z(e){return new w(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(nI(r,s)),"<"==o[0]&&(r!=iu||s!=iu)&&n.push(nI(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:z.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Ur(n.options)}}visitSequence(n,t){return{type:z.Sequence,steps:n.steps.map(i=>hn(this,i,t)),options:Ur(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=hn(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:z.Group,steps:o,options:Ur(n.options)}}visitAnimate(n,t){const i=function i$(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return gg(nu(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=gg(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=nu(t,n);return gg(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:bs({});if(o.type==z.Keyframes)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=bs(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:z.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===Si?i.push(a):t.errors.push(new w(3002,!1)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:z.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function dz(e,n,t,i,r){return new w(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function zz(e,n,t){const i=n.params||{},r=eI(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function nz(e){return new w(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:z.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function uz(){return new w(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(v=>{const _=this._makeStyleAst(v,t);let S=null!=_.offset?_.offset:function n$(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(_.styles),N=0;return null!=S&&(o++,N=_.offset=S),l=l||N<0||N>1,a=a||N0&&o{const S=f>0?_==h?1:f*_:s[_],N=S*g;t.currentTime=m+p.delay+N,p.duration=N,this._validateStyleAst(v,t),v.offset=S,i.styles.push(v)}),i}visitReference(n,t){return{type:z.Reference,animation:hn(this,cl(n.animation),t),options:Ur(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:z.AnimateChild,options:Ur(n.options)}}visitAnimateRef(n,t){return{type:z.AnimateRef,animation:this.visitReference(n.animation,t),options:Ur(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function Jz(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(Kz,"")),e=e.replace(/@\*/g,tu).replace(/@\w+/g,t=>tu+"-"+t.slice(1)).replace(/:animating/g,dg),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,fn(t.collectedStyles,t.currentQuerySelector,new Map);const a=hn(this,cl(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:z.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Ur(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function pz(){return new w(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:nu(n.timings,t.errors,!0);return{type:z.Stagger,animation:hn(this,cl(n.animation),t),timings:i,options:null}}}class t${constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ur(e){return e?(e={...e}).params&&(e.params=function e$(e){return e?{...e}:null}(e.params)):e={},e}function gg(e,n,t){return{duration:e,delay:n,easing:t}}function _g(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class su{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const s$=new RegExp(":enter","g"),l$=new RegExp(":leave","g");function bg(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new c$).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class c${buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new su;const u=new vg(n,t,c,r,o,d,[]);u.options=l;const f=l.delay?Ti(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),hn(this,i,u);const h=u.timelines.filter(m=>m.containsAnimation());if(h.length&&a.size){let m;for(let p=h.length-1;p>=0;p--){const g=h[p];if(g.element===t){m=g;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return h.length?h.map(m=>m.buildKeyframes()):[_g(t,[],[],[],0,f,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:Ti(dl(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?Ti(i.duration):null,a=null!=i.delay?Ti(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),hn(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==z.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=au);const s=Ti(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>hn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?Ti(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),hn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return nu(t.params?dl(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==z.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?Ti(r.delay):0;o&&(t.previousNode.type===z.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=au);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),hn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;hn(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const au={};class vg{constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=au,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new lu(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Ti(i.duration)),null!=i.delay&&(r.delay=Ti(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=dl(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new vg(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=au,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new d$(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(s$,"."+this._enterClassName)).replace(l$,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function gz(e){return new w(3014,!1)}()),a}}class lu{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new lu(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Si),this._currentKeyframe.set(t,Si);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function u$(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,Si)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=dl(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Si),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===Si&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return _g(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class d$ extends lu{constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",oI(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let f=new Map(n[u]);const h=f.get("offset");f.set("offset",oI((t+h*i)/s)),o.push(f)}i=s,t=0,r="",n=o}return _g(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function oI(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function sI(e,n,t,i,r,o,s,a,l,c,d,u,f){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const yg={};class aI{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function f$(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||yg,m=this.buildStyles(i,a&&a.params||yg,u),p=l&&l.params||yg,g=this.buildStyles(r,p,u),v=new Set,_=new Map,S=new Map,N="void"===r,Z={params:lI(p,f),delay:this.ast.options?.delay},K=d?[]:bg(n,t,this.ast.animation,o,s,m,g,Z,c,u);let ue=0;return K.forEach(je=>{ue=Math.max(je.duration+je.delay,ue)}),u.length?sI(t,this._triggerName,i,r,N,m,g,[],[],_,S,ue,u):(K.forEach(je=>{const ui=je.element,ur=fn(_,ui,new Set);je.preStyleProps.forEach(Jr=>ur.add(Jr));const LA=fn(S,ui,new Set);je.postStyleProps.forEach(Jr=>LA.add(Jr)),ui!==t&&v.add(ui)}),sI(t,this._triggerName,i,r,N,m,g,K,[...v.values()],_,S,ue))}}function lI(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class h${constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=lI(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=dl(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class p${constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new h$(r.style,r.options&&r.options.params||{},i))}),cI(this.states,"true","1"),cI(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new aI(n,r,this.states))}),this.fallbackTransition=function g$(e,n,t){return new aI(e,{type:z.Transition,animation:{type:z.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function cI(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const _$=new su;class b${constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],o=pg(this._driver,t,i,[]);if(i.length)throw function xz(e){return new w(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=qC(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=bg(this._driver,t,o,cg,Jd,new Map,new Map,i,_$,r),s.forEach(d=>{const u=fn(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(function Dz(){return new w(3300,!1)}()),s=[]),r.length)throw function Cz(e){return new w(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,Si))})});const c=Qi(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function Iz(e){return new w(3301,!1)}();return t}listen(n,t,i,r){const o=rg(t,"","","");return ng(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const dI="ng-animate-queued",wg="ng-animate-disabled",x$=[],uI={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},D$={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Un="__ng_removed";class Eg{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function S$(e){return e??null}(i?n.value:n),i){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const ul="void",xg=new Eg(ul);class C${constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,xn(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function Mz(e,n){return new w(3302,!1)}();if(null==i||0==i.length)throw function Sz(e){return new w(3303,!1)}();if(!function T$(e){return"start"==e||"done"==e}(i))throw function Tz(e,n){return new w(3400,!1)}();const o=fn(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=fn(this._engine.statesByElement,n,new Map);return a.has(t)||(xn(n,eu),xn(n,eu+"-"+t),a.set(t,xg)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function Az(e){return new w(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new Dg(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(xn(n,eu),xn(n,eu+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new Eg(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=xg),c.value!==ul&&l.value===c.value){if(!function N$(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r{Hr(n,g),ci(n,v)})}return}const f=fn(this._engine.playersByElement,n,[]);f.forEach(p=>{p.namespaceId==this.id&&p.triggerName==t&&p.queued&&p.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),m=!1;if(!h){if(!r)return;h=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(xn(n,dI),s.onStart(()=>{vs(n,dI)})),s.onDone(()=>{let p=this.players.indexOf(s);p>=0&&this.players.splice(p,1);const g=this._engine.playersByElement.get(n);if(g){let v=g.indexOf(s);v>=0&&g.splice(v,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,tu,!0);i.forEach(r=>{if(r[Un])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,ul,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&Qi(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||xg,d=new Eg(ul),u=new Dg(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[Un];(!o||o===uI)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){xn(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=rg(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,ng(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class I${_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i,r){this.bodyNode=n,this.driver=t,this._normalizer=i,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(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new C$(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(cu(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!cu(t))return;const o=t[Un];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),xn(n,wg)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),vs(n,wg))}removeNode(n,t,i){if(cu(t)){this.scheduler?.notify();const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[Un]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return cu(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,tu,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,dg,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Qi(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Un];if(t&&t.setForRemoval){if(n[Un]=uI,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(wg)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Qi(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function Rz(e){return new w(3402,!1)}()}_flushAnimations(n,t){const i=new su,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(k=>{d.add(k);const P=this.driver.query(k,".ng-animate-queued",!0);for(let j=0;j{const j=cg+p++;m.set(P,j),k.forEach(oe=>xn(oe,j))});const g=[],v=new Set,_=new Set;for(let k=0;kv.add(oe)):_.add(P))}const S=new Map,N=mI(f,Array.from(v));N.forEach((k,P)=>{const j=Jd+p++;S.set(P,j),k.forEach(oe=>xn(oe,j))}),n.push(()=>{h.forEach((k,P)=>{const j=m.get(P);k.forEach(oe=>vs(oe,j))}),N.forEach((k,P)=>{const j=S.get(P);k.forEach(oe=>vs(oe,j))}),g.forEach(k=>{this.processLeaveNode(k)})});const Z=[],K=[];for(let k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(t).forEach(j=>{const oe=j.player,ht=j.element;if(Z.push(oe),this.collectedEnterElements.length){const Tt=ht[Un];if(Tt&&Tt.setForMove){if(Tt.previousTriggersValues&&Tt.previousTriggersValues.has(j.triggerName)){const eo=Tt.previousTriggersValues.get(j.triggerName),In=this.statesByElement.get(j.element);if(In&&In.has(j.triggerName)){const tf=In.get(j.triggerName);tf.value=eo,In.set(j.triggerName,tf)}}return void oe.destroy()}}const fi=!u||!this.driver.containsElement(u,ht),gn=S.get(ht),fr=m.get(ht),Ve=this._buildInstruction(j,i,fr,gn,fi);if(Ve.errors&&Ve.errors.length)return void K.push(Ve);if(fi)return oe.onStart(()=>Hr(ht,Ve.fromStyles)),oe.onDestroy(()=>ci(ht,Ve.toStyles)),void r.push(oe);if(j.isFallbackTransition)return oe.onStart(()=>Hr(ht,Ve.fromStyles)),oe.onDestroy(()=>ci(ht,Ve.toStyles)),void r.push(oe);const jA=[];Ve.timelines.forEach(Tt=>{Tt.stretchStartingKeyframe=!0,this.disabledNodes.has(Tt.element)||jA.push(Tt)}),Ve.timelines=jA,i.append(ht,Ve.timelines),s.push({instruction:Ve,player:oe,element:ht}),Ve.queriedElements.forEach(Tt=>fn(a,Tt,[]).push(oe)),Ve.preStyleProps.forEach((Tt,eo)=>{if(Tt.size){let In=l.get(eo);In||l.set(eo,In=new Set),Tt.forEach((tf,lb)=>In.add(lb))}}),Ve.postStyleProps.forEach((Tt,eo)=>{let In=c.get(eo);In||c.set(eo,In=new Set),Tt.forEach((tf,lb)=>In.add(lb))})});if(K.length){const k=[];K.forEach(P=>{k.push(function Nz(e,n){return new w(3505,!1)}())}),Z.forEach(P=>P.destroy()),this.reportError(k)}const ue=new Map,je=new Map;s.forEach(k=>{const P=k.element;i.has(P)&&(je.set(P,P),this._beforeAnimationBuild(k.player.namespaceId,k.instruction,ue))}),r.forEach(k=>{const P=k.element;this._getPreviousPlayers(P,!1,k.namespaceId,k.triggerName,null).forEach(oe=>{fn(ue,P,[]).push(oe),oe.destroy()})});const ui=g.filter(k=>gI(k,l,c)),ur=new Map;hI(ur,this.driver,_,c,Si).forEach(k=>{gI(k,l,c)&&ui.push(k)});const Jr=new Map;h.forEach((k,P)=>{hI(Jr,this.driver,new Set(k),l,"!")}),ui.forEach(k=>{const P=ur.get(k),j=Jr.get(k);ur.set(k,new Map([...P?.entries()??[],...j?.entries()??[]]))});const ab=[],VA=[],BA={};s.forEach(k=>{const{element:P,player:j,instruction:oe}=k;if(i.has(P)){if(d.has(P))return j.onDestroy(()=>ci(P,oe.toStyles)),j.disabled=!0,j.overrideTotalTime(oe.totalTime),void r.push(j);let ht=BA;if(je.size>1){let gn=P;const fr=[];for(;gn=gn.parentNode;){const Ve=je.get(gn);if(Ve){ht=Ve;break}fr.push(gn)}fr.forEach(Ve=>je.set(Ve,ht))}const fi=this._buildAnimation(j.namespaceId,oe,ue,o,Jr,ur);if(j.setRealPlayer(fi),ht===BA)ab.push(j);else{const gn=this.playersByElement.get(ht);gn&&gn.length&&(j.parentPlayer=Qi(gn)),r.push(j)}}else Hr(P,oe.fromStyles),j.onDestroy(()=>ci(P,oe.toStyles)),VA.push(j),d.has(P)&&r.push(j)}),VA.forEach(k=>{const P=o.get(k.element);if(P&&P.length){const j=Qi(P);k.setRealPlayer(j)}}),r.forEach(k=>{k.parentPlayer?k.syncPlayerEvents(k.parentPlayer):k.destroy()});for(let k=0;k!fi.destroyed);ht.length?A$(this,P,ht):this.processLeaveNode(P)}return g.length=0,ab.forEach(k=>{this.players.push(k),k.onDone(()=>{k.destroy();const P=this.players.indexOf(k);this.players.splice(P,1)}),k.play()}),ab}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==ul;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=fn(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(h=>{const m=h.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),h.destroy(),u.push(h)})}Hr(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,f=t.timelines.map(m=>{const p=m.element;d.add(p);const g=p[Un];if(g&&g.removedBeforeQueried)return new ll(m.duration,m.delay);const v=p!==l,_=function R$(e){const n=[];return pI(e,n),n}((i.get(p)||x$).map(ue=>ue.getRealPlayer())).filter(ue=>!!ue.element&&ue.element===p),S=o.get(p),N=s.get(p),Z=qC(this._normalizer,m.keyframes,S,N),K=this._buildPlayer(m,Z,_);if(m.subTimeline&&r&&u.add(p),v){const ue=new Dg(n,a,p);ue.setRealPlayer(K),c.push(ue)}return K});c.forEach(m=>{fn(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function M$(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>xn(m,QC));const h=Qi(f);return h.onDestroy(()=>{d.forEach(m=>vs(m,QC)),ci(l,t.toStyles)}),u.forEach(m=>{fn(r,m,[]).push(h)}),h}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new ll(n.duration,n.delay)}}class Dg{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new ll,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(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>ng(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){fn(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function cu(e){return e&&1===e.nodeType}function fI(e,n){const t=e.style.display;return e.style.display=n??"none",t}function hI(e,n,t,i,r){const o=[];t.forEach(l=>o.push(fI(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=n.computeStyle(c,u,r);d.set(u,f),(!f||0==f.length)&&(c[Un]=D$,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>fI(l,o[a++])),s}function mI(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function xn(e,n){e.classList?.add(n)}function vs(e,n){e.classList?.remove(n)}function A$(e,n,t){Qi(t).onDone(()=>e.processLeaveNode(n))}function pI(e,n){for(let t=0;tr.add(o)):n.set(e,i),t.delete(e),!0}class fl{constructor(n,t,i,r){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new I$(n.body,t,i,r),this._timelineEngine=new b$(n.body,t,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=pg(this._driver,o,l,[]);if(l.length)throw function wz(e,n){return new w(3404,!1)}();a=function m$(e,n,t){return new p$(e,n,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=WC(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=WC(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class hl{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let r=hl.initialStylesByElement.get(n);r||hl.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ci(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ci(this._element,this._initialStyles),this._endStyles&&(ci(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(hl.initialStylesByElement.delete(this._element),this._startStyles&&(Hr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Hr(this._element,this._endStyles),this._endStyles=null),ci(this._element,this._initialStyles),this._state=3)}}function Cg(e){let n=null;return e.forEach((t,i)=>{(function O$(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class _I{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:mg(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class bI{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return ZC(n,t)}getParentElement(n){return og(n)}query(n,t,i){return XC(n,t,i)}computeStyle(n,t,i){return mg(n,t)}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(h=>h instanceof _I);(function Gz(e,n){return 0===e||0===n})(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((m,p)=>c.set(p,m))});let u=function Uz(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(h=>new Map(h));u=function qz(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,mg(e,a)))}}return n}(n,u,c);const f=function k$(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=Cg(n[0]),n.length>1&&(i=Cg(n[n.length-1]))):n instanceof Map&&(t=Cg(n)),t||i?new hl(e,t,i):null}(n,u);return new _I(n,u,l,f)}}const vI="@.disabled";class yI{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==vI?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class F$ extends yI{constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==vI?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function P$(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function L$(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}class V${constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,o)=>{const s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(r);return d||(d=new yI("",r,this.engine,()=>c.delete(r)),c.set(r,d)),d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new F$(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&nt(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const U$=[{provide:ag,useFactory:()=>new bI},{provide:ei,useValue:"BrowserAnimations"},...[{provide:lg,useFactory:function j$(){return new tI}},{provide:fl,useClass:(()=>{class e extends fl{constructor(t,i,r){super(t,i,r,C(rd,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae),E(ag),E(lg))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})()},{provide:dm,useFactory:function H$(e,n,t){return new V$(e,n,t)},deps:[Yp,fl,B]}]];function Ji(e){return this instanceof Ji?(this.v=e,this):new Ji(e)}function CI(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Tg(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ag=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function II(e){return ee(e?.then)}function MI(e){return ee(e[df])}function SI(e){return Symbol.asyncIterator&&ee(e?.[Symbol.asyncIterator])}function TI(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const AI=function h3(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function RI(e){return ee(e?.[AI])}function NI(e){return function DI(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(m,p){o.push([f,h,m,p])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Ji?Promise.resolve(f.value.v).then(c,d):u(o[0][2],f)}(i[f](h))}catch(m){u(o[0][3],m)}}function c(f){a("next",f)}function d(f){a("throw",f)}function u(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Ji(t.read());if(r)return yield Ji(void 0);yield yield Ji(i)}}finally{t.releaseLock()}})}function kI(e){return ee(e?.getReader)}function qe(e){if(e instanceof fe)return e;if(null!=e){if(MI(e))return function m3(e){return new fe(n=>{const t=e[df]();if(ee(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ag(e))return function p3(e){return new fe(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,fb)})}(e);if(SI(e))return OI(e);if(RI(e))return function _3(e){return new fe(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(kI(e))return function b3(e){return OI(NI(e))}(e)}throw TI(e)}function OI(e){return new fe(n=>{(function v3(e,n){var t,i,r,o;return function EI(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=CI(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function FI(e){return new fe(n=>{qe(e()).subscribe(n)})}function Rg(e,n){const t=ee(e)?e:()=>e,i=r=>r.error(t());return new fe(n?r=>n.schedule(i,0,r):i)}function Ai(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function er(e,n,t=1/0){return ee(n)?er((i,r)=>me((o,s)=>n(i,o,r,s))(qe(e(i,r))),t):("number"==typeof n&&(t=n),Ae((i,r)=>function y3(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&n.complete()},h=p=>c{o&&n.next(p),c++;let g=!1;qe(t(p,d++)).subscribe(ve(n,v=>{r?.(v),o?h(v):n.next(v)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;l.length&&cm(v)):m(v)}f()}catch(v){n.error(v)}}))};return e.subscribe(ve(n,h,()=>{u=!0,f()})),()=>{a?.()}}(i,r,e,t)))}const{isArray:w3}=Array;function Ng(e){return me(n=>function E3(e,n){return w3(n)?e(...n):e(n)}(e,n))}const x3=["addListener","removeListener"],D3=["addEventListener","removeEventListener"],C3=["on","off"];function ml(e,n,t,i){if(ee(t)&&(i=t,t=void 0),i)return ml(e,n,t).pipe(Ng(i));const[r,o]=function S3(e){return ee(e.addEventListener)&&ee(e.removeEventListener)}(e)?D3.map(s=>a=>e[s](n,a,t)):function I3(e){return ee(e.addListener)&&ee(e.removeListener)}(e)?x3.map(PI(e,n)):function M3(e){return ee(e.on)&&ee(e.off)}(e)?C3.map(PI(e,n)):[];if(!r&&Ag(e))return er(s=>ml(s,n,t))(qe(e));if(!r)throw new TypeError("Invalid event target");return new fe(s=>{const a=(...l)=>s.next(1o(a)})}function PI(e,n){return t=>i=>e[t](n,i)}function LI(e){return e&&ee(e.schedule)}function kg(e){return e[e.length-1]}function Og(e){return ee(kg(e))?e.pop():void 0}function pl(e){return LI(kg(e))?e.pop():void 0}function Fg(e,n=0){return Ae((t,i)=>{t.subscribe(ve(i,r=>Ai(i,e,()=>i.next(r),n),()=>Ai(i,e,()=>i.complete(),n),r=>Ai(i,e,()=>i.error(r),n)))})}function VI(e,n=0){return Ae((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function BI(e,n){if(!e)throw new Error("Iterable cannot be null");return new fe(t=>{Ai(t,n,()=>{const i=e[Symbol.asyncIterator]();Ai(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function ys(e,n){return n?function F3(e,n){if(null!=e){if(MI(e))return function A3(e,n){return qe(e).pipe(VI(n),Fg(n))}(e,n);if(Ag(e))return function N3(e,n){return new fe(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(II(e))return function R3(e,n){return qe(e).pipe(VI(n),Fg(n))}(e,n);if(SI(e))return BI(e,n);if(RI(e))return function k3(e,n){return new fe(t=>{let i;return Ai(t,n,()=>{i=e[AI](),Ai(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>ee(i?.return)&&i.return()})}(e,n);if(kI(e))return function O3(e,n){return BI(NI(e),n)}(e,n)}throw TI(e)}(e,n):qe(e)}function ct(...e){return ys(e,pl(e))}function jI(e=1/0){return er(br,e)}function gl(...e){return function P3(){return jI(1)}()(ys(e,pl(e)))}const ws=new fe(fo),zr=new fe(e=>e.complete());function Es(...e){const n=pl(e),t=function T3(e,n){return"number"==typeof kg(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?qe(i[0]):jI(t)(ys(i,n)):zr}function st(e,n){return Ae((t,i)=>{let r=0;t.subscribe(ve(i,o=>e.call(n,o,r++)&&i.next(o)))})}function Ri(e,n){return Ae((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(ve(i,l=>{r?.unsubscribe();let c=0;const d=o++;qe(e(l,d)).subscribe(r=ve(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}class B3 extends fe{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,gb(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new We;const t=this.getSubject();n.add(this.source.subscribe(ve(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=We.EMPTY)}return n}refCount(){return function V3(){return Ae((e,n)=>{let t=null;e._refCount++;const i=ve(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const r=e._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}()(this)}}const H3={connector:()=>new ne};function HI(e,n=H3){const{connector:t}=n;return Ae((i,r)=>{const o=t();qe(e(function j3(e){return new fe(n=>e.subscribe(n))}(o))).subscribe(r),r.add(i.subscribe(o))})}function Wt(e){return e<=0?()=>zr:Ae((n,t)=>{let i=0;n.subscribe(ve(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function Vt(e,n,t){const i=ee(e)||n||t?{next:e,error:n,complete:t}:e;return i?Ae((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ve(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):br}class $3 extends We{constructor(n,t){super()}schedule(n,t=0){return this}}const uu={setInterval(e,n,...t){const{delegate:i}=uu;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=uu;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class fu extends $3{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return uu.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&uu.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Yl(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const Pg={now:()=>(Pg.delegate||Date).now(),delegate:void 0};class _l{constructor(n,t=_l.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_l.now=Pg.now;class hu extends _l{constructor(n,t=_l.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const mu=new hu(fu),G3=mu;function UI(){return Ae((e,n)=>{e.subscribe(ve(n,fo))})}function zI(e,n){return n?t=>gl(n.pipe(Wt(1),UI()),t.pipe(zI(e))):er((t,i)=>qe(e(t,i)).pipe(Wt(1),function q3(e){return me(()=>e)}(t)))}function $I(e=0,n,t=G3){let i=-1;return null!=n&&(LI(n)?t=n:i=n),new fe(r=>{let o=function W3(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}const bl="Service workers are disabled or not supported by this browser";class pu{constructor(n){if(this.serviceWorker=n,n){const i=ml(n,"controllerchange").pipe(me(()=>n.controller)),o=gl(FI(()=>ct(n.controller)),i);this.worker=o.pipe(st(d=>!!d)),this.registration=this.worker.pipe(Ri(()=>n.getRegistration()));const c=ml(n,"message").pipe(me(d=>d.data)).pipe(st(d=>d&&d.type)).pipe(function z3(e){return e?n=>HI(e)(n):n=>function U3(e,n){const t=ee(e)?e:()=>e;return ee(n)?HI(n,{connector:t}):i=>new B3(i,t)}(new ne)(n)}());c.connect(),this.events=c}else this.worker=this.events=this.registration=function Z3(e){return FI(()=>Rg(new Error(e)))}(bl)}postMessage(n,t){return this.worker.pipe(Wt(1),Vt(i=>{i.postMessage({action:n,...t})})).toPromise().then(()=>{})}postMessageWithOperation(n,t,i){const r=this.waitForOperationCompleted(i),o=this.postMessage(n,t);return Promise.all([o,r]).then(([,s])=>s)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(n){let t;return t="string"==typeof n?i=>i.type===n:i=>n.includes(i.type),this.events.pipe(st(t))}nextEventOfType(n){return this.eventsOfType(n).pipe(Wt(1))}waitForOperationCompleted(n){return this.eventsOfType("OPERATION_COMPLETED").pipe(st(t=>t.nonce===n),Wt(1),me(t=>{if(void 0!==t.result)return t.result;throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let X3=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,this.pushManager=null,this.subscriptionChanges=new ne,!t.isEnabled)return this.messages=ws,this.notificationClicks=ws,void(this.subscription=ws);this.messages=this.sw.eventsOfType("PUSH").pipe(me(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(me(r=>r.data)),this.pushManager=this.sw.registration.pipe(me(r=>r.pushManager));const i=this.pushManager.pipe(Ri(r=>r.getSubscription()));this.subscription=Es(i,this.subscriptionChanges)}requestSubscription(t){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(bl));const i={userVisibleOnly:!0};let r=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length));for(let s=0;ss.subscribe(i)),Wt(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(Wt(1),Ri(i=>{if(null===i)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(bl))}decodeBase64(t){return atob(t)}static#e=this.\u0275fac=function(i){return new(i||e)(E(pu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),K3=(()=>{class e{get isEnabled(){return this.sw.isEnabled}constructor(t){if(this.sw=t,!t.isEnabled)return this.versionUpdates=ws,void(this.unrecoverable=ws);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(bl));const t=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(bl));const t=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:t},t)}static#e=this.\u0275fac=function(i){return new(i||e)(E(pu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const GI=new x("");function Q3(e,n,t,i){return()=>{if(!Hp(i)||!("serviceWorker"in navigator)||!1===t.enabled)return;let r;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof t.registrationStrategy)r=t.registrationStrategy();else{const[s,...a]=(t.registrationStrategy||"registerWhenStable:30000").split(":");switch(s){case"registerImmediately":r=ct(null);break;case"registerWithDelay":r=qI(+a[0]||0);break;case"registerWhenStable":r=a[0]?Es(WI(e),qI(+a[0])):WI(e);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${t.registrationStrategy}`)}}e.get(B).runOutsideAngular(()=>r.pipe(Wt(1)).subscribe(()=>navigator.serviceWorker.register(n,{scope:t.scope}).catch(s=>console.error("Service worker registration failed with:",s))))}}function qI(e){return ct(null).pipe(function Y3(e,n=mu){const t=$I(e,n);return zI(()=>t)}(e))}function WI(e){return e.get(Ci).isStable.pipe(st(t=>t))}function J3(e,n){return new pu(Hp(n)&&!1!==e.enabled?navigator.serviceWorker:void 0)}class Lg{}const r5=new class n5 extends hu{}(class t5 extends fu{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}schedule(n,t=0){return t>0?super.schedule(n,t):(this.delay=t,this.state=n,this.scheduler.flush(this),this)}execute(n,t){return t>0||this.closed?super.execute(n,t):this._execute(n,t)}requestAsyncId(n,t,i=0){return null!=i&&i>0||null==i&&this.delay>0?super.requestAsyncId(n,t,i):(n.flush(this),0)}});function vl(...e){const n=Og(e);return Ae((t,i)=>{const r=e.length,o=new Array(r);let s=e.map(()=>!1),a=!1;for(let l=0;l{o[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(br))&&(s=null))},fo));t.subscribe(ve(i,l=>{if(a){const c=[l,...o];i.next(n?n(...c):c)}}))})}function gu(e,n=br){return e=e??l5,Ae((t,i)=>{let r,o=!0;t.subscribe(ve(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function l5(e,n){return e===n}function Mt(e){return Ae((n,t)=>{qe(e).subscribe(ve(t,()=>t.complete(),fo)),!t.closed&&n.subscribe(t)})}function _u(e){e||(Do(),e=C(Jn));const n=new fe(t=>e.onDestroy(t.next.bind(t)));return t=>t.pipe(Mt(n))}const yl={};function Bt(e,n){if(yl[e]=(yl[e]||0)+1,"function"==typeof n)return Vg(e,(...i)=>({...n(...i),type:e}));switch(n?n._as:"empty"){case"empty":return Vg(e,()=>({type:e}));case"props":return Vg(e,i=>({...i,type:e}));default:throw new Error("Unexpected config.")}}function Vg(e,n){return Object.defineProperty(n,"type",{value:e,writable:!1})}const ZI="@ngrx/store/init";let xs=(()=>{class e extends zs{constructor(){super({type:ZI})}next(t){if("function"==typeof t)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof t>"u")throw new TypeError("Actions must be objects");if(typeof t.type>"u")throw new TypeError("Actions must have a type property");super.next(t)}complete(){}ngOnDestroy(){super.complete()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const m5=[xs],XI=new x("@ngrx/store Internal Root Guard"),KI=new x("@ngrx/store Internal Initial State"),jg=new x("@ngrx/store Initial State"),QI=new x("@ngrx/store Reducer Factory"),JI=new x("@ngrx/store Internal Reducer Factory Provider"),eM=new x("@ngrx/store Initial Reducers"),Hg=new x("@ngrx/store Internal Initial Reducers"),nM=(new x("@ngrx/store Store Features"),new x("@ngrx/store Internal Store Reducers")),aM=(new x("@ngrx/store Internal Feature Reducers"),new x("@ngrx/store Internal Feature Configs"),new x("@ngrx/store Internal Store Features"),new x("@ngrx/store Internal Feature Reducers Token"),new x("@ngrx/store Feature Reducers"),new x("@ngrx/store User Provided Meta Reducers")),bu=new x("@ngrx/store Meta Reducers"),lM=new x("@ngrx/store Internal Resolved Meta Reducers"),cM=new x("@ngrx/store User Runtime Checks Config"),dM=new x("@ngrx/store Internal User Runtime Checks Config"),wl=new x("@ngrx/store Internal Runtime Checks"),zg=new x("@ngrx/store Check if Action types are unique"),vu=new x("@ngrx/store Root Store Provider"),$g=new x("@ngrx/store Feature State Provider");function Gg(e,n={}){const t=Object.keys(e),i={};for(let o=0;oo(r),t(n))}}function fM(e,n){return Array.isArray(n)&&n.length>0&&(e=uM.apply(null,[...n,e])),(t,i)=>{const r=e(t);return(o,s)=>r(o=void 0===o?i:o,s)}}class qg extends fe{}class hM extends xs{}let yu=(()=>{class e extends zs{get currentReducers(){return this.reducers}constructor(t,i,r,o){super(o(r,i)),this.dispatcher=t,this.initialState=i,this.reducers=r,this.reducerFactory=o}addFeature(t){this.addFeatures([t])}addFeatures(t){const i=t.reduce((r,{reducers:o,reducerFactory:s,metaReducers:a,initialState:l,key:c})=>{const d="function"==typeof o?function g5(e){const n=Array.isArray(e)&&e.length>0?uM(...e):t=>t;return(t,i)=>(t=n(t),(r,o)=>t(r=void 0===r?i:r,o))}(a)(o,l):fM(s,a)(o,l);return r[c]=d,r},{});this.addReducers(i)}removeFeature(t){this.removeFeatures([t])}removeFeatures(t){this.removeReducers(t.map(i=>i.key))}addReducer(t,i){this.addReducers({[t]:i})}addReducers(t){this.reducers={...this.reducers,...t},this.updateReducers(Object.keys(t))}removeReducer(t){this.removeReducers([t])}removeReducers(t){t.forEach(i=>{this.reducers=function p5(e,n){return Object.keys(e).filter(t=>t!==n).reduce((t,i)=>Object.assign(t,{[i]:e[i]}),{})}(this.reducers,i)}),this.updateReducers(t)}updateReducers(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:"@ngrx/store/update-reducers",features:t})}ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(i){return new(i||e)(E(hM),E(jg),E(eM),E(QI))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const b5=[yu,{provide:qg,useExisting:yu},{provide:hM,useExisting:xs}];let wu=(()=>{class e extends ne{ngOnDestroy(){this.complete()}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const v5=[wu];class mM extends fe{}let pM=(()=>{class e extends zs{static#e=this.INIT=ZI;constructor(t,i,r,o){super(o);const c=t.pipe(Fg(r5)).pipe(vl(i)).pipe(function s5(e,n){return Ae(function o5(e,n,t,i,r){return(o,s)=>{let a=t,l=n,c=0;o.subscribe(ve(s,d=>{const u=c++;l=a?e(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}(y5,{state:o}));this.stateSubscription=c.subscribe(({state:d,action:u})=>{this.next(d),r.next(u)}),this.state=function YI(e,n){const t=!n?.manualCleanup;t&&!n?.injector&&Do();const i=t?n?.injector?.get(Jn)??C(Jn):null;let r;r=Im(n?.requireSync?{kind:0}:{kind:1,value:n?.initialValue});const o=e.subscribe({next:s=>r.set({kind:1,value:s}),error:s=>{if(n?.rejectErrors)throw s;r.set({kind:2,error:s})}});return i?.onDestroy(o.unsubscribe.bind(o)),XD(()=>{const s=r();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new w(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#t=this.\u0275fac=function(i){return new(i||e)(E(xs),E(qg),E(wu),E(jg))};static#n=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();function y5(e={state:void 0},[n,t]){const{state:i}=e;return{state:t(i,n),action:n}}const w5=[pM,{provide:mM,useExisting:pM}];let nr=(()=>{class e extends fe{constructor(t,i,r){super(),this.actionsObserver=i,this.reducerManager=r,this.source=t,this.state=t.state}select(t,...i){return x5.call(null,t,...i)(this)}selectSignal(t,i){return XD(()=>t(this.state()),i)}lift(t){const i=new e(this,this.actionsObserver,this.reducerManager);return i.operator=t,i}dispatch(t){this.actionsObserver.next(t)}next(t){this.actionsObserver.next(t)}error(t){this.actionsObserver.error(t)}complete(){this.actionsObserver.complete()}addReducer(t,i){this.reducerManager.addReducer(t,i)}removeReducer(t){this.reducerManager.removeReducer(t)}static#e=this.\u0275fac=function(i){return new(i||e)(E(mM),E(xs),E(yu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const E5=[nr];function x5(e,n,...t){return function(r){let o;if("string"==typeof e){const s=[n,...t].filter(Boolean);o=r.pipe(function a5(...e){const n=e.length;if(0===n)throw new Error("list of properties cannot be empty.");return me(t=>{let i=t;for(let r=0;re(s,n)))}return o.pipe(gu())}}const Wg="https://ngrx.io/guide/store/configuration/runtime-checks";function gM(e){return void 0===e}function _M(e){return null===e}function bM(e){return Array.isArray(e)}function vM(e){return"object"==typeof e&&null!==e}function Yg(e){return"function"==typeof e}function Zg(e,n){return e===n}function Xg(e,n=Zg,t=Zg){let o,i=null,r=null;return{memoized:function c(){if(void 0!==o)return o.result;if(!i)return r=e.apply(null,arguments),i=arguments,r;if(!function R5(e,n,t){for(let i=0;i"function"==typeof n)}(i[0])&&(i=function P5(e){const n=Object.values(e),t=Object.keys(e);return[...n,(...r)=>t.reduce((o,s,a)=>({...o,[s]:r[a]}),{})]}(i[0]));const r=i.slice(0,i.length-1),o=i[i.length-1],s=r.filter(d=>d.release&&"function"==typeof d.release),a=e(function(...d){return o.apply(null,d)}),l=Xg(function(d,u){return n.stateFn.apply(null,[d,r,u,a])});return Object.assign(l.memoized,{release:function c(){l.reset(),a.reset(),s.forEach(d=>d.release())},projector:a.memoized,setResult:l.setResult,clearResult:l.clearResult})}}(Xg)(...e)}function N5(e,n,t,i){if(void 0===t){const o=n.map(s=>s(e));return i.memoized.apply(null,o)}const r=n.map(o=>o(e,t));return i.memoized.apply(null,[...r,t])}function B5(e){return e instanceof x?C(e):e}function EM(e){return"function"==typeof e?e():e}function U5(e,n){return e.concat(n)}function z5(){if(C(nr,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Kg(e){Object.freeze(e);const n=Yg(e);return Object.getOwnPropertyNames(e).forEach(t=>{if(!t.startsWith("\u0275")&&function T5(e,n){return Object.prototype.hasOwnProperty.call(e,n)}(e,t)&&(!n||"caller"!==t&&"callee"!==t&&"arguments"!==t)){const i=e[t];(vM(i)||Yg(i))&&!Object.isFrozen(i)&&Kg(i)}}),e}function Qg(e,n=[]){return(gM(e)||_M(e))&&0===n.length?{path:["root"],value:e}:Object.keys(e).reduce((i,r)=>{if(i)return i;const o=e[r];return function S5(e){return Yg(e)&&e.hasOwnProperty("\u0275cmp")}(o)?i:!(gM(o)||_M(o)||function I5(e){return"number"==typeof e}(o)||function C5(e){return"boolean"==typeof e}(o)||function D5(e){return"string"==typeof e}(o)||bM(o))&&(function yM(e){if(!function M5(e){return vM(e)&&!bM(e)}(e))return!1;const n=Object.getPrototypeOf(e);return n===Object.prototype||null===n}(o)?Qg(o,[...n,r]):{path:[...n,r],value:o})},!1)}function xM(e,n){if(!1===e)return;const t=e.path.join("."),i=new Error(`Detected unserializable ${n} at "${t}". ${Wg}#strict${n}serializability`);throw i.value=e.value,i.unserializablePath=t,i}function W5(e){return{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Y5({strictActionSerializability:e,strictStateSerializability:n}){return t=>e||n?function G5(e,n){return function(t,i){n.action(i)&&xM(Qg(i),"action");const r=e(t,i);return n.state()&&xM(Qg(r),"state"),r}}(t,{action:i=>e&&!Jg(i),state:()=>n}):t}function Z5({strictActionImmutability:e,strictStateImmutability:n}){return t=>e||n?function $5(e,n){return function(t,i){const r=n.action(i)?Kg(i):i,o=e(t,r);return n.state()?Kg(o):o}}(t,{action:i=>e&&!Jg(i),state:()=>n}):t}function Jg(e){return e.type.startsWith("@ngrx")}function X5({strictActionWithinNgZone:e}){return n=>e?function q5(e,n){return function(t,i){if(n.action(i)&&!B.isInAngularZone())throw new Error(`Action '${i.type}' running outside NgZone. ${Wg}#strictactionwithinngzone`);return e(t,i)}}(n,{action:t=>e&&!Jg(t)}):n}function K5(e){return[{provide:dM,useValue:e},{provide:cM,useFactory:Q5,deps:[dM]},{provide:wl,deps:[cM],useFactory:W5},{provide:bu,multi:!0,deps:[wl],useFactory:Z5},{provide:bu,multi:!0,deps:[wl],useFactory:Y5},{provide:bu,multi:!0,deps:[wl],useFactory:X5}]}function Q5(e){return e}function J5(e){if(!e.strictActionTypeUniqueness)return;const n=Object.entries(yl).filter(([,t])=>t>1).map(([t])=>t);if(n.length)throw new Error(`Action types are registered more than once, ${n.map(t=>`"${t}"`).join(", ")}. ${Wg}#strictactiontypeuniqueness`)}function e8(e={},n={}){return[{provide:XI,useFactory:z5},{provide:KI,useValue:n.initialState},{provide:jg,useFactory:EM,deps:[KI]},{provide:Hg,useValue:e},{provide:nM,useExisting:e instanceof x?e:Hg},{provide:eM,deps:[Hg,[new Rb(nM)]],useFactory:B5},{provide:aM,useValue:n.metaReducers?n.metaReducers:[]},{provide:lM,deps:[bu,aM],useFactory:U5},{provide:JI,useValue:n.reducerFactory?n.reducerFactory:Gg},{provide:QI,deps:[JI,lM],useFactory:fM},m5,b5,v5,w5,E5,K5(n.runtimeChecks),[{provide:zg,multi:!0,deps:[wl],useFactory:J5}]]}const n8=[{provide:vu,useFactory:function t8(){C(xs),C(qg),C(wu),C(nr),C(XI,{optional:!0}),C(zg,{optional:!0})}},{provide:_i,multi:!0,useFactory:()=>()=>C(vu)}];function di(...e){return{reducer:e.pop(),types:e.map(i=>i.type)}}function CM(e,...n){const t=new Map;for(const i of n)for(const r of i.types){const o=t.get(r);t.set(r,o?(a,l)=>i.reducer(o(a,l),l):i.reducer)}return function(i=e,r){const o=t.get(r.type);return o?o(i,r):i}}class Ni{constructor(n,t,i){this.kind=n,this.value=t,this.error=i,this.hasValue="N"===n}observe(n){return IM(this,n)}do(n,t,i){const{kind:r,value:o,error:s}=this;return"N"===r?n?.(o):"E"===r?t?.(s):i?.()}accept(n,t,i){var r;return ee(null===(r=n)||void 0===r?void 0:r.next)?this.observe(n):this.do(n,t,i)}toObservable(){const{kind:n,value:t,error:i}=this,r="N"===n?ct(t):"E"===n?Rg(()=>i):"C"===n?zr:0;if(!r)throw new TypeError(`Unexpected notification kind ${n}`);return r}static createNext(n){return new Ni("N",n)}static createError(n){return new Ni("E",void 0,n)}static createComplete(){return Ni.completeNotification}}function IM(e,n){var t,i,r;const{kind:o,value:s,error:a}=e;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(t=n.next)||void 0===t||t.call(n,s):"E"===o?null===(i=n.error)||void 0===i||i.call(n,a):null===(r=n.complete)||void 0===r||r.call(n)}function e_(e){return Ae((n,t)=>{let o,i=null,r=!1;i=n.subscribe(ve(t,void 0,void 0,s=>{o=qe(e(s,e_(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function MM(e,n,t,i){return Ae((r,o)=>{let s;n&&"function"!=typeof n?({duration:t,element:s,connector:i}=n):s=n;const a=new Map,l=m=>{a.forEach(m),m(o)},c=m=>l(p=>p.error(m));let d=0,u=!1;const f=new _b(o,m=>{try{const p=e(m);let g=a.get(p);if(!g){a.set(p,g=i?i():new ne);const v=function h(m,p){const g=new fe(v=>{d++;const _=p.subscribe(v);return()=>{_.unsubscribe(),0==--d&&u&&f.unsubscribe()}});return g.key=m,g}(p,g);if(o.next(v),t){const _=ve(g,()=>{g.complete(),_?.unsubscribe()},void 0,void 0,()=>a.delete(p));f.add(qe(t(v)).subscribe(_))}}g.next(s?s(m):m)}catch(p){c(p)}},()=>l(m=>m.complete()),c,()=>a.clear(),()=>(u=!0,0===d));r.subscribe(f)})}function SM(e,n){return n?t=>t.pipe(SM((i,r)=>qe(e(i,r)).pipe(me((o,s)=>n(i,o,r,s))))):Ae((t,i)=>{let r=0,o=null,s=!1;t.subscribe(ve(i,a=>{o||(o=ve(i,void 0,()=>{o=null,s&&i.complete()}),qe(e(a,r++)).subscribe(o))},()=>{s=!0,!o&&i.complete()}))})}Ni.completeNotification=new Ni("C");const d8={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},Eu="__@ngrx/effects_create__";function mn(e,n={}){const t=n.functional?e:e(),i={...d8,...n};return Object.defineProperty(t,Eu,{value:i}),t}function AM(e){return Object.getPrototypeOf(e)}function t_(e){return"function"==typeof e}function p8(e,n,t){const i=AM(e),o=i&&"Object"!==i.constructor.name?i.constructor.name:null,s=function TM(e){return function u8(e){return Object.getOwnPropertyNames(e).filter(i=>!(!e[i]||!e[i].hasOwnProperty(Eu))&&e[i][Eu].hasOwnProperty("dispatch")).map(i=>({propertyName:i,...e[i][Eu]}))}(e)}(e).map(({propertyName:a,dispatch:l,useEffectsErrorHandler:c})=>{const d="function"==typeof e[a]?e[a]():e[a],u=c?t(d,n):d;return!1===l?u.pipe(UI()):u.pipe(function l8(){return Ae((e,n)=>{e.subscribe(ve(n,t=>{n.next(Ni.createNext(t))},()=>{n.next(Ni.createComplete()),n.complete()},t=>{n.next(Ni.createError(t)),n.complete()}))})}()).pipe(me(h=>({effect:e[a],notification:h,propertyName:a,sourceName:o,sourceInstance:e})))});return Es(...s)}function RM(e,n,t=10){return e.pipe(e_(i=>(n&&n.handleError(i),t<=1?e:RM(e,n,t-1))))}let NM=(()=>{class e extends fe{constructor(t){super(),t&&(this.source=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}static#e=this.\u0275fac=function(i){return new(i||e)(E(wu))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pn(...e){return st(n=>e.some(t=>"string"==typeof t?t===n.type:t.type===n.type))}new x("@ngrx/effects Internal Root Guard"),new x("@ngrx/effects User Provided Effects"),new x("@ngrx/effects Internal Root Effects"),new x("@ngrx/effects Internal Root Effects Instances"),new x("@ngrx/effects Internal Feature Effects"),new x("@ngrx/effects Internal Feature Effects Instance Groups");const b8=new x("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>RM}),n_="@ngrx/effects/init",v8=Bt(n_);function T8(e){return i_(e,"ngrxOnInitEffects")}function i_(e,n){return e&&n in e&&"function"==typeof e[n]}let kM=(()=>{class e extends ne{constructor(t,i){super(),this.errorHandler=t,this.effectsErrorHandler=i}addEffects(t){this.next(t)}toActions(){return this.pipe(MM(t=>function f8(e){return!!e.constructor&&"Object"!==e.constructor.name&&"Function"!==e.constructor.name}(t)?AM(t):t),er(t=>t.pipe(MM(A8))),er(t=>{const i=t.pipe(SM(o=>function R8(e,n){return t=>{const i=p8(t,e,n);return function M8(e){return i_(e,"ngrxOnRunEffects")}(t)?t.ngrxOnRunEffects(i):i}}(this.errorHandler,this.effectsErrorHandler)(o)),me(o=>(function y8(e,n){if("N"===e.notification.kind){const t=e.notification.value;!function w8(e){return"function"!=typeof e&&e&&e.type&&"string"==typeof e.type}(t)&&n.handleError(new Error(`Effect ${function E8({propertyName:e,sourceInstance:n,sourceName:t}){const i="function"==typeof n[e];return t?`"${t}.${String(e)}${i?"()":""}"`:`"${String(e)}()"`}(e)} dispatched an invalid action: ${function x8(e){try{return JSON.stringify(e)}catch{return e}}(t)}`))}}(o,this.errorHandler),o.notification)),st(o=>"N"===o.kind&&null!=o.value),function c8(){return Ae((e,n)=>{e.subscribe(ve(n,t=>IM(t,n)))})}());return Es(i,t.pipe(Wt(1),st(T8),me(o=>o.ngrxOnInitEffects())))}))}static#e=this.\u0275fac=function(i){return new(i||e)(E(zt),E(b8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function A8(e){return function C8(e){return i_(e,"ngrxOnIdentifyEffects")}(e)?e.ngrxOnIdentifyEffects():""}let OM=(()=>{class e{get isStarted(){return!!this.effectsSubscription}constructor(t,i){this.effectSources=t,this.store=i,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(E(kM),E(nr))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const FM={production:!0,providers:[]},PM=Bt("[Calc] Restore Preferences"),LM=Bt("[Calc] Restore Preferences Success",{_as:"props",_p:void 0}),k8=Bt("[Calc] Restore Preferences Failure"),r_=Bt("[Calc] Update Water Ratio",{_as:"props",_p:void 0}),o_=Bt("[Calc] Toggle Blend Ratio Use"),s_=Bt("[Calc] Update Blend Ratio",{_as:"props",_p:void 0}),a_=Bt("[Calc] Update Total Brew",{_as:"props",_p:void 0}),l_=Bt("[Calc] Update Total Brew Unit",{_as:"props",_p:void 0});var Dn=Rs(16),Yt=function(e){return e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Paused=2]="Paused",e}(Yt||{}),Ds=function(e){return e.ML="ml",e.OZ="oz",e}(Ds||{});class ir{static roundDecimal(n){return Math.round(100*n)/100}static convertVolumeUnits(n,t,i){if(t===i)return n;switch(i){case Ds.ML:return 29.574*n;case Ds.OZ:return n/29.574;default:return 0}}}const Zt={waterRatio:16,useBlendRatio:!1,blendRatio:2,totalBrew:500,totalBrewUnit:Ds.ML},P8=CM({waterRatio:Zt.waterRatio,useBlendRatio:Zt.useBlendRatio,blendRatio:Zt.blendRatio,totalBrew:Zt.totalBrew,totalBrewUnit:Zt.totalBrewUnit},di(LM,(e,{waterRatio:n,useBlendRatio:t,blendRatio:i,brew:r,unit:o})=>(0,Dn.Ay)(e,{waterRatio:{$set:n},useBlendRatio:{$set:t},blendRatio:{$set:i},totalBrew:{$set:r},totalBrewUnit:{$set:o}})),di(r_,(e,{waterRatio:n})=>(0,Dn.Ay)(e,{waterRatio:{$set:n>0?n:0}})),di(o_,e=>(0,Dn.Ay)(e,{useBlendRatio:{$set:!e.useBlendRatio}})),di(s_,(e,{blendRatio:n})=>(0,Dn.Ay)(e,{blendRatio:{$set:n>0?n:0}})),di(a_,(e,{brew:n})=>(0,Dn.Ay)(e,{totalBrew:{$set:n>0?n:0}})),di(l_,(e,{unit:n})=>(0,Dn.Ay)(e,{totalBrew:{$set:ir.convertVolumeUnits(e.totalBrew,e.totalBrewUnit,n)},totalBrewUnit:{$set:n}}))),El=e=>e.calc,VM=St(El,e=>e.waterRatio),BM=St(El,e=>e.useBlendRatio),V8=St(El,e=>e.blendRatio),c_=St(El,e=>e.totalBrew),jM=St(El,e=>e.totalBrewUnit),B8=St(c_,e=>ir.roundDecimal(e)),HM=St(c_,jM,VM,(e,n,t)=>{const r=function L8(e,n){return n<=0?0:e/n}(ir.convertVolumeUnits(e,n,Ds.ML),t);return ir.roundDecimal(r)}),d_=St(HM,e=>ir.roundDecimal(e/10.25)),j8=St(d_,e=>ir.roundDecimal(29.574*e)),H8=St(d_,e=>ir.roundDecimal(e/8)),UM=Bt("[Stopwatch] Restore"),u_=Bt("[Stopwatch] Restore Success",{_as:"props",_p:void 0}),f_=Bt("[Stopwatch] Toggle Run"),xu=Bt("[Stopwatch] Tick",{_as:"props",_p:void 0}),Du=Bt("[Stopwatch] Reset"),$8=CM({status:Yt.NotStarted,startTime:Date.now(),lastTime:Date.now()},di(u_,(e,{status:n,startTime:t,lastTime:i})=>(0,Dn.Ay)(e,{status:{$set:n},startTime:{$set:t},lastTime:{$set:i}})),di(f_,e=>{if(e.status===Yt.Running)return(0,Dn.Ay)(e,{status:{$set:Yt.Paused}});if(e.status===Yt.Paused){const n=e.lastTime-e.startTime;return(0,Dn.Ay)(e,{status:{$set:Yt.Running},startTime:{$set:Date.now()-n},lastTime:{$set:Date.now()}})}return(0,Dn.Ay)(e,{status:{$set:Yt.Running},startTime:{$set:Date.now()},lastTime:{$set:Date.now()}})}),di(xu,(e,{now:n})=>(0,Dn.Ay)(e,{lastTime:{$set:n}})),di(Du,e=>(0,Dn.Ay)(e,{status:{$set:Yt.NotStarted},startTime:{$set:Date.now()},lastTime:{$set:Date.now()}}))),h_=e=>e.stopwatch,zM=St(h_,e=>e.status),$M=St(h_,e=>e.startTime),G8=St(h_,e=>e.lastTime),GM=St($M,G8,(e,n)=>(n-e)/1e3),q8={calc:P8,stopwatch:$8};let Y8=(()=>{class e{constructor(t,i){this.actions$=t,this.store$=i,this.init$=mn(()=>this.actions$.pipe(pn(n_),Ri(()=>ct(PM())))),this.restorePreferences$=mn(()=>this.actions$.pipe(pn(PM),Ri(()=>{const r=Number(localStorage.getItem("cr-water-ratio")??Zt.waterRatio),o="true"===localStorage.getItem("cr-use-blend-ratio"),s=Number(localStorage.getItem("cr-blend-ratio")??Zt.blendRatio),a=Number(localStorage.getItem("cr-brew")??Zt.totalBrew),l=localStorage.getItem("cr-brew-unit")??Zt.totalBrewUnit;return Number.isNaN(r)||Number.isNaN(s)||Number.isNaN(a)||Number.isNaN(l)?ct(k8()):ct(LM({waterRatio:r,useBlendRatio:o,blendRatio:s,brew:a,unit:l}))}))),this.updateWaterRatio$=mn(()=>this.actions$.pipe(pn(r_),st(({waterRatio:r})=>r>0),Vt(({waterRatio:r})=>localStorage.setItem("cr-water-ratio",r.toString()))),{dispatch:!1}),this.toggleBlendRatioUse$=mn(()=>this.actions$.pipe(pn(o_),vl(this.store$.select(BM)),Vt(([,r])=>localStorage.setItem("cr-use-blend-ratio",r.toString()))),{dispatch:!1}),this.updateBlendRatio$=mn(()=>this.actions$.pipe(pn(s_),st(({blendRatio:r})=>r>0),Vt(({blendRatio:r})=>localStorage.setItem("cr-blend-ratio",r.toString()))),{dispatch:!1}),this.updateTotalBrew$=mn(()=>this.actions$.pipe(pn(a_),st(({brew:r})=>r>0),Vt(({brew:r})=>localStorage.setItem("cr-brew",r.toString()))),{dispatch:!1}),this.updateTotalBrewUnit$=mn(()=>this.actions$.pipe(pn(l_),vl(this.store$.select(c_)),Vt(([{unit:r},o])=>{localStorage.setItem("cr-brew",o.toString()),localStorage.setItem("cr-brew-unit",r.toString())})),{dispatch:!1})}static#e=this.\u0275fac=function(i){return new(i||e)(E(NM),E(nr))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})(),Z8=(()=>{class e{constructor(t,i){this.actions$=t,this.store$=i,this.init$=mn(()=>this.actions$.pipe(pn(n_),Ri(()=>ct(UM())))),this.restore$=mn(()=>this.actions$.pipe(pn(UM),Ri(()=>{const r=Number(localStorage.getItem("cr-stopwatch-status")),o=Number(localStorage.getItem("cr-stopwatch-starttime")),s=Number(localStorage.getItem("cr-stopwatch-lasttime"));return!r||Number.isNaN(r)||!o||Number.isNaN(o)||!s||Number.isNaN(s)?zr:ct(u_({status:r,startTime:o,lastTime:s}))}))),this.restoreSuccess$=mn(()=>this.actions$.pipe(pn(u_),Vt(({status:r})=>{r===Yt.Running&&(this.intervalId=window.setInterval(()=>{this.store$.dispatch(xu({now:Date.now()}))},100))})),{dispatch:!1}),this.toggleRun$=mn(()=>this.actions$.pipe(pn(f_),vl(this.store$.select(zM),this.store$.select($M)),Vt(([,r,o])=>{switch(localStorage.setItem("cr-stopwatch-status",r.toString()),r){case Yt.Running:localStorage.setItem("cr-stopwatch-starttime",o.toString()),this.intervalId=window.setInterval(()=>{this.store$.dispatch(xu({now:Date.now()}))},100);break;case Yt.Paused:clearInterval(this.intervalId)}})),{dispatch:!1}),this.tick$=mn(()=>this.actions$.pipe(pn(xu),vl(this.store$.select(GM)),Ri(([{now:r},o])=>(localStorage.setItem("cr-stopwatch-lasttime",r.toString()),o>=3600?ct(Du()):zr)))),this.reset$=mn(()=>this.actions$.pipe(pn(Du),Vt(()=>{clearInterval(this.intervalId);const r=Date.now().toString();localStorage.setItem("cr-stopwatch-status",Yt.NotStarted.toString()),localStorage.setItem("cr-stopwatch-starttime",r),localStorage.setItem("cr-stopwatch-lasttime",r)})),{dispatch:!1}),this.intervalId=0}static#e=this.\u0275fac=function(i){return new(i||e)(E(NM),E(nr))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const X8={providers:[function $$(){return Fn("NgEagerAnimations"),[...U$]}(),function e5(e,n={}){return wr([X3,K3,{provide:GI,useValue:e},{provide:Lg,useValue:n},{provide:pu,useFactory:J3,deps:[Lg,wi]},{provide:sD,useFactory:Q3,deps:[Ct,GI,Lg,wi],multi:!0}])}("ngsw-worker.js",{enabled:FM.production,registrationStrategy:"registerImmediately"}),function i8(e,n){return wr([...e8(e,n),n8])}(q8,{metaReducers:[],runtimeChecks:{strictStateImmutability:!0,strictActionImmutability:!0,strictStateSerializability:!1,strictActionSerializability:!1,strictActionWithinNgZone:!0,strictActionTypeUniqueness:!0}}),function N8(...e){const n=e.flat();return wr([function h8(e){return e.filter(t_)}(n),{provide:_i,multi:!0,useValue:()=>{C(vu),C($g,{optional:!0});const i=C(OM),r=C(kM),o=!i.isStarted;o&&i.start();for(const s of n){const a=t_(s)?C(s):s;r.addEffects(a)}o&&C(nr).dispatch(v8())}}])}(Y8,Z8),FM.providers]},{isArray:K8}=Array,{getPrototypeOf:Q8,prototype:J8,keys:e4}=Object;function qM(e){if(1===e.length){const n=e[0];if(K8(n))return{args:n,keys:null};if(function t4(e){return e&&"object"==typeof e&&Q8(e)===J8}(n)){const t=e4(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}function WM(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function YM(...e){const n=Og(e),{args:t,keys:i}=qM(e),r=new fe(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?WM(i,a):a),o.complete())}))}});return n?r.pipe(Ng(n)):r}let ZM=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ar),b(Ee))};static#t=this.\u0275dir=A({type:e})}return e})(),$r=(()=>{class e extends ZM{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275dir=A({type:e,features:[se]})}return e})();const zn=new x(""),i4={provide:zn,useExisting:ye(()=>Cu),multi:!0},o4=new x("");let Cu=(()=>{class e extends ZM{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function r4(){const e=Ki()?Ki().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ar),b(Ee),b(o4,8))};static#t=this.\u0275dir=A({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&_e("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[be([i4]),se]})}return e})();function rr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function KM(e){return null!=e&&"number"==typeof e.length}const dt=new x(""),or=new x(""),s4=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Gr{static min(n){return QM(n)}static max(n){return function JM(e){return n=>{if(rr(n.value)||rr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function eS(e){return rr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function tS(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function nS(e){return rr(e.value)||s4.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function iS(e){return n=>rr(n.value)||!KM(n.value)?null:n.value.lengthKM(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return oS(n)}static nullValidator(n){return null}static compose(n){return uS(n)}static composeAsync(n){return fS(n)}}function QM(e){return n=>{if(rr(n.value)||rr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(rr(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function Iu(e){return null}function sS(e){return null!=e}function aS(e){return Td(e)?ys(e):e}function lS(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function cS(e,n){return n.map(t=>t(e))}function dS(e){return e.map(n=>function a4(e){return!e.validate}(n)?n:t=>n.validate(t))}function uS(e){if(!e)return null;const n=e.filter(sS);return 0==n.length?null:function(t){return lS(cS(t,n))}}function m_(e){return null!=e?uS(dS(e)):null}function fS(e){if(!e)return null;const n=e.filter(sS);return 0==n.length?null:function(t){return YM(cS(t,n).map(aS)).pipe(me(lS))}}function p_(e){return null!=e?fS(dS(e)):null}function hS(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function mS(e){return e._rawValidators}function pS(e){return e._rawAsyncValidators}function g_(e){return e?Array.isArray(e)?e:[e]:[]}function Mu(e,n){return Array.isArray(e)?e.includes(n):e===n}function gS(e,n){const t=g_(n);return g_(e).forEach(r=>{Mu(t,r)||t.push(r)}),t}function _S(e,n){return g_(n).filter(t=>!Mu(e,t))}class bS{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(n){this._rawValidators=n||[],this._composedValidatorFn=m_(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=p_(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class jt extends bS{get formDirective(){return null}get path(){return null}}class ki extends bS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class vS{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let yS=(()=>{class e extends vS{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(ki,2))};static#t=this.\u0275dir=A({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&re("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[se]})}return e})(),wS=(()=>{class e extends vS{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(jt,10))};static#t=this.\u0275dir=A({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&re("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[se]})}return e})();const xl="VALID",Tu="INVALID",Cs="PENDING",Dl="DISABLED";function v_(e){return(Au(e)?e.validators:e)||null}function y_(e,n){return(Au(n)?n.asyncValidators:e)||null}function Au(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function xS(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new w(1e3,"");if(!i[t])throw new w(1001,"")}function DS(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new w(1002,"")})}class Ru{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===xl}get invalid(){return this.status===Tu}get pending(){return this.status==Cs}get disabled(){return this.status===Dl}get enabled(){return this.status!==Dl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(gS(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(gS(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(_S(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(_S(n,this._rawAsyncValidators))}hasValidator(n){return Mu(this._rawValidators,n)}hasAsyncValidator(n){return Mu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Cs,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Dl,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=xl,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xl||this.status===Cs)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dl:xl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Cs,this._hasOwnPendingAsyncValidator=!0;const t=aS(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new xe,this.statusChanges=new xe}_calculateStatus(){return this._allControlsDisabled()?Dl:this.errors?Tu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Cs)?Cs:this._anyControlsHaveStatus(Tu)?Tu:xl}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Au(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function u4(e){return Array.isArray(e)?m_(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function f4(e){return Array.isArray(e)?p_(e):e||null}(this._rawAsyncValidators)}}class Cl extends Ru{constructor(n,t,i){super(v_(t),y_(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){DS(this,0,n),Object.keys(n).forEach(i=>{xS(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class CS extends Cl{}const Is=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Nu}),Nu="always";function Il(e,n,t=Nu){w_(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function m4(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&IS(e,n)})}(e,n),function g4(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function p4(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&IS(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function h4(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Ou(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Pu(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Fu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function w_(e,n){const t=mS(e);null!==n.validator?e.setValidators(hS(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=pS(e);null!==n.asyncValidator?e.setAsyncValidators(hS(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Fu(n._rawValidators,r),Fu(n._rawAsyncValidators,r)}function Pu(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=mS(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const r=pS(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}const i=()=>{};return Fu(n._rawValidators,i),Fu(n._rawAsyncValidators,i),t}function IS(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function MS(e,n){w_(e,n)}function SS(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const w4={provide:jt,useExisting:ye(()=>Lu)},Ml=Promise.resolve();let Lu=(()=>{class e extends jt{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new xe,this.form=new Cl({},m_(t),p_(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ml.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Il(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ml.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ml.then(()=>{const i=this._findContainer(t.path),r=new Cl({});MS(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ml.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){Ml.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,SS(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(i){return new(i||e)(b(dt,10),b(or,10),b(Is,8))};static#t=this.\u0275dir=A({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&_e("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[F.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([w4]),se]})}return e})();function TS(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function AS(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Sl=class extends Ru{constructor(n=null,t,i){super(v_(t),y_(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Au(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=AS(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){TS(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){TS(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){AS(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};Promise.resolve();let FS=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const C4={provide:zn,useExisting:ye(()=>C_),multi:!0};let C_=(()=>{class e extends $r{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275dir=A({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){1&i&&_e("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[be([C4]),se]})}return e})();const I_=new x(""),A4={provide:jt,useExisting:ye(()=>Tl)};let Tl=(()=>{class e extends jt{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new xe,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Pu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return Il(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Ou(t.control||null,t,!1),function y4(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,SS(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(Ou(i||null,t),(e=>e instanceof Sl)(r)&&(Il(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);MS(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function _4(e,n){return Pu(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){w_(this.form,this),this._oldForm&&Pu(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||e)(b(dt,10),b(or,10),b(Is,8))};static#t=this.\u0275dir=A({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&_e("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[F.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([A4]),se,vn]})}return e})();const k4={provide:ki,useExisting:ye(()=>T_)};let T_=(()=>{class e extends ki{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new xe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function D_(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Cu?t=o:function v4(e){return Object.getPrototypeOf(e.constructor)===$r}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){this._added||this._setUpControl(),function x_(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function ku(e,n){return[...n.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||e)(b(jt,13),b(dt,10),b(or,10),b(zn,10),b(I_,8))};static#n=this.\u0275dir=A({type:e,selectors:[["","formControlName",""]],inputs:{name:[F.None,"formControlName","name"],isDisabled:[F.None,"disabled","isDisabled"],model:[F.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[be([k4]),se,vn]})}return e})();let qr=(()=>{class e{constructor(){this._validator=Iu}ngOnChanges(t){if(this.inputName in t){const i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Iu,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,features:[vn]})}return e})();const H4={provide:dt,useExisting:ye(()=>N_),multi:!0};let N_=(()=>{class e extends qr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>function zS(e){return"number"==typeof e?e:parseFloat(e)}(t),this.createValidator=t=>QM(t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275dir=A({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,r){2&i&&Ye("min",r._enabled?r.min:null)},inputs:{min:"min"},features:[be([H4]),se]})}return e})();const W4={provide:dt,useExisting:ye(()=>F_),multi:!0};let F_=(()=>{class e extends qr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>oS(t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=at(e)))(r||e)}})();static#t=this.\u0275dir=A({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,r){2&i&&Ye("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[be([W4]),se]})}return e})(),Y4=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({})}return e})();class YS extends Ru{constructor(n,t,i){super(v_(t),y_(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){DS(this,0,n),n.forEach((i,r)=>{xS(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function ZS(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let P_,Z4=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,i=null){const r=this._reduceControls(t);let o={};return ZS(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new Cl(r,o)}record(t,i=null){const r=this._reduceControls(t);return new CS(r,i)}control(t,i,r){let o={};return this.useNonNullable?(ZS(i)?o=i:(o.validators=i,o.asyncValidators=r),new Sl(t,{...o,nonNullable:!0})):new Sl(t,i,r)}array(t,i,r){const o=t.map(s=>this._createControl(s));return new YS(o,i,r)}_reduceControls(t){const i={};return Object.keys(t).forEach(r=>{i[r]=this._createControl(t[r])}),i}_createControl(t){return t instanceof Sl||t instanceof Ru?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),X4=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:I_,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Is,useValue:t.callSetDisabledState??Nu}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[Y4]})}return e})();try{P_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{P_=!1}let Ms,ut=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Hp(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!P_)&&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}static#e=this.\u0275fac=function(i){return new(i||e)(E(wi))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const XS=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function KS(){if(Ms)return Ms;if("object"!=typeof document||!document)return Ms=new Set(XS),Ms;let e=document.createElement("input");return Ms=new Set(XS.filter(n=>(e.setAttribute("type",n),e.type===n))),Ms}let Al,Wr,L_;function Ss(e){return function K4(){if(null==Al&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Al=!0}))}finally{Al=Al||!1}return Al}()?e:!!e.capture}function Q4(){if(null==Wr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Wr=!1,Wr;if("scrollBehavior"in document.documentElement.style)Wr=!0;else{const e=Element.prototype.scrollTo;Wr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Wr}function sr(e){return e.composedPath?e.composedPath()[0]:e.target}function V_(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function eT(e){return st((n,t)=>e<=t)}let yG=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({providers:[yG]})}return e})();function ar(e){return null!=e&&"false"!=`${e}`}function nT(e,n=0){return function wG(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):n}function Bu(e){return Array.isArray(e)?e:[e]}function Qe(e){return null==e?"":"string"==typeof e?e:`${e}px`}function lr(e){return e instanceof Ee?e.nativeElement:e}function iT(e,n,t){e?Ai(t,e,n):n()}function DG(...e){const n=pl(e);return Ae((t,i)=>{(n?gl(e,t,n):gl(e,t)).subscribe(i)})}const rT=new Set;let Yr,CG=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):MG}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function IG(e,n){if(!rT.has(e))try{Yr||(Yr=document.createElement("style"),n&&(Yr.nonce=n),Yr.setAttribute("type","text/css"),document.head.appendChild(Yr)),Yr.sheet&&(Yr.sheet.insertRule(`@media ${e} {body{ }}`,0),rT.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static#e=this.\u0275fac=function(i){return new(i||e)(E(ut),E(_h,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function MG(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let SG=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new ne}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return oT(Bu(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=function EG(...e){const n=pl(e),t=Og(e),{args:i,keys:r}=qM(e);if(0===i.length)return ys([],n);const o=new fe(function xG(e,n,t=br){return i=>{iT(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=ys(e[l],n);let d=!1;c.subscribe(ve(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>WM(r,s):br));return t?o.pipe(Ng(t)):o}(oT(Bu(t)).map(s=>this._registerQuery(s).observable));return o=gl(o.pipe(Wt(1)),o.pipe(eT(1),function JS(e,n=mu){return Ae((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(me(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new fe(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(DG(i),me(({matches:s})=>({query:t,matches:s})),Mt(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static#e=this.\u0275fac=function(i){return new(i||e)(E(CG),E(B))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oT(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}function ju(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}const aT="cdk-describedby-message",Hu="cdk-describedby-host";let B_=0,RG=(()=>{class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+B_++,this._document=t,this._id=C(Rc)+"-"+B_++}describe(t,i,r){if(!this._canBeDescribed(t,i))return;const o=j_(i,r);"string"!=typeof i?(lT(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(t,o)||this._addMessageReference(t,o)}removeDescription(t,i,r){if(!i||!this._isElementNode(t))return;const o=j_(i,r);if(this._isElementDescribedByMessage(t,o)&&this._removeMessageReference(t,o),"string"==typeof i){const s=this._messageRegistry.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const t=this._document.querySelectorAll(`[${Hu}="${this._id}"]`);for(let i=0;i0!=r.indexOf(aT));t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){const r=this._messageRegistry.get(i);(function TG(e,n,t){const i=ju(e,n);t=t.trim(),!i.some(r=>r.trim()===t)&&(i.push(t),e.setAttribute(n,i.join(" ")))})(t,"aria-describedby",r.messageElement.id),t.setAttribute(Hu,this._id),r.referenceCount++}_removeMessageReference(t,i){const r=this._messageRegistry.get(i);r.referenceCount--,function AG(e,n,t){const i=ju(e,n);t=t.trim();const r=i.filter(o=>o!==t);r.length?e.setAttribute(n,r.join(" ")):e.removeAttribute(n)}(t,"aria-describedby",r.messageElement.id),t.removeAttribute(Hu)}_isElementDescribedByMessage(t,i){const r=ju(t,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(t,i){if(!this._isElementNode(t))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=t.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae),E(ut))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function j_(e,n){return"string"==typeof e?`${n||""}/${e}`:e}function lT(e,n){e.id||(e.id=`${aT}-${n}-${B_++}`)}function dT(e){return 0===e.buttons||0===e.detail}function uT(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const BG=new x("cdk-input-modality-detector-options"),jG={ignoreKeys:[18,17,224,91,16]},Ts=Ss({passive:!0,capture:!0});let HG=(()=>{class e{get mostRecentModality(){return this._modality.value}constructor(t,i,r,o){this._platform=t,this._mostRecentTarget=null,this._modality=new zs(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=sr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(dT(s)?"keyboard":"mouse"),this._mostRecentTarget=sr(s))},this._onTouchstart=s=>{uT(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sr(s))},this._options={...jG,...o},this.modalityDetected=this._modality.pipe(eT(1)),this.modalityChanged=this.modalityDetected.pipe(gu()),t.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ts),r.addEventListener("mousedown",this._onMousedown,Ts),r.addEventListener("touchstart",this._onTouchstart,Ts)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ts),document.removeEventListener("mousedown",this._onMousedown,Ts),document.removeEventListener("touchstart",this._onTouchstart,Ts))}static#e=this.\u0275fac=function(i){return new(i||e)(E(ut),E(B),E(ae),E(BG,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Uu=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Uu||{});const zG=new x("cdk-focus-monitor-default-options"),zu=Ss({passive:!0,capture:!0});let H_=(()=>{class e{constructor(t,i,r,o,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ne,this._rootNodeFocusAndBlurListener=a=>{for(let c=sr(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||Uu.IMMEDIATE}monitor(t,i=!1){const r=lr(t);if(!this._platform.isBrowser||1!==r.nodeType)return ct();const o=function eG(e){if(function J4(){if(null==L_){const e=typeof document<"u"?document.head:null;L_=!(!e||!e.createShadowRoot&&!e.attachShadow)}return L_}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new ne,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=lr(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=lr(t);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Uu.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,this._detectionMode===Uu.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=sr(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,zu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,zu)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Mt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,zu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let s=0;s{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=C(SG).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Zr.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Zr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Zr.BLACK_ON_WHITE}return Zr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(U_,hT,mT),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===Zr.BLACK_ON_WHITE?t.add(U_,hT):i===Zr.WHITE_ON_BLACK&&t.add(U_,mT)}}static#e=this.\u0275fac=function(i){return new(i||e)(E(ut),E(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$G=(()=>{class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||e)(E(pT))};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[tT]})}return e})();const GG=new x("cdk-dir-doc",{providedIn:"root",factory:function qG(){return C(ae)}}),WG=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let z_=(()=>{class e{constructor(t){this.value="ltr",this.change=new xe,t&&(this.value=function YG(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?WG.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||e)(E(GG,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Nl=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({})}return e})();const ZG=["mat-internal-form-field",""],XG=["*"],QG=new x("mat-sanity-checks",{providedIn:"root",factory:function KG(){return!0}});let ft=(()=>{class e{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!V_()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static#e=this.\u0275fac=function(i){return new(i||e)(E(pT),E(QG,8),E(ae))};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[Nl,Nl]})}return e})();class bT{constructor(n,t,i,r,o){this._defaultMatcher=n,this.ngControl=t,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){const n=this.errorState,t=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,t)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}let rq=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cn=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(Cn||{});class oq{constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=Cn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const vT=Ss({passive:!0,capture:!0});class sq{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=sr(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,vT)})}removeHandler(n,t,i){const r=this._events.get(n);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,vT)))}}const yT={enterDuration:225,exitDuration:150},wT=Ss({passive:!0,capture:!0}),ET=["mousedown","touchstart"],xT=["mouseup","mouseleave","touchend","touchcancel"];class $u{static#e=this._eventManager=new sq;constructor(n,t,i,r){this._target=n,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=lr(i))}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...yT,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function lq(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-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=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,m="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,p=new oq(this,d,i,m);d.style.transform="scale3d(1, 1, 1)",p.state=Cn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=p);let g=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>this._finishRippleTransition(p),_=()=>this._destroyRipple(p);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",_),g={onTransitionEnd:v,onTransitionCancel:_}}),this._activeRipples.set(p,g),(m||!c)&&this._finishRippleTransition(p),p}fadeOutRipple(n){if(n.state===Cn.FADING_OUT||n.state===Cn.HIDDEN)return;const t=n.element,i={...yT,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=Cn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=lr(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,ET.forEach(i=>{$u._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{xT.forEach(t=>{this._triggerElement.addEventListener(t,this,wT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Cn.FADING_IN?this._startFadeOutTransition(n):n.state===Cn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Cn.VISIBLE,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Cn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=dT(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(n.state===Cn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Cn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(ET.forEach(t=>$u._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&xT.forEach(t=>n.removeEventListener(t,this,wT)))}}const DT=new x("mat-ripple-global-options");let CT=(()=>{class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,r,o,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new $u(this,i,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(B),b(ut),b(DT,8),b(ei,8))};static#t=this.\u0275dir=A({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&re("mat-ripple-unbounded",r.unbounded)},inputs:{color:[F.None,"matRippleColor","color"],unbounded:[F.None,"matRippleUnbounded","unbounded"],centered:[F.None,"matRippleCentered","centered"],radius:[F.None,"matRippleRadius","radius"],animation:[F.None,"matRippleAnimation","animation"],disabled:[F.None,"matRippleDisabled","disabled"],trigger:[F.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return e})(),cq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[ft,ft]})}return e})();const IT={capture:!0},MT=["focus","click","mouseenter","touchstart"],$_="mat-ripple-loader-uninitialized",G_="mat-ripple-loader-class-name",ST="mat-ripple-loader-centered",Gu="mat-ripple-loader-disabled";let dq=(()=>{class e{constructor(){this._document=C(ae,{optional:!0}),this._animationMode=C(ei,{optional:!0}),this._globalRippleOptions=C(DT,{optional:!0}),this._platform=C(ut),this._ngZone=C(B),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;const r=t.target.closest(`[${$_}]`);r&&this._createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(const t of MT)this._document?.addEventListener(t,this._onInteraction,IT)})}ngOnDestroy(){const t=this._hosts.keys();for(const i of t)this.destroyRipple(i);for(const i of MT)this._document?.removeEventListener(i,this._onInteraction,IT)}configureRipple(t,i){t.setAttribute($_,""),(i.className||!t.hasAttribute(G_))&&t.setAttribute(G_,i.className||""),i.centered&&t.setAttribute(ST,""),i.disabled&&t.setAttribute(Gu,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){const r=this._hosts.get(t);r?r.disabled=i:i?t.setAttribute(Gu,""):t.removeAttribute(Gu)}_createRipple(t){if(!this._document)return;const i=this._hosts.get(t);if(i)return i;t.querySelector(".mat-ripple")?.remove();const r=this._document.createElement("span");r.classList.add("mat-ripple",t.getAttribute(G_)),t.append(r);const o=new CT(new Ee(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=t,o.centered=t.hasAttribute(ST),o.disabled=t.hasAttribute(Gu),this.attachRipple(t,o),o}attachRipple(t,i){t.removeAttribute($_),this._hosts.set(t,i)}destroyRipple(t){const i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),uq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=At({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){2&i&&re("mdc-form-field--align-end","before"===r.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Ft],attrs:ZG,ngContentSelectors:XG,decls:1,vars:0,template:function(i,r){1&i&&(Bn(),Re(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}return e})();const fq=["mat-button",""],hq=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],mq=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],gq=["mat-icon-button",""],_q=["*"],bq=new x("MAT_BUTTON_CONFIG"),vq=[{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"]}];let TT=(()=>{class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,i,r,o){this._elementRef=t,this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=C(H_),this._rippleLoader=C(dq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const s=C(bq,{optional:!0}),a=t.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(const{attribute:c,mdcClasses:d}of vq)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(i){!function rw(){throw new Error("invalid")}()};static#t=this.\u0275dir=A({type:e,inputs:{color:"color",disableRipple:[F.HasDecoratorInputTransform,"disableRipple","disableRipple",dn],disabled:[F.HasDecoratorInputTransform,"disabled","disabled",dn],ariaDisabled:[F.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",dn],disabledInteractive:[F.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",dn]},features:[cd]})}return e})(),yq=(()=>{class e extends TT{constructor(t,i,r,o){super(t,i,r,o)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(ut),b(B),b(ei,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){2&i&&(Ye("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Ua(r.color?"mat-"+r.color:""),re("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[se,Ft],attrs:fq,ngContentSelectors:mq,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){1&i&&(Bn(hq),rt(0,"span",0),Re(1),T(2,"span",1),Re(3,1),R(),Re(4,2),rt(5,"span",2)(6,"span",3)),2&i&&re("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return e})(),Eq=(()=>{class e extends TT{constructor(t,i,r,o){super(t,i,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(ut),b(B),b(ei,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){2&i&&(Ye("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Ua(r.color?"mat-"+r.color:""),re("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[se,Ft],attrs:gq,ngContentSelectors:_q,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(i,r){1&i&&(Bn(),rt(0,"span",0),Re(1),rt(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}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return e})(),xq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[ft,cq,ft]})}return e})();const Dq=["*"],Tq=new x("MAT_CARD_CONFIG");let AT=(()=>{class e{constructor(t){this.appearance=t?.appearance||"raised"}static#e=this.\u0275fac=function(i){return new(i||e)(b(Tq,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){2&i&&re("mat-mdc-card-outlined","outlined"===r.appearance)("mdc-card--outlined","outlined"===r.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[Ft],ngContentSelectors:Dq,decls:1,vars:0,template:function(i,r){1&i&&(Bn(),Re(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{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;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return e})(),RT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}return e})(),Nq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[ft,jp,ft]})}return e})(),kq=(()=>{class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=ar(t)}get inset(){return this._inset}set inset(t){this._inset=ar(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,r){2&i&&(Ye("aria-orientation",r.vertical?"vertical":"horizontal"),re("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[Ft],decls:0,vars:0,template:function(i,r){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return e})(),Oq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[ft,ft]})}return e})();class Fq extends ne{constructor(n=1/0,t=1/0,i=Pg){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;snew ne),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},m=()=>{const p=s;h(),p?.unsubscribe()};return Ae((p,g)=>{c++,!u&&!d&&f();const v=l=l??n();g.add(()=>{c--,0===c&&!u&&!d&&(a=q_(m,r))}),v.subscribe(g),!s&&c>0&&(s=new Us({next:_=>v.next(_),error:_=>{u=!0,f(),a=q_(h,t,_),v.error(_)},complete:()=>{d=!0,f(),a=q_(h,i),v.complete()}}),qe(p).subscribe(s))})(o)}}function q_(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Us({next:()=>{i.unsubscribe(),e()}});return qe(n(...t)).subscribe(i)}class Lq{constructor(n){this._box=n,this._destroyed=new ne,this._resizeSubject=new ne,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new fe(t=>{const i=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(st(t=>t.some(i=>i.target===n)),function Pq(e,n,t){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e):i=e??1/0,NT({connector:()=>new Fq(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}({bufferSize:1,refCount:!0}),Mt(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Vq=(()=>{class e{constructor(){this._observers=new Map,this._ngZone=C(B)}ngOnDestroy(){for(const[,t]of this._observers)t.destroy();this._observers.clear()}observe(t,i){const r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new Lq(r)),this._observers.get(r).observe(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Bq=["notch"],jq=["matFormFieldNotchedOutline",""],Hq=["*"],Uq=["textField"],zq=["iconPrefixContainer"],$q=["textPrefixContainer"],Gq=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],qq=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Wq(e,n){1&e&&rt(0,"span",17)}function Yq(e,n){if(1&e&&(T(0,"label",16),Re(1,1),Le(2,Wq,1,0,"span",17),R()),2&e){const t=lt(2);Be("floating",t._shouldLabelFloat())("monitorResize",t._hasOutline())("id",t._labelId),Ye("for",t._control.id),G(2),Ze(2,!t.hideRequiredMarker&&t._control.required?2:-1)}}function Zq(e,n){1&e&&Le(0,Yq,3,5,"label",16),2&e&&Ze(0,lt()._hasFloatingLabel()?0:-1)}function Xq(e,n){1&e&&rt(0,"div",5)}function Kq(e,n){}function Qq(e,n){1&e&&Le(0,Kq,0,0,"ng-template",11),2&e&&(lt(2),Be("ngTemplateOutlet",Dd(1)))}function Jq(e,n){if(1&e&&(T(0,"div",7),Le(1,Qq,1,1,null,11),R()),2&e){const t=lt();Be("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat()),G(),Ze(1,t._forceDisplayInfixLabel()?-1:1)}}function e6(e,n){1&e&&(T(0,"div",8,2),Re(2,2),R())}function t6(e,n){1&e&&(T(0,"div",9,3),Re(2,3),R())}function n6(e,n){}function i6(e,n){1&e&&Le(0,n6,0,0,"ng-template",11),2&e&&(lt(),Be("ngTemplateOutlet",Dd(1)))}function r6(e,n){1&e&&(T(0,"div",12),Re(1,4),R())}function o6(e,n){1&e&&(T(0,"div",13),Re(1,5),R())}function s6(e,n){1&e&&rt(0,"div",14)}function a6(e,n){1&e&&(T(0,"div",18),Re(1,6),R()),2&e&&Be("@transitionMessages",lt()._subscriptAnimationState)}function l6(e,n){if(1&e&&(T(0,"mat-hint",20),J(1),R()),2&e){const t=lt(2);Be("id",t._hintLabelId),G(),ai(t.hintLabel)}}function c6(e,n){if(1&e&&(T(0,"div",19),Le(1,l6,2,2,"mat-hint",20),Re(2,7),rt(3,"div",21),Re(4,8),R()),2&e){const t=lt();Be("@transitionMessages",t._subscriptAnimationState),G(),Ze(1,t.hintLabel?1:-1)}}let kT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["mat-label"]],standalone:!0})}return e})();const d6=new x("MatError");let u6=0,OT=(()=>{class e{constructor(){this.align="start",this.id="mat-mdc-hint-"+u6++}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){2&i&&($a("id",r.id),Ye("align",null),re("mat-mdc-form-field-hint-end","end"===r.align))},inputs:{align:"align",id:"id"},standalone:!0})}return e})();const f6=new x("MatPrefix"),FT=new x("MatSuffix");let h6=(()=>{class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[F.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[be([{provide:FT,useExisting:e}])]})}return e})();const PT=new x("FloatingLabelParent");let LT=(()=>{class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=C(Vq),this._ngZone=C(B),this._parent=C(PT),this._resizeSubscription=new We}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function m6(e){if(null!==e.offsetParent)return e.scrollWidth;const t=e.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const i=t.scrollWidth;return t.remove(),i}(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())})}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee))};static#t=this.\u0275dir=A({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){2&i&&re("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return e})();const VT="mdc-line-ripple--active",qu="mdc-line-ripple--deactivating";let BT=(()=>{class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,s=o.contains(qu);"opacity"===r.propertyName&&s&&o.remove(VT,qu)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(qu),t.add(VT)}deactivate(){this._elementRef.nativeElement.classList.add(qu)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(B))};static#t=this.\u0275dir=A({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return e})(),jT=(()=>{class e{constructor(t,i){this._elementRef=t,this._ngZone=i,this.open=!1}ngAfterViewInit(){const t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){this._notch.nativeElement.style.width=this.open&&t?`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(B))};static#t=this.\u0275cmp=At({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(1&i&&si(Bq,5),2&i){let o;_t(o=bt())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){2&i&&re("mdc-notched-outline--notched",r.open)},inputs:{open:[F.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ft],attrs:jq,ngContentSelectors:Hq,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,r){1&i&&(Bn(),rt(0,"div",1),T(1,"div",2,0),Re(3),R(),rt(4,"div",3))},encapsulation:2,changeDetection:0})}return e})();const p6={transitionMessages:zC("transitionMessages",[Jp("enter",bs({opacity:1,transform:"translateY(0%)"})),eg("void => enter",[bs({opacity:0,transform:"translateY(-5px)"}),Qp("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let HT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=A({type:e})}return e})();const UT=new x("MatFormField"),g6=new x("MAT_FORM_FIELD_DEFAULT_OPTIONS");let zT=0,v6=(()=>{class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=ar(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,i,r,o,s,a,l,c){this._elementRef=t,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+zT++,this._hintLabelId="mat-mdc-hint-"+zT++,this._subscriptAnimationState="",this._destroyed=new ne,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.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(){const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Mt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Es(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Mt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Mt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_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(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),r&&t.push(r.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const t=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(t.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,s=r?.getBoundingClientRect().width??0;t.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+s}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(ps),b(B),b(z_),b(ut),b(g6,8),b(ei,8),b(ae))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(1&i&&(Zi(o,kT,5),Zi(o,kT,7),Zi(o,HT,5),Zi(o,f6,5),Zi(o,FT,5),Zi(o,d6,5),Zi(o,OT,5)),2&i){let s;_t(s=bt())&&(r._labelChildNonStatic=s.first),_t(s=bt())&&(r._labelChildStatic=s.first),_t(s=bt())&&(r._formFieldControl=s.first),_t(s=bt())&&(r._prefixChildren=s),_t(s=bt())&&(r._suffixChildren=s),_t(s=bt())&&(r._errorChildren=s),_t(s=bt())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(1&i&&(si(Uq,5),si(zq,5),si($q,5),si(LT,5),si(jT,5),si(BT,5)),2&i){let o;_t(o=bt())&&(r._textField=o.first),_t(o=bt())&&(r._iconPrefixContainer=o.first),_t(o=bt())&&(r._textPrefixContainer=o.first),_t(o=bt())&&(r._floatingLabel=o.first),_t(o=bt())&&(r._notchedOutline=o.first),_t(o=bt())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){2&i&&re("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===r._animationMode)("mat-form-field-appearance-fill","fill"==r.appearance)("mat-form-field-appearance-outline","outline"==r.appearance)("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary","accent"!==r.color&&"warn"!==r.color)("mat-accent","accent"===r.color)("mat-warn","warn"===r.color)("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[be([{provide:UT,useExisting:e},{provide:PT,useExisting:e}]),Ft],ngContentSelectors:qq,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(i,r){if(1&i){const o=ls();Bn(Gq),Le(0,Zq,1,1,"ng-template",null,0,Vx),T(2,"div",4,1),_e("click",function(a){return Nn(o),kn(r._control.onContainerClick(a))}),Le(4,Xq,1,0,"div",5),T(5,"div",6),Le(6,Jq,2,2,"div",7)(7,e6,3,0,"div",8)(8,t6,3,0,"div",9),T(9,"div",10),Le(10,i6,1,1,null,11),Re(11),R(),Le(12,r6,2,0,"div",12)(13,o6,2,0,"div",13),R(),Le(14,s6,1,0,"div",14),R(),T(15,"div",15),Le(16,a6,2,1)(17,c6,5,2),R()}if(2&i){let o;G(2),re("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),G(2),Ze(4,r._hasOutline()||r._control.disabled?-1:4),G(2),Ze(6,r._hasOutline()?6:-1),G(),Ze(7,r._hasIconPrefix?7:-1),G(),Ze(8,r._hasTextPrefix?8:-1),G(2),Ze(10,!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),G(2),Ze(12,r._hasTextSuffix?12:-1),G(),Ze(13,r._hasIconSuffix?13:-1),G(),Ze(14,r._hasOutline()?-1:14),G(),re("mat-mdc-form-field-subscript-dynamic-size","dynamic"===r.subscriptSizing),G(),Ze(16,"error"===(o=r._getDisplayedMessages())?16:"hint"===o?17:-1)}},dependencies:[LT,jT,bC,BT,OT],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:[p6.transitionMessages]},changeDetection:0})}return e})(),W_=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[ft,jp,tT,ft]})}return e})();class Y_{}class Oi{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Oi?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Oi;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Oi?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class E6{encodeKey(n){return qT(n)}encodeValue(n){return qT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const D6=/%(\d[a-f0-9])/gi,C6={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function qT(e){return encodeURIComponent(e).replace(D6,(n,t)=>C6[t]??n)}function Wu(e){return`${e}`}class cr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new E6,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function x6(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(Wu):[Wu(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new cr({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Wu(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Wu(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class I6{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function WT(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function YT(e){return typeof Blob<"u"&&e instanceof Blob}function ZT(e){return typeof FormData<"u"&&e instanceof FormData}class Ol{constructor(n,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function M6(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Oi,this.context??=new I6,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":au.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((u,f)=>u.set(f,n.setParams[f]),c)),new Ol(t,i,o,{params:c,headers:l,context:d,reportProgress:a,responseType:r,withCredentials:s})}}var X_=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(X_||{});class K_{constructor(n,t=KT.Ok,i="OK"){this.headers=n.headers||new Oi,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Fl extends K_{constructor(n={}){super(n),this.type=X_.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Fl({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}var KT=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(KT||{});function Q_(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let J_=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof Ol)o=t;else{let l,c;l=r.headers instanceof Oi?r.headers:new Oi(r.headers),r.params&&(c=r.params instanceof cr?r.params:new cr({fromObject:r.params})),o=new Ol(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const s=ct(o).pipe(function w6(e,n){return ee(n)?er(e,n,1):er(e,1)}(l=>this.handler.handle(l)));if(t instanceof Ol||"events"===r.observe)return s;const a=s.pipe(st(l=>l instanceof Fl));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(me(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(me(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(me(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(me(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new cr).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,Q_(r,i))}post(t,i,r={}){return this.request("POST",t,Q_(r,i))}put(t,i,r={}){return this.request("PUT",t,Q_(r,i))}static#e=this.\u0275fac=function(i){return new(i||e)(E(Y_))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac})}return e})();const X6=["*"];let Xu;function Pl(e){return function K6(){if(void 0===Xu&&(Xu=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(Xu=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Xu}()?.createHTML(e)||e}function uA(e){return Error(`Unable to find icon with the name "${e}"`)}function fA(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function hA(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Kr{constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let Ku=(()=>{class e{constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new Kr(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(gt.HTML,r);if(!s)throw hA(r);const a=Pl(s);return this._addSvgIconConfig(t,i,new Kr("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new Kr(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(gt.HTML,i);if(!o)throw hA(i);const s=Pl(o);return this._addSvgIconSetConfig(t,new Kr("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(gt.RESOURCE_URL,t);if(!i)throw fA(t);const r=this._cachedIconsByUrl.get(i);return r?ct(Qu(r)):this._loadSvgIconFromConfig(new Kr(t,null)).pipe(Vt(o=>this._cachedIconsByUrl.set(i,o)),me(o=>Qu(o)))}getNamedSvgIcon(t,i=""){const r=mA(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):Rg(uA(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?ct(Qu(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(me(i=>Qu(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?ct(r):YM(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(e_(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(gt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),ct(null)})))).pipe(me(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw uA(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Vt(i=>t.svgText=i),me(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?ct(null):this._fetchIcon(t).pipe(Vt(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(Pl(""));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(Pl("")),r=t.attributes;for(let o=0;oPl(c)),function y6(e){return Ae((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}(()=>this._inProgressUrlFetches.delete(s)),NT());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(mA(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;rn?n.pathname+n.search:""}}}),pA=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],rW=pA.map(e=>`[${e}]`).join(", "),oW=/^url\(['"]?#(.*?)['"]?\)$/;let sW=(()=>{class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(t,i,r,o,s,a){this._elementRef=t,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=We.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(rW),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(oW):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Wt(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(Ku),Fo("aria-hidden"),b(nW),b(zt),b(tW,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(Ye("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Ua(r.color?"mat-"+r.color:""),re("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[F.HasDecoratorInputTransform,"inline","inline",dn],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[cd,Ft],ngContentSelectors:X6,decls:1,vars:0,template:function(i,r){1&i&&(Bn(),Re(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})}return e})(),aW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[ft,ft]})}return e})();const gA=Ss({passive:!0});let lW=(()=>{class e{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return zr;const i=lr(t),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new ne,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,gA),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,gA)}}),o}stopMonitoring(t){const i=lr(t),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((t,i)=>this.stopMonitoring(i))}static#e=this.\u0275fac=function(i){return new(i||e)(E(ut),E(B))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({})}return e})();const dW=new x("MAT_INPUT_VALUE_ACCESSOR"),uW=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let fW=0,hW=(()=>{class e{get disabled(){return this._disabled}set disabled(t){this._disabled=ar(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Gr.required)??!1}set required(t){this._required=ar(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&KS().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=ar(t)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,r,o,s,a,l,c,d,u){this._elementRef=t,this._platform=i,this.ngControl=r,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+fW++,this.focused=!1,this.stateChanges=new ne,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(m=>KS().has(m)),this._iOSKeyupListener=m=>{const p=m.target;!p.value&&0===p.selectionStart&&0===p.selectionEnd&&(p.setSelectionRange(1,1),p.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,h=f.nodeName.toLowerCase();this._inputValueAccessor=l||f,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new bT(a,r,s,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isInFormField=!!u,this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){const t=this._getPlaceholder();if(t!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=t,t?i.setAttribute("placeholder",t):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){uW.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(ut),b(ki,10),b(Lu,8),b(Tl,8),b(rq),b(dW,10),b(lW),b(B),b(UT,8))};static#t=this.\u0275dir=A({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,r){1&i&&_e("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),2&i&&($a("id",r.id)("disabled",r.disabled)("required",r.required),Ye("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),re("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[F.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[be([{provide:HT,useExisting:e}]),vn]})}return e})(),mW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[ft,W_,W_,cW,ft]})}return e})();const pW=["switch"],gW=["*"];function _W(e,n){1&e&&(T(0,"div",10),function xv(){U.lFrame.currentNamespace=av}(),T(1,"svg",12),rt(2,"path",13),R(),T(3,"svg",14),rt(4,"path",15),R()())}const bW=new x("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),vW={provide:zn,useExisting:ye(()=>nb),multi:!0};class _A{constructor(n,t){this.source=n,this.checked=t}}let yW=0,nb=(()=>{class e{_createChangeEvent(t){return new _A(this,t)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,i,r,o,s,a){this._elementRef=t,this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=s,this._onChange=l=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new xe,this.toggleChange=new xe,this.tabIndex=parseInt(o)||0,this.color=s.color||"accent",this._noopAnimations="NoopAnimations"===a,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++yW,this.hideIcon=s.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&!0!==t.value?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new _A(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(i){return new(i||e)(b(Ee),b(H_),b(ps),Fo("tabindex"),b(bW),b(ei,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(i,r){if(1&i&&si(pW,5),2&i){let o;_t(o=bt())&&(r._switchElement=o.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,r){2&i&&($a("id",r.id),Ye("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Ua(r.color?"mat-"+r.color:""),re("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[F.None,"aria-label","ariaLabel"],ariaLabelledby:[F.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[F.None,"aria-describedby","ariaDescribedby"],required:[F.HasDecoratorInputTransform,"required","required",dn],color:"color",disabled:[F.HasDecoratorInputTransform,"disabled","disabled",dn],disableRipple:[F.HasDecoratorInputTransform,"disableRipple","disableRipple",dn],tabIndex:[F.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>null==t?0:function hj(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}(t)],checked:[F.HasDecoratorInputTransform,"checked","checked",dn],hideIcon:[F.HasDecoratorInputTransform,"hideIcon","hideIcon",dn]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[be([vW,{provide:dt,useExisting:e,multi:!0}]),cd,vn,Ft],ngContentSelectors:gW,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,r){if(1&i){const o=ls();Bn(),T(0,"div",1)(1,"button",2,0),_e("click",function(){return Nn(o),kn(r._handleClick())}),rt(3,"div",3),T(4,"div",4)(5,"div",5)(6,"div",6),rt(7,"div",7),R(),T(8,"div",8),rt(9,"div",9),R(),Le(10,_W,5,0,"div",10),R()()(),T(11,"label",11),_e("click",function(a){return Nn(o),kn(a.stopPropagation())}),Re(12),R()()}if(2&i){const o=Dd(2);Be("labelPosition",r.labelPosition),G(),re("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled),Be("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled),Ye("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked),G(8),Be("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),G(),Ze(10,r.hideIcon?-1:10),G(),Be("for",r.buttonId),Ye("id",r._labelId)}},dependencies:[CT,uq],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0})}return e})(),xW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[nb,ft,ft]})}return e})();const Ll={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Ll;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new We(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=Ll;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Ll;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class CW extends hu{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class DW extends fu{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ll.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Ll.cancelAnimationFrame(t),n._scheduled=void 0)}});let ib,MW=1;const Ju={};function bA(e){return e in Ju&&(delete Ju[e],!0)}const SW={setImmediate(e){const n=MW++;return Ju[n]=!0,ib||(ib=Promise.resolve()),ib.then(()=>bA(n)&&e()),n},clearImmediate(e){bA(e)}},{setImmediate:TW,clearImmediate:AW}=SW,ef={setImmediate(...e){const{delegate:n}=ef;return(n?.setImmediate||TW)(...e)},clearImmediate(e){const{delegate:n}=ef;return(n?.clearImmediate||AW)(e)},delegate:void 0};new class NW extends hu{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class RW extends fu{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=ef.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(ef.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function vA(e,n=mu){return function OW(e){return Ae((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(ve(t,c=>{i=!0,r=c,o||qe(e(c)).subscribe(o=ve(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>$I(e,n))}let yA=(()=>{class e{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new ne,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new fe(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(vA(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ct()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(st(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=lr(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>ml(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(E(B),E(ut),E(ae,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wA=(()=>{class e{constructor(t,i,r){this._platform=t,this._change=new ne,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(vA(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||e)(E(ut),E(B),E(ae,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rb=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({})}return e})(),EA=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({imports:[Nl,rb,Nl,rb]})}return e})();class ob{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class xA extends ob{constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class LW extends ob{constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class VW extends ob{constructor(n){super(),this.element=n instanceof Ee?n.nativeElement:n}}class BW{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof xA?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof LW?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof VW?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class jW extends BW{constructor(n,t,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Ct.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=n,r}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let HW=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({})}return e})();const DA=Q4();class UW{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Qe(-this._previousScrollPosition.left),n.style.top=Qe(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),DA&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),DA&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class zW{constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(st(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class CA{enable(){}disable(){}attach(){}}function sb(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function IA(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class $W{constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();sb(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let GW=(()=>{class e{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new CA,this.close=s=>new zW(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new UW(this._viewportRuler,this._document),this.reposition=s=>new $W(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static#e=this.\u0275fac=function(i){return new(i||e)(E(yA),E(wA),E(B),E(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class qW{constructor(n){if(this.scrollStrategy=new CA,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class WW{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let MA=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YW=(()=>{class e extends MA{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),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)}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae),E(B,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ZW=(()=>{class e extends MA{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=sr(o)},this._clickListener=o=>{const s=sr(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||e)(E(ae),E(ut),E(B,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),SA=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||V_()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new ne,this._outsidePointerEvents=new ne,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Wt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Qe(this._config.width),n.height=Qe(this._config.height),n.minWidth=Qe(this._config.minWidth),n.minHeight=Qe(this._config.minHeight),n.maxWidth=Qe(this._config.maxWidth),n.maxHeight=Qe(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const r=Bu(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(Mt(Es(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const TA="cdk-overlay-connected-position-bounding-box",KW=/([A-Za-z%]+)$/;class QW{get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ne,this._resizeSubscription=We.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(TA),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Qr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(TA),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=RA(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,m=this._subtractOverflows(o.width,0-s,s+o.width-i.width),p=this._subtractOverflows(o.height,f,h),g=m*p;return{visibleArea:g,isCompletelyWithinViewport:o.width*o.height===g,fitsInViewportVertically:p===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=AA(this._overlayRef.getConfig().minHeight),a=AA(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=RA(t),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:n.xm&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)f=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)u=n.x,d=i.right-n.x;else{const h=Math.min(i.right-n.x+i.left,n.x),m=this._lastBoundingBoxSize.width;d=2*h,u=n.x-h,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-m/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Qe(i.height),r.top=Qe(i.top),r.bottom=Qe(i.bottom),r.width=Qe(i.width),r.left=Qe(i.left),r.right=Qe(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Qe(o)),s&&(r.maxWidth=Qe(s))}this._lastBoundingBoxSize=i,Qr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Qr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Qr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Qr(i,this._getExactOverlayY(t,n,d)),Qr(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=Qe(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Qe(s.maxWidth):o&&(i.maxWidth="")),Qr(this._pane.style,i)}_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Qe(o.y),r}_getExactOverlayX(n,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Qe(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:IA(n,i),isOriginOutsideView:sb(n,i),isOverlayClipped:IA(t,i),isOverlayOutsideView:sb(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Bu(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Ee)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function Qr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function AA(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(KW);return t&&"px"!==t?null:parseFloat(n)}return e||null}function RA(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const NA="cdk-global-overlay-wrapper";class e9{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(NA),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",m="",p="";l?p="flex-start":"center"===d?(p="center",f?m=u:h=u):f?"left"===d||"end"===d?(p="flex-end",h=u):("right"===d||"start"===d)&&(p="flex-start",m=u):"left"===d||"start"===d?(p="flex-start",h=u):("right"===d||"end"===d)&&(p="flex-end",m=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":m,t.justifyContent=p,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(NA),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let t9=(()=>{class e{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new e9}flexibleConnectedTo(t){return new QW(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||e)(E(wA),E(ae),E(ut),E(SA))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),n9=0,As=(()=>{class e{constructor(t,i,r,o,s,a,l,c,d,u,f,h){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new qW(t);return s.direction=s.direction||this._directionality.value,new XW(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+n9++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Ci)),new jW(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||e)(E(GW),E(SA),E(Aa),E(t9),E(YW),E(Ct),E(B),E(ae),E(z_),E(nC),E(ZW),E(ei,8))};static#t=this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const o9={provide:new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=C(As);return()=>e.scrollStrategies.reposition()}}),deps:[As],useFactory:function r9(e){return()=>e.scrollStrategies.reposition()}};let s9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({providers:[As,o9],imports:[Nl,HW,EA,EA]})}return e})();const a9=["tooltip"],OA=new x("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const e=C(As);return()=>e.scrollStrategies.reposition({scrollThrottle:20})}}),c9={provide:OA,deps:[As],useFactory:function l9(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},u9=new x("mat-tooltip-default-options",{providedIn:"root",factory:function d9(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),FA="tooltip-panel",PA=Ss({passive:!0});let g9=(()=>{class e{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=ar(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=ar(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=nT(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=nT(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,r,o,s,a,l,c,d,u,f,h){this._overlay=t,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=f,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=_9,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ne,this._scrollStrategy=d,this._document=h,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)),u.change.pipe(Mt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Mt(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{t.removeEventListener(i,r,PA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new xA(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Mt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof Ee)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&t||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(Mt(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${FA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Mt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Mt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Mt(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!function QS(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const i=t.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(t){const r=!this._dir||"ltr"==this._dir.value;return"top"===t.originY?t.offsetY=-8:"bottom"===t.originY?t.offsetY=8:"start"===t.originX?t.offsetX=r?-8:8:"end"===t.originX&&(t.offsetX=r?8:-8),t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&t||"right"==i&&!t?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&t||"right"==i&&!t?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Wt(1),Mt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){const{overlayY:i,originX:r,originY:o}=t;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${FA}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==t.x&&void 0!==t.y&&(i=t),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{const i=t.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,PA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(t.clientX,t.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const i=this._elementRef.nativeElement,r=i.style;("on"===t||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===t||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(i){return new(i||e)(b(As),b(Ee),b(yA),b(Pn),b(B),b(ut),b(RG),b(H_),b(OA),b(z_),b(u9,8),b(ae))};static#t=this.\u0275dir=A({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){2&i&&re("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[F.None,"matTooltipPosition","position"],positionAtOrigin:[F.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[F.None,"matTooltipDisabled","disabled"],showDelay:[F.None,"matTooltipShowDelay","showDelay"],hideDelay:[F.None,"matTooltipHideDelay","hideDelay"],touchGestures:[F.None,"matTooltipTouchGestures","touchGestures"],message:[F.None,"matTooltip","message"],tooltipClass:[F.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return e})(),_9=(()=>{class e{constructor(t,i,r){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ne,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===r}show(t){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}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:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>24&&t.width>=200}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(t?o:r),i.classList.add(t?r:o),this._isVisible=t,t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static#e=this.\u0275fac=function(i){return new(i||e)(b(ps),b(Ee),b(ei,8))};static#t=this.\u0275cmp=At({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(1&i&&si(a9,7),2&i){let o;_t(o=bt())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,r){1&i&&_e("mouseleave",function(s){return r._handleMouseLeave(s)}),2&i&&$m("zoom",r.isVisible()?1:null)},standalone:!0,features:[Ft],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(i,r){if(1&i){const o=ls();T(0,"div",1,0),_e("animationend",function(a){return Nn(o),kn(r._handleAnimationEnd(a))}),T(2,"div",2),J(3),R()()}2&i&&(re("mdc-tooltip--multiline",r._isMultiline),Be("ngClass",r.tooltipClass),G(3),ai(r.message))},dependencies:[hC],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})}return e})(),b9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Fe({type:e});static#n=this.\u0275inj=ke({providers:[c9],imports:[$G,jp,s9,ft,ft,rb]})}return e})(),v9=(()=>{class e{transform(t){return!t||Number.isNaN(t)||t<0?"00:00.0":new Date(1e3*t).toISOString().slice(14,-3)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=Rt({name:"stopwatchDuration",type:e,pure:!0,standalone:!0})}return e})();function y9(e,n){1&e&&(T(0,"mat-icon"),J(1,"pause"),R())}function w9(e,n){1&e&&(T(0,"mat-icon"),J(1,"play_arrow"),R())}function E9(e,n){if(1&e){const t=ls();T(0,"button",24),_e("click",function(){const r=Nn(t).$implicit;return kn(lt().updateWaterRatio.emit(r))}),J(1),R()}if(2&e){const t=n.$implicit;re("cr-selected",lt().waterRatio===t),Ye("id","waterRatio"+t),G(),us(" 1:",t," ")}}function x9(e,n){if(1&e){const t=ls();T(0,"div",17)(1,"button",25),_e("click",function(){return Nn(t),kn(lt().updateBlendRatio.emit(2))}),J(2," 1:1 "),R(),T(3,"button",25),_e("click",function(){return Nn(t),kn(lt().updateBlendRatio.emit(3))}),J(4," 1:2 "),R(),T(5,"button",25),_e("click",function(){return Nn(t),kn(lt().updateBlendRatio.emit(4))}),J(6," 1:3 "),R(),T(7,"button",25),_e("click",function(){return Nn(t),kn(lt().updateBlendRatio.emit(5))}),J(8," 1:4 "),R(),T(9,"button",25),_e("click",function(){return Nn(t),kn(lt().updateBlendRatio.emit(6))}),J(10," 1:5 "),R()()}if(2&e){const t=lt();G(),re("cr-selected",2===t.blendRatio),Be("disabled",!t.useBlendRatio),G(2),re("cr-selected",3===t.blendRatio),Be("disabled",!t.useBlendRatio),G(2),re("cr-selected",4===t.blendRatio),Be("disabled",!t.useBlendRatio),G(2),re("cr-selected",5===t.blendRatio),Be("disabled",!t.useBlendRatio),G(2),re("cr-selected",6===t.blendRatio),Be("disabled",!t.useBlendRatio)}}function D9(e,n){if(1&e&&(T(0,"div",23)(1,"span"),J(2),R(),T(3,"span",21),J(4,"g"),R()(),T(5,"div",23)(6,"span",20),J(7,"\ufe62"),R(),T(8,"span"),J(9),R(),T(10,"span",21),J(11,"g"),R()()),2&e){const t=lt();G(2),ai(t.Utils.roundDecimal(t.grounds/t.blendRatio)),G(7),ai(t.Utils.roundDecimal(t.grounds*(t.blendRatio-1)/t.blendRatio))}}function C9(e,n){1&e&&(T(0,"span",20),J(1,"\ufe66"),R())}let I9=(()=>{class e{constructor(t){this.fb=t,this.waterRatio=Zt.waterRatio,this.useBlendRatio=Zt.useBlendRatio,this.blendRatio=Zt.blendRatio,this.brew=Zt.totalBrew,this.brewUnit=Zt.totalBrewUnit,this.grounds=0,this.groundsInOunces=0,this.groundsInML=0,this.groundsInCups=0,this.stopwatchStatus=Yt.NotStarted,this.stopwatchDuration=0,this.updateWaterRatio=new xe,this.toggleUseBlendRatio=new xe,this.updateBlendRatio=new xe,this.updateTotalBrew=new xe,this.updateTotalBrewUnit=new xe,this.toggleStopwatchRun=new xe,this.resetStopwatch=new xe,this.StopwatchStatus=Yt,this.VolumeUnit=Ds,this.Utils=ir,this.waterRatioOptions=[...Array(22).keys()].map(i=>i+1),this.destroyRef=C(Jn),this.canCalc=i=>{if(!i)return null;const r=i.get("waterRatio"),o=i.get("brew");return r&&o?r.value?o.value?null:{brewEmpty:"Brew is required."}:{waterRatioEmtpy:"Water ratio is required"}:null}}ngOnInit(){this.form=this.fb.nonNullable.group({waterRatio:[this.waterRatio,[Gr.required,Gr.pattern("^[0-9]*$"),Gr.min(3)]],brew:[this.brew,[Gr.required,Gr.pattern("^([0-9]+.?[0-9]*|.[0-9]+)$"),Gr.min(0)]]},{validators:[this.canCalc]}),this.form.controls.waterRatio.valueChanges.pipe(gu(),st(t=>!Number.isNaN(t)),Vt(t=>this.updateWaterRatio.emit(t)),_u(this.destroyRef)).subscribe(),this.form.controls.brew.valueChanges.pipe(gu(),st(t=>!Number.isNaN(t)),Vt(t=>this.updateTotalBrew.emit(t)),_u(this.destroyRef)).subscribe()}ngAfterViewInit(){document.getElementById(`waterRatio${this.waterRatio}`)?.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}ngOnChanges(t){if(t.brew?.currentValue){const i=t.brew?.currentValue;this.form?.patchValue({brew:i},{emitEvent:!1})}}static#e=this.\u0275fac=function(i){return new(i||e)(b(Z4))};static#t=this.\u0275cmp=At({type:e,selectors:[["app-calc"]],inputs:{waterRatio:"waterRatio",useBlendRatio:"useBlendRatio",blendRatio:"blendRatio",brew:"brew",brewUnit:"brewUnit",grounds:"grounds",groundsInOunces:"groundsInOunces",groundsInML:"groundsInML",groundsInCups:"groundsInCups",stopwatchStatus:"stopwatchStatus",stopwatchDuration:"stopwatchDuration"},outputs:{updateWaterRatio:"updateWaterRatio",toggleUseBlendRatio:"toggleUseBlendRatio",updateBlendRatio:"updateBlendRatio",updateTotalBrew:"updateTotalBrew",updateTotalBrewUnit:"updateTotalBrewUnit",toggleStopwatchRun:"toggleStopwatchRun",resetStopwatch:"resetStopwatch"},standalone:!0,features:[vn,Ft],decls:67,vars:23,consts:[[1,"cr-stopwatch-container"],[1,"cr-stopwatch-duration"],["aria-label","Toggle stopwatch run","mat-flat-button","",1,"cr-stopwatch-run",3,"click"],["aria-label","Reset stopwatch","mat-flat-button","",1,"cr-stopwatch-reset",3,"click"],[1,"cr-form",3,"formGroup"],[1,"cr-card-title"],[1,"cr-ratio-toggle-group","cr-scroll-shadows"],["mat-icon-button","",3,"cr-selected"],["for","totalBrew",1,"cr-card-title"],[1,"cr-brew-input"],["floatLabel","auto","appearance","fill"],["id","totalBrew","matInput","","inputmode","numeric","pattern","[0-9]+\\.?[0-9]*|\\.[0-9]+","type","number","min","0","step","10","placeholder","0","formControlName","brew","autocomplete","off"],["matSuffix","",1,"cr-card-unit"],[1,"cr-ratio-toggle-group",2,"justify-content","flex-end"],["aria-label","Total brew in milliliters","mat-icon-button","",3,"click"],["aria-label","Total brew in ounces","mat-icon-button","",3,"click"],["aria-label","Toggle blend ratio use",3,"change","checked"],[1,"cr-ratio-toggle-group"],[1,"cr-card-title",2,"padding-top","1rem"],[1,"cr-card-value",2,"margin-bottom","1rem"],[1,"cr-card-math"],[1,"cr-card-unit"],["matTooltip","Based on one cup of ground or whole bean weighing roughly 82 grams","matTooltipShowDelay","0","matTooltipPosition","above"],[1,"cr-card-value"],["mat-icon-button","",3,"click"],["mat-icon-button","",3,"click","disabled"]],template:function(i,r){1&i&&(T(0,"mat-card")(1,"mat-card-content")(2,"div",0)(3,"div",1),J(4),ln(5,"stopwatchDuration"),R(),T(6,"button",2),_e("click",function(){return r.toggleStopwatchRun.emit()}),Le(7,y9,2,0,"mat-icon")(8,w9,2,0,"mat-icon"),R(),T(9,"button",3),_e("click",function(){return r.resetStopwatch.emit()}),T(10,"mat-icon"),J(11,"refresh"),R()()()()(),T(12,"form",4)(13,"mat-card")(14,"mat-card-content")(15,"div",5),J(16,"Water Ratio"),R(),T(17,"div",6),function vE(e,n,t,i,r,o,s,a,l,c,d,u,f){Fn("NgControlFlow");const h=void 0!==l,m=y(),p=a?s.bind(m[Pe][Ce]):s,g=new vL(h,p);m[W+e]=g,Le(e+1,n,t,i,r,o),h&&Le(e+2,l,c,d,u,f)}(18,E9,2,4,"button",7,bE),R(),T(20,"div",8),J(21," Total Brew "),R(),T(22,"div",9)(23,"mat-form-field",10),rt(24,"input",11),T(25,"span",12),J(26),R()()(),T(27,"div",13)(28,"button",14),_e("click",function(){return r.updateTotalBrewUnit.emit(r.VolumeUnit.ML)}),J(29," ml "),R(),T(30,"button",15),_e("click",function(){return r.updateTotalBrewUnit.emit(r.VolumeUnit.OZ)}),J(31," oz "),R()(),T(32,"div",5)(33,"span"),J(34,"Blend Ratio"),R(),T(35,"mat-slide-toggle",16),_e("change",function(){return r.toggleUseBlendRatio.emit()}),R()(),Le(36,x9,11,15,"div",17),rt(37,"mat-divider"),T(38,"div",18),J(39," Grounds "),R(),Le(40,D9,12,2),T(41,"div",19),Le(42,C9,2,0,"span",20),T(43,"span"),J(44),R(),T(45,"span",21),J(46,"g"),R()(),T(47,"div",5)(48,"span"),J(49,"Approx. Grounds in Volume"),R(),T(50,"mat-icon",22),J(51," info "),R()(),T(52,"div",23)(53,"span"),J(54),R(),T(55,"span",21),J(56,"ml"),R()(),T(57,"div",23)(58,"span"),J(59),R(),T(60,"span",21),J(61,"oz"),R()(),T(62,"div",23)(63,"span"),J(64),R(),T(65,"span",21),J(66,"cups"),R()()()()()),2&i&&(G(4),us(" ",cn(5,21,r.stopwatchDuration)," "),G(2),re("cr-stopwatch-running",r.stopwatchStatus===r.StopwatchStatus.Running)("cr-stopwatch-paused",r.stopwatchStatus===r.StopwatchStatus.Paused),G(),Ze(7,r.stopwatchStatus===r.StopwatchStatus.Running?7:-1),G(),Ze(8,r.stopwatchStatus!==r.StopwatchStatus.Running?8:-1),G(4),Be("formGroup",r.form),G(6),function yE(e){const n=D(null),t=Dt();try{const i=y(),r=i[I],o=i[t];if(void 0===o.liveCollection){const a=t+1,l=Ym(i,a),c=Zm(r,a);o.liveCollection=new yL(l,i,c)}else o.liveCollection.reset();const s=o.liveCollection;if(function gL(e,n,t){let i,r,o=0,s=e.length-1;if(Array.isArray(n)){let a=n.length-1;for(;o<=s&&o<=a;){const l=e.at(o),c=n[o],d=qm(o,l,o,c,t);if(0!==d){d<0&&e.updateValue(o,c),o++;continue}const u=e.at(s),f=n[a],h=qm(s,u,a,f,t);if(0!==h){h<0&&e.updateValue(s,f),s--,a--;continue}const m=t(o,l),p=t(s,u),g=t(o,c);if(Object.is(g,p)){const v=t(a,f);Object.is(v,m)?(e.swap(o,s),e.updateValue(s,f),a--,s--):e.move(s,o),e.updateValue(o,c),o++}else if(i??=new _E,r??=gE(e,o,s,t),Wm(e,i,o,g))e.updateValue(o,c),o++,s++;else if(r.has(g))i.set(m,e.detach(o)),s--;else{const v=e.create(o,n[o]);e.attach(o,v),o++,s++}}for(;o<=a;)pE(e,i,t,o,n[o]),o++}else if(null!=n){const a=n[Symbol.iterator]();let l=a.next();for(;!l.done&&o<=s;){const c=e.at(o),d=l.value,u=qm(o,c,o,d,t);if(0!==u)u<0&&e.updateValue(o,d),o++,l=a.next();else{i??=new _E,r??=gE(e,o,s,t);const f=t(o,d);if(Wm(e,i,o,f))e.updateValue(o,d),o++,s++,l=a.next();else if(r.has(f)){const h=t(o,c);i.set(h,e.detach(o)),s--}else e.attach(o,e.create(o,d)),o++,s++,l=a.next()}}for(;!l.done;)pE(e,i,t,e.length,l.value),l=a.next()}for(;o<=s;)e.destroy(e.detach(s--));i?.forEach(a=>{e.destroy(a)})}(s,e,o.trackByFn),s.updateIndexes(),o.hasEmptyBlock){const a=On(),l=0===s.length;if(ze(i,a,l)){const c=t+2,d=Ym(i,c);if(l){const u=Zm(r,c),f=$o(d,u.tView.ssrId);Ea(d,wa(i,u,void 0,{dehydratedView:f}),0,zo(u,f))}else im(d,0)}}}finally{D(n)}}(r.waterRatioOptions),G(8),us(" ",r.brewUnit," "),G(2),re("cr-selected",r.brewUnit===r.VolumeUnit.ML),G(2),re("cr-selected",r.brewUnit===r.VolumeUnit.OZ),G(5),Be("checked",r.useBlendRatio),G(),Ze(36,r.useBlendRatio?36:-1),G(4),Ze(40,r.useBlendRatio?40:-1),G(2),Ze(42,r.useBlendRatio?42:-1),G(2),ai(r.grounds),G(10),ai(r.groundsInML),G(5),ai(r.groundsInOunces),G(5),ai(r.groundsInCups))},dependencies:[xq,yq,Eq,Nq,AT,RT,Oq,kq,W_,v6,h6,aW,sW,mW,hW,xW,nb,b9,g9,X4,FS,Cu,C_,yS,wS,F_,N_,Tl,T_,v9],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:.5rem;justify-content:center;max-width:30rem;padding:1rem;overflow:hidden}[_nghost-%COMP%] .cr-brew-input{display:flex;align-items:baseline;font-size:2rem;margin-bottom:-.6rem}[_nghost-%COMP%] .cr-brew-input input{font-size:2rem}.cr-card-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;color:#ffffff8a;font-size:.875rem}.cr-card-value[_ngcontent-%COMP%]{font-size:2rem;line-height:2rem;text-align:right}.mat-mdc-card[_ngcontent-%COMP%] .cr-card-value[_ngcontent-%COMP%]:not(:last-child){margin-bottom:.5rem}.cr-card-math[_ngcontent-%COMP%]{color:#ffffff8a}.cr-card-unit[_ngcontent-%COMP%]{margin-left:.4rem;color:#d69060;font-weight:500;font-size:1.4rem}.cr-stopwatch-container[_ngcontent-%COMP%]{display:grid;grid-template:"duration duration" "run reset"/1fr 1fr;align-items:center;column-gap:.5rem;row-gap:.5rem}.cr-stopwatch-container[_ngcontent-%COMP%] .mat-mdc-unelevated-button[_ngcontent-%COMP%]{height:3.2rem;padding:0;border-radius:.8rem}.cr-stopwatch-container[_ngcontent-%COMP%] .mat-mdc-unelevated-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:1.5rem}.cr-stopwatch-duration[_ngcontent-%COMP%]{grid-area:duration;font-weight:500;font-size:2.5rem;line-height:2.5rem;text-align:center}.cr-stopwatch-run[_ngcontent-%COMP%]{grid-area:run}.cr-stopwatch-reset[_ngcontent-%COMP%]{grid-area:reset}.cr-stopwatch-run.cr-stopwatch-running[_ngcontent-%COMP%]{color:#e53835}.cr-stopwatch-run.cr-stopwatch-paused[_ngcontent-%COMP%]{color:#43a047}.cr-form[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;overflow:hidden}.cr-ratio-toggle-group[_ngcontent-%COMP%]{display:flex;gap:1rem;justify-content:space-between;margin-bottom:1rem;border-radius:1.5rem}.cr-ratio-toggle-group[_ngcontent-%COMP%] .mat-mdc-icon-button.cr-selected[_ngcontent-%COMP%]{color:#d69060;font-weight:600;background:#ffffff1a}.cr-scroll-shadows[_ngcontent-%COMP%]{overflow-y:auto;background:linear-gradient(90deg,#353535,#35353500),linear-gradient(270deg,#353535,#35353500 70%),linear-gradient(90deg,#1e1e1e,#353535),linear-gradient(270deg,#1e1e1e,#353535);background-color:#ffffff1a;background-repeat:no-repeat;background-position:top left,top right,top left,top right;background-size:40px 100%,40px 100%,20px 100%,20px 100%;background-attachment:local,local,scroll,scroll}'],changeDetection:0})}return e})();(function VU(e,n){return QB({rootComponent:e,...BC(n)})})((()=>{class e{constructor(t){this.store=t,this.waterRatio$=t.select(VM),this.useBlendRatio$=t.select(BM),this.blendRatio$=t.select(V8),this.totalBrewDisplay$=t.select(B8),this.totalBrewUnit$=t.select(jM),this.grounds$=t.select(HM),this.groundsInOunces$=t.select(d_),this.groundsInML$=t.select(j8),this.groundsInCups$=t.select(H8),this.stopwatchStatus$=t.select(zM),this.stopwatchDuration$=t.select(GM)}updateWaterRatio(t){this.store.dispatch(r_({waterRatio:t}))}toggleUseBlendRatio(){this.store.dispatch(o_())}updateBlendRatio(t){this.store.dispatch(s_({blendRatio:t}))}updateTotalBrew(t){this.store.dispatch(a_({brew:t}))}updateTotalBrewUnit(t){this.store.dispatch(l_({unit:t}))}toggleStopwatchRun(){this.store.dispatch(f_())}resetStopwatch(){this.store.dispatch(Du())}static#e=this.\u0275fac=function(i){return new(i||e)(b(nr))};static#t=this.\u0275cmp=At({type:e,selectors:[["app-root"]],standalone:!0,features:[Ft],decls:12,vars:33,consts:[[3,"updateWaterRatio","toggleUseBlendRatio","updateBlendRatio","updateTotalBrew","updateTotalBrewUnit","toggleStopwatchRun","resetStopwatch","waterRatio","useBlendRatio","blendRatio","brew","brewUnit","grounds","groundsInOunces","groundsInML","groundsInCups","stopwatchStatus","stopwatchDuration"]],template:function(i,r){1&i&&(T(0,"app-calc",0),ln(1,"async"),ln(2,"async"),ln(3,"async"),ln(4,"async"),ln(5,"async"),ln(6,"async"),ln(7,"async"),ln(8,"async"),ln(9,"async"),ln(10,"async"),ln(11,"async"),_e("updateWaterRatio",function(s){return r.updateWaterRatio(s)})("toggleUseBlendRatio",function(){return r.toggleUseBlendRatio()})("updateBlendRatio",function(s){return r.updateBlendRatio(s)})("updateTotalBrew",function(s){return r.updateTotalBrew(s)})("updateTotalBrewUnit",function(s){return r.updateTotalBrewUnit(s)})("toggleStopwatchRun",function(){return r.toggleStopwatchRun()})("resetStopwatch",function(){return r.resetStopwatch()}),R()),2&i&&Be("waterRatio",cn(1,11,r.waterRatio$))("useBlendRatio",cn(2,13,r.useBlendRatio$))("blendRatio",cn(3,15,r.blendRatio$))("brew",cn(4,17,r.totalBrewDisplay$))("brewUnit",cn(5,19,r.totalBrewUnit$))("grounds",cn(6,21,r.grounds$))("groundsInOunces",cn(7,23,r.groundsInOunces$))("groundsInML",cn(8,25,r.groundsInML$))("groundsInCups",cn(9,27,r.groundsInCups$))("stopwatchStatus",cn(10,29,r.stopwatchStatus$))("stopwatchDuration",cn(11,31,r.stopwatchDuration$))},dependencies:[I9,vC],styles:["[_nghost-%COMP%]{display:flex;align-items:flex-start;justify-content:center;width:100%;height:100%;-webkit-user-select:none;user-select:none}"],changeDetection:0})}return e})(),X8).catch(e=>console.error(e))},16:(Vl,Bl)=>{var _n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(D){return typeof D}:function(D){return D&&"function"==typeof Symbol&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D};function Fi(D){return Object.assign(new D.constructor,D)}Bl.Ay=function Ne(D,$){if("object"!==(typeof $>"u"?"undefined":_n($)))throw new Error("update is not an object");if($.hasOwnProperty("$set"))return $.$set;if($.hasOwnProperty("$push")){if(null==D&&(D=[]),!Array.isArray(D))throw new Error("view is not an array in push");if(!Array.isArray($.$push))throw new Error("update is not an array in push");if(0===$.$push.length)return D;var Kt=Fi(D),to=!0,no=!1,io=void 0;try{for(var Os,ks=$.$push[Symbol.iterator]();!(to=(Os=ks.next()).done);to=!0)Kt.push(Os.value)}catch(bn){no=!0,io=bn}finally{try{!to&&ks.return&&ks.return()}finally{if(no)throw io}}return Kt}if($.hasOwnProperty("$unshift")){if(null==D&&(D=[]),!Array.isArray(D))throw new Error("view is not an array in unshift");if(!Array.isArray($.$unshift))throw new Error("update is not an array in unshift");if(0===$.$unshift.length)return D;var Fs=Fi(D),ro=!0,oo=!1,so=void 0;try{for(var Ps,hr=$.$unshift.reverse()[Symbol.iterator]();!(ro=(Ps=hr.next()).done);ro=!0)Fs.unshift(Ps.value)}catch(bn){oo=!0,so=bn}finally{try{!ro&&hr.return&&hr.return()}finally{if(oo)throw so}}return Fs}if($.hasOwnProperty("$splice")){if(null==D&&(D=[]),!Array.isArray(D))throw new Error("view is not an array in splice");if(!Array.isArray($.$splice))throw new Error("update is not an array in splice");var Vi=Fi(D),hi=!0,mi=!1,Ls=void 0;try{for(var ao,Vs=$.$splice[Symbol.iterator]();!(hi=(ao=Vs.next()).done);hi=!0){var lo=ao.value;if(!Array.isArray(lo))throw new Error("update element is not an array");Vi.splice.apply(Vi,lo)}}catch(bn){mi=!0,Ls=bn}finally{try{!hi&&Vs.return&&Vs.return()}finally{if(mi)throw Ls}}return Vi}if($.hasOwnProperty("$apply")){if("function"!=typeof $.$apply)throw new Error("update is not a function in apply");var Bi=void 0;return Array.isArray(D)||"object"===(typeof D>"u"?"undefined":_n(D))&&null!==D?Bi=Fi(D):D!==Object(D)&&(Bi=D),$.$apply(Bi)}null==D&&(D={});var vt=Fi(D),$n=!1;if($.hasOwnProperty("$merge")){if("object"!==(typeof D>"u"?"undefined":_n(D)))throw new Error("view is not an object in merge");if("object"!==(typeof $>"u"?"undefined":_n($)))throw new Error("update is not an object in merge");var co=!0,Bs=!1,Ul=void 0;try{for(var zl,mr=Object.keys($.$merge)[Symbol.iterator]();!(co=(zl=mr.next()).done);co=!0){var $l=zl.value;if(!($l in D)||$.$merge[$l]!==D[$l]){$n=!0;break}}}catch(bn){Bs=!0,Ul=bn}finally{try{!co&&mr.return&&mr.return()}finally{if(Bs)throw Ul}}$n&&Object.assign(vt,$.$merge)}if($.hasOwnProperty("$unset")){if("object"!==(typeof D>"u"?"undefined":_n(D)))throw new Error("view is not an object in unset");if("object"===_n($.$unset)){var Gl=!0,js=!1,ql=void 0;try{for(var Wl,Hs=$.$unset[Symbol.iterator]();!(Gl=(Wl=Hs.next()).done);Gl=!0){var nf=Wl.value;nf in vt&&(delete vt[nf],$n=!0)}}catch(bn){js=!0,ql=bn}finally{try{!Gl&&Hs.return&&Hs.return()}finally{if(js)throw ql}}}else $.$unset in vt&&(delete vt[$.$unset],$n=!0)}if(Array.isArray(D)){for(var uo in $){var pr=parseInt(uo);if(uo!=pr)throw new Error("non-numeric key in array update");vt[pr]=Ne(vt[pr],$[uo]),vt[pr]!==D[pr]&&($n=!0)}return $n?vt:D}if("object"===(typeof D>"u"?"undefined":_n(D))){for(var Qt in $){var ee=Qt;"$"===Qt[0]&&"$"!==Qt[1]||(Qt.startsWith("$$")&&(Qt=Qt.substr(1)),vt[Qt]=Ne(vt[Qt],$[ee]),(vt[Qt]!==D[Qt]||void 0===vt[Qt]&&!D.hasOwnProperty(Qt))&&($n=!0))}return $n?vt:D}throw new Error("view not an array or object")}}},Vl=>{Vl(Vl.s=984)}]); \ No newline at end of file diff --git a/ngsw-worker.js b/ngsw-worker.js index a37fee7..f5f4dde 100644 --- a/ngsw-worker.js +++ b/ngsw-worker.js @@ -1029,7 +1029,7 @@ ${error.stack}`; }; // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs - var SW_VERSION = "17.2.4"; + var SW_VERSION = "17.3.1"; var DEBUG_LOG_BUFFER_SIZE = 100; var DebugHandler = class { constructor(driver, adapter2) { diff --git a/ngsw.json b/ngsw.json index ec297a2..ac375c0 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1711724234614, + "timestamp": 1711724245497, "index": "/coffee-ratio/index.html", "assetGroups": [ { @@ -13,10 +13,10 @@ "urls": [ "/coffee-ratio/favicon.ico", "/coffee-ratio/index.html", - "/coffee-ratio/main.79e27489ac206c61.js", + "/coffee-ratio/main.b55d1fb77146fd9a.js", "/coffee-ratio/manifest.webmanifest", - "/coffee-ratio/polyfills.1c1bed7a48dbc8e1.js", - "/coffee-ratio/runtime.3b49c70d320c55e8.js", + "/coffee-ratio/polyfills.5611b38346190e91.js", + "/coffee-ratio/runtime.938669fc602ba861.js", "/coffee-ratio/styles.ff572bf882baaa98.css" ], "patterns": [] @@ -100,11 +100,11 @@ "/coffee-ratio/assets/images/splash/apple-splash-750-1334.jpg": "af0708b518eb2f4e1dc614748c2c008429370746", "/coffee-ratio/assets/images/splash/apple-splash-828-1792.jpg": "7cb97556297e4a853bc5764f0c91bb96e9f30b1e", "/coffee-ratio/favicon.ico": "4ac7d826fbece35296f9cb73c56f76f7818373bc", - "/coffee-ratio/index.html": "bfe556e572204af0bdf7555942da4b40024fbaa9", - "/coffee-ratio/main.79e27489ac206c61.js": "c0eb6fa46805a4a05596ffcfb0b266d3cf86325f", + "/coffee-ratio/index.html": "cad57f004feb757132ec33f3f4604be5d34de4ce", + "/coffee-ratio/main.b55d1fb77146fd9a.js": "37c14a5a775c3e663f70b0cc181bf0f0c726418c", "/coffee-ratio/manifest.webmanifest": "1e06d70000edd2c6ce1709c5fdc1ffaaae780b98", - "/coffee-ratio/polyfills.1c1bed7a48dbc8e1.js": "bef8146e121af8fef902a1ddd7513cf3aa13ebea", - "/coffee-ratio/runtime.3b49c70d320c55e8.js": "dd173daf6540914142f6f5e4f9239d0982fa04f8", + "/coffee-ratio/polyfills.5611b38346190e91.js": "92de1fe614b7e5781c167cffbf1aa7f470a8ae66", + "/coffee-ratio/runtime.938669fc602ba861.js": "86e47a871422a676cae965736cc802ea157ec04b", "/coffee-ratio/styles.ff572bf882baaa98.css": "07c5c9ed404d0caee5491913fd36f355a4999b5e" }, "navigationUrls": [ diff --git a/polyfills.1c1bed7a48dbc8e1.js b/polyfills.5611b38346190e91.js similarity index 99% rename from polyfills.1c1bed7a48dbc8e1.js rename to polyfills.5611b38346190e91.js index 50e14e0..cd15381 100644 --- a/polyfills.1c1bed7a48dbc8e1.js +++ b/polyfills.5611b38346190e91.js @@ -1 +1 @@ -"use strict";(self.webpackChunkcoffee_ratio=self.webpackChunkcoffee_ratio||[]).push([[260],{728:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(j,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||t[O]&&(K=t[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const fe=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,be=Object.getPrototypeOf,De=Object.create,ct=Array.prototype.slice,Ze="addEventListener",Oe="removeEventListener",Ne=Zone.__symbol__(Ze),Ie=Zone.__symbol__(Oe),ce="true",ae="false",me=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",_e=Pe?window:void 0,Y=Pe&&_e||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!_e.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!_e.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function qe(t,n,i){let o=fe(t,n);if(!o&&i&&fe(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},pe(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(t,n){t[A("OriginalDelegate")]=n}let ze=!1,He=!1;function ht(){if(ze)return He;ze=!0;try{const t=_e.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const O=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[O];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function K(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{z(u,l,s)}catch(f){z(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function z(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),z(u,s[q],s[R]);else if(l!==G&&"function"==typeof g)try{g.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{z(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[J]),l===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const S=u[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=w);const Z=l.run(m,void 0,D&&m!==K&&m!==H?[]:[S]);z(s,!0,Z)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:z(new this(null),E,l)}static reject(l){return z(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of l)f++,s.push(e.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((m,S)=>{for(let D=0;D{g||(g=!0,m(Z))},Z=>{w.push(Z),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(l){let s,f,g=new this((S,D)=>{s=S,f=D});function w(S){s(S)}function m(S){f(S)}for(let S of l)B(S)||(S=this.resolve(S)),S.then(w,m);return g}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,g,w=new this((Z,V)=>{f=Z,g=V}),m=2,S=0;const D=[];for(let Z of l){B(Z)||(Z=this.resolve(Z));const V=S;try{Z.then(F=>{D[V]=s?s.thenCallback(F):F,m--,0===m&&f(D)},F=>{s?(D[V]=s.errorCallback(F),m--,0===m&&f(D)):g(F)})}catch(F){g(F)}m++,S++}return m-=2,0===m&&f(D),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(L),w=n.current;return this[q]==j?this[R].push(w,g,l,s):te(this,w,g,l,s),g}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const g=n.current;return this[q]==j?this[R].push(g,f,l,l):te(this,g,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(g,w){return new e((S,D)=>{f.call(this,S,D)}).then(g,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{Ee=!1}const dt={useG:!0},ne={},Ye={},$e=new RegExp("^"+me+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Ke(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=me+i,a=me+o;ne[t]={},ne[t][ae]=c,ne[t][ce]=a}function _t(t,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",p="prependListener",M="."+p+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,J){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[ne[_.type][J?ce:ae]];if(X){const j=[];if(1===X.length){const E=O(X[0],x,_);E&&j.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=be(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let z;_&&_.prepend&&(z=E[A(_.prepend)]=E[_.prepend]);const e=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=ne[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;m{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,ve&&(ve.taskData=null),nt&&(ee.once=!0),!Ee&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=D,ie.capture=Ge,ie.eventName=Z,F&&(ie.originalDelegate=V),S?ye.unshift(ie):ye.push(ie),m?D:void 0}};return E[c]=l(I,v,e,r,j),z&&(E[p]=l(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),m=arguments[1];if(!m)return P.apply(this,arguments);if(x&&!x(P,m,s,arguments))return;const S=ne[f];let D;S&&(D=S[w?ce:ae]);const Z=D&&s[D];if(Z)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=t.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=t.wrapWithCurrentZone(O[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=fe,i.ObjectCreate=De,i.ArraySlice=ct,i.patchClass=ge,i.wrapWithCurrentZone=Me,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=A("zoneTask");function Te(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Ce]=null))}};const B=Le(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=le(t,i,v=>function(p,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Ce],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Ce]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";Te(t,n,i,"Timeout"),Te(t,n,i,"Interval"),Te(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Te(t,"request","cancel","AnimationFrame"),Te(t,"mozRequest","mozCancel","AnimationFrame"),Te(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function gt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(we&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=_e.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,xe(c),i&&i.concat(a),be(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function mt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function O(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},fe=>{fe(fe.s=728)}]); \ No newline at end of file +"use strict";(self.webpackChunkcoffee_ratio=self.webpackChunkcoffee_ratio||[]).push([[461],{935:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(j,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new p(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new p(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new p(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||t[O]&&(K=t[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const fe=Object.getOwnPropertyDescriptor,pe=Object.defineProperty,be=Object.getPrototypeOf,De=Object.create,ct=Array.prototype.slice,Ze="addEventListener",Oe="removeEventListener",Ne=Zone.__symbol__(Ze),Ie=Zone.__symbol__(Oe),ce="true",ae="false",me=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",_e=Pe?window:void 0,Y=Pe&&_e||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!_e.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!_e.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function qe(t,n,i){let o=fe(t,n);if(!o&&i&&fe(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&t===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},pe(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(t,n){t[A("OriginalDelegate")]=n}let ze=!1,He=!1;function ht(){if(ze)return He;ze=!0;try{const t=_e.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const O=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[O];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function K(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{z(u,l,s)}catch(f){z(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function z(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),z(u,s[q],s[R]);else if(l!==G&&"function"==typeof g)try{g.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{z(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[J]),l===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const S=u[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=w);const Z=l.run(m,void 0,D&&m!==K&&m!==H?[]:[S]);z(s,!0,Z)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:z(new this(null),E,l)}static reject(l){return z(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of l)f++,s.push(e.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((m,S)=>{for(let D=0;D{g||(g=!0,m(Z))},Z=>{w.push(Z),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(l){let s,f,g=new this((S,D)=>{s=S,f=D});function w(S){s(S)}function m(S){f(S)}for(let S of l)B(S)||(S=this.resolve(S)),S.then(w,m);return g}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,g,w=new this((Z,V)=>{f=Z,g=V}),m=2,S=0;const D=[];for(let Z of l){B(Z)||(Z=this.resolve(Z));const V=S;try{Z.then(F=>{D[V]=s?s.thenCallback(F):F,m--,0===m&&f(D)},F=>{s?(D[V]=s.errorCallback(F),m--,0===m&&f(D)):g(F)})}catch(F){g(F)}m++,S++}return m-=2,0===m&&f(D),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(L),w=n.current;return this[q]==j?this[R].push(w,g,l,s):te(this,w,g,l,s),g}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const g=n.current;return this[q]==j?this[R].push(g,f,l,l):te(this,g,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[p]=f,u.prototype.then=function(g,w){return new e((S,D)=>{f.call(this,S,D)}).then(g,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=t[o];if(p)return n.call(p)}if(this===Error){const p=t[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{Ee=!1}const dt={useG:!0},ne={},Ye={},$e=new RegExp("^"+me+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Ke(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=me+i,a=me+o;ne[t]={},ne[t][ae]=c,ne[t][ce]=a}function _t(t,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",p="prependListener",M="."+p+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,J){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[ne[_.type][J?ce:ae]];if(X){const j=[];if(1===X.length){const E=O(X[0],x,_);E&&j.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=be(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let z;_&&_.prepend&&(z=E[A(_.prepend)]=E[_.prepend]);const e=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=ne[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;m{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,ve&&(ve.taskData=null),nt&&(ee.once=!0),!Ee&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=D,ie.capture=Ge,ie.eventName=Z,F&&(ie.originalDelegate=V),S?ye.unshift(ie):ye.push(ie),m?D:void 0}};return E[c]=l(I,v,e,r,j),z&&(E[p]=l(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),m=arguments[1];if(!m)return P.apply(this,arguments);if(x&&!x(P,m,s,arguments))return;const S=ne[f];let D;S&&(D=S[w?ce:ae]);const Z=D&&s[D];if(Z)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){const N=t.ObjectGetOwnPropertyDescriptor(O,p);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,p,N)):O[p]&&(O[p]=t.wrapWithCurrentZone(O[p],M))}else O[p]&&(O[p]=t.wrapWithCurrentZone(O[p],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=pe,i.ObjectGetOwnPropertyDescriptor=fe,i.ObjectCreate=De,i.ArraySlice=ct,i.patchClass=ge,i.wrapWithCurrentZone=Me,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=A("zoneTask");function Te(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(t,p.args),v}function b(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(p,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Ce]=null))}};const B=Le(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=le(t,i,v=>function(p,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Ce],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Ce]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";Te(t,n,i,"Timeout"),Te(t,n,i,"Interval"),Te(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Te(t,"request","cancel","AnimationFrame"),Te(t,"mozRequest","mozCancel","AnimationFrame"),Te(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function gt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(we&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=_e.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,xe(c),i&&i.concat(a),be(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function mt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function O(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function pt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},fe=>{fe(fe.s=935)}]); \ No newline at end of file diff --git a/runtime.3b49c70d320c55e8.js b/runtime.938669fc602ba861.js similarity index 92% rename from runtime.3b49c70d320c55e8.js rename to runtime.938669fc602ba861.js index c38df36..0910ef8 100644 --- a/runtime.3b49c70d320c55e8.js +++ b/runtime.938669fc602ba861.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},_={};function n(e){var o=_[e];if(void 0!==o)return o.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(o,r,c,f)=>{if(!r){var s=1/0;for(a=0;a=f)&&Object.keys(n.O).every(p=>n.O[p](r[l]))?r.splice(l--,1):(t=!1,f0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,c,f]},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={688:0};n.O.j=c=>0===e[c];var o=(c,f)=>{var l,u,[a,s,t]=f,i=0;if(a.some(h=>0!==e[h])){for(l in s)n.o(s,l)&&(n.m[l]=s[l]);if(t)var d=t(n)}for(c&&c(f);i{"use strict";var e,v={},_={};function n(e){var o=_[e];if(void 0!==o)return o.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(o,r,c,f)=>{if(!r){var s=1/0;for(a=0;a=f)&&Object.keys(n.O).every(p=>n.O[p](r[l]))?r.splice(l--,1):(t=!1,f0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,c,f]},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={121:0};n.O.j=c=>0===e[c];var o=(c,f)=>{var l,u,[a,s,t]=f,i=0;if(a.some(h=>0!==e[h])){for(l in s)n.o(s,l)&&(n.m[l]=s[l]);if(t)var d=t(n)}for(c&&c(f);i