@tilde-nlp/ngx-common 5.0.3 → 5.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,17 @@
1
- var cw=Object.defineProperty,dw=Object.defineProperties;var uw=Object.getOwnPropertyDescriptors;var Bo=Object.getOwnPropertySymbols;var cm=Object.prototype.hasOwnProperty,dm=Object.prototype.propertyIsEnumerable;var lm=(t,e,i)=>e in t?cw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,P=(t,e)=>{for(var i in e||={})cm.call(e,i)&&lm(t,i,e[i]);if(Bo)for(var i of Bo(e))dm.call(e,i)&&lm(t,i,e[i]);return t},Le=(t,e)=>dw(t,uw(e));var sc=(t,e)=>{var i={};for(var n in t)cm.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&Bo)for(var n of Bo(t))e.indexOf(n)<0&&dm.call(t,n)&&(i[n]=t[n]);return i};var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var fw=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var um=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var Ir=(t,e,i)=>(um(t,e,"read from private field"),i?i.call(t):e.get(t)),zo=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},fm=(t,e,i,n)=>(um(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var Ho=(t,e,i)=>new Promise((n,r)=>{var o=l=>{try{a(i.next(l))}catch(c){r(c)}},s=l=>{try{a(i.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((i=i.apply(t,e)).next())});function ee(t){let e=hm;return hm=t,e}function hw(){return Uo}function mw(t){if(!(mc(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ac)){if(!t.producerMustRecompute(t)&&!Go(t)){t.dirty=!1,t.lastCleanEpoch=ac;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=ac}}function pw(t){if(t.liveConsumerNode===void 0)return;let e=Uo;Uo=!0;try{for(let i of t.liveConsumerNode)i.dirty||mm(i)}finally{Uo=e}}function mm(t){t.dirty=!0,pw(t),t.consumerMarkedDirty?.(t)}function dc(t){return t&&(t.nextProducerIndex=0),ee(t)}function uc(t,e){if(ee(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(mc(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)hc(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Go(t){$o(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(mw(i),n!==i.version))return!0}return!1}function fc(t){if($o(t),mc(t))for(let e=0;e<t.producerNode.length;e++)hc(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function hc(t,e){if(gw(t),$o(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)hc(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],r=t.liveConsumerNode[e];$o(r),r.producerIndexOfThis[n]=e}}function mc(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function $o(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function gw(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function bw(){throw new Error}function pm(t){vw=t}function gm(t,e,i){let n=Object.create(_w);i&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let r=l=>{n.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(fc(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=lc)}let a=()=>{if(n.fn===null)return;if(hw())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!Go(n))return;n.hasRun=!0;let l=dc(n);try{n.cleanupFn(),n.cleanupFn=lc,n.fn(r)}finally{uc(n,l)}};return n.ref={notify:()=>mm(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Wo]:n},n.ref}var hm,Uo,ac,Wo,cc,vw,lc,_w,bm=p(()=>{"use strict";hm=null,Uo=!1,ac=1,Wo=Symbol("SIGNAL");cc={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:()=>{}};vw=bw;lc=()=>{},_w=Le(P({},cc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:lc})});function N(t){return typeof t=="function"}var Ae=p(()=>{"use strict"});function qo(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var pc=p(()=>{"use strict"});var Yo,vm=p(()=>{"use strict";pc();Yo=qo(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
1
+ var J0=Object.defineProperty,ew=Object.defineProperties;var tw=Object.getOwnPropertyDescriptors;var ts=Object.getOwnPropertySymbols;var Pm=Object.prototype.hasOwnProperty,Lm=Object.prototype.propertyIsEnumerable;var Nm=(t,e,i)=>e in t?J0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,M=(t,e)=>{for(var i in e||={})Pm.call(e,i)&&Nm(t,i,e[i]);if(ts)for(var i of ts(e))Lm.call(e,i)&&Nm(t,i,e[i]);return t},Pe=(t,e)=>ew(t,tw(e));var Ec=(t,e)=>{var i={};for(var n in t)Pm.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&ts)for(var n of ts(t))e.indexOf(n)<0&&Lm.call(t,n)&&(i[n]=t[n]);return i};var g=(t,e)=>()=>(t&&(e=t(t=0)),e);var nw=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var jm=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var Hr=(t,e,i)=>(jm(t,e,"read from private field"),i?i.call(t):e.get(t)),ns=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},Vm=(t,e,i,n)=>(jm(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var is=(t,e,i)=>new Promise((n,r)=>{var o=l=>{try{a(i.next(l))}catch(c){r(c)}},s=l=>{try{a(i.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((i=i.apply(t,e)).next())});function ee(t){let e=Bm;return Bm=t,e}function iw(){return rs}function rw(t){if(!(Oc(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Cc)){if(!t.producerMustRecompute(t)&&!as(t)){t.dirty=!1,t.lastCleanEpoch=Cc;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Cc}}function ow(t){if(t.liveConsumerNode===void 0)return;let e=rs;rs=!0;try{for(let i of t.liveConsumerNode)i.dirty||Hm(i)}finally{rs=e}}function Hm(t){t.dirty=!0,ow(t),t.consumerMarkedDirty?.(t)}function Ac(t){return t&&(t.nextProducerIndex=0),ee(t)}function Mc(t,e){if(ee(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Oc(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)Fc(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function as(t){os(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(rw(i),n!==i.version))return!0}return!1}function Tc(t){if(os(t),Oc(t))for(let e=0;e<t.producerNode.length;e++)Fc(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Fc(t,e){if(sw(t),os(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)Fc(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],r=t.liveConsumerNode[e];os(r),r.producerIndexOfThis[n]=e}}function Oc(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function os(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function sw(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function aw(){throw new Error}function Um(t){lw=t}function zm(t,e,i){let n=Object.create(cw);i&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let r=l=>{n.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(Tc(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Ic)}let a=()=>{if(n.fn===null)return;if(iw())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!as(n))return;n.hasRun=!0;let l=Ac(n);try{n.cleanupFn(),n.cleanupFn=Ic,n.fn(r)}finally{Mc(n,l)}};return n.ref={notify:()=>Hm(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[ss]:n},n.ref}var Bm,rs,Cc,ss,Sc,lw,Ic,cw,$m=g(()=>{"use strict";Bm=null,rs=!1,Cc=1,ss=Symbol("SIGNAL");Sc={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:()=>{}};lw=aw;Ic=()=>{},cw=Pe(M({},Sc),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Ic})});function P(t){return typeof t=="function"}var Fe=g(()=>{"use strict"});function ls(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var Rc=g(()=>{"use strict"});var cs,Gm=g(()=>{"use strict";Rc();cs=ls(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
2
2
  ${i.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=i})});function Wn(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var Zo=p(()=>{"use strict"});function Ko(t){return t instanceof ie||t&&"closed"in t&&N(t.remove)&&N(t.add)&&N(t.unsubscribe)}function _m(t){N(t)?t():t.unsubscribe()}var ie,gc,Ni=p(()=>{"use strict";Ae();vm();Zo();ie=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let o of i)o.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(N(n))try{n()}catch(o){e=o instanceof Yo?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{_m(o)}catch(s){e=e??[],s instanceof Yo?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Yo(e)}}add(e){var i;if(e&&e!==this)if(this.closed)_m(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&Wn(i,e)}remove(e){let{_finalizers:i}=this;i&&Wn(i,e),e instanceof t&&e._removeParent(this)}};ie.EMPTY=(()=>{let t=new ie;return t.closed=!0,t})();gc=ie.EMPTY});var Tt,Sr=p(()=>{"use strict";Tt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Fi,bc=p(()=>{"use strict";Fi={setTimeout(t,e,...i){let{delegate:n}=Fi;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=Fi;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Qo(t){Fi.setTimeout(()=>{let{onUnhandledError:e}=Tt;if(e)e(t);else throw t})}var vc=p(()=>{"use strict";Sr();bc()});function Mr(){}var _c=p(()=>{"use strict"});function wm(t){return yc("E",void 0,t)}function xm(t){return yc("N",t,void 0)}function yc(t,e,i){return{kind:t,value:e,error:i}}var ym,Dm=p(()=>{"use strict";ym=yc("C",void 0,void 0)});function ki(t){if(Tt.useDeprecatedSynchronousErrorHandling){let e=!Gn;if(e&&(Gn={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=Gn;if(Gn=null,i)throw n}}else t()}function Em(t){Tt.useDeprecatedSynchronousErrorHandling&&Gn&&(Gn.errorThrown=!0,Gn.error=t)}var Gn,Xo=p(()=>{"use strict";Sr();Gn=null});function wc(t,e){return yw.call(t,e)}function Jo(t){Tt.useDeprecatedSynchronousErrorHandling?Em(t):Qo(t)}function ww(t){throw t}function xc(t,e){let{onStoppedNotification:i}=Tt;i&&Fi.setTimeout(()=>i(t,e))}var qn,yw,Dc,nn,xw,es=p(()=>{"use strict";Ae();Ni();Sr();vc();_c();Dm();bc();Xo();qn=class extends ie{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ko(e)&&e.add(this)):this.destination=xw}static create(e,i,n){return new nn(e,i,n)}next(e){this.isStopped?xc(xm(e),this):this._next(e)}error(e){this.isStopped?xc(wm(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?xc(ym,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},yw=Function.prototype.bind;Dc=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){Jo(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){Jo(n)}else Jo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){Jo(i)}}},nn=class extends qn{constructor(e,i,n){super();let r;if(N(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&Tt.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&wc(e.next,o),error:e.error&&wc(e.error,o),complete:e.complete&&wc(e.complete,o)}):r=e}this.destination=new Dc(r)}};xw={closed:!0,next:Mr,error:ww,complete:Mr}});var Ri,ts=p(()=>{"use strict";Ri=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function At(t){return t}var Pi=p(()=>{"use strict"});function Cm(t){return t.length===0?At:t.length===1?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}var Im=p(()=>{"use strict";Pi()});function Sm(t){var e;return(e=t??Tt.Promise)!==null&&e!==void 0?e:Promise}function Dw(t){return t&&N(t.next)&&N(t.error)&&N(t.complete)}function Ew(t){return t&&t instanceof qn||Dw(t)&&Ko(t)}var $,Qe=p(()=>{"use strict";es();Ni();ts();Im();Sr();Ae();Xo();$=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){let o=Ew(i)?i:new nn(i,n,r);return ki(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=Sm(n),new n((r,o)=>{let s=new nn({next:a=>{try{i(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[Ri](){return this}pipe(...i){return Cm(i)(this)}toPromise(i){return i=Sm(i),new i((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o))})}}return t.create=e=>new t(e),t})()});function Cw(t){return N(t?.lift)}function K(t){return e=>{if(Cw(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var Re=p(()=>{"use strict";Ae()});function te(t,e,i,n,r){return new Ec(t,e,i,n,r)}var Ec,He=p(()=>{"use strict";es();Ec=class extends qn{constructor(e,i,n,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}}});var Mm,Tm=p(()=>{"use strict";pc();Mm=qo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var R,ns,Tr=p(()=>{"use strict";Qe();Ni();Tm();Zo();Xo();R=(()=>{class t extends ${constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new ns(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new Mm}next(i){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){ki(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:r,observers:o}=this;return n||r?gc:(this.currentObservers=null,o.push(i),new ie(()=>{this.currentObservers=null,Wn(o,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){let i=new $;return i.source=this,i}}return t.create=(e,i)=>new ns(e,i),t})(),ns=class extends R{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:gc}}});var Yn,Am=p(()=>{"use strict";Tr();Yn=class extends R{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}});var Ar,Cc=p(()=>{"use strict";Ar={now(){return(Ar.delegate||Date).now()},delegate:void 0}});var Zn,Ic=p(()=>{"use strict";Tr();Cc();Zn=class extends R{constructor(e=1/0,i=1/0,n=Ar){super(),this._bufferSize=e,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,i)}next(e){let{isStopped:i,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;i||(n.push(e),!r&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let i=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!e.closed;s+=n?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),i}_trimBuffer(){let{_bufferSize:e,_timestampProvider:i,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let s=i.now(),a=0;for(let l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}}}});var is,Om=p(()=>{"use strict";Ni();is=class extends ie{constructor(e,i){super()}schedule(e,i=0){return this}}});var Or,Nm=p(()=>{"use strict";Or={setInterval(t,e,...i){let{delegate:n}=Or;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=Or;return(e?.clearInterval||clearInterval)(t)},delegate:void 0}});var rs,Fm=p(()=>{"use strict";Om();Nm();Zo();rs=class extends is{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return Or.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&Or.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,r;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,Wn(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}}});var Li,km=p(()=>{"use strict";Cc();Li=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};Li.now=Ar.now});var os,Rm=p(()=>{"use strict";km();os=class extends Li{constructor(e,i=Li.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}}});var Nr,Pm,ss=p(()=>{"use strict";Fm();Rm();Nr=new os(rs),Pm=Nr});var as,Sc=p(()=>{"use strict";Qe();as=new $(t=>t.complete())});function ls(t){return t&&N(t.schedule)}var Mc=p(()=>{"use strict";Ae()});function Tc(t){return t[t.length-1]}function cs(t){return N(Tc(t))?t.pop():void 0}function Ut(t){return ls(Tc(t))?t.pop():void 0}function Lm(t,e){return typeof Tc(t)=="number"?t.pop():e}var Kn=p(()=>{"use strict";Ae();Mc()});function jm(t,e,i,n){function r(o){return o instanceof i?o:new i(function(s){s(o)})}return new(i||(i=Promise))(function(o,s){function a(d){try{c(n.next(d))}catch(u){s(u)}}function l(d){try{c(n.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function Vm(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qn(t){return this instanceof Qn?(this.v=t,this):new Qn(t)}function Bm(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),r,o=[];return r={},a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(m){return Promise.resolve(m).then(f,u)}}function a(f,m){n[f]&&(r[f]=function(b){return new Promise(function(w,_){o.push([f,b,w,_])>1||l(f,b)})},m&&(r[f]=m(r[f])))}function l(f,m){try{c(n[f](m))}catch(b){h(o[0][3],b)}}function c(f){f.value instanceof Qn?Promise.resolve(f.value.v).then(d,u):h(o[0][2],f)}function d(f){l("next",f)}function u(f){l("throw",f)}function h(f,m){f(m),o.shift(),o.length&&l(o[0][0],o[0][1])}}function zm(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof Vm=="function"?Vm(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Ac=p(()=>{"use strict"});var Vi,ds=p(()=>{"use strict";Vi=t=>t&&typeof t.length=="number"&&typeof t!="function"});function us(t){return N(t?.then)}var Oc=p(()=>{"use strict";Ae()});function fs(t){return N(t[Ri])}var Nc=p(()=>{"use strict";ts();Ae()});function hs(t){return Symbol.asyncIterator&&N(t?.[Symbol.asyncIterator])}var Fc=p(()=>{"use strict";Ae()});function ms(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var kc=p(()=>{"use strict"});function Iw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ps,Rc=p(()=>{"use strict";ps=Iw()});function gs(t){return N(t?.[ps])}var Pc=p(()=>{"use strict";Rc();Ae()});function bs(t){return Bm(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:r}=yield Qn(i.read());if(r)return yield Qn(void 0);yield yield Qn(n)}}finally{i.releaseLock()}})}function vs(t){return N(t?.getReader)}var _s=p(()=>{"use strict";Ac();Ae()});function ae(t){if(t instanceof $)return t;if(t!=null){if(fs(t))return Sw(t);if(Vi(t))return Mw(t);if(us(t))return Tw(t);if(hs(t))return Hm(t);if(gs(t))return Aw(t);if(vs(t))return Ow(t)}throw ms(t)}function Sw(t){return new $(e=>{let i=t[Ri]();if(N(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Mw(t){return new $(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function Tw(t){return new $(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,Qo)})}function Aw(t){return new $(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function Hm(t){return new $(e=>{Nw(t,e).catch(i=>e.error(i))})}function Ow(t){return Hm(bs(t))}function Nw(t,e){var i,n,r,o;return jm(this,void 0,void 0,function*(){try{for(i=zm(t);n=yield i.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})}var qe=p(()=>{"use strict";Ac();ds();Oc();Qe();Nc();Fc();kc();Pc();_s();Ae();vc();ts()});function Xe(t,e,i,n=0,r=!1){let o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}var ji=p(()=>{"use strict"});function ys(t,e=0){return K((i,n)=>{i.subscribe(te(n,r=>Xe(n,t,()=>n.next(r),e),()=>Xe(n,t,()=>n.complete(),e),r=>Xe(n,t,()=>n.error(r),e)))})}var Lc=p(()=>{"use strict";ji();Re();He()});function ws(t,e=0){return K((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}var Vc=p(()=>{"use strict";Re()});function Um(t,e){return ae(t).pipe(ws(e),ys(e))}var $m=p(()=>{"use strict";qe();Lc();Vc()});function Wm(t,e){return ae(t).pipe(ws(e),ys(e))}var Gm=p(()=>{"use strict";qe();Lc();Vc()});function qm(t,e){return new $(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}var Ym=p(()=>{"use strict";Qe()});function Zm(t,e){return new $(i=>{let n;return Xe(i,e,()=>{n=t[ps](),Xe(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(s){i.error(s);return}o?i.complete():i.next(r)},0,!0)}),()=>N(n?.return)&&n.return()})}var Km=p(()=>{"use strict";Qe();Rc();Ae();ji()});function xs(t,e){if(!t)throw new Error("Iterable cannot be null");return new $(i=>{Xe(i,e,()=>{let n=t[Symbol.asyncIterator]();Xe(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}var jc=p(()=>{"use strict";Qe();ji()});function Qm(t,e){return xs(bs(t),e)}var Xm=p(()=>{"use strict";jc();_s()});function Jm(t,e){if(t!=null){if(fs(t))return Um(t,e);if(Vi(t))return qm(t,e);if(us(t))return Wm(t,e);if(hs(t))return xs(t,e);if(gs(t))return Zm(t,e);if(vs(t))return Qm(t,e)}throw ms(t)}var ep=p(()=>{"use strict";$m();Gm();Ym();Km();jc();Nc();Oc();ds();Pc();Fc();kc();_s();Xm()});function Je(t,e){return e?Jm(t,e):ae(t)}var Bi=p(()=>{"use strict";ep();qe()});function Ye(...t){let e=Ut(t);return Je(t,e)}var tp=p(()=>{"use strict";Kn();Bi()});function Bc(t,e){let i=N(t)?t:()=>t,n=r=>r.error(i());return new $(e?r=>e.schedule(n,0,r):n)}var np=p(()=>{"use strict";Qe();Ae()});function ip(t){return t instanceof Date&&!isNaN(t)}var rp=p(()=>{"use strict"});function re(t,e){return K((i,n)=>{let r=0;i.subscribe(te(n,o=>{n.next(t.call(e,o,r++))}))})}var Ds=p(()=>{"use strict";Re();He()});function kw(t,e){return Fw(e)?t(...e):t(e)}function zi(t){return re(e=>kw(t,e))}var Fw,Es=p(()=>{"use strict";Ds();({isArray:Fw}=Array)});function Cs(t){if(t.length===1){let e=t[0];if(Rw(e))return{args:e,keys:null};if(jw(e)){let i=Vw(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function jw(t){return t&&typeof t=="object"&&Pw(t)===Lw}var Rw,Pw,Lw,Vw,zc=p(()=>{"use strict";({isArray:Rw}=Array),{getPrototypeOf:Pw,prototype:Lw,keys:Vw}=Object});function Is(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}var Hc=p(()=>{"use strict"});function Uc(...t){let e=Ut(t),i=cs(t),{args:n,keys:r}=Cs(t);if(n.length===0)return Je([],e);let o=new $(Bw(n,e,r?s=>Is(r,s):At));return i?o.pipe(zi(i)):o}function Bw(t,e,i=At){return n=>{op(e,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)op(e,()=>{let c=Je(t[l],e),d=!1;c.subscribe(te(n,u=>{o[l]=u,d||(d=!0,a--),a||n.next(i(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function op(t,e,i){t?Xe(i,t,e):e()}var sp=p(()=>{"use strict";Qe();zc();Bi();Pi();Es();Kn();Hc();He();ji()});function ap(t,e,i,n,r,o,s,a){let l=[],c=0,d=0,u=!1,h=()=>{u&&!l.length&&!c&&e.complete()},f=b=>c<n?m(b):l.push(b),m=b=>{o&&e.next(b),c++;let w=!1;ae(i(b,d++)).subscribe(te(e,_=>{r?.(_),o?f(_):e.next(_)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&c<n;){let _=l.shift();s?Xe(e,s,()=>m(_)):m(_)}h()}catch(_){e.error(_)}}))};return t.subscribe(te(e,f,()=>{u=!0,h()})),()=>{a?.()}}var lp=p(()=>{"use strict";qe();ji();He()});function xn(t,e,i=1/0){return N(e)?xn((n,r)=>re((o,s)=>e(n,o,r,s))(ae(t(n,r))),i):(typeof e=="number"&&(i=e),K((n,r)=>ap(n,r,t,i)))}var Ss=p(()=>{"use strict";Ds();qe();Re();lp();Ae()});function Ms(t=1/0){return xn(At,t)}var $c=p(()=>{"use strict";Ss();Pi()});function cp(){return Ms(1)}var dp=p(()=>{"use strict";$c()});function Hi(...t){return cp()(Je(t,Ut(t)))}var Wc=p(()=>{"use strict";dp();Kn();Bi()});function Gc(t){return new $(e=>{ae(t()).subscribe(e)})}var up=p(()=>{"use strict";Qe();qe()});function Fr(...t){let e=cs(t),{args:i,keys:n}=Cs(t),r=new $(o=>{let{length:s}=i;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let u=!1;ae(i[d]).subscribe(te(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(n?Is(n,a):a),o.complete())}))}});return e?r.pipe(zi(e)):r}var fp=p(()=>{"use strict";Qe();zc();qe();Kn();He();Es();Hc()});function kr(t,e,i,n){if(N(i)&&(n=i,i=void 0),n)return kr(t,e,i).pipe(zi(n));let[r,o]=Gw(t)?Hw.map(s=>a=>t[s](e,a,i)):$w(t)?zw.map(hp(t,e)):Ww(t)?Uw.map(hp(t,e)):[];if(!r&&Vi(t))return xn(s=>kr(s,e,i))(ae(t));if(!r)throw new TypeError("Invalid event target");return new $(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function hp(t,e){return i=>n=>t[i](e,n)}function $w(t){return N(t.addListener)&&N(t.removeListener)}function Ww(t){return N(t.on)&&N(t.off)}function Gw(t){return N(t.addEventListener)&&N(t.removeEventListener)}var zw,Hw,Uw,mp=p(()=>{"use strict";qe();Qe();Ss();ds();Ae();Es();zw=["addListener","removeListener"],Hw=["addEventListener","removeEventListener"],Uw=["on","off"]});function pp(t=0,e,i=Pm){let n=-1;return e!=null&&(ls(e)?i=e:n=e),new $(r=>{let o=ip(t)?+t-i.now():t;o<0&&(o=0);let s=0;return i.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete())},o)})}var gp=p(()=>{"use strict";Qe();ss();Mc();rp()});function Ot(...t){let e=Ut(t),i=Lm(t,1/0),n=t;return n.length?n.length===1?ae(n[0]):Ms(i)(Je(n,e)):as}var bp=p(()=>{"use strict";$c();qe();Sc();Kn();Bi()});function Ue(t,e){return K((i,n)=>{let r=0;i.subscribe(te(n,o=>t.call(e,o,r++)&&n.next(o)))})}var qc=p(()=>{"use strict";Re();He()});var vp=p(()=>{"use strict"});function _p(t){return K((e,i)=>{let n=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let c=r;r=null,i.next(c)}s&&i.complete()},l=()=>{o=null,s&&i.complete()};e.subscribe(te(i,c=>{n=!0,r=c,o||ae(t(c)).subscribe(o=te(i,a,l))},()=>{s=!0,(!n||!o||o.closed)&&i.complete()}))})}var yp=p(()=>{"use strict";Re();qe();He()});function Ts(t,e=Nr){return _p(()=>pp(t,e))}var wp=p(()=>{"use strict";ss();yp();gp()});function As(t){return K((e,i)=>{let n=null,r=!1,o;n=e.subscribe(te(i,void 0,void 0,s=>{o=ae(t(s,As(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}var xp=p(()=>{"use strict";qe();He();Re()});function Yc(t,e){return N(e)?xn(t,e,1):xn(t,1)}var Dp=p(()=>{"use strict";Ss();Ae()});function Rr(t,e=Nr){return K((i,n)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,n.next(c)}};function l(){let c=s+t,d=e.now();if(d<c){r=this.schedule(void 0,c-d),n.add(r);return}a()}i.subscribe(te(n,c=>{o=c,s=e.now(),r||(r=e.schedule(l,t),n.add(r))},()=>{a(),n.complete()},void 0,()=>{o=r=null}))})}var Ep=p(()=>{"use strict";ss();Re();He()});function gt(t){return t<=0?()=>as:K((e,i)=>{let n=0;e.subscribe(te(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}var Cp=p(()=>{"use strict";Sc();Re();He()});function Ui(t,e=At){return t=t??qw,K((i,n)=>{let r,o=!0;i.subscribe(te(n,s=>{let a=e(s);(o||!t(r,a))&&(o=!1,r=a,n.next(s))}))})}function qw(t,e){return t===e}var Ip=p(()=>{"use strict";Pi();Re();He()});function Dn(t){return K((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}var Zc=p(()=>{"use strict";Re()});function Pr(t={}){let{connector:e=()=>new R,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},m=()=>{let b=s;f(),b?.unsubscribe()};return K((b,w)=>{c++,!u&&!d&&h();let _=l=l??e();w.add(()=>{c--,c===0&&!u&&!d&&(a=Kc(m,r))}),_.subscribe(w),!s&&c>0&&(s=new nn({next:L=>_.next(L),error:L=>{u=!0,h(),a=Kc(f,i,L),_.error(L)},complete:()=>{d=!0,h(),a=Kc(f,n),_.complete()}}),ae(b).subscribe(s))})(o)}}function Kc(t,e,...i){if(e===!0){t();return}if(e===!1)return;let n=new nn({next:()=>{n.unsubscribe(),t()}});return ae(e(...i)).subscribe(n)}var Qc=p(()=>{"use strict";qe();Tr();es();Re()});function Os(t,e,i){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:i}=t:n=t??1/0,Pr({connector:()=>new Zn(n,e,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var Sp=p(()=>{"use strict";Ic();Qc()});function Lr(t){return Ue((e,i)=>t<=i)}var Mp=p(()=>{"use strict";qc()});function Xn(...t){let e=Ut(t);return K((i,n)=>{(e?Hi(t,i,e):Hi(t,i)).subscribe(n)})}var Tp=p(()=>{"use strict";Wc();Kn();Re()});function rn(t,e){return K((i,n)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&n.complete();i.subscribe(te(n,l=>{r?.unsubscribe();let c=0,d=o++;ae(t(l,d)).subscribe(r=te(n,u=>n.next(e?e(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var Ap=p(()=>{"use strict";qe();Re();He()});function oe(t){return K((e,i)=>{ae(t).subscribe(te(i,()=>i.complete(),Mr)),!i.closed&&e.subscribe(i)})}var Op=p(()=>{"use strict";Re();He();qe();_c()});function Xc(t,e=!1){return K((i,n)=>{let r=0;i.subscribe(te(n,o=>{let s=t(o,r++);(s||e)&&n.next(o),!s&&n.complete()}))})}var Np=p(()=>{"use strict";Re();He()});function En(t,e,i){let n=N(t)||e||i?{next:t,error:e,complete:i}:t;return n?K((r,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(te(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):At}var Fp=p(()=>{"use strict";Ae();Re();He();Pi()});var Ve=p(()=>{"use strict";Qe();Tr();Am();Ic();Ni();sp();Wc();up();fp();Bi();mp();bp();tp();np();vp();Zc()});var et=p(()=>{"use strict";wp();xp();Dp();Ep();Ip();qc();Zc();Ds();Qc();Sp();Mp();Tp();Ap();Cp();Op();Np();Fp()});function ca(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Qr(t){return{toString:t}.toString()}function Yw(t){return function(...i){if(t){let n=t(...i);for(let r in n)this[r]=n[r]}}}function vg(t,e,i){return Qr(()=>{let n=Yw(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(Ns)?l[Ns]:Object.defineProperty(l,Ns,{value:[]})[Ns];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function he(t){for(let e in t)if(t[e]===he)return e;throw Error("Could not find renamed property on target object.")}function Zw(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function at(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(at).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
- `);return i===-1?e:e.substring(0,i)}function hd(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}function di(t){return t.__forward_ref__=di,t.toString=function(){return at(this())},t}function Ze(t){return _g(t)?t():t}function _g(t){return typeof t=="function"&&t.hasOwnProperty(Kw)&&t.__forward_ref__===di}function E(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function G(t){return{providers:t.providers||[],imports:t.imports||[]}}function fu(t){return kp(t,yg)||kp(t,wg)}function kp(t,e){return t.hasOwnProperty(e)?t[e]:null}function Qw(t){let e=t&&(t[yg]||t[wg]);return e||null}function Rp(t){return t&&(t.hasOwnProperty(Pp)||t.hasOwnProperty(Xw))?t[Pp]:null}function xg(t){return t&&!!t.\u0275providers}function hu(t){return typeof t=="string"?t:t==null?"":String(t)}function nx(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():hu(t)}function ix(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new x(-200,t)}function mu(t,e){throw new x(-201,!1)}function Dg(){return md}function bt(t){let e=md;return md=t,e}function Eg(t,e,i){let n=fu(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&Y.Optional)return null;if(e!==void 0)return e;mu(t,"Injector")}function lx(){return qi}function Cn(t){let e=qi;return qi=t,e}function cx(t,e=Y.Default){if(qi===void 0)throw new x(-203,!1);return qi===null?Eg(t,void 0,e):qi.get(t,e&Y.Optional?null:void 0,e)}function g(t,e=Y.Default){return(Dg()||cx)(Ze(t),e)}function C(t,e=Y.Default){return g(t,da(e))}function da(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function gd(t){let e=[];for(let i=0;i<t.length;i++){let n=Ze(t[i]);if(Array.isArray(n)){if(n.length===0)throw new x(900,!1);let r,o=Y.Default;for(let s=0;s<n.length;s++){let a=n[s],l=dx(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}e.push(g(r,o))}else e.push(g(n))}return e}function Cg(t,e){return t[pd]=e,t.prototype[pd]=e,t}function dx(t){return t[pd]}function ux(t,e,i,n){let r=t[Ws];throw e[Vp]&&r.unshift(e[Vp]),t.message=fx(`
5
- `+t.message,r,i,n),t[ox]=r,t[Ws]=null,t}function fx(t,e,i,n=null){t=t&&t.charAt(0)===`
6
- `&&t.charAt(1)==ax?t.slice(2):t;let r=at(e);if(Array.isArray(e))r=e.map(at).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):at(a)))}r=`{${o.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(sx,`
7
- `)}`}function Zi(t,e){let i=t.hasOwnProperty($s);return i?t[$s]:null}function hx(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=e[n];if(i&&(r=i(r),o=i(o)),o!==r)return!1}return!0}function mx(t){return t.flat(Number.POSITIVE_INFINITY)}function gu(t,e){t.forEach(i=>Array.isArray(i)?gu(i,e):e(i))}function Sg(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Gs(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function px(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function gx(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(r===1)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;){let o=r-2;t[r]=t[o],r--}t[e]=i,t[e+1]=n}}function ua(t,e,i){let n=Xr(t,e);return n>=0?t[n|1]=i:(n=~n,gx(t,n,e,i)),n}function Jc(t,e){let i=Xr(t,e);if(i>=0)return t[i|1]}function Xr(t,e){return bx(t,e,1)}function bx(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){let o=n+(r-n>>1),s=t[o<<i];if(e===s)return o<<i;s>e?r=o:n=o+1}return~(r<<i)}function vx(t,e,i){let n=t.length;for(;;){let r=t.indexOf(e,i);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}i=r+1}}function bd(t,e,i){let n=0;for(;n<i.length;){let r=i[n];if(typeof r=="number"){if(r!==0)break;n++;let o=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,o)}else{let o=r,s=i[++n];_x(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function Og(t){return t===3||t===4||t===6}function _x(t){return t.charCodeAt(0)===64}function zr(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let r=e[n];typeof r=="number"?i=r:i===0||(i===-1||i===2?jp(t,i,r,null,e[++n]):jp(t,i,r,null,null))}}return t}function jp(t,e,i,n,r){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===i){if(n===null){r!==null&&(t[o+1]=r);return}else if(n===t[o+1]){t[o+2]=r;return}}o++,n!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,i),n!==null&&t.splice(o++,0,n),r!==null&&t.splice(o++,0,r)}function yx(t,e,i,n){let r=0;if(n){for(;r<e.length&&typeof e[r]=="string";r+=2)if(e[r]==="class"&&vx(e[r+1].toLowerCase(),i,0)!==-1)return!0}else if(bu(t))return!1;if(r=e.indexOf(1,r),r>-1){let o;for(;++r<e.length&&typeof(o=e[r])=="string";)if(o.toLowerCase()===i)return!0}return!1}function bu(t){return t.type===4&&t.value!==Ng}function wx(t,e,i){let n=t.type===4&&!i?Ng:t.value;return e===n}function xx(t,e,i){let n=4,r=t.attrs,o=r!==null?Cx(r):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!Nt(n)&&!Nt(l))return!1;if(s&&Nt(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!wx(t,l,i)||l===""&&e.length===1){if(Nt(n))return!1;s=!0}}else if(n&8){if(r===null||!yx(t,r,l,i)){if(Nt(n))return!1;s=!0}}else{let c=e[++a],d=Dx(l,r,bu(t),i);if(d===-1){if(Nt(n))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),n&2&&c!==u){if(Nt(n))return!1;s=!0}}}}return Nt(n)||s}function Nt(t){return(t&1)===0}function Dx(t,e,i,n){if(e===null)return-1;let r=0;if(n||!i){let o=!1;for(;r<e.length;){let s=e[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++r];for(;typeof a=="string";)a=e[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return Ix(e,t)}function Fg(t,e,i=!1){for(let n=0;n<e.length;n++)if(xx(t,e[n],i))return!0;return!1}function Ex(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function Cx(t){for(let e=0;e<t.length;e++){let i=t[e];if(Og(i))return e}return t.length}function Ix(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function Sx(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function Bp(t,e){return t?":not("+e.trim()+")":e}function Mx(t){let e=t[0],i=1,n=2,r="",o=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?r+="."+s:n&4&&(r+=" "+s);else r!==""&&!Nt(s)&&(e+=Bp(o,r),r=""),n=s,o=o||!Nt(n);i++}return r!==""&&(e+=Bp(o,r)),e}function Tx(t){return t.map(Mx).join(",")}function Ax(t){let e=[],i=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&e.push(o,t[++n]):r===8&&i.push(o);else{if(!Nt(r))break;r=o}n++}return{attrs:e,classes:i}}function Ee(t){return Qr(()=>{let e=Pg(t),i=Le(P({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ag.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Gt.Emulated,styles:t.styles||tt,_:null,schemas:t.schemas||null,tView:null,id:""});Lg(i);let n=t.dependencies;return i.directiveDefs=Hp(n,!1),i.pipeDefs=Hp(n,!0),i.id=kx(i),i})}function Ox(t){return Qi(t)||kg(t)}function Nx(t){return t!==null}function q(t){return Qr(()=>({type:t.type,bootstrap:t.bootstrap||tt,declarations:t.declarations||tt,imports:t.imports||tt,exports:t.exports||tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function zp(t,e){if(t==null)return Ki;let i={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,s,a=y.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),e?(i[o]=a!==y.None?[n,a]:n,e[o]=s):i[o]=n}return i}function Q(t){return Qr(()=>{let e=Pg(t);return Lg(e),e})}function Qi(t){return t[Jw]||null}function kg(t){return t[ex]||null}function Rg(t){return t[tx]||null}function Fx(t){let e=Qi(t)||kg(t)||Rg(t);return e!==null?e.standalone:!1}function Pg(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ki,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||tt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zp(t.inputs,e),outputs:zp(t.outputs),debugInfo:null}}function Lg(t){t.features?.forEach(e=>e(t))}function Hp(t,e){if(!t)return null;let i=e?Rg:Ox;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(Nx)}function kx(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function fa(t){return{\u0275providers:t}}function Rx(...t){return{\u0275providers:Vg(!0,t),\u0275fromNgModule:!0}}function Vg(t,...e){let i=[],n=new Set,r,o=s=>{i.push(s)};return gu(e,s=>{let a=s;vd(a,o,[],n)&&(r||=[],r.push(a))}),r!==void 0&&jg(r,o),i}function jg(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:r}=t[i];vu(r,o=>{e(o,n)})}}function vd(t,e,i,n){if(t=Ze(t),!t)return!1;let r=null,o=Rp(t),s=!o&&Qi(t);if(!o&&!s){let l=t.ngModule;if(o=Rp(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)vd(c,e,i,n)}}else if(o){if(o.imports!=null&&!a){n.add(r);let c;try{gu(o.imports,d=>{vd(d,e,i,n)&&(c||=[],c.push(d))})}finally{}c!==void 0&&jg(c,e)}if(!a){let c=Zi(r)||(()=>new r);e({provide:r,useFactory:c,deps:tt},r),e({provide:Tg,useValue:r,multi:!0},r),e({provide:Br,useValue:()=>g(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;vu(l,d=>{e(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function vu(t,e){for(let i of t)xg(i)&&(i=i.\u0275providers),Array.isArray(i)?vu(i,e):e(i)}function Bg(t){return t!==null&&typeof t=="object"&&Px in t}function Lx(t){return!!(t&&t.useExisting)}function Vx(t){return!!(t&&t.useFactory)}function Xi(t){return typeof t=="function"}function jx(t){return!!t.useClass}function _u(){return ed===void 0&&(ed=new qs),ed}function _d(t){let e=fu(t),i=e!==null?e.factory:Zi(t);if(i!==null)return i;if(t instanceof D)throw new x(204,!1);if(t instanceof Function)return zx(t);throw new x(204,!1)}function zx(t){if(t.length>0)throw new x(204,!1);let i=Qw(t);return i!==null?()=>i.factory(t):()=>new t}function Hx(t){if(Bg(t))return $i(void 0,t.useValue);{let e=zg(t);return $i(e,Ls)}}function zg(t,e,i){let n;if(Xi(t)){let r=Ze(t);return Zi(r)||_d(r)}else if(Bg(t))n=()=>Ze(t.useValue);else if(Vx(t))n=()=>t.useFactory(...gd(t.deps||[]));else if(Lx(t))n=()=>g(Ze(t.useExisting));else{let r=Ze(t&&(t.useClass||t.provide));if(Ux(t))n=()=>new r(...gd(t.deps));else return Zi(r)||_d(r)}return n}function $i(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function Ux(t){return!!t.deps}function $x(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Wx(t){return typeof t=="function"||typeof t=="object"&&t instanceof D}function yd(t,e){for(let i of t)Array.isArray(i)?yd(i,e):i&&xg(i)?yd(i.\u0275providers,e):e(i)}function Hg(t,e){t instanceof Hr&&t.assertNotDestroyed();let i,n=Cn(t),r=bt(void 0);try{return e()}finally{Cn(n),bt(r)}}function Ug(){return Dg()!==void 0||lx()!=null}function Gx(t){if(!Ug())throw new x(-203,!1)}function qx(t){return typeof t=="function"}function ei(t){return Array.isArray(t)&&typeof t[Wg]=="object"}function cn(t){return Array.isArray(t)&&t[Wg]===!0}function wu(t){return(t.flags&4)!==0}function pa(t){return t.componentOffset>-1}function ga(t){return(t.flags&1)===1}function Sn(t){return!!t.template}function Yx(t){return(t[F]&512)!==0}function Gg(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function _t(){return qg}function qg(t){return t.type.prototype.ngOnChanges&&(t.setInput=Kx),Zx}function Zx(){let t=Zg(this),e=t?.current;if(e){let i=t.previous;if(i===Ki)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Kx(t,e,i,n,r){let o=this.declaredInputs[n],s=Zg(t)||Qx(t,{previous:Ki,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Gr(c&&c.currentValue,i,l===Ki),Gg(t,e,r,i)}function Zg(t){return t[Yg]||null}function Qx(t,e){return t[Yg]=e}function eD(){return Jx}function Zt(t){for(;Array.isArray(t);)t=t[ln];return t}function Qg(t,e){return Zt(e[t])}function yt(t,e){return Zt(e[t.index])}function xu(t,e){return t.data[e]}function tD(t,e){return t[e]}function Tn(t,e){let i=e[t];return ei(i)?i:i[ln]}function nD(t){return(t[F]&4)===4}function Du(t){return(t[F]&128)===128}function iD(t){return cn(t[je])}function tr(t,e){return e==null?null:t[e]}function Xg(t){t[Wi]=0}function rD(t){t[F]&1024||(t[F]|=1024,Du(t)&&qr(t))}function oD(t,e){for(;t>0;)e=e[or],t--;return e}function Eu(t){return!!(t[F]&9216||t[ni]?.dirty)}function wd(t){t[Yt].changeDetectionScheduler?.notify(1),Eu(t)?qr(t):t[F]&64&&(eD()?(t[F]|=1024,qr(t)):t[Yt].changeDetectionScheduler?.notify())}function qr(t){t[Yt].changeDetectionScheduler?.notify();let e=Yr(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!Du(e)));)e=Yr(e)}function Jg(t,e){if((t[F]&256)===256)throw new x(911,!1);t[In]===null&&(t[In]=[]),t[In].push(e)}function sD(t,e){if(t[In]===null)return;let i=t[In].indexOf(e);i!==-1&&t[In].splice(i,1)}function Yr(t){let e=t[je];return cn(e)?e[je]:e}function aD(){return W.lFrame.elementDepthCount}function lD(){W.lFrame.elementDepthCount++}function cD(){W.lFrame.elementDepthCount--}function eb(){return W.bindingsEnabled}function tb(){return W.skipHydrationRootTNode!==null}function dD(t){return W.skipHydrationRootTNode===t}function uD(){W.skipHydrationRootTNode=null}function Z(){return W.lFrame.lView}function Ce(){return W.lFrame.tView}function Lt(t){return W.lFrame.contextLView=t,t[vt]}function Vt(t){return W.lFrame.contextLView=null,t}function $e(){let t=nb();for(;t!==null&&t.type===64;)t=t.parent;return t}function nb(){return W.lFrame.currentTNode}function fD(){let t=W.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function ui(t,e){let i=W.lFrame;i.currentTNode=t,i.isParent=e}function Cu(){return W.lFrame.isParent}function Iu(){W.lFrame.isParent=!1}function hD(){return W.lFrame.contextLView}function mD(t){return W.lFrame.bindingIndex=t}function sr(){return W.lFrame.bindingIndex++}function ib(t){let e=W.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function pD(){return W.lFrame.inI18n}function gD(t,e){let i=W.lFrame;i.bindingIndex=i.bindingRootIndex=t,xd(e)}function bD(){return W.lFrame.currentDirectiveIndex}function xd(t){W.lFrame.currentDirectiveIndex=t}function vD(t){let e=W.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function rb(){return W.lFrame.currentQueryIndex}function Su(t){W.lFrame.currentQueryIndex=t}function _D(t){let e=t[U];return e.type===2?e.declTNode:e.type===1?t[ct]:null}function ob(t,e,i){if(i&Y.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(i&Y.Host);)if(r=_D(o),r===null||(o=o[or],r.type&10))break;if(r===null)return!1;e=r,t=o}let n=W.lFrame=sb();return n.currentTNode=e,n.lView=t,!0}function Mu(t){let e=sb(),i=t[U];W.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function sb(){let t=W.lFrame,e=t===null?null:t.child;return e===null?ab(t):e}function ab(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function lb(){let t=W.lFrame;return W.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function Tu(){let t=lb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function yD(t){return(W.lFrame.contextLView=oD(t,W.lFrame.contextLView))[vt]}function fi(){return W.lFrame.selectedIndex}function ri(t){W.lFrame.selectedIndex=t}function ba(){let t=W.lFrame;return xu(t.tView,t.selectedIndex)}function eo(){W.lFrame.currentNamespace=Kg}function db(){wD()}function wD(){W.lFrame.currentNamespace=null}function xD(){return W.lFrame.currentNamespace}function va(){return ub}function _a(t){ub=t}function DD(t,e,i){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){let s=qg(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}function ya(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let o=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),d!=null&&(t.destroyHooks??=[]).push(i,d)}}function js(t,e,i){fb(t,e,3,i)}function Bs(t,e,i,n){(t[F]&3)===i&&fb(t,e,i,n)}function td(t,e){let i=t[F];(i&3)===e&&(i&=16383,i+=1,t[F]=i)}function fb(t,e,i,n){let r=n!==void 0?t[Wi]&65535:0,o=n??-1,s=e.length-1,a=0;for(let l=r;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[Wi]+=65536),(a<o||o==-1)&&(ED(t,i,e,l),t[Wi]=(t[Wi]&4294901760)+l+2),l++}function Wp(t,e){$t(4,t,e);let i=ee(null);try{e.call(t)}finally{ee(i),$t(5,t,e)}}function ED(t,e,i,n){let r=i[n]<0,o=i[n+1],s=r?-i[n]:i[n],a=t[s];r?t[F]>>14<t[Wi]>>16&&(t[F]&3)===e&&(t[F]+=16384,Wp(a,o)):Wp(a,o)}function CD(t){return t instanceof oi}function ID(t){return(t.flags&8)!==0}function SD(t){return(t.flags&16)!==0}function hb(t){return t!==Yi}function Zs(t){return t&32767}function MD(t){return t>>16}function Ks(t,e){let i=MD(t),n=e;for(;i>0;)n=n[or],i--;return n}function Gp(t){let e=Dd;return Dd=t,e}function OD(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Vr)&&(n=i[Vr]),n==null&&(n=i[Vr]=AD++);let r=n&mb,o=1<<r;e.data[t+(r>>pb)]|=o}function Qs(t,e){let i=gb(t,e);if(i!==-1)return i;let n=e[U];n.firstCreatePass&&(t.injectorIndex=e.length,nd(n.data,t),nd(e,null),nd(n.blueprint,null));let r=Au(t,e),o=t.injectorIndex;if(hb(r)){let s=Zs(r),a=Ks(r,e),l=a[U].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function nd(t,e){t.push(0,0,0,0,0,0,0,0,e)}function gb(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Au(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;r!==null;){if(n=wb(r),n===null)return Yi;if(i++,r=r[or],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Yi}function Ed(t,e,i){OD(t,e,i)}function ND(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,r=0;for(;r<n;){let o=i[r];if(Og(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof i[r]=="string";)r++;else{if(o===e)return i[r+1];r=r+2}}}return null}function bb(t,e,i){if(i&Y.Optional||t!==void 0)return t;mu(e,"NodeInjector")}function vb(t,e,i,n){if(i&Y.Optional&&n===void 0&&(n=null),!(i&(Y.Self|Y.Host))){let r=t[Ji],o=bt(void 0);try{return r?r.get(e,n,i&Y.Optional):Eg(e,n,i&Y.Optional)}finally{bt(o)}}return bb(n,e,i)}function _b(t,e,i,n=Y.Default,r){if(t!==null){if(e[F]&2048&&!(n&Y.Self)){let s=PD(t,e,i,n,Wt);if(s!==Wt)return s}let o=yb(t,e,i,n,Wt);if(o!==Wt)return o}return vb(e,i,n,r)}function yb(t,e,i,n,r){let o=kD(i);if(typeof o=="function"){if(!ob(e,t,n))return n&Y.Host?bb(r,i,n):vb(e,i,n,r);try{let s;if(s=o(n),s==null&&!(n&Y.Optional))mu(i);else return s}finally{cb()}}else if(typeof o=="number"){let s=null,a=gb(t,e),l=Yi,c=n&Y.Host?e[Rt][ct]:null;for((a===-1||n&Y.SkipSelf)&&(l=a===-1?Au(t,e):e[a+8],l===Yi||!Yp(n,!1)?a=-1:(s=e[U],a=Zs(l),e=Ks(l,e)));a!==-1;){let d=e[U];if(qp(o,a,d.data)){let u=FD(a,e,i,s,n,c);if(u!==Wt)return u}l=e[a+8],l!==Yi&&Yp(n,e[U].data[a+8]===c)&&qp(o,a,e)?(s=d,a=Zs(l),e=Ks(l,e)):a=-1}}return r}function FD(t,e,i,n,r,o){let s=e[U],a=s.data[t+8],l=n==null?pa(a)&&Dd:n!=s&&(a.type&3)!==0,c=r&Y.Host&&o===a,d=zs(a,s,i,l,c);return d!==null?si(e,s,d,a):Wt}function zs(t,e,i,n,r){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=n?a:a+d,h=r?a+d:c;for(let f=u;f<h;f++){let m=s[f];if(f<l&&i===m||f>=l&&m.type===i)return f}if(r){let f=s[l];if(f&&Sn(f)&&f.type===i)return l}return null}function si(t,e,i,n){let r=t[i],o=e.data;if(CD(r)){let s=r;s.resolving&&ix(nx(o[i]));let a=Gp(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?bt(s.injectImpl):null,d=ob(t,n,Y.Default);try{r=t[i]=s.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&DD(i,o[i],e)}finally{c!==null&&bt(c),Gp(a),s.resolving=!1,cb()}}return r}function kD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Vr)?t[Vr]:void 0;return typeof e=="number"?e>=0?e&mb:RD:e}function qp(t,e,i){let n=1<<t;return!!(i[e+(t>>pb)]&n)}function Yp(t,e){return!(t&Y.Self)&&!(t&Y.Host&&e)}function RD(){return new ti($e(),Z())}function Ou(t){return Qr(()=>{let e=t.prototype.constructor,i=e[$s]||Cd(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[$s]||Cd(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Cd(t){return _g(t)?()=>{let e=Cd(Ze(t));return e&&e()}:Zi(t)}function PD(t,e,i,n,r){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=yb(o,s,i,n|Y.Self,Wt);if(a!==Wt)return a;let l=o.parent;if(!l){let c=s[$g];if(c){let d=c.get(i,Wt,n);if(d!==Wt)return d}l=wb(s),s=s[or]}o=l}return r}function wb(t){let e=t[U],i=e.type;return i===2?e.declTNode:i===1?t[ct]:null}function ar(t){return ND($e(),t)}function Zp(t,e=null,i=null,n){let r=LD(t,e,i,n);return r.resolveInjectorInitializers(),r}function LD(t,e=null,i=null,n,r=new Set){let o=[i||tt,Rx(t)];return n=n||(typeof t=="object"?void 0:at(t)),new Hr(o,e||_u(),n||null,r)}function id(t){return t[VD]}function jD(){return new Id(Z())}function BD(){return lr($e(),Z())}function lr(t,e){return new V(yt(t,e))}function zD(t){return t instanceof V?t.nativeElement:t}function rd(t){return e=>{setTimeout(t,void 0,e)}}function HD(){return this._results[Symbol.iterator]()}function Db(t){return(t.flags&128)===128}function $D(){return UD++}function WD(t){Eb.set(t[ma],t)}function GD(t){Eb.delete(t[ma])}function Mn(t,e){ei(e)?(t[Kp]=e[ma],WD(e)):t[Kp]=e}function Cb(t){return Sb(t[Wr])}function Ib(t){return Sb(t[kt])}function Sb(t){for(;t!==null&&!cn(t);)t=t[kt];return t}function Mb(t){Md=t}function qD(){if(Md!==void 0)return Md;if(typeof document<"u")return document;throw new x(210,!1)}function ku(t,e,i=!1){return QD(t,e,i)}function JD(){if(Fs===void 0&&(Fs=null,Jn.trustedTypes))try{Fs=Jn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fs}function wa(t){return JD()?.createHTML(t)||t}function dn(t){return t instanceof sn?t.changingThisBreaksApplicationSecurity:t}function cr(t,e){let i=eE(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${bg})`)}return i===e}function eE(t){return t instanceof sn&&t.getTypeName()||null}function Ab(t){return new Td(t)}function Ob(t){return new Ad(t)}function Nb(t){return new Od(t)}function Fb(t){return new Nd(t)}function kb(t){return new Fd(t)}function tE(t){let e=new Rd(t);return nE()?new kd(e):e}function nE(){try{return!!new window.DOMParser().parseFromString(wa(""),"text/html")}catch{return!1}}function Ru(t){return t=String(t),t.match(iE)?t:"unsafe:"+t}function un(t){let e={};for(let i of t.split(","))e[i]=!0;return e}function io(...t){let e={};for(let i of t)for(let n in i)i.hasOwnProperty(n)&&(e[n]=!0);return e}function uE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function fE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw jb(e);return e}function hE(t){let e=t.firstChild;if(e&&uE(t,e))throw jb(e);return e}function Xp(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function jb(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function Jp(t){return t.replace(/&/g,"&amp;").replace(mE,function(e){let i=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(pE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Bb(t,e){let i=null;try{ks=ks||tE(t);let n=e?String(e):"";i=ks.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=ks.getInertBodyElement(n)}while(n!==o);let a=new Pd().sanitizeChildren(eg(i)||i);return wa(a)}finally{if(i){let n=eg(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function eg(t){return"content"in t&&gE(t)?t.content:null}function gE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function yE(t){return t.replace(bE,e=>e.replace(vE,_E))}function Pu(t,e){return wE(t,e)}function Gi(t,e,i,n,r){if(n!=null){let o,s=!1;cn(n)?o=n:ei(n)&&(s=!0,n=n[ln]);let a=Zt(n);t===0&&i!==null?r==null?Wb(e,i,a):Js(e,i,a,r||null,!0):t===1&&i!==null?Js(e,i,a,r||null,!0):t===2?LE(e,a,s):t===3&&e.destroyNode(a),o!=null&&jE(e,t,o,i,r)}}function xE(t,e){return t.createText(e)}function DE(t,e,i){t.setValue(e,i)}function EE(t,e){return t.createComment(yE(e))}function zb(t,e,i){return t.createElement(e,i)}function CE(t,e){Hb(t,e),e[ln]=null,e[ct]=null}function IE(t,e,i,n,r,o){n[ln]=r,n[ct]=e,Da(t,n,i,1,r,o)}function Hb(t,e){e[Yt].changeDetectionScheduler?.notify(1),Da(t,e,e[we],2,null,null)}function SE(t){let e=t[Wr];if(!e)return od(t[U],t);for(;e;){let i=null;if(ei(e))i=e[Wr];else{let n=e[nt];n&&(i=n)}if(!i){for(;e&&!e[kt]&&e!==t;)ei(e)&&od(e[U],e),e=e[je];e===null&&(e=t),ei(e)&&od(e[U],e),i=e&&e[kt]}e=i}}function ME(t,e,i,n){let r=nt+n,o=i.length;n>0&&(i[r-1][kt]=e),n<o-nt?(e[kt]=i[r],Sg(i,nt+n,e)):(i.push(e),e[kt]=null),e[je]=i;let s=e[Jr];s!==null&&i!==s&&TE(s,e);let a=e[on];a!==null&&a.insertView(t),wd(e),e[F]|=128}function TE(t,e){let i=t[er],r=e[je][je][Rt];e[Rt]!==r&&(t[F]|=yu.HasTransplantedViews),i===null?t[er]=[e]:i.push(e)}function Ub(t,e){let i=t[er],n=i.indexOf(e);i.splice(n,1)}function Xs(t,e){if(t.length<=nt)return;let i=nt+e,n=t[i];if(n){let r=n[Jr];r!==null&&r!==t&&Ub(r,n),e>0&&(t[i-1][kt]=n[kt]);let o=Gs(t,nt+e);CE(n[U],n);let s=o[on];s!==null&&s.detachView(o[U]),n[je]=null,n[kt]=null,n[F]&=-129}return n}function Lu(t,e){if(!(e[F]&256)){let i=e[we];i.destroyNode&&Da(t,e,i,3,null,null),SE(e)}}function od(t,e){if(e[F]&256)return;let i=ee(null);try{e[F]&=-129,e[F]|=256,e[ni]&&fc(e[ni]),OE(t,e),AE(t,e),e[U].type===1&&e[we].destroy();let n=e[Jr];if(n!==null&&cn(e[je])){n!==e[je]&&Ub(n,e);let r=e[on];r!==null&&r.detachView(t)}GD(e)}finally{ee(i)}}function AE(t,e){let i=t.cleanup,n=e[$r];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let s=i[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[i[o+1]];i[o].call(s)}n!==null&&(e[$r]=null);let r=e[In];if(r!==null){e[In]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function OE(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let r=e[i[n]];if(!(r instanceof oi)){let o=i[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];$t(4,a,l);try{l.call(a)}finally{$t(5,a,l)}}else{$t(4,r,o);try{o.call(r)}finally{$t(5,r,o)}}}}}function $b(t,e,i){return NE(t,e.parent,i)}function NE(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[ln];{let{componentOffset:r}=n;if(r>-1){let{encapsulation:o}=t.data[n.directiveStart+r];if(o===Gt.None||o===Gt.Emulated)return null}return yt(n,i)}}function Js(t,e,i,n,r){t.insertBefore(e,i,n,r)}function Wb(t,e,i){t.appendChild(e,i)}function tg(t,e,i,n,r){n!==null?Js(t,e,i,n,r):Wb(t,e,i)}function FE(t,e,i,n){t.removeChild(e,i,n)}function Vu(t,e){return t.parentNode(e)}function kE(t,e){return t.nextSibling(e)}function Gb(t,e,i){return PE(t,e,i)}function RE(t,e,i){return t.type&40?yt(t,i):null}function xa(t,e,i,n){let r=$b(t,n,e),o=e[we],s=n.parent||e[ct],a=Gb(s,n,e);if(r!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)tg(o,r,i[l],a,!1);else tg(o,r,i,a,!1);ng!==void 0&&ng(o,n,e,i,r)}function Hs(t,e){if(e!==null){let i=e.type;if(i&3)return yt(e,t);if(i&4)return Ld(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return Hs(t,n);{let r=t[e.index];return cn(r)?Ld(-1,r):Zt(r)}}else{if(i&32)return Pu(e,t)()||Zt(t[e.index]);{let n=qb(t,e);if(n!==null){if(Array.isArray(n))return n[0];let r=Yr(t[Rt]);return Hs(r,n)}else return Hs(t,e.next)}}}return null}function qb(t,e){if(e!==null){let n=t[Rt][ct],r=e.projection;return n.projection[r]}return null}function Ld(t,e){let i=nt+t+1;if(i<e.length){let n=e[i],r=n[U].firstChild;if(r!==null)return Hs(n,r)}return e[ii]}function LE(t,e,i){let n=Vu(t,e);n&&FE(t,n,e,i)}function ju(t,e,i,n,r,o,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&Mn(Zt(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)ju(t,e,i.child,n,r,o,!1),Gi(e,t,r,a,o);else if(l&32){let c=Pu(i,n),d;for(;d=c();)Gi(e,t,r,d,o);Gi(e,t,r,a,o)}else l&16?Yb(t,e,n,i,r,o):Gi(e,t,r,a,o);i=s?i.projectionNext:i.next}}function Da(t,e,i,n,r,o){ju(i,n,t.firstChild,e,r,o,!1)}function VE(t,e,i){let n=e[we],r=$b(t,i,e),o=i.parent||e[ct],s=Gb(o,i,e);Yb(n,0,e,i,r,s)}function Yb(t,e,i,n,r,o){let s=i[Rt],l=s[ct].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Gi(e,t,r,d,o)}else{let c=l,d=s[je];Db(n)&&(c.flags|=128),ju(t,e,c,d,r,o,!0)}}function jE(t,e,i,n,r){let o=i[ii],s=Zt(i);o!==s&&Gi(e,t,n,o,r);for(let a=nt;a<i.length;a++){let l=i[a];Da(l[U],l,t,e,n,o)}}function BE(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=n.indexOf("-")===-1?void 0:an.DashCase;r==null?t.removeStyle(i,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=an.Important),t.setStyle(i,n,r,o))}}function zE(t,e,i){t.setAttribute(e,"style",i)}function Zb(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function Kb(t,e,i){let{mergedAttrs:n,classes:r,styles:o}=i;n!==null&&bd(t,e,n),r!==null&&Zb(t,e,r),o!==null&&zE(t,e,o)}function O(t=1){Qb(Ce(),Z(),fi()+t,!1)}function Qb(t,e,i,n){if(!n)if((e[F]&3)===3){let o=t.preOrderCheckHooks;o!==null&&js(e,o,i)}else{let o=t.preOrderHooks;o!==null&&Bs(e,o,0,i)}ri(i)}function v(t,e=Y.Default){let i=Z();if(i===null)return g(t,e);let n=$e();return _b(n,i,Ze(t),e)}function Xb(){let t="invalid";throw new Error(t)}function Jb(t,e,i,n,r,o){let s=ee(null);try{let a=null;r&y.SignalBased&&(a=e[n][Wo]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&y.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,i,n):Gg(e,a,n,o)}finally{ee(s)}}function HE(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let r=i[n];if(r<0)ri(~r);else{let o=r,s=i[++n],a=i[++n];gD(s,o);let l=e[o];a(2,l)}}}finally{ri(-1)}}function Ea(t,e,i,n,r,o,s,a,l,c,d){let u=e.blueprint.slice();return u[ln]=r,u[F]=n|4|128|8|64,(c!==null||t&&t[F]&2048)&&(u[F]|=2048),Xg(u),u[je]=u[or]=t,u[vt]=i,u[Yt]=s||t&&t[Yt],u[we]=a||t&&t[we],u[Ji]=l||t&&t[Ji]||null,u[ct]=o,u[ma]=$D(),u[Ur]=d,u[$g]=c,u[Rt]=e.type==2?t[Rt]:u,u}function dr(t,e,i,n,r){let o=t.data[e];if(o===null)o=UE(t,e,i,n,r),pD()&&(o.flags|=32);else if(o.type&64){o.type=i,o.value=n,o.attrs=r;let s=fD();o.injectorIndex=s===null?-1:s.injectorIndex}return ui(o,!0),o}function UE(t,e,i,n,r){let o=nb(),s=Cu(),a=s?o:o&&o.parent,l=t.data[e]=ZE(t,a,i,e,n,r);return t.firstChild===null&&(t.firstChild=l),o!==null&&(s?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function ev(t,e,i,n){if(i===0)return-1;let r=e.length;for(let o=0;o<i;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return r}function tv(t,e,i,n,r){let o=fi(),s=n&2;try{ri(-1),s&&e.length>lt&&Qb(t,e,lt,!1),$t(s?2:0,r),i(n,r)}finally{ri(o),$t(s?3:1,r)}}function Bu(t,e,i){if(wu(e)){let n=ee(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{ee(n)}}}function zu(t,e,i){eb()&&(tC(t,e,i,yt(i,e)),(i.flags&64)===64&&rv(t,e,i))}function Hu(t,e,i=yt){let n=e.localNames;if(n!==null){let r=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?i(e,t):t[s];t[r++]=a}}}function nv(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Uu(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Uu(t,e,i,n,r,o,s,a,l,c,d){let u=lt+n,h=u+r,f=$E(u,h),m=typeof c=="function"?c():c;return f[U]={type:t,blueprint:f,template:i,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1,ssrId:d}}function $E(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:An);return i}function WE(t,e,i,n){let o=n.get(XD,Tb)||i===Gt.ShadowDom,s=t.selectRootElement(e,o);return GE(s),s}function GE(t){qE(t)}function YE(t,e,i,n){let r=av(e);r.push(i),t.firstCreatePass&&lv(t).push(n,r.length-1)}function ZE(t,e,i,n,r,o){let s=e?e.injectorIndex:-1,a=0;return tb()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ig(t,e,i,n,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=y.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}t===0?rg(n,i,c,a,l):rg(n,i,c,a)}return n}function rg(t,e,i,n,r){let o;t.hasOwnProperty(i)?(o=t[i]).push(e,n):o=t[i]=[e,n],r!==void 0&&o.push(r)}function KE(t,e,i){let n=e.directiveStart,r=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let d=n;d<r;d++){let u=o[d],h=i?i.get(u):null,f=h?h.inputs:null,m=h?h.outputs:null;l=ig(0,u.inputs,d,l,f),c=ig(1,u.outputs,d,c,m);let b=l!==null&&s!==null&&!bu(e)?fC(l,d,s):null;a.push(b)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function QE(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function $u(t,e,i,n,r,o,s,a){let l=yt(e,i),c=e.inputs,d;!a&&c!=null&&(d=c[n])?(Gu(t,i,d,n,r),pa(e)&&XE(i,e.index)):e.type&3?(n=QE(n),r=s!=null?s(r,e.value||"",n):r,o.setProperty(l,n,r)):e.type&12}function XE(t,e){let i=Tn(e,t);i[F]&16||(i[F]|=64)}function Wu(t,e,i,n){if(eb()){let r=n===null?null:{"":-1},o=iC(t,i),s,a;o===null?s=a=null:[s,a]=o,s!==null&&iv(t,e,i,s,r,a),r&&rC(i,n,r)}i.mergedAttrs=zr(i.mergedAttrs,i.attrs)}function iv(t,e,i,n,r,o){for(let c=0;c<n.length;c++)Ed(Qs(i,e),t,n[c].type);sC(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let d=n[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=ev(t,e,n.length,null);for(let c=0;c<n.length;c++){let d=n[c];i.mergedAttrs=zr(i.mergedAttrs,d.hostAttrs),aC(t,i,e,l,d),oC(l,d,r),d.contentQueries!==null&&(i.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(i.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}KE(t,i,o)}function JE(t,e,i,n,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;eC(s)!=a&&s.push(a),s.push(i,n,o)}}function eC(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function tC(t,e,i,n){let r=i.directiveStart,o=i.directiveEnd;pa(i)&&lC(e,i,t.data[r+i.componentOffset]),t.firstCreatePass||Qs(i,e),Mn(n,e);let s=i.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=si(e,t,a,i);if(Mn(c,e),s!==null&&uC(e,a-r,c,l,i,s),Sn(l)){let d=Tn(i.index,e);d[vt]=si(e,t,a,i)}}}function rv(t,e,i){let n=i.directiveStart,r=i.directiveEnd,o=i.index,s=bD();try{ri(o);for(let a=n;a<r;a++){let l=t.data[a],c=e[a];xd(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&nC(l,c)}}finally{ri(-1),xd(s)}}function nC(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function iC(t,e){let i=t.directiveRegistry,n=null,r=null;if(i)for(let o=0;o<i.length;o++){let s=i[o];if(Fg(e,s.selectors,!1))if(n||(n=[]),Sn(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),n.unshift(...a,s);let l=a.length;Vd(t,e,l)}else n.unshift(s),Vd(t,e,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,n,r),n.push(s)}return n===null?null:[n,r]}function Vd(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function rC(t,e,i){if(e){let n=t.localNames=[];for(let r=0;r<e.length;r+=2){let o=i[e[r+1]];if(o==null)throw new x(-301,!1);n.push(e[r],o)}}}function oC(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;Sn(e)&&(i[""]=t)}}function sC(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function aC(t,e,i,n,r){t.data[n]=r;let o=r.factory||(r.factory=Zi(r.type,!0)),s=new oi(o,Sn(r),v);t.blueprint[n]=s,i[n]=s,JE(t,e,n,ev(t,i,r.hostVars,An),r)}function lC(t,e,i){let n=yt(e,t),r=nv(i),o=t[Yt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Ca(t,Ea(t,r,null,s,n,e,null,o.createRenderer(n,i),null,null,null));t[e.index]=a}function cC(t,e,i,n,r,o){let s=yt(t,e);dC(e[we],s,o,t.value,i,n,r)}function dC(t,e,i,n,r,o,s){if(o==null)t.removeAttribute(e,r,i);else{let a=s==null?hu(o):s(o,n||"",r);t.setAttribute(e,r,a,i)}}function uC(t,e,i,n,r,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],d=s[a++],u=s[a++];Jb(n,i,l,c,d,u)}}function fC(t,e,i){let n=null,r=0;for(;r<i.length;){let o=i[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],i[r+1]);break}}r+=2}return n}function ov(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function sv(t,e){let i=t.contentQueries;if(i!==null){let n=ee(null);try{for(let r=0;r<i.length;r+=2){let o=i[r],s=i[r+1];if(s!==-1){let a=t.data[s];Su(o),a.contentQueries(2,e[s],s)}}}finally{ee(n)}}}function Ca(t,e){return t[Wr]?t[Up][kt]=e:t[Wr]=e,t[Up]=e,e}function jd(t,e,i){Su(0);let n=ee(null);try{e(t,i)}finally{ee(n)}}function av(t){return t[$r]||(t[$r]=[])}function lv(t){return t.cleanup||(t.cleanup=[])}function cv(t,e){let i=t[Ji],n=i?i.get(it,null):null;n&&n.handleError(e)}function Gu(t,e,i,n,r){for(let o=0;o<i.length;){let s=i[o++],a=i[o++],l=i[o++],c=e[s],d=t.data[s];Jb(d,c,n,a,l,r)}}function hC(t,e,i){let n=Qg(e,t);DE(t[we],n,i)}function mC(t,e){let i=Tn(e,t),n=i[U];pC(n,i);let r=i[ln];r!==null&&i[Ur]===null&&(i[Ur]=ku(r,i[Ji])),qu(n,i,i[vt])}function pC(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function qu(t,e,i){Mu(e);try{let n=t.viewQuery;n!==null&&jd(1,n,i);let r=t.template;r!==null&&tv(t,e,r,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[on]?.finishViewCreation(t),t.staticContentQueries&&sv(t,e),t.staticViewQueries&&jd(2,t.viewQuery,i);let o=t.components;o!==null&&gC(e,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[F]&=-5,Tu()}}function gC(t,e){for(let i=0;i<e.length;i++)mC(t,e[i])}function dv(t,e,i,n){let r=ee(null);try{let o=e.tView,a=t[F]&4096?4096:16,l=Ea(t,o,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[Jr]=c;let d=t[on];return d!==null&&(l[on]=d.createEmbeddedView(o)),qu(o,l,i),l}finally{ee(r)}}function bC(t,e){let i=nt+e;if(i<t.length)return t[i]}function Bd(t,e){return!e||e.firstChild===null||Db(t)}function uv(t,e,i,n=!0){let r=e[U];if(ME(r,e,t,i),n){let s=Ld(i,t),a=e[we],l=Vu(a,t[ii]);l!==null&&IE(r,t[ct],a,e,l,s)}let o=e[Ur];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function vC(t,e){let i=Xs(t,e);return i!==void 0&&Lu(i[U],i),i}function ea(t,e,i,n,r=!1){for(;i!==null;){let o=e[i.index];o!==null&&n.push(Zt(o)),cn(o)&&_C(o,n);let s=i.type;if(s&8)ea(t,e,i.child,n);else if(s&32){let a=Pu(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=qb(e,i);if(Array.isArray(a))n.push(...a);else{let l=Yr(e[Rt]);ea(l[U],l,a,n,!0)}}i=r?i.projectionNext:i.next}return n}function _C(t,e){for(let i=nt;i<t.length;i++){let n=t[i],r=n[U].firstChild;r!==null&&ea(n[U],n,r,e)}t[ii]!==t[ln]&&e.push(t[ii])}function yC(t){return t[ni]??wC(t)}function wC(t){let e=fv.pop()??Object.create(DC);return e.lView=t,e}function xC(t){t.lView[ni]!==t&&(t.lView=null,fv.push(t))}function mv(t,e=!0,i=0){let n=t[Yt],r=n.rendererFactory,o=!1;o||r.begin?.();try{EC(t,i)}catch(s){throw e&&cv(t,s),s}finally{o||(r.end?.(),n.inlineEffectRunner?.flush())}}function EC(t,e){zd(t,e);let i=0;for(;Eu(t);){if(i===hv)throw new x(103,!1);i++,zd(t,1)}}function CC(t,e,i,n){let r=e[F];if((r&256)===256)return;let o=!1;!o&&e[Yt].inlineEffectRunner?.flush(),Mu(e);let s=null,a=null;!o&&IC(t)&&(a=yC(e),s=dc(a));try{Xg(e),mD(t.bindingStartIndex),i!==null&&tv(t,e,i,2,n);let l=(r&3)===3;if(!o)if(l){let u=t.preOrderCheckHooks;u!==null&&js(e,u,null)}else{let u=t.preOrderHooks;u!==null&&Bs(e,u,0,null),td(e,0)}if(SC(e),pv(e,0),t.contentQueries!==null&&sv(t,e),!o)if(l){let u=t.contentCheckHooks;u!==null&&js(e,u)}else{let u=t.contentHooks;u!==null&&Bs(e,u,1),td(e,1)}HE(t,e);let c=t.components;c!==null&&bv(e,c,0);let d=t.viewQuery;if(d!==null&&jd(2,d,n),!o)if(l){let u=t.viewCheckHooks;u!==null&&js(e,u)}else{let u=t.viewHooks;u!==null&&Bs(e,u,2),td(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Vs]){for(let u of e[Vs])u();e[Vs]=null}o||(e[F]&=-73)}catch(l){throw qr(e),l}finally{a!==null&&(uc(a,s),xC(a)),Tu()}}function IC(t){return t.type!==2}function pv(t,e){for(let i=Cb(t);i!==null;i=Ib(i))for(let n=nt;n<i.length;n++){let r=i[n];gv(r,e)}}function SC(t){for(let e=Cb(t);e!==null;e=Ib(e)){if(!(e[F]&yu.HasTransplantedViews))continue;let i=e[er];for(let n=0;n<i.length;n++){let r=i[n],o=r[je];rD(r)}}}function MC(t,e,i){let n=Tn(e,t);gv(n,i)}function gv(t,e){Du(t)&&zd(t,e)}function zd(t,e){let n=t[U],r=t[F],o=t[ni],s=!!(e===0&&r&16);if(s||=!!(r&64&&e===0),s||=!!(r&1024),s||=!!(o?.dirty&&Go(o)),o&&(o.dirty=!1),t[F]&=-9217,s)CC(n,t,n.template,t[vt]);else if(r&8192){pv(t,1);let a=n.components;a!==null&&bv(t,a,1)}}function bv(t,e,i){for(let n=0;n<e.length;n++)MC(t,e[n],i)}function Yu(t){for(t[Yt].changeDetectionScheduler?.notify();t;){t[F]|=64;let e=Yr(t);if(Yx(t)&&!e)return t;t=e}return null}function OC(){return Ia($e(),Z())}function Ia(t,e){return t.type&4?new AC(e,t,lr(t,e)):null}function Hd(t,e){return NC(t,e)}function FC(t){let e=Error(`No component factory found for ${at(t)}.`);return e[kC]=t,e}function RC(){let t=Z(),e=$e(),i=Tn(e.index,t);return(ei(i)?i:t)[we]}function hi(t){og.has(t)||(og.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function sg(...t){}function LC(){let t=typeof Jn.requestAnimationFrame=="function",e=Jn[t?"requestAnimationFrame":"setTimeout"],i=Jn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}function Zu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function jC(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Jn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Wd(t),t.isCheckStableRunning=!0,Zu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Wd(t))}function BC(t){let e=()=>{jC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,s,a)=>{if(zC(a))return i.invokeTask(r,o,s,a);try{return ag(t),i.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),lg(t)}},onInvoke:(i,n,r,o,s,a,l)=>{try{return ag(t),i.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),lg(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Wd(t),Zu(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Wd(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ag(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function lg(t){t._nesting--,Zu(t)}function zC(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function na(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)r=hd(r,a);else if(o==2){let l=a,c=e[++s];n=hd(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=r:t.classesWithoutHost=r}function cg(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function HC(t){let e=t.toLowerCase();return e==="svg"?Kg:e==="math"?Xx:null}function UC(t,e){let i=t[U],n=lt;return t[n]=e,dr(i,n,2,"#host",null)}function $C(t,e,i,n,r,o,s){let a=r[U];WC(n,t,e,s);let l=null;e!==null&&(l=ku(e,r[Ji]));let c=o.rendererFactory.createRenderer(e,i),d=16;i.signals?d=4096:i.onPush&&(d=64);let u=Ea(r,nv(i),null,d,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Vd(a,t,n.length-1),Ca(r,u),r[t.index]=u}function WC(t,e,i,n){for(let r of t)e.mergedAttrs=zr(e.mergedAttrs,r.hostAttrs);e.mergedAttrs!==null&&(na(e,e.mergedAttrs,!0),i!==null&&Kb(n,i,e))}function GC(t,e,i,n,r,o){let s=$e(),a=r[U],l=yt(s,r);iv(a,r,s,i,null,n);for(let d=0;d<i.length;d++){let u=s.directiveStart+d,h=si(r,a,u,s);Mn(h,r)}rv(a,r,s),l&&Mn(l,r);let c=si(r,a,s.directiveStart+s.componentOffset,s);if(t[vt]=r[vt]=c,o!==null)for(let d of o)d(c,e);return Bu(a,s,r),c}function qC(t,e,i,n){if(n)bd(t,i,["ng-version","17.3.11"]);else{let{attrs:r,classes:o}=Ax(e.selectors[0]);r&&bd(t,i,r),o&&o.length>0&&Zb(t,i,o.join(" "))}}function YC(t,e,i){let n=t.projection=[];for(let r=0;r<e.length;r++){let o=i[r];n.push(o!=null?Array.from(o):null)}}function ZC(){let t=$e();ya(Z()[U],t)}function KC(){let t=$e();return yv(t,Z())}function dg(t){return t[Ys]}function ad(t){return t[Ys]||(t[Ys]=[])}function yv(t,e){let i,n=e[t.index];return cn(n)?i=n:(i=ov(n,e,null,t),e[t.index]=i,Ca(e,i)),JC(i,e,t,n),new _v(i,t,e)}function XC(t,e){let i=t[we],n=i.createComment(""),r=yt(e,t),o=Vu(i,r);return Js(i,o,n,kE(i,r),!1),n}function tI(t,e,i){return eI(t,e,i)}function nI(t,e,i,n){if(t[ii])return;let r;i.type&8?r=Zt(n):r=XC(e,i),t[ii]=r}function iI(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function rI(t,e){return t.type&11?lr(t,e):t.type&4?Ia(t,e):null}function oI(t,e,i,n){return i===-1?rI(e,t):i===-2?sI(t,e,n):si(t,t[U],i,e)}function sI(t,e,i){if(i===V)return lr(e,t);if(i===Pt)return Ia(e,t);if(i===dt)return yv(e,t)}function wv(t,e,i,n){let r=e[on].queries[n];if(r.matches===null){let o=t.data,s=i.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(oI(e,d,s[l+1],i.metadata.read))}}r.matches=a}return r.matches}function Jd(t,e,i,n){let r=t.queries.getByIndex(i),o=r.matches;if(o!==null){let s=wv(t,e,r,i);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)n.push(s[a/2]);else{let c=o[a+1],d=e[-l];for(let u=nt;u<d.length;u++){let h=d[u];h[Jr]===h[je]&&Jd(h[U],h,c,n)}if(d[er]!==null){let u=d[er];for(let h=0;h<u.length;h++){let f=u[h];Jd(f[U],f,c,n)}}}}}return n}function aI(t,e){return t[on].queries[e].queryList}function xv(t,e,i){let n=new nr((i&4)===4);return YE(t,e,n,n.destroy),(e[on]??=new Kd).queries.push(new Zd(n))-1}function lI(t,e,i){let n=Ce();return n.firstCreatePass&&(Dv(n,new ra(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),xv(n,Z(),e)}function cI(t,e,i,n){let r=Ce();if(r.firstCreatePass){let o=$e();Dv(r,new ra(e,i,n),o.index),uI(r,t),(i&2)===2&&(r.staticContentQueries=!0)}return xv(r,Z(),i)}function dI(t){return t.split(",").map(e=>e.trim())}function Dv(t,e,i){t.queries===null&&(t.queries=new Qd),t.queries.track(new Xd(e,i))}function uI(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Ku(t,e){return t.queries.getByIndex(e)}function fI(t,e){let i=t[U],n=Ku(i,e);return n.crossesNgTemplate?Jd(i,t,e,[]):wv(i,t,n,e)}function Sa(t){return typeof t=="function"&&t[Wo]!==void 0}function Ev(t){return Sa(t)&&typeof t.set=="function"}function hI(t){return Object.getPrototypeOf(t.prototype).constructor}function wt(t){let e=hI(t.type),i=!0,n=[t];for(;e;){let r;if(Sn(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new x(903,!1);r=e.\u0275dir}if(r){if(i){n.push(r);let s=t;s.inputs=Rs(t.inputs),s.inputTransforms=Rs(t.inputTransforms),s.declaredInputs=Rs(t.declaredInputs),s.outputs=Rs(t.outputs);let a=r.hostBindings;a&&vI(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&gI(t,l),c&&bI(t,c),mI(t,r),Zw(t.outputs,r.outputs),Sn(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===wt&&(i=!1)}}e=Object.getPrototypeOf(e)}pI(n)}function mI(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let r=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=e.inputTransforms[r]}}}function pI(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=zr(r.hostAttrs,i=zr(i,r.hostAttrs))}}function Rs(t){return t===Ki?{}:t===tt?[]:t}function gI(t,e){let i=t.viewQuery;i?t.viewQuery=(n,r)=>{e(n,r),i(n,r)}:t.viewQuery=e}function bI(t,e){let i=t.contentQueries;i?t.contentQueries=(n,r,o)=>{e(n,r,o),i(n,r,o)}:t.contentQueries=e}function vI(t,e){let i=t.hostBindings;i?t.hostBindings=(n,r)=>{e(n,r),i(n,r)}:t.hostBindings=e}function We(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];Array.isArray(r)&&r[3]&&(i[n]=r[3])}t.inputTransforms=i}function _I(t,e,i=null){return new oa({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}function Cv(t){return wI(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function yI(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function wI(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function On(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function xI(t){return(t.flags&32)===32}function DI(t,e,i,n,r,o,s,a,l){let c=e.consts,d=dr(e,t,4,s||null,tr(c,a));Wu(e,i,d,tr(c,l)),ya(e,d);let u=d.tView=Uu(2,d,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function de(t,e,i,n,r,o,s,a){let l=Z(),c=Ce(),d=t+lt,u=c.firstCreatePass?DI(d,c,l,e,i,n,r,o,s):c.data[d];ui(u,!1);let h=EI(c,l,u,t);va()&&xa(c,l,h,u),Mn(h,l);let f=ov(h,l,h,u);return l[d]=f,Ca(l,f),tI(f,u,l),ga(u)&&zu(c,l,u),s!=null&&Hu(l,u,a),de}function CI(t,e,i,n){return _a(!0),e[we].createComment("")}function xe(t,e,i,n){let r=Z(),o=sr();if(On(r,o,e)){let s=Ce(),a=ba();cC(a,r,t,e,i,n)}return xe}function Iv(t,e,i,n){return On(t,sr(),i)?e+hu(i)+n:An}function Ps(t,e){return t<<17|e<<2}function ci(t){return t>>17&32767}function II(t){return(t&2)==2}function SI(t,e){return t&131071|e<<17}function eu(t){return t|2}function rr(t){return(t&131068)>>2}function ld(t,e){return t&-131069|e<<2}function MI(t){return(t&1)===1}function tu(t){return t|1}function TI(t,e,i,n,r,o){let s=o?e.classBindings:e.styleBindings,a=ci(s),l=rr(s);t[n]=i;let c=!1,d;if(Array.isArray(i)){let u=i;d=u[1],(d===null||Xr(u,d)>0)&&(c=!0)}else d=i;if(r)if(l!==0){let h=ci(t[a+1]);t[n+1]=Ps(h,a),h!==0&&(t[h+1]=ld(t[h+1],n)),t[a+1]=SI(t[a+1],n)}else t[n+1]=Ps(a,0),a!==0&&(t[a+1]=ld(t[a+1],n)),a=n;else t[n+1]=Ps(l,0),a===0?a=n:t[l+1]=ld(t[l+1],n),l=n;c&&(t[n+1]=eu(t[n+1])),ug(t,d,n,!0),ug(t,d,n,!1),AI(e,d,t,n,o),s=Ps(a,l),o?e.classBindings=s:e.styleBindings=s}function AI(t,e,i,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Xr(o,e)>=0&&(i[n+1]=tu(i[n+1]))}function ug(t,e,i,n){let r=t[i+1],o=e===null,s=n?ci(r):rr(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];OI(l,e)&&(a=!0,t[s+1]=n?tu(c):eu(c)),s=n?ci(c):rr(c)}a&&(t[i+1]=n?eu(r):tu(r))}function OI(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Xr(t,e)>=0:!1}function NI(t){return t.substring(Ft.key,Ft.keyEnd)}function FI(t){return kI(t),Sv(t,Mv(t,0,Ft.textEnd))}function Sv(t,e){let i=Ft.textEnd;return i===e?-1:(e=Ft.keyEnd=RI(t,Ft.key=e,i),Mv(t,e,i))}function kI(t){Ft.key=0,Ft.keyEnd=0,Ft.value=0,Ft.valueEnd=0,Ft.textEnd=t.length}function Mv(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function RI(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function ne(t,e,i){let n=Z(),r=sr();if(On(n,r,e)){let o=Ce(),s=ba();$u(o,s,n,t,e,n[we],i,!1)}return ne}function nu(t,e,i,n,r){let o=e.inputs,s=r?"class":"style";Gu(t,i,o[s],s,n)}function hn(t,e,i){return Av(t,e,i,!1),hn}function fe(t,e){return Av(t,e,null,!0),fe}function fr(t){Ov(zI,Tv,t,!0)}function Tv(t,e){for(let i=FI(e);i>=0;i=Sv(e,i))ua(t,NI(e),!0)}function Av(t,e,i,n){let r=Z(),o=Ce(),s=ib(2);if(o.firstUpdatePass&&Fv(o,t,s,n),e!==An&&On(r,s,e)){let a=o.data[fi()];kv(o,a,r,r[we],t,r[s+1]=UI(e,i),n,s)}}function Ov(t,e,i,n){let r=Ce(),o=ib(2);r.firstUpdatePass&&Fv(r,null,o,n);let s=Z();if(i!==An&&On(s,o,i)){let a=r.data[fi()];if(Rv(a,n)&&!Nv(r,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=hd(l,i||"")),nu(r,a,s,i,n)}else HI(r,a,s,s[we],s[o+1],s[o+1]=BI(t,e,i),n,o)}}function Nv(t,e){return e>=t.expandoStartIndex}function Fv(t,e,i,n){let r=t.data;if(r[i+1]===null){let o=r[fi()],s=Nv(t,i);Rv(o,n)&&e===null&&!s&&(e=!1),e=PI(r,o,e,n),TI(r,o,e,i,s,n)}}function PI(t,e,i,n){let r=vD(t),o=n?e.residualClasses:e.residualStyles;if(r===null)(n?e.classBindings:e.styleBindings)===0&&(i=cd(null,t,e,i,n),i=Kr(i,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==r)if(i=cd(r,t,e,i,n),o===null){let l=LI(t,e,n);l!==void 0&&Array.isArray(l)&&(l=cd(null,t,e,l[1],n),l=Kr(l,e.attrs,n),VI(t,e,n,l))}else o=jI(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),i}function LI(t,e,i){let n=i?e.classBindings:e.styleBindings;if(rr(n)!==0)return t[ci(n)]}function VI(t,e,i,n){let r=i?e.classBindings:e.styleBindings;t[ci(r)]=n}function jI(t,e,i){let n,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;n=Kr(n,s,i)}return Kr(n,e.attrs,i)}function cd(t,e,i,n,r){let o=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(o=e[a],n=Kr(n,o.hostAttrs,r),o!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function Kr(t,e,i){let n=i?1:2,r=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?r=s:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),ua(t,s,i?!0:e[++o]))}return t===void 0?null:t}function BI(t,e,i){if(i==null||i==="")return tt;let n=[],r=dn(i);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&e(n,r);return n}function zI(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&ua(t,n,i)}function HI(t,e,i,n,r,o,s,a){r===An&&(r=tt);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;d!==null||u!==null;){let h=l<r.length?r[l+1]:void 0,f=c<o.length?o[c+1]:void 0,m=null,b;d===u?(l+=2,c+=2,h!==f&&(m=u,b=f)):u===null||d!==null&&d<u?(l+=2,m=d):(c+=2,m=u,b=f),m!==null&&kv(t,e,i,n,m,b,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function kv(t,e,i,n,r,o,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],d=MI(c)?fg(l,e,i,r,rr(c),s):void 0;if(!sa(d)){sa(o)||II(c)&&(o=fg(l,null,i,r,a,s));let u=Qg(fi(),i);BE(n,s,u,r,o)}}function fg(t,e,i,n,r,o){let s=e===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,h=i[r+1];h===An&&(h=u?tt:void 0);let f=u?Jc(h,n):d===n?h:void 0;if(c&&!sa(f)&&(f=Jc(l,n)),sa(f)&&(a=f,s))return a;let m=t[r+1];r=s?ci(m):rr(m)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Jc(l,n))}return a}function sa(t){return t!==void 0}function UI(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=at(dn(t)))),t}function Rv(t,e){return(t.flags&(e?8:16))!==0}function Pv(t,e,i){let n=Z(),r=Iv(n,t,e,i);Ov(ua,Tv,r,!0)}function Ie(t,e,i){hi("NgControlFlow");let n=Z(),r=sr(),o=$I(n,lt+t),s=0;if(On(n,r,e)){let a=ee(null);try{if(vC(o,s),e!==-1){let l=WI(n[U],lt+e),c=Hd(o,l.tView.ssrId),d=dv(n,l,i,{dehydratedView:c});uv(o,d,s,Bd(l,c))}}finally{ee(a)}}else{let a=bC(o,s);a!==void 0&&(a[vt]=i)}}function $I(t,e){return t[e]}function WI(t,e){return xu(t,e)}function GI(t,e,i,n,r,o){let s=e.consts,a=tr(s,r),l=dr(e,t,2,n,a);return Wu(e,i,l,tr(s,o)),l.attrs!==null&&na(l,l.attrs,!1),l.mergedAttrs!==null&&na(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function k(t,e,i,n){let r=Z(),o=Ce(),s=lt+t,a=r[we],l=o.firstCreatePass?GI(s,o,r,e,i,n):o.data[s],c=qI(o,r,l,a,e,t);r[s]=c;let d=ga(l);return ui(l,!0),Kb(a,c,l),!xI(l)&&va()&&xa(o,r,c,l),aD()===0&&Mn(c,r),lD(),d&&(zu(o,r,l),Bu(o,l,r)),n!==null&&Hu(r,l),k}function j(){let t=$e();Cu()?Iu():(t=t.parent,ui(t,!1));let e=t;dD(e)&&uD(),cD();let i=Ce();return i.firstCreatePass&&(ya(i,t),wu(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&ID(e)&&nu(i,e,Z(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&SD(e)&&nu(i,e,Z(),e.stylesWithoutHost,!1),j}function me(t,e,i,n){return k(t,e,i,n),j(),me}function YI(t,e,i,n,r){let o=e.consts,s=tr(o,n),a=dr(e,t,8,"ng-container",s);s!==null&&na(a,s,!0);let l=tr(o,r);return Wu(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function Lv(t,e,i){let n=Z(),r=Ce(),o=t+lt,s=r.firstCreatePass?YI(o,r,n,e,i):r.data[o];ui(s,!0);let a=ZI(r,n,s,t);return n[o]=a,va()&&xa(r,n,a,s),Mn(a,n),ga(s)&&(zu(r,n,s),Bu(r,s,n)),i!=null&&Hu(n,s),Lv}function Vv(){let t=$e(),e=Ce();return Cu()?Iu():(t=t.parent,ui(t,!1)),e.firstCreatePass&&(ya(e,t),wu(t)&&e.queries.elementEnd(t)),Vv}function oo(t,e,i){return Lv(t,e,i),Vv(),oo}function mi(){return Z()}function so(t,e,i){let n=Z(),r=sr();if(On(n,r,e)){let o=Ce(),s=ba();$u(o,s,n,t,e,n[we],i,!0)}return so}function QI(t){typeof t=="string"&&(KI=t.toLowerCase().replace(/_/g,"-"))}function Oe(t,e,i,n){let r=Z(),o=Ce(),s=$e();return jv(o,r,r[we],s,t,e,n),Oe}function XI(t,e,i,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===i&&r[o+1]===n){let a=e[$r],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function jv(t,e,i,n,r,o,s){let a=ga(n),c=t.firstCreatePass&&lv(t),d=e[vt],u=av(e),h=!0;if(n.type&3||s){let b=yt(n,e),w=s?s(b):b,_=u.length,L=s?H=>s(Zt(H[n.index])):n.index,X=null;if(!s&&a&&(X=XI(t,e,r,n.index)),X!==null){let H=X.__ngLastListenerFn__||X;H.__ngNextListenerFn__=o,X.__ngLastListenerFn__=o,h=!1}else{o=mg(n,e,d,o,!1);let H=i.listen(w,r,o);u.push(o,H),c&&c.push(r,L,_,_+1)}}else o=mg(n,e,d,o,!1);let f=n.outputs,m;if(h&&f!==null&&(m=f[r])){let b=m.length;if(b)for(let w=0;w<b;w+=2){let _=m[w],L=m[w+1],Pe=e[_][L].subscribe(o),ve=u.length;u.push(o,Pe),c&&c.push(r,n.index,ve,-(ve+1))}}}function hg(t,e,i,n){let r=ee(null);try{return $t(6,e,i),i(n)!==!1}catch(o){return cv(t,o),!1}finally{$t(7,e,i),ee(r)}}function mg(t,e,i,n,r){return function o(s){if(s===Function)return n;let a=t.componentOffset>-1?Tn(t.index,e):e;Yu(a);let l=hg(e,i,n,s),c=o.__ngNextListenerFn__;for(;c;)l=hg(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return r&&l===!1&&s.preventDefault(),l}}function pe(t=1){return yD(t)}function JI(t,e){let i=null,n=Ex(t);for(let r=0;r<e.length;r++){let o=e[r];if(o==="*"){i=r;continue}if(n===null?Fg(t,o,!0):Sx(n,o))return r}return i}function xt(t){let e=Z()[Rt][ct];if(!e.projection){let i=t?t.length:1,n=e.projection=px(i,null),r=n.slice(),o=e.child;for(;o!==null;){let s=t?JI(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:n[s]=o,r[s]=o),o=o.next}}}function De(t,e=0,i){let n=Z(),r=Ce(),o=dr(r,lt+t,16,null,i||null);o.projection===null&&(o.projection=e),Iu(),(!n[Ur]||tb())&&(o.flags&32)!==32&&VE(r,n,o)}function Dt(t,e,i,n){cI(t,e,i,n)}function Ne(t,e,i){lI(t,e,i)}function le(t){let e=Z(),i=Ce(),n=rb();Su(n+1);let r=Ku(i,n);if(t.dirty&&nD(e)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=fI(e,n);t.reset(o,zD),t.notifyOnChanges()}return!0}return!1}function ce(){return aI(Z(),rb())}function pi(t){let e=hD();return tD(e,lt+t)}function ut(t,e=""){let i=Z(),n=Ce(),r=t+lt,o=n.firstCreatePass?dr(n,r,1,e,null):n.data[r],s=eS(n,i,o,e,t);i[r]=s,va()&&xa(n,i,s,o),ui(o,!1)}function Qt(t){return gi("",t,""),Qt}function gi(t,e,i){let n=Z(),r=Iv(n,t,e,i);return r!==An&&hC(n,fi(),r),gi}function Ma(t,e,i){Ev(e)&&(e=e());let n=Z(),r=sr();if(On(n,r,e)){let o=Ce(),s=ba();$u(o,s,n,t,e,n[we],i,!1)}return Ma}function Qu(t,e){let i=Ev(t);return i&&t.set(e),i}function Ta(t,e){let i=Z(),n=Ce(),r=$e();return jv(n,i,i[we],r,t,e),Ta}function tS(t,e,i){let n=Ce();if(n.firstCreatePass){let r=Sn(t);iu(i,n.data,n.blueprint,r,!0),iu(e,n.data,n.blueprint,r,!1)}}function iu(t,e,i,n,r){if(t=Ze(t),Array.isArray(t))for(let o=0;o<t.length;o++)iu(t[o],e,i,n,r);else{let o=Ce(),s=Z(),a=$e(),l=Xi(t)?t:Ze(t.provide),c=zg(t),d=a.providerIndexes&1048575,u=a.directiveStart,h=a.providerIndexes>>20;if(Xi(t)||!t.multi){let f=new oi(c,r,v),m=ud(l,e,r?d:d+h,u);m===-1?(Ed(Qs(a,s),o,l),dd(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(f),s.push(f)):(i[m]=f,s[m]=f)}else{let f=ud(l,e,d+h,u),m=ud(l,e,d,d+h),b=f>=0&&i[f],w=m>=0&&i[m];if(r&&!w||!r&&!b){Ed(Qs(a,s),o,l);let _=rS(r?iS:nS,i.length,r,n,c);!r&&w&&(i[m].providerFactory=_),dd(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(_),s.push(_)}else{let _=Bv(i[r?m:f],c,!r&&n);dd(o,t,f>-1?f:m,_)}!r&&n&&w&&i[m].componentProviders++}}}function dd(t,e,i,n){let r=Xi(e),o=jx(e);if(r||o){let l=(o?Ze(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let d=c.indexOf(i);d===-1?c.push(i,[n,l]):c[d+1].push(n,l)}else c.push(i,l)}}}function Bv(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function ud(t,e,i,n){for(let r=i;r<n;r++)if(e[r]===t)return r;return-1}function nS(t,e,i,n){return ru(this.multi,[])}function iS(t,e,i,n){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=si(i,i[U],this.providerFactory.index,n);o=a.slice(0,s),ru(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],ru(r,o);return o}function ru(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function rS(t,e,i,n,r){let o=new oi(t,i,v);return o.multi=[],o.index=e,o.componentProviders=0,Bv(o,r,n&&!i),o}function Ke(t,e=[]){return i=>{i.providersResolver=(n,r)=>tS(n,r?r(t):t,e)}}function Se(t){hi("NgStandalone"),t.getStandaloneInjector=e=>e.get(oS).getOrCreateStandaloneInjector(t)}function Aa(t,e){return Ia(t,e)}function ao(t){return!!t&&typeof t.then=="function"}function Hv(t){return!!t&&typeof t.subscribe=="function"}function aS(){pm(()=>{throw new x(600,!1)})}function lS(t){return t.isBoundToModule}function cS(t,e,i){try{let n=i();return ao(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function fd(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function dS(t,e,i){!e&&!ou(t)||uS(t,i,e)}function ou(t){return Eu(t)}function uS(t,e,i){let n;i?(n=0,t[F]|=1024):t[F]&64?n=0:n=1,mv(t,e,n)}function hS(t){return[{provide:S,useFactory:t},{provide:Br,multi:!0,useFactory:()=>{let e=C(fS,{optional:!0});return()=>e.initialize()}},{provide:Br,multi:!0,useFactory:()=>{let e=C(bS);return()=>{e.initialize()}}},{provide:xb,useFactory:mS}]}function mS(){let t=C(S),e=C(it);return i=>t.runOutsideAngular(()=>e.handleError(i))}function pS(t){let e=hS(()=>new S(gS(t)));return fa([[],e])}function gS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function vS(){return typeof $localize<"u"&&$localize.locale||aa}function _S(t=[],e){return jt.create({name:e,providers:[{provide:ha,useValue:"platform"},{provide:Wv,useValue:new Set([()=>Us=null])},...t]})}function yS(t=[]){if(Us)return Us;let e=_S(t);return Us=e,aS(),wS(e),e}function wS(t){t.get(Fu,null)?.forEach(i=>i())}function xS(t){return DS($e(),Z(),(t&16)===16)}function DS(t,e,i){if(pa(t)&&!i){let n=Tn(t.index,e);return new ai(n,n)}else if(t.type&47){let n=e[Rt];return new ai(n,e)}return null}function pg(t,e,i){let n=t.previousIndex;if(n===null)return n;let r=0;return i&&n<i.length&&(r=i[n]),n+e+r}function gg(){return new Na([new su])}function Xu(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,r=yS(n),o=[pS(),...i||[]],a=new oa({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(S);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(it,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:f=>{c.handleError(f)}})});let u=()=>a.destroy(),h=r.get(Wv);return h.add(u),a.onDestroy(()=>{d.unsubscribe(),h.delete(u)}),cS(c,l,()=>{let f=a.get(Uv);return f.runInitializers(),f.donePromise.then(()=>{let m=a.get(Oa,aa);QI(m||aa);let b=a.get(Nn);return e!==void 0&&b.bootstrap(e),b})})})}catch(e){return Promise.reject(e)}}function ue(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function mn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Ju(t,e){hi("NgSignals"),!e?.injector&&Gx(Ju);let i=e?.injector??C(jt),n=e?.manualCleanup!==!0?i.get(Nu):null,r=new uu(i.get(CS),t,typeof Zone>"u"?null:Zone.current,n,i,e?.allowSignalWrites??!1),o=i.get(Ge,null,{optional:!0});return!o||!(o._lView[F]&8)?r.watcher.notify():(o._lView[Vs]??=[]).push(r.watcher.notify),r}var bg,x,Ns,Jn,Kw,yg,Pp,wg,Xw,D,Jw,ex,tx,$s,Vr,Lp,Y,md,rx,jr,pd,Ws,ox,sx,ax,Vp,qi,pu,Ig,Ki,tt,Br,Mg,Tg,qs,Ag,Gt,y,Ng,Px,ha,Ls,Bx,ed,qt,Hr,ln,U,F,je,kt,ct,Ur,$r,vt,Ji,Yt,we,Wr,Up,or,Rt,Jr,Wi,on,ma,$g,In,Vs,ni,lt,Wg,ii,Ys,er,nt,yu,Gr,Yg,$p,$t,Kg,Xx,Jx,W,cb,ub,Yi,oi,Dd,TD,mb,pb,AD,Wt,ti,jt,VD,it,xb,Nu,Id,V,Sd,se,nr,Eb,UD,Kp,Md,to,YD,Fu,Kt,Be,no,ZD,KD,QD,Tb,XD,Fs,sn,Td,Ad,Od,Nd,Fd,kd,Rd,iE,Rb,Pb,Lb,rE,oE,sE,Qp,Vb,aE,lE,cE,dE,Pd,mE,pE,ks,rt,bE,vE,_E,an,wE,PE,ng,An,qE,fv,DC,hv,ai,Pt,TC,AC,LV,NC,Zr,Ud,ta,kC,$d,fn,li,ur,PC,sd,og,S,VC,vv,Gd,qd,ia,Yd,dt,QC,_v,JC,eI,Zd,Kd,ra,Qd,Xd,ir,oa,ro,EI,Ft,qI,ZI,aa,KI,eS,oS,zv,sS,Uv,$v,Nn,fS,bS,Oa,Wv,Us,Ge,su,ES,au,lu,cu,la,Na,CS,IS,du,uu,T=p(()=>{"use strict";bm();Ve();et();bg="https://g.co/ng/security#xss",x=class extends Error{constructor(e,i){super(ca(e,i)),this.code=e}};Ns="__parameters__";Jn=globalThis;Kw=he({__forward_ref__:he});yg=he({\u0275prov:he}),Pp=he({\u0275inj:he}),wg=he({ngInjectableDef:he}),Xw=he({ngInjectorDef:he}),D=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=E({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};Jw=he({\u0275cmp:he}),ex=he({\u0275dir:he}),tx=he({\u0275pipe:he}),$s=he({\u0275fac:he}),Vr=he({__NG_ELEMENT_ID__:he}),Lp=he({__NG_ENV_ID__:he});Y=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Y||{});rx={},jr=rx,pd="__NG_DI_FLAG__",Ws="ngTempTokenPath",ox="ngTokenPath",sx=/\n/gm,ax="\u0275",Vp="__source";pu=Cg(vg("Optional"),8),Ig=Cg(vg("SkipSelf"),4);Ki={},tt=[],Br=new D(""),Mg=new D("",-1),Tg=new D(""),qs=class{get(e,i=jr){if(i===jr){let n=new Error(`NullInjectorError: No provider for ${at(e)}!`);throw n.name="NullInjectorError",n}return i}},Ag=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Ag||{}),Gt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Gt||{}),y=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(y||{});Ng="ng-template";Px=he({provide:String,useValue:he});ha=new D(""),Ls={},Bx={};qt=class{},Hr=class extends qt{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,yd(e,s=>this.processProvider(s)),this.records.set(Mg,$i(void 0,this)),r.has("environment")&&this.records.set(qt,$i(void 0,this));let o=this.records.get(ha);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Tg,tt,Y.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=ee(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ee(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=Cn(this),n=bt(void 0),r;try{return e()}finally{Cn(i),bt(n)}}get(e,i=jr,n=Y.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Lp))return e[Lp](this);n=da(n);let r,o=Cn(this),s=bt(void 0);try{if(!(n&Y.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=Wx(e)&&fu(e);c&&this.injectableDefInScope(c)?l=$i(_d(e),Ls):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&Y.Self?_u():this.parent;return i=n&Y.Optional&&i===jr?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Ws]=a[Ws]||[]).unshift(at(e)),o)throw a;return ux(a,e,"R3InjectorError",this.source)}else throw a}finally{bt(s),Cn(o)}}resolveInjectorInitializers(){let e=ee(null),i=Cn(this),n=bt(void 0),r;try{let o=this.get(Br,tt,Y.Self);for(let s of o)s()}finally{Cn(i),bt(n),ee(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(at(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(e){e=Ze(e);let i=Xi(e)?e:Ze(e&&e.provide),n=Hx(e);if(!Xi(e)&&e.multi===!0){let r=this.records.get(i);r||(r=$i(void 0,Ls,!0),r.factory=()=>gd(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=ee(null);try{return i.value===Ls&&(i.value=Bx,i.value=i.factory()),typeof i.value=="object"&&i.value&&$x(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{ee(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=Ze(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};ln=0,U=1,F=2,je=3,kt=4,ct=5,Ur=6,$r=7,vt=8,Ji=9,Yt=10,we=11,Wr=12,Up=13,or=14,Rt=15,Jr=16,Wi=17,on=18,ma=19,$g=20,In=21,Vs=22,ni=23,lt=25,Wg=1,ii=7,Ys=8,er=9,nt=10,yu=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(yu||{});Gr=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};_t.ngInherit=!0;Yg="__ngSimpleChanges__";$p=null,$t=function(t,e,i){$p?.(t,e,i)},Kg="svg",Xx="math",Jx=!1;W={lFrame:ab(null),bindingsEnabled:!0,skipHydrationRootTNode:null};cb=lb;ub=!0;Yi=-1,oi=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};Dd=!0;TD=256,mb=TD-1,pb=5,AD=0,Wt={};ti=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return _b(this._tNode,this._lView,e,da(n),i)}};jt=(()=>{let e=class e{static create(n,r){if(Array.isArray(n))return Zp({name:""},r,n,"");{let o=n.name??"";return Zp({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=jr,e.NULL=new qs,e.\u0275prov=E({token:e,providedIn:"any",factory:()=>g(Mg)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();VD="ngOriginalError";it=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&id(e);for(;i&&id(i);)i=id(i);return i||null}},xb=new D("",{providedIn:"root",factory:()=>C(it).handleError.bind(void 0)}),Nu=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=jD,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Id=class extends Nu{constructor(e){super(),this._lView=e}onDestroy(e){return Jg(this._lView,e),()=>sD(this._lView,e)}};V=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=BD;let t=e;return t})();Sd=class extends R{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,Ug()&&(this.destroyRef=C(Nu,{optional:!0})??void 0)}emit(e){let i=ee(null);try{super.next(e)}finally{ee(i)}}subscribe(e,i,n){let r=e,o=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=rd(o),r&&(r=rd(r)),s&&(s=rd(s)));let a=super.subscribe({next:r,error:o,complete:s});return e instanceof ie&&e.add(a),a}};se=Sd;nr=class t{get changes(){return this._changes??=new se}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=HD)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=mx(e);(this._changesDetected=!hx(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};Eb=new Map,UD=0;Kp="__ngContext__";to=new D("",{providedIn:"root",factory:()=>YD}),YD="ng",Fu=new D(""),Kt=new D("",{providedIn:"platform",factory:()=>"unknown"}),Be=new D(""),no=new D("",{providedIn:"root",factory:()=>qD().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ZD="h",KD="b",QD=()=>null;Tb=!1,XD=new D("",{providedIn:"root",factory:()=>Tb});sn=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bg})`}},Td=class extends sn{getTypeName(){return"HTML"}},Ad=class extends sn{getTypeName(){return"Style"}},Od=class extends sn{getTypeName(){return"Script"}},Nd=class extends sn{getTypeName(){return"URL"}},Fd=class extends sn{getTypeName(){return"ResourceURL"}};kd=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(wa(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):(i.removeChild(i.firstChild),i)}catch{return null}}},Rd=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let i=this.inertDocument.createElement("template");return i.innerHTML=wa(e),i}};iE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;Rb=un("area,br,col,hr,img,wbr"),Pb=un("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lb=un("rp,rt"),rE=io(Lb,Pb),oE=io(Pb,un("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")),sE=io(Lb,un("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")),Qp=io(Rb,oE,sE,rE),Vb=un("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),aE=un("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"),lE=un("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"),cE=io(Vb,aE,lE),dE=un("script,style,template"),Pd=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let i=e.firstChild,n=!0,r=[];for(;i;){if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild){r.push(i),i=hE(i);continue}for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let o=fE(i);if(o){i=o;break}i=r.pop()}}return this.buf.join("")}startElement(e){let i=Xp(e).toLowerCase();if(!Qp.hasOwnProperty(i))return this.sanitizedSomething=!0,!dE.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);let n=e.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),s=o.name,a=s.toLowerCase();if(!cE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Vb[a]&&(l=Ru(l)),this.buf.push(" ",s,'="',Jp(l),'"')}return this.buf.push(">"),!0}endElement(e){let i=Xp(e).toLowerCase();Qp.hasOwnProperty(i)&&!Rb.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(e){this.buf.push(Jp(e))}};mE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pE=/([^\#-~ |!])/g;rt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(rt||{}),bE=/^>|^->|<!--|-->|--!>|<!-$/g,vE=/(<|>)/g,_E="\u200B$1\u200B";an=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(an||{});PE=RE;An={};qE=()=>null;fv=[];DC=Le(P({},cc),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{qr(t.lView)},consumerOnSignalRead(){this.lView[ni]=this}}),hv=100;ai=class{get rootNodes(){let e=this._lView,i=e[U];return ea(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[vt]}set context(e){this._lView[vt]=e}get destroyed(){return(this._lView[F]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[je];if(cn(e)){let i=e[Ys],n=i?i.indexOf(this):-1;n>-1&&(Xs(e,n),Gs(i,n))}this._attachedToViewContainer=!1}Lu(this._lView[U],this._lView)}onDestroy(e){Jg(this._lView,e)}markForCheck(){Yu(this._cdRefInjectingView||this._lView)}detach(){this._lView[F]&=-129}reattach(){wd(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,mv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Hb(this._lView[U],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=e,wd(this._lView)}},Pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=OC;let t=e;return t})(),TC=Pt,AC=class extends TC{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let r=dv(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new ai(r)}};LV=new RegExp(`^(\\d+)*(${KD}|${ZD})*(.*)`),NC=()=>null;Zr=class{},Ud=class{},ta=class{};kC="ngComponent",$d=class{resolveComponentFactory(e){throw FC(e)}},fn=(()=>{let e=class e{};e.NULL=new $d;let t=e;return t})(),li=class{},ur=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>RC();let t=e;return t})();PC=(()=>{let e=class e{};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),sd={},og=new Set;S=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new se(!1),this.onMicrotaskEmpty=new se(!1),this.onStable=new se(!1),this.onError=new se(!1),typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=LC().nativeRequestAnimationFrame,BC(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new x(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,VC,sg,sg);try{return o.runTask(s,i,n)}finally{o.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},VC={};vv=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();Gd=class extends fn{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=Qi(e);return new ia(i,this.ngModule)}};qd=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=da(n);let r=this.injector.get(e,sd,n);return r!==sd||i===sd?r:this.parentInjector.get(e,i,n)}},ia=class extends ta{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=cg(e.inputs);if(i!==null)for(let r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return cg(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=Tx(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=ee(null);try{r=r||this.ngModule;let s=r instanceof qt?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new qd(e,s):e,l=a.get(li,null);if(l===null)throw new x(407,!1);let c=a.get(PC,null),d=a.get(vv,null),u=a.get(Zr,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:d,changeDetectionScheduler:u},f=l.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",b=n?WE(f,n,this.componentDef.encapsulation,a):zb(f,m,HC(m)),w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let _=null;b!==null&&(_=ku(b,a,!0));let L=Uu(0,null,null,1,0,null,null,null,null,null,null),X=Ea(null,L,null,w,null,null,h,f,a,null,_);Mu(X);let H,Pe;try{let ve=this.componentDef,_e,Fe=null;ve.findHostDirectiveDefs?(_e=[],Fe=new Map,ve.findHostDirectiveDefs(ve,_e,Fe),_e.push(ve)):_e=[ve];let tn=UC(X,b),yn=$C(tn,b,ve,_e,X,h,f);Pe=xu(L,lt),b&&qC(f,ve,b,n),i!==void 0&&YC(Pe,this.ngContentSelectors,i),H=GC(yn,ve,_e,Fe,X,[ZC]),qu(L,X,null)}finally{Tu()}return new Yd(this.componentType,H,lr(Pe,X),X,Pe)}finally{ee(o)}}},Yd=class extends Ud{constructor(e,i,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new ai(r,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,r;if(n!==null&&(r=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let o=this._rootLView;Gu(o[U],o,r,e,i),this.previousInputValues.set(e,i);let s=Tn(this._tNode.index,o);Yu(s)}}get injector(){return new ti(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};dt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=KC;let t=e;return t})();QC=dt,_v=class extends QC{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return lr(this._hostTNode,this._hostLView)}get injector(){return new ti(this._hostTNode,this._hostLView)}get parentInjector(){let e=Au(this._hostTNode,this._hostLView);if(hb(e)){let i=Ks(e,this._hostLView),n=Zs(e),r=i[U].data[n+8];return new ti(r,i)}else return new ti(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=dg(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-nt}createEmbeddedView(e,i,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let s=Hd(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},o,s);return this.insertImpl(a,r,Bd(this._hostTNode,s)),a}createComponent(e,i,n,r,o){let s=e&&!qx(e),a;if(s)a=i;else{let m=i||{};a=m.index,n=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let l=s?e:new ia(Qi(e)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let b=(s?c:this.parentInjector).get(qt,null);b&&(o=b)}let d=Qi(l.componentType??{}),u=Hd(this._lContainer,d?.id??null),h=u?.firstChild??null,f=l.create(c,r,h,o);return this.insertImpl(f.hostView,a,Bd(this._hostTNode,u)),f}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let r=e._lView;if(iD(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=r[je],c=new _v(l,l[ct],l[je]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(i),s=this._lContainer;return uv(s,r,o,n),e.attachToViewContainerRef(),Sg(ad(s),o,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=dg(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Xs(this._lContainer,i);n&&(Gs(ad(this._lContainer),i),Lu(n[U],n))}detach(e){let i=this._adjustIndex(e,-1),n=Xs(this._lContainer,i);return n&&Gs(ad(this._lContainer),i)!=null?new ai(n):null}_adjustIndex(e,i=0){return e??this.length+i}};JC=nI,eI=()=>!1;Zd=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Kd=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,r=[];for(let o=0;o<n;o++){let s=i.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Ku(e,i).matches!==null&&this.queries[i].setDirty()}},ra=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=dI(e):this.predicate=e}},Qd=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let r=i!==null?i.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,i!==null?i.push(o):i=[o])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Xd=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(e,i,iI(i,o)),this.matchTNodeWithReadOption(e,i,zs(i,e,o,!1,!1))}else n===Pt?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,zs(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===V||r===dt||r===Pt&&i.type&4)this.addMatch(i.index,-2);else{let o=zs(i,e,r,!1,!1);o!==null&&this.addMatch(i.index,o)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};ir=class{},oa=class extends ir{constructor(e){super(),this.componentFactoryResolver=new Gd(this),this.instance=null;let i=new Hr([...e.providers,{provide:ir,useValue:this},{provide:fn,useValue:this.componentFactoryResolver}],e.parent||_u(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};ro=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Yn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();EI=CI;Ft={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};qI=(t,e,i,n,r,o)=>(_a(!0),zb(n,r,xD()));ZI=(t,e,i,n)=>(_a(!0),EE(e[we],""));aa="en-US",KI=aa;eS=(t,e,i,n,r)=>(_a(!0),xE(e[we],n));oS=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Vg(!1,n.type),o=r.length>0?_I([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(g(qt))});let t=e;return t})();zv=new D("");sS=new D(""),Uv=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=C(sS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(ao(s))n.push(s);else if(Hv(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$v=new D("");Nn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(xb),this.afterRenderEffectManager=C(vv),this.externalTestViews=new Set,this.beforeRender=new R,this.afterTick=new R,this.componentTypes=[],this.components=[],this.isStable=C(ro).hasPendingTasks.pipe(re(n=>!n)),this._injector=C(qt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ta;if(!this._injector.get(Uv).done){let f=!o&&Fx(n),m=!1;throw new x(405,m)}let a;o?a=n:a=this._injector.get(fn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=lS(a)?void 0:this._injector.get(ir),c=r||a.selector,d=a.create(jt.NULL,[],c,l),u=d.location.nativeElement,h=d.injector.get(zv,null);return h?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),fd(this.components,d),h?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new x(101,!1);let r=ee(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,ee(r)}}detectChangesInAttachedViews(n){let r=0,o=this.afterRenderEffectManager;for(;;){if(r===hv)throw new x(103,!1);if(n){let s=r===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)dS(a,s,l)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ou(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ou(s))))break}}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;fd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get($v,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();fS=(()=>{let e=class e{constructor(){this.zone=C(S),this.applicationRef=C(Nn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();bS=(()=>{let e=class e{constructor(){this.subscription=new ie,this.initialized=!1,this.zone=C(S),this.pendingTasks=C(ro)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{S.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Oa=new D("",{providedIn:"root",factory:()=>C(Oa,Y.Optional|Y.SkipSelf)||vS()}),Wv=new D(""),Us=null;Ge=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=xS;let t=e;return t})();su=class{constructor(){}supports(e){return Cv(e)}create(e){return new au(e)}},ES=(t,e)=>e,au=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ES}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){let s=!n||i&&i.currentIndex<pg(n,r,o)?i:n,a=pg(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let h=0;h<c;h++){let f=h<o.length?o[h]:o[h]=0,m=f+h;d<=m&&m<c&&(o[h]=f+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!Cv(e))throw new x(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,r,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,o,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,o,s,a)),Object.is(i.item,o)||this._addIdentityChange(i,o)),i=i._next}else r=0,yI(e,a=>{s=this._trackByFn(r,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,r),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,r)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new lu(i,n),o,r)),e}_verifyReinsertion(e,i,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let r=i===null?this._itHead:i._next;return e._next=r,e._prev=i,r===null?this._itTail=e:r._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new la),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new la),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},lu=class{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},cu=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},la=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new cu,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,r=this.map.get(n);return r?r.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};Na=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||gg()),deps:[[e,new Ig,new pu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new x(901,!1)}};e.\u0275prov=E({token:e,providedIn:"root",factory:gg});let t=e;return t})();CS=new D("",{providedIn:"root",factory:()=>C(IS)}),IS=(()=>{let e=class e{};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new du});let t=e;return t})(),du=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=C(ro),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}enqueue(e){let i=e.creationZone;this.queues.has(i)||this.queues.set(i,new Set);let n=this.queues.get(i);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,i]of this.queues)e===null?this.flushQueue(i):e.run(()=>this.flushQueue(i))}flushQueue(e){for(let i of e)e.delete(i),this.queuedEffectCount--,i.run()}},uu=class{constructor(e,i,n,r,o,s){this.scheduler=e,this.effectFn=i,this.creationZone=n,this.injector=o,this.watcher=gm(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(i){this.injector.get(it,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}});function pn(){return Qv}function Xv(t){Qv??=t}function e_(t,e){if(t.length==0)return e;if(e.length==0)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?t+e.substring(1):i==1?t+e:t+"/"+e}function Gv(t){let e=t.match(/#|\?|$/),i=e&&e.index||t.length,n=i-(t[i-1]==="/"?1:0);return t.slice(0,n)+t.slice(i)}function bi(t){return t&&t[0]!=="?"?"?"+t:t}function AS(){return new of(g(rf))}function OS(t,e){if(!t||!e.startsWith(t))return e;let i=e.substring(t.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function qv(t){return t.replace(/\/index.html$/,"")}function NS(t){if(new RegExp("^(https?:)?//").test(t)){let[,i]=t.split(/\/\/[^\/]+/);return i}return t}function Ra(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[r,o]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}function Zv(t,e){t.context.$implicit=e.item}function Kv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${at(e)}'.`)}function i_(t){return t===sf}function Va(t){return t===FS}var Qv,Fa,B,Jv,SS,rf,MS,TS,of,ef,Yv,Pa,tf,t_,n_,nf,La,Et,sf,FS,hr,Me=p(()=>{"use strict";T();T();Qv=null;Fa=class{},B=new D(""),Jv=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:()=>C(SS),providedIn:"platform"});let t=e;return t})(),SS=(()=>{let e=class e extends Jv{constructor(){super(),this._doc=C(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return pn().getBaseHref(this._doc)}onPopState(n){let r=pn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=pn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();rf=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:()=>C(TS),providedIn:"root"});let t=e;return t})(),MS=new D(""),TS=(()=>{let e=class e extends rf{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??C(B).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return e_(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+bi(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+bi(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+bi(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(g(Jv),g(MS,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),of=(()=>{let e=class e{constructor(n){this._subject=new se,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=NS(Gv(qv(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+bi(r))}normalize(n){return e.stripTrailingSlash(OS(this._basePath,qv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+bi(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+bi(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}};e.normalizeQueryParams=bi,e.joinWithSlash=e_,e.stripTrailingSlash=Gv,e.\u0275fac=function(r){return new(r||e)(g(rf))},e.\u0275prov=E({token:e,factory:()=>AS(),providedIn:"root"});let t=e;return t})();ef=/\s+/,Yv=[],Pa=(()=>{let e=class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=Yv,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(ef):Yv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ef):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(ef).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(v(V),v(ur))},e.\u0275dir=Q({type:e,selectors:[["","ngClass",""]],inputs:{klass:[y.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),tf=class{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},t_=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new tf(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)r.remove(s===null?void 0:s);else if(s!==null){let l=r.get(s);r.move(l,a),Zv(l,o)}});for(let o=0,s=r.length;o<s;o++){let l=r.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);Zv(s,o)})}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(v(dt),v(Pt),v(Na))},e.\u0275dir=Q({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();n_=(()=>{let e=class e{constructor(n,r){this._viewContainer=n,this._context=new nf,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Kv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Kv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(v(dt),v(Pt))},e.\u0275dir=Q({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),nf=class{constructor(){this.$implicit=null,this.ngIf=null}};La=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}};e.\u0275fac=function(r){return new(r||e)(v(dt))},e.\u0275dir=Q({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[_t]});let t=e;return t})(),Et=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})(),sf="browser",FS="server";hr=class{}});function PS(t,e){let i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(s)||[];l.push(a),i.set(s,l)}),i}function r_(t){return encodeURIComponent(t).replace(LS,(e,i)=>VS[i]??e)}function ja(t){return`${t}`}function jS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function o_(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function s_(t){return typeof Blob<"u"&&t instanceof Blob}function a_(t){return typeof FormData<"u"&&t instanceof FormData}function BS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function lf(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}function zS(t,e){return e(t)}function HS(t,e,i){return(n,r)=>Hg(i,()=>e(n,o=>t(o,r)))}function GS(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function XS(t,e){let i=t.url.toLowerCase();if(!C(u_)||t.method==="GET"||t.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(t);let n=C($a).getToken(),r=C(KS);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}function f_(...t){let e=[fo,c_,l_,{provide:co,useExisting:l_},{provide:Ba,useExisting:c_},{provide:d_,useValue:XS,multi:!0},{provide:u_,useValue:!0},{provide:$a,useClass:QS}];for(let i of t)e.push(...i.\u0275providers);return fa(e)}var co,Ba,vi,cf,LS,VS,Fn,df,lo,mr,uo,uf,za,Ha,Ua,fo,d_,US,$S,l_,WS,c_,u_,qS,YS,ZS,KS,$a,QS,Wa=p(()=>{"use strict";T();T();Ve();et();Me();Me();co=class{},Ba=class{},vi=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8
- `).forEach(i=>{let n=i.indexOf(":");if(n>0){let r=i.slice(0,n),o=r.toLowerCase(),s=i.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new t;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":let o=e.value;if(!o)this.headers.delete(i),this.normalizedNames.delete(i);else{let s=this.headers.get(i);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}},cf=class{encodeKey(e){return r_(e)}encodeValue(e){return r_(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};LS=/%(\d[a-f0-9])/gi,VS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};Fn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new cf,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=PS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],r=Array.isArray(n)?n.map(ja):[ja(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new t({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(ja(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(ja(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},df=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};lo=class t{constructor(e,i,n,r){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(jS(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new vi,this.context??=new df,!this.params)this.params=new Fn,this.urlWithParams=i;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=i;else{let a=i.indexOf("?"),l=a===-1?"?":a<i.length-1?"&":"";this.urlWithParams=i+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||o_(this.body)||s_(this.body)||a_(this.body)||BS(this.body)?this.body:this.body instanceof Fn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||a_(this.body)?null:s_(this.body)?this.body.type||null:o_(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Fn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,c=e.headers||this.headers,d=e.params||this.params,u=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((h,f)=>h.set(f,e.setHeaders[f]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((h,f)=>h.set(f,e.setParams[f]),d)),new t(i,n,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},mr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(mr||{}),uo=class{constructor(e,i=Ua.Ok,n="OK"){this.headers=e.headers||new vi,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},uf=class t extends uo{constructor(e={}){super(e),this.type=mr.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},za=class t extends uo{constructor(e={}){super(e),this.type=mr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ha=class extends uo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Ua=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Ua||{});fo=(()=>{let e=class e{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof lo)s=n;else{let c;o.headers instanceof vi?c=o.headers:c=new vi(o.headers);let d;o.params&&(o.params instanceof Fn?d=o.params:d=new Fn({fromObject:o.params})),s=new lo(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=Ye(s).pipe(Yc(c=>this.handler.handle(c)));if(n instanceof lo||o.observe==="events")return a;let l=a.pipe(Ue(c=>c instanceof za));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(re(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(re(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(re(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Fn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,lf(o,r))}post(n,r,o={}){return this.request("POST",n,lf(o,r))}put(n,r,o={}){return this.request("PUT",n,lf(o,r))}};e.\u0275fac=function(r){return new(r||e)(g(co))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})();d_=new D(""),US=new D(""),$S=new D(""),l_=(()=>{let e=class e extends co{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=C(ro);let o=C($S,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(d_),...this.injector.get(US,[])]));this.chain=o.reduceRight((s,a)=>HS(s,a,this.injector),zS)}let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Dn(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(g(Ba),g(qt))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),WS=/^\)\]\}',?\n/;c_=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new x(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Je(r.\u0275loadImpl()):Ye(null)).pipe(rn(()=>new $(s=>{let a=r.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((w,_)=>a.setRequestHeader(w,_.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let w=n.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(n.responseType){let w=n.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let l=n.serializeBody(),c=null,d=()=>{if(c!==null)return c;let w=a.statusText||"OK",_=new vi(a.getAllResponseHeaders()),L=GS(a)||n.url;return c=new uf({headers:_,status:a.status,statusText:w,url:L}),c},u=()=>{let{headers:w,status:_,statusText:L,url:X}=d(),H=null;_!==Ua.NoContent&&(H=typeof a.response>"u"?a.responseText:a.response),_===0&&(_=H?Ua.Ok:0);let Pe=_>=200&&_<300;if(n.responseType==="json"&&typeof H=="string"){let ve=H;H=H.replace(WS,"");try{H=H!==""?JSON.parse(H):null}catch(_e){H=ve,Pe&&(Pe=!1,H={error:_e,text:H})}}Pe?(s.next(new za({body:H,headers:w,status:_,statusText:L,url:X||void 0})),s.complete()):s.error(new Ha({error:H,headers:w,status:_,statusText:L,url:X||void 0}))},h=w=>{let{url:_}=d(),L=new Ha({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:_||void 0});s.error(L)},f=!1,m=w=>{f||(s.next(d()),f=!0);let _={type:mr.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(_.total=w.total),n.responseType==="text"&&a.responseText&&(_.partialText=a.responseText),s.next(_)},b=w=>{let _={type:mr.UploadProgress,loaded:w.loaded};w.lengthComputable&&(_.total=w.total),s.next(_)};return a.addEventListener("load",u),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",m),l!==null&&a.upload&&a.upload.addEventListener("progress",b)),a.send(l),s.next({type:mr.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",u),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",m),l!==null&&a.upload&&a.upload.removeEventListener("progress",b)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(g(hr))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),u_=new D(""),qS="XSRF-TOKEN",YS=new D("",{providedIn:"root",factory:()=>qS}),ZS="X-XSRF-TOKEN",KS=new D("",{providedIn:"root",factory:()=>ZS}),$a=class{},QS=(()=>{let e=class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ra(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(g(B),g(Kt),g(YS))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})()});function tM(){return ho=ho||document.querySelector("base"),ho?ho.getAttribute("href"):null}function nM(t){return new URL(t,document.baseURI).pathname}function lM(t){return oM.replace(vf,t)}function cM(t){return rM.replace(vf,t)}function v_(t,e){return e.map(i=>i.replace(vf,t))}function h_(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}function __(t,e){return Xu(P({rootComponent:t},w_(e)))}function y_(t){return Xu(w_(t))}function w_(t){return{appProviders:[...vM,...t?.providers??[]],platformProviders:bM}}function mM(){pf.makeCurrent()}function pM(){return new it}function gM(){return Mb(document),document}var mf,pf,ho,iM,gf,p_,Ga,ff,g_,hf,vf,b_,rM,oM,sM,aM,qa,mo,bf,po,Ya,dM,m_,uM,fM,hM,bM,vM,_f,_M,Za=p(()=>{"use strict";T();T();Me();mf=class extends Fa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},pf=class t extends mf{static makeCurrent(){Xv(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=tM();return i==null?null:nM(i)}resetBaseElement(){ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ra(document.cookie,e)}},ho=null;iM=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),gf=new D(""),p_=(()=>{let e=class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new x(5101,!1);return this._eventNameToPlugin.set(n,r),r}};e.\u0275fac=function(r){return new(r||e)(g(gf),g(S))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),Ga=class{constructor(e){this._doc=e}},ff="ng-app-id",g_=(()=>{let e=class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Va(s),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${ff}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(ff),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(ff,this.appId),n.appendChild(a),a}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(to),g(no,8),g(Kt))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),hf={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/"},vf=/%COMP%/g,b_="%COMP%",rM=`_nghost-${b_}`,oM=`_ngcontent-${b_}`,sM=!0,aM=new D("",{providedIn:"root",factory:()=>sM});qa=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Va(l),this.defaultRenderer=new mo(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Gt.ShadowDom&&(r=Le(P({},r),{encapsulation:Gt.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Ya?o.applyToHost(n):o instanceof po&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case Gt.Emulated:s=new Ya(c,d,r,this.appId,u,a,l,h);break;case Gt.ShadowDom:return new bf(c,d,n,r,a,l,this.nonce,h);default:s=new po(c,d,r,u,a,l,h);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(g(p_),g(g_),g(to),g(aM),g(B),g(Kt),g(S),g(no))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),mo=class{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(hf[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(h_(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(h_(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new x(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;let o=hf[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let r=hf[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(an.DashCase|an.Important)?e.style.setProperty(i,n,r&an.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&an.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=pn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};bf=class extends mo{constructor(e,i,n,r,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=v_(r.id,r.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},po=class extends mo{constructor(e,i,n,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?v_(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ya=class extends po{constructor(e,i,n,r,o,s,a,l){let c=r+"-"+n.id;super(e,i,n,o,s,a,l,c),this.contentAttr=lM(c),this.hostAttr=cM(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},dM=(()=>{let e=class e extends Ga{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),m_=["alt","control","meta","shift"],uM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},fM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},hM=(()=>{let e=class e extends Ga{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),m_.forEach(d=>{let u=r.indexOf(d);u>-1&&(r.splice(u,1),a+=d+".")}),a+=s,r.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let o=uM[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),m_.forEach(a=>{if(a!==o){let l=fM[a];l(n)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})();bM=[{provide:Kt,useValue:sf},{provide:Fu,useValue:mM,multi:!0},{provide:B,useFactory:gM,deps:[]}],vM=[{provide:ha,useValue:"root"},{provide:it,useFactory:pM,deps:[]},{provide:gf,useClass:dM,multi:!0,deps:[B,S,Kt]},{provide:gf,useClass:hM,multi:!0,deps:[B]},qa,g_,p_,{provide:li,useExisting:qa},{provide:hr,useClass:iM,deps:[]},[]],_f=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=g(_M),o},providedIn:"root"});let t=e;return t})(),_M=(()=>{let e=class e extends _f{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case rt.NONE:return r;case rt.HTML:return cr(r,"HTML")?dn(r):Bb(this._doc,String(r)).toString();case rt.STYLE:return cr(r,"Style")?dn(r):r;case rt.SCRIPT:if(cr(r,"Script"))return dn(r);throw new x(5200,!1);case rt.URL:return cr(r,"URL")?dn(r):Ru(String(r));case rt.RESOURCE_URL:if(cr(r,"ResourceURL"))return dn(r);throw new x(5201,!1);default:throw new x(5202,!1)}}bypassSecurityTrustHtml(n){return Ab(n)}bypassSecurityTrustStyle(n){return Ob(n)}bypassSecurityTrustScript(n){return Nb(n)}bypassSecurityTrustUrl(n){return Fb(n)}bypassSecurityTrustResourceUrl(n){return kb(n)}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function bo(t,e){return{type:z.Trigger,name:t,definitions:e,options:{}}}function vo(t,e=null){return{type:z.Animate,styles:e,timings:t}}function x_(t,e=null){return{type:z.Sequence,steps:t,options:e}}function Jt(t){return{type:z.Style,styles:t,offset:null}}function Ka(t,e,i){return{type:z.State,name:t,styles:e,options:i}}function pr(t,e,i=null){return{type:z.Transition,expr:t,animation:e,options:i}}function D_(t=null){return{type:z.AnimateChild,options:t}}function E_(t,e,i=null){return{type:z.Query,selector:t,animation:e,options:i}}var z,Xt,kn,go,Qa,Xa=p(()=>{"use strict";z=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(z||{}),Xt="*";kn=class{constructor(e=0,i=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},go=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let i=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++i==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let i=e*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(r)})}getPosition(){let e=this.players.reduce((i,n)=>i===null||n.totalTime>i.totalTime?n:i,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Qa="!"});function C_(t){return new x(3e3,!1)}function wM(){return new x(3100,!1)}function xM(){return new x(3101,!1)}function DM(t){return new x(3001,!1)}function EM(t){return new x(3003,!1)}function CM(t){return new x(3004,!1)}function IM(t,e){return new x(3005,!1)}function SM(){return new x(3006,!1)}function MM(){return new x(3007,!1)}function TM(t,e){return new x(3008,!1)}function AM(t){return new x(3002,!1)}function OM(t,e,i,n,r){return new x(3010,!1)}function NM(){return new x(3011,!1)}function FM(){return new x(3012,!1)}function kM(){return new x(3200,!1)}function RM(){return new x(3202,!1)}function PM(){return new x(3013,!1)}function LM(t){return new x(3014,!1)}function VM(t){return new x(3015,!1)}function jM(t){return new x(3016,!1)}function BM(t,e){return new x(3404,!1)}function zM(t){return new x(3502,!1)}function HM(t){return new x(3503,!1)}function UM(){return new x(3300,!1)}function $M(t){return new x(3504,!1)}function WM(t){return new x(3301,!1)}function GM(t,e){return new x(3302,!1)}function qM(t){return new x(3303,!1)}function YM(t,e){return new x(3400,!1)}function ZM(t){return new x(3401,!1)}function KM(t){return new x(3402,!1)}function QM(t,e){return new x(3505,!1)}function Rn(t){switch(t.length){case 0:return new kn;case 1:return t[0];default:return new go(t)}}function j_(t,e,i=new Map,n=new Map){let r=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,f)=>{let m=f,b=h;if(f!=="offset")switch(m=t.normalizePropertyName(m,r),b){case Qa:b=i.get(f);break;case Xt:b=n.get(f);break;default:b=t.normalizeStyleValue(f,m,b,r);break}u.set(m,b)}),d||o.push(u),a=u,s=c}),r.length)throw zM(r);return o}function Hf(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&yf(i,"start",t)));break;case"done":t.onDone(()=>n(i&&yf(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&yf(i,"destroy",t)));break}}function yf(t,e,i){let n=i.totalTime,r=!!i.disabled,o=Uf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function Uf(t,e,i,n,r="",o=0,s){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!s}}function ht(t,e,i){let n=t.get(e);return n||t.set(e,n=i),n}function I_(t){let e=t.indexOf(":"),i=t.substring(1,e),n=t.slice(e+1);return[i,n]}function $f(t){let e=t.parentNode||t.host||null;return e===XM?null:e}function JM(t){return t.substring(1,6)=="ebkit"}function eT(t){_i||(_i=tT()||{},S_=_i.style?"WebkitAppearance"in _i.style:!1);let e=!0;return _i.style&&!JM(t)&&(e=t in _i.style,!e&&S_&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in _i.style)),e}function tT(){return typeof document<"u"?document.body:null}function B_(t,e){for(;e;){if(e===t)return!0;e=$f(e)}return!1}function z_(t,e,i){if(i)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}function gn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Mf(parseFloat(e[1]),e[2])}function Mf(t,e){switch(e){case"s":return t*nT;default:return t}}function ol(t,e,i){return t.hasOwnProperty("duration")?t:rT(t,e,i)}function rT(t,e,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(C_(t)),{duration:0,delay:0,easing:""};r=Mf(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Mf(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!i){let a=!1,l=e.length;r<0&&(e.push(wM()),a=!0),o<0&&(e.push(xM()),a=!0),a&&e.splice(l,0,C_(t))}return{duration:r,delay:o,easing:s}}function oT(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function en(t,e,i){e.forEach((n,r)=>{let o=Gf(r);i&&!i.has(r)&&i.set(r,t.style[o]),t.style[o]=n})}function wi(t,e){e.forEach((i,n)=>{let r=Gf(n);t.style[r]=""})}function _o(t){return Array.isArray(t)?t.length==1?t[0]:x_(t):t}function sT(t,e,i){let n=e.params||{},r=$_(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||i.push(DM(o))})}function $_(t){let e=[];if(typeof t=="string"){let i;for(;i=Tf.exec(t);)e.push(i[1]);Tf.lastIndex=0}return e}function wo(t,e,i){let n=`${t}`,r=n.replace(Tf,(o,s)=>{let a=e[s];return a==null&&(i.push(EM(s)),a=""),a.toString()});return r==n?t:r}function Gf(t){return t.replace(aT,(...e)=>e[1].toUpperCase())}function lT(t,e){return t===0||e===0}function cT(t,e,i){if(i.size&&e.length){let n=e[0],r=[];if(i.forEach((o,s)=>{n.has(s)||r.push(s),n.set(s,o)}),r.length)for(let o=1;o<e.length;o++){let s=e[o];r.forEach(a=>s.set(a,qf(t,a)))}}return e}function ft(t,e,i){switch(e.type){case z.Trigger:return t.visitTrigger(e,i);case z.State:return t.visitState(e,i);case z.Transition:return t.visitTransition(e,i);case z.Sequence:return t.visitSequence(e,i);case z.Group:return t.visitGroup(e,i);case z.Animate:return t.visitAnimate(e,i);case z.Keyframes:return t.visitKeyframes(e,i);case z.Style:return t.visitStyle(e,i);case z.Reference:return t.visitReference(e,i);case z.AnimateChild:return t.visitAnimateChild(e,i);case z.AnimateRef:return t.visitAnimateRef(e,i);case z.Query:return t.visitQuery(e,i);case z.Stagger:return t.visitStagger(e,i);default:throw CM(e.type)}}function qf(t,e){return window.getComputedStyle(t)[e]}function uT(t,e){let i=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>fT(n,i,e)):i.push(t),i}function fT(t,e,i){if(t[0]==":"){let l=hT(t,i);if(typeof l=="function"){e.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(VM(t)),e;let r=n[1],o=n[2],s=n[3];e.push(T_(r,s));let a=r==al&&s==al;o[0]=="<"&&!a&&e.push(T_(s,r))}function hT(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return e.push(jM(t)),"* => *"}}function T_(t,e){let i=el.has(t)||tl.has(t),n=el.has(e)||tl.has(e);return(r,o)=>{let s=t==al||t==r,a=e==al||e==o;return!s&&i&&typeof r=="boolean"&&(s=r?el.has(t):tl.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?el.has(e):tl.has(e)),s&&a}}function G_(t,e,i,n){return new Af(t).build(e,i,n)}function pT(t){let e=!!t.split(/\s*,\s*/).find(i=>i==W_);return e&&(t=t.replace(mT,"")),t=t.replace(/@\*/g,rl).replace(/@\w+/g,i=>rl+"-"+i.slice(1)).replace(/:animating/g,Sf),[t,e]}function gT(t){return t?P({},t):null}function bT(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function vT(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=ol(t,e).duration;return wf(o,0,"")}let i=t;if(i.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=wf(0,0,"");return o.dynamic=!0,o.strValue=i,o}let r=ol(i,e);return wf(r.duration,r.delay,r.easing)}function yi(t){return t?(t=P({},t),t.params&&(t.params=gT(t.params))):t={},t}function wf(t,e,i){return{duration:t,delay:e,easing:i}}function Yf(t,e,i,n,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function q_(t,e,i,n,r,o=new Map,s=new Map,a,l,c=[]){return new Nf().buildKeyframes(t,e,i,n,r,o,s,a,l,c)}function O_(t,e=3){let i=Math.pow(10,e-1);return Math.round(t*i)/i}function ET(t,e){let i=new Map,n;return t.forEach(r=>{if(r==="*"){n??=e.keys();for(let o of n)i.set(o,Xt)}else for(let[o,s]of r)i.set(o,s)}),i}function N_(t,e,i,n,r,o,s,a,l,c,d,u,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}function CT(t,e,i,n,r){return t.some(o=>o(e,i,n,r))}function Y_(t,e){let i=P({},e);return Object.entries(t).forEach(([n,r])=>{r!=null&&(i[n]=r)}),i}function IT(t,e,i){return new Pf(t,e,i)}function ST(t,e,i){let n=[(s,a)=>!0],r={type:z.Sequence,steps:[],options:null},o={type:z.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new dl(t,o,e)}function F_(t,e,i){t.has(e)?t.has(i)||t.set(i,t.get(e)):t.has(i)&&t.set(e,t.get(i))}function RT(t,e,i){let n=t.get(e);if(n){if(n.length){let r=n.indexOf(i);n.splice(r,1)}n.length==0&&t.delete(e)}return n}function PT(t){return t??null}function nl(t){return t&&t.nodeType===1}function LT(t){return t=="start"||t=="done"}function R_(t,e){let i=t.style.display;return t.style.display=e??"none",i}function P_(t,e,i,n,r){let o=[];i.forEach(l=>o.push(R_(l)));let s=[];n.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let h=e.computeStyle(c,u,r);d.set(u,h),(!h||h.length==0)&&(c[Bt]=kT,s.push(c))}),t.set(c,d)});let a=0;return i.forEach(l=>R_(l,o[a++])),s}function L_(t,e){let i=new Map;if(t.forEach(a=>i.set(a,[])),e.length==0)return i;let n=1,r=new Set(e),o=new Map;function s(a){if(!a)return n;let l=o.get(a);if(l)return l;let c=a.parentNode;return i.has(c)?l=c:r.has(c)?l=n:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==n&&i.get(l).push(a)}),i}function Ct(t,e){t.classList?.add(e)}function gr(t,e){t.classList?.remove(e)}function VT(t,e,i){Rn(i).onDone(()=>t.processLeaveNode(e))}function jT(t){let e=[];return K_(t,e),e}function K_(t,e){for(let i=0;i<t.length;i++){let n=t[i];n instanceof go?K_(n.players,e):e.push(n)}}function BT(t,e){let i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let r=0;r<i.length;r++){let o=i[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function V_(t,e,i){let n=i.get(t);if(!n)return!1;let r=e.get(t);return r?n.forEach(o=>r.add(o)):e.set(t,n),i.delete(t),!0}function zT(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Cf(e[0]),e.length>1&&(n=Cf(e[e.length-1]))):e instanceof Map&&(i=Cf(e)),i||n?new Bf(t,i,n):null}function Cf(t){let e=null;return t.forEach((i,n)=>{HT(n)&&(e=e||new Map,e.set(n,i))}),e}function HT(t){return t==="display"||t==="position"}function UT(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function $T(t){let e=t.indexOf("."),i=t.substring(0,e),n=t.slice(e+1);return[i,n]}var XM,_i,S_,Wf,Zf,xi,Di,nT,H_,iT,U_,If,Ja,rl,M_,Sf,Tf,aT,dT,sl,al,el,tl,W_,mT,A_,Af,Of,xo,_T,yT,wT,xT,DT,Nf,ll,Ff,cl,kf,xf,dl,Rf,Pf,MT,Lf,k_,TT,Df,AT,OT,NT,FT,Z_,kT,Bt,Do,yo,Ef,Vf,jf,Eo,vr,br,Bf,ul,fl,il,Q_,hl,zf,ml,Kf=p(()=>{"use strict";Xa();T();T();XM=typeof document>"u"?null:document.documentElement;_i=null,S_=!1;Wf=(()=>{let e=class e{validateStyleProperty(n){return eT(n)}matchesElement(n,r){return!1}containsElement(n,r){return B_(n,r)}getParentElement(n){return $f(n)}query(n,r,o){return z_(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,s,a,l=[],c){return new kn(o,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})(),Zf=class Zf{};Zf.NOOP=new Wf;xi=Zf,Di=class{},nT=1e3,H_="{{",iT="}}",U_="ng-enter",If="ng-leave",Ja="ng-trigger",rl=".ng-trigger",M_="ng-animating",Sf=".ng-animating";Tf=new RegExp(`${H_}\\s*(.+?)\\s*${iT}`,"g");aT=/-+([a-z0-9])/g;dT=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"]),sl=class extends Di{normalizePropertyName(e,i){return Gf(e)}normalizeStyleValue(e,i,n,r){let o="",s=n.toString().trim();if(dT.has(i)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(IM(e,n))}return s+o}},al="*";el=new Set(["true","1"]),tl=new Set(["false","0"]);W_=":self",mT=new RegExp(`s*${W_}s*,?`,"g");A_="",Af=class{constructor(e){this._driver=e}build(e,i,n){let r=new Of(i);return this._resetContextStyleTimingState(r),ft(this,_o(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=A_,e.collectedStyles=new Map,e.collectedStyles.set(A_,new Map),e.currentTime=0}visitTrigger(e,i){let n=i.queryCount=0,r=i.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&i.errors.push(SM()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(i),a.type==z.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,i))}),l.name=c}else if(a.type==z.Transition){let l=this.visitTransition(a,i);n+=l.queryCount,r+=l.depCount,s.push(l)}else i.errors.push(MM())}),{type:z.Trigger,name:e.name,states:o,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,i){let n=this.visitStyle(e.styles,i),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{$_(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&i.errors.push(TM(e.name,[...o.values()]))}return{type:z.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let n=ft(this,_o(e.animation),i),r=uT(e.expr,i.errors);return{type:z.Transition,matchers:r,animation:n,queryCount:i.queryCount,depCount:i.depCount,options:yi(e.options)}}visitSequence(e,i){return{type:z.Sequence,steps:e.steps.map(n=>ft(this,n,i)),options:yi(e.options)}}visitGroup(e,i){let n=i.currentTime,r=0,o=e.steps.map(s=>{i.currentTime=n;let a=ft(this,s,i);return r=Math.max(r,i.currentTime),a});return i.currentTime=r,{type:z.Group,steps:o,options:yi(e.options)}}visitAnimate(e,i){let n=vT(e.timings,i.errors);i.currentAnimateTimings=n;let r,o=e.styles?e.styles:Jt({});if(o.type==z.Keyframes)r=this.visitKeyframes(o,i);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};n.easing&&(c.easing=n.easing),s=Jt(c)}i.currentTime+=n.duration+n.delay;let l=this.visitStyle(s,i);l.isEmptyStep=a,r=l}return i.currentAnimateTimings=null,{type:z.Animate,timings:n,style:r,options:null}}visitStyle(e,i){let n=this._makeStyleAst(e,i);return this._validateStyleAst(n,i),n}_makeStyleAst(e,i){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===Xt?n.push(a):i.errors.push(AM(a)):n.push(new Map(Object.entries(a)));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(H_)>=0){o=!0;break}}}),{type:z.Style,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,i){let n=i.currentAnimateTimings,r=i.currentTime,o=i.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=i.collectedStyles.get(i.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(i.errors.push(OM(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),i.options&&sT(a,i.options,i.errors)})})}visitKeyframes(e,i){let n={type:z.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(NM()),n;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(_=>{let L=this._makeStyleAst(_,i),X=L.offset!=null?L.offset:bT(L.styles),H=0;return X!=null&&(o++,H=L.offset=X),l=l||H<0||H>1,a=a||H<c,c=H,s.push(H),L});l&&i.errors.push(FM()),a&&i.errors.push(kM());let u=e.steps.length,h=0;o>0&&o<u?i.errors.push(RM()):o==0&&(h=r/(u-1));let f=u-1,m=i.currentTime,b=i.currentAnimateTimings,w=b.duration;return d.forEach((_,L)=>{let X=h>0?L==f?1:h*L:s[L],H=X*w;i.currentTime=m+b.delay+H,b.duration=H,this._validateStyleAst(_,i),_.offset=X,n.styles.push(_)}),n}visitReference(e,i){return{type:z.Reference,animation:ft(this,_o(e.animation),i),options:yi(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:z.AnimateChild,options:yi(e.options)}}visitAnimateRef(e,i){return{type:z.AnimateRef,animation:this.visitReference(e.animation,i),options:yi(e.options)}}visitQuery(e,i){let n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;let[o,s]=pT(e.selector);i.currentQuerySelector=n.length?n+" "+o:o,ht(i.collectedStyles,i.currentQuerySelector,new Map);let a=ft(this,_o(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:z.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:yi(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(PM());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ol(e.timings,i.errors,!0);return{type:z.Stagger,animation:ft(this,_o(e.animation),i),timings:n,options:null}}};Of=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};xo=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},_T=1,yT=":enter",wT=new RegExp(yT,"g"),xT=":leave",DT=new RegExp(xT,"g");Nf=class{buildKeyframes(e,i,n,r,o,s,a,l,c,d=[]){c=c||new xo;let u=new Ff(e,i,c,r,o,d,[]);u.options=l;let h=l.delay?gn(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),ft(this,n,u);let f=u.timelines.filter(m=>m.containsAnimation());if(f.length&&a.size){let m;for(let b=f.length-1;b>=0;b--){let w=f[b];if(w.element===i){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return f.length?f.map(m=>m.buildKeyframes()):[Yf(i,[],[],[],0,h,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let n=i.subInstructions.get(i.element);if(n){let r=i.createSubContext(e.options),o=i.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);o!=s&&i.transformIntoNewTimeline(s)}i.previousNode=e}visitAnimateRef(e,i){let n=i.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,n),this.visitReference(e.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,n){for(let r of e){let o=r?.delay;if(o){let s=typeof o=="number"?o:gn(wo(o,r?.params??{},i.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,i,n){let o=i.currentTimeline.currentTime,s=n.duration!=null?gn(n.duration):null,a=n.delay!=null?gn(n.delay):null;return s!==0&&e.forEach(l=>{let c=i.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,i){i.updateOptions(e.options,!0),ft(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let n=i.subContextCount,r=i,o=e.options;if(o&&(o.params||o.delay)&&(r=i.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==z.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ll);let s=gn(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ft(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let n=[],r=i.currentTimeline.currentTime,o=e.options&&e.options.delay?gn(e.options.delay):0;e.steps.forEach(s=>{let a=i.createSubContext(e.options);o&&a.delayNextStep(o),ft(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>i.currentTimeline.mergeTimelineCollectedStyles(s)),i.transformIntoNewTimeline(r),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let n=e.strValue,r=i.params?wo(n,i.params,i.errors):n;return ol(r,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let n=i.currentAnimateTimings=this._visitTiming(e.timings,i),r=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),r.snapshotCurrentStyles());let o=e.style;o.type==z.Keyframes?this.visitKeyframes(o,i):(i.incrementTime(n.duration),this.visitStyle(o,i),r.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let n=i.currentTimeline,r=i.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let n=i.currentAnimateTimings,r=i.currentTimeline.duration,o=n.duration,a=i.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,i.errors,i.options),a.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(a),i.transformIntoNewTimeline(r+o),i.previousNode=e}visitQuery(e,i){let n=i.currentTimeline.currentTime,r=e.options||{},o=r.delay?gn(r.delay):0;o&&(i.previousNode.type===z.Style||n==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ll);let s=n,a=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,i.errors);i.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{i.currentQueryIndex=d;let u=i.createSubContext(e.options,c);o&&u.delayNextStep(o),c===i.element&&(l=u.currentTimeline),ft(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let h=u.currentTimeline.currentTime;s=Math.max(s,h)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(s),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let n=i.parentContext,r=i.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(i.currentQueryTotal-1),l=s*i.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break}let d=i.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;ft(this,e.animation,i),i.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}},ll={},Ff=class t{constructor(e,i,n,r,o,s,a,l){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ll,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new cl(this._driver,i,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=gn(n.duration)),n.delay!=null&&(r.delay=gn(n.delay));let o=n.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!i||!s.hasOwnProperty(a))&&(s[a]=wo(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let n=e.params={};Object.keys(i).forEach(r=>{n[r]=i[r]})}}return e}createSubContext(e=null,i,n){let r=i||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=ll,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){let r={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new kf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(wT,"."+this._enterClassName),e=e.replace(DT,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,e,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!o&&a.length==0&&s.push(LM(i)),a}},cl=class t{constructor(e,i,n,r){this._driver=e,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new t(this._driver,e,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=_T,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||Xt),this._currentKeyframe.set(i,Xt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,r){i&&this._previousKeyframe.set("easing",i);let o=r&&r.params||{},s=ET(e,this._globalTimelineStyles);for(let[a,l]of s){let c=wo(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Xt),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{let r=this._styleSummary.get(n);(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Qa?e.add(u):d===Xt&&i.add(u)}),n||c.set("offset",l/this.duration),r.push(c)});let o=[...e.values()],s=[...i.values()];if(n){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Yf(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},kf=class extends cl{constructor(e,i,n,r,o,s,a=!1){super(e,i,s.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:i,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&i){let o=[],s=n+i,a=i/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",O_(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let h=new Map(e[u]),f=h.get("offset"),m=i+f*n;h.set("offset",O_(m/s)),o.push(h)}n=s,i=0,r="",e=o}return Yf(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}};xf={},dl=class{constructor(e,i,n){this._triggerName=e,this.ast=i,this._stateStyles=n}match(e,i,n,r){return CT(this.ast.matchers,e,i,n,r)}buildStyles(e,i,n){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(i,n):new Map}build(e,i,n,r,o,s,a,l,c,d){let u=[],h=this.ast.options&&this.ast.options.params||xf,f=a&&a.params||xf,m=this.buildStyles(n,f,u),b=l&&l.params||xf,w=this.buildStyles(r,b,u),_=new Set,L=new Map,X=new Map,H=r==="void",Pe={params:Y_(b,h),delay:this.ast.options?.delay},ve=d?[]:q_(e,i,this.ast.animation,o,s,m,w,Pe,c,u),_e=0;return ve.forEach(Fe=>{_e=Math.max(Fe.duration+Fe.delay,_e)}),u.length?N_(i,this._triggerName,n,r,H,m,w,[],[],L,X,_e,u):(ve.forEach(Fe=>{let tn=Fe.element,yn=ht(L,tn,new Set);Fe.preStyleProps.forEach(Un=>yn.add(Un));let rm=ht(X,tn,new Set);Fe.postStyleProps.forEach(Un=>rm.add(Un)),tn!==i&&_.add(tn)}),N_(i,this._triggerName,n,r,H,m,w,ve,[..._.values()],L,X,_e))}};Rf=class{constructor(e,i,n){this.styles=e,this.defaultParams=i,this.normalizer=n}buildStyles(e,i){let n=new Map,r=Y_(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=wo(s,r,i));let l=this.normalizer.normalizePropertyName(a,i);s=this.normalizer.normalizeStyleValue(a,l,s,i),n.set(a,s)})}),n}};Pf=class{constructor(e,i,n){this.name=e,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Rf(r.style,o,n))}),F_(this.states,"true","1"),F_(this.states,"false","0"),i.transitions.forEach(r=>{this.transitionFactories.push(new dl(e,r,this.states))}),this.fallbackTransition=ST(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,n,r){return this.transitionFactories.find(s=>s.match(e,i,n,r))||null}matchStyles(e,i,n){return this.fallbackTransition.buildStyles(e,i,n)}};MT=new xo,Lf=class{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let n=[],r=[],o=G_(this._driver,i,n,r);if(n.length)throw HM(n);r.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,i,n){let r=e.element,o=j_(this._normalizer,e.keyframes,i,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,i,n={}){let r=[],o=this._animations.get(e),s,a=new Map;if(o?(s=q_(this._driver,i,o,U_,If,new Map,new Map,n,MT,r),s.forEach(d=>{let u=ht(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(UM()),s=[]),r.length)throw $M(r);a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,Xt))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Rn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw WM(e);return i}listen(e,i,n,r){let o=Uf(i,"","","");return Hf(this._getPlayer(e),n,o,r),()=>{}}command(e,i,n,r){if(n=="register"){this.register(e,r[0]);return}if(n=="create"){let s=r[0]||{};this.create(e,i,s);return}let o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},k_="ng-animate-queued",TT=".ng-animate-queued",Df="ng-animate-disabled",AT=".ng-animate-disabled",OT="ng-star-inserted",NT=".ng-star-inserted",FT=[],Z_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kT={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bt="__ng_removed",Do=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=PT(r),n){let o=e,{value:s}=o,a=sc(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let n=this.options.params;Object.keys(i).forEach(r=>{n[r]==null&&(n[r]=i[r])})}}},yo="void",Ef=new Do(yo),Vf=class{constructor(e,i,n){this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ct(i,this._hostClassName)}listen(e,i,n,r){if(!this._triggers.has(i))throw GM(n,i);if(n==null||n.length==0)throw qM(i);if(!LT(n))throw YM(n,i);let o=ht(this._elementListeners,e,[]),s={name:i,phase:n,callback:r};o.push(s);let a=ht(this._engine.statesByElement,e,new Map);return a.has(i)||(Ct(e,Ja),Ct(e,Ja+"-"+i),a.set(i,Ef)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(i)||a.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw ZM(e);return i}trigger(e,i,n,r=!0){let o=this._getTrigger(i),s=new Eo(this.id,i,e),a=this._engine.statesByElement.get(e);a||(Ct(e,Ja),Ct(e,Ja+"-"+i),this._engine.statesByElement.set(e,a=new Map));let l=a.get(i),c=new Do(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(i,c),l||(l=Ef),!(c.value===yo)&&l.value===c.value){if(!BT(l.params,c.params)){let b=[],w=o.matchStyles(l.value,l.params,b),_=o.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{wi(e,w),en(e,_)})}return}let h=ht(this._engine.playersByElement,e,[]);h.forEach(b=>{b.namespaceId==this.id&&b.triggerName==i&&b.queued&&b.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),m=!1;if(!f){if(!r)return;f=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(Ct(e,k_),s.onStart(()=>{gr(e,k_)})),s.onDone(()=>{let b=this.players.indexOf(s);b>=0&&this.players.splice(b,1);let w=this._engine.playersByElement.get(e);if(w){let _=w.indexOf(s);_>=0&&w.splice(_,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let n=this._engine.driver.query(e,rl,!0);n.forEach(r=>{if(r[Bt])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,i,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,i,n,r){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,yo,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,s),n&&Rn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(i&&n){let r=new Set;i.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=n.get(s)||Ef,d=new Do(yo),u=new Eo(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,i){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,i);else{let o=e[Bt];(!o||o===Z_)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,i))}}insertNode(e,i){Ct(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let l=Uf(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Hf(n.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):i.push(n)}),this._queue=[],i.sort((n,r)=>{let o=n.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},jf=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,n,r){this.bodyNode=e,this.driver=i,this._normalizer=n,this.scheduler=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,i){let n=new Vf(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,i){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(i);for(;a;){let l=r.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return r.set(i,e),e}register(e,i){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,i)),n}registerTrigger(e,i,n){let r=this._namespaceLookup[e];r&&r.register(i,n)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,n=this.statesByElement.get(e);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&i.add(o)}}return i}trigger(e,i,n,r){if(nl(i)){let o=this._fetchNamespace(e);if(o)return o.trigger(i,n,r),!0}return!1}insertNode(e,i,n,r){if(!nl(i))return;let o=i[Bt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(i);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(i,n)}r&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ct(e,Df)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),gr(e,Df))}removeNode(e,i,n){if(nl(i)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(i,n):this.markElementAsRemoved(e,i,!1,n);let o=this.namespacesByHostElement.get(i);o&&o.id!==e&&o.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(e,i,n,r,o){this.collectedLeaveElements.push(i),i[Bt]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,i,n,r,o){return nl(i)?this._fetchNamespace(e).listen(i,n,r,o):()=>{}}_buildInstruction(e,i,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,i,o)}destroyInnerAnimations(e){let i=this.driver.query(e,rl,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,Sf,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Rn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[Bt];if(i&&i.setForRemoval){if(e[Bt]=Z_,i.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Df)&&this.markElementAsDisabled(e,!1),this.driver.query(e,AT,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];Ct(r,OT)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{i=this._flushAnimations(n,e)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],i.length?Rn(i).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw KM(e)}_flushAnimations(e,i){let n=new xo,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(I=>{d.add(I);let M=this.driver.query(I,TT,!0);for(let A=0;A<M.length;A++)d.add(M[A])});let u=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=L_(h,this.collectedEnterElements),m=new Map,b=0;f.forEach((I,M)=>{let A=U_+b++;m.set(M,A),I.forEach(J=>Ct(J,A))});let w=[],_=new Set,L=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){let M=this.collectedLeaveElements[I],A=M[Bt];A&&A.setForRemoval&&(w.push(M),_.add(M),A.hasAnimation?this.driver.query(M,NT,!0).forEach(J=>_.add(J)):L.add(M))}let X=new Map,H=L_(h,Array.from(_));H.forEach((I,M)=>{let A=If+b++;X.set(M,A),I.forEach(J=>Ct(J,A))}),e.push(()=>{f.forEach((I,M)=>{let A=m.get(M);I.forEach(J=>gr(J,A))}),H.forEach((I,M)=>{let A=X.get(M);I.forEach(J=>gr(J,A))}),w.forEach(I=>{this.processLeaveNode(I)})});let Pe=[],ve=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(i).forEach(A=>{let J=A.player,ke=A.element;if(Pe.push(J),this.collectedEnterElements.length){let ze=ke[Bt];if(ze&&ze.setForMove){if(ze.previousTriggersValues&&ze.previousTriggersValues.has(A.triggerName)){let $n=ze.previousTriggersValues.get(A.triggerName),pt=this.statesByElement.get(A.element);if(pt&&pt.has(A.triggerName)){let jo=pt.get(A.triggerName);jo.value=$n,pt.set(A.triggerName,jo)}}J.destroy();return}}let Ht=!u||!this.driver.containsElement(u,ke),st=X.get(ke),wn=m.get(ke),ye=this._buildInstruction(A,n,wn,st,Ht);if(ye.errors&&ye.errors.length){ve.push(ye);return}if(Ht){J.onStart(()=>wi(ke,ye.fromStyles)),J.onDestroy(()=>en(ke,ye.toStyles)),r.push(J);return}if(A.isFallbackTransition){J.onStart(()=>wi(ke,ye.fromStyles)),J.onDestroy(()=>en(ke,ye.toStyles)),r.push(J);return}let am=[];ye.timelines.forEach(ze=>{ze.stretchStartingKeyframe=!0,this.disabledNodes.has(ze.element)||am.push(ze)}),ye.timelines=am,n.append(ke,ye.timelines);let lw={instruction:ye,player:J,element:ke};s.push(lw),ye.queriedElements.forEach(ze=>ht(a,ze,[]).push(J)),ye.preStyleProps.forEach((ze,$n)=>{if(ze.size){let pt=l.get($n);pt||l.set($n,pt=new Set),ze.forEach((jo,oc)=>pt.add(oc))}}),ye.postStyleProps.forEach((ze,$n)=>{let pt=c.get($n);pt||c.set($n,pt=new Set),ze.forEach((jo,oc)=>pt.add(oc))})});if(ve.length){let I=[];ve.forEach(M=>{I.push(QM(M.triggerName,M.errors))}),Pe.forEach(M=>M.destroy()),this.reportError(I)}let _e=new Map,Fe=new Map;s.forEach(I=>{let M=I.element;n.has(M)&&(Fe.set(M,M),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,_e))}),r.forEach(I=>{let M=I.element;this._getPreviousPlayers(M,!1,I.namespaceId,I.triggerName,null).forEach(J=>{ht(_e,M,[]).push(J),J.destroy()})});let tn=w.filter(I=>V_(I,l,c)),yn=new Map;P_(yn,this.driver,L,c,Xt).forEach(I=>{V_(I,l,c)&&tn.push(I)});let Un=new Map;f.forEach((I,M)=>{P_(Un,this.driver,new Set(I),l,Qa)}),tn.forEach(I=>{let M=yn.get(I),A=Un.get(I);yn.set(I,new Map([...M?.entries()??[],...A?.entries()??[]]))});let rc=[],om=[],sm={};s.forEach(I=>{let{element:M,player:A,instruction:J}=I;if(n.has(M)){if(d.has(M)){A.onDestroy(()=>en(M,J.toStyles)),A.disabled=!0,A.overrideTotalTime(J.totalTime),r.push(A);return}let ke=sm;if(Fe.size>1){let st=M,wn=[];for(;st=st.parentNode;){let ye=Fe.get(st);if(ye){ke=ye;break}wn.push(st)}wn.forEach(ye=>Fe.set(ye,ke))}let Ht=this._buildAnimation(A.namespaceId,J,_e,o,Un,yn);if(A.setRealPlayer(Ht),ke===sm)rc.push(A);else{let st=this.playersByElement.get(ke);st&&st.length&&(A.parentPlayer=Rn(st)),r.push(A)}}else wi(M,J.fromStyles),A.onDestroy(()=>en(M,J.toStyles)),om.push(A),d.has(M)&&r.push(A)}),om.forEach(I=>{let M=o.get(I.element);if(M&&M.length){let A=Rn(M);I.setRealPlayer(A)}}),r.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I<w.length;I++){let M=w[I],A=M[Bt];if(gr(M,If),A&&A.hasAnimation)continue;let J=[];if(a.size){let Ht=a.get(M);Ht&&Ht.length&&J.push(...Ht);let st=this.driver.query(M,Sf,!0);for(let wn=0;wn<st.length;wn++){let ye=a.get(st[wn]);ye&&ye.length&&J.push(...ye)}}let ke=J.filter(Ht=>!Ht.destroyed);ke.length?VT(this,M,ke):this.processLeaveNode(M)}return w.length=0,rc.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();let M=this.players.indexOf(I);this.players.splice(M,1)}),I.play()}),rc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,n,r,o){let s=[];if(i){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==yo;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(n||r)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,i,n){let r=i.triggerName,o=i.element,s=i.isRemovalTransition?void 0:e,a=i.isRemovalTransition?void 0:r;for(let l of i.timelines){let c=l.element,d=c!==o,u=ht(n,c,[]);this._getPreviousPlayers(c,d,s,a,i.toState).forEach(f=>{let m=f.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),f.destroy(),u.push(f)})}wi(o,i.fromStyles)}_buildAnimation(e,i,n,r,o,s){let a=i.triggerName,l=i.element,c=[],d=new Set,u=new Set,h=i.timelines.map(m=>{let b=m.element;d.add(b);let w=b[Bt];if(w&&w.removedBeforeQueried)return new kn(m.duration,m.delay);let _=b!==l,L=jT((n.get(b)||FT).map(_e=>_e.getRealPlayer())).filter(_e=>{let Fe=_e;return Fe.element?Fe.element===b:!1}),X=o.get(b),H=s.get(b),Pe=j_(this._normalizer,m.keyframes,X,H),ve=this._buildPlayer(m,Pe,L);if(m.subTimeline&&r&&u.add(b),_){let _e=new Eo(e,a,b);_e.setRealPlayer(ve),c.push(_e)}return ve});c.forEach(m=>{ht(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>RT(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>Ct(m,M_));let f=Rn(h);return f.onDestroy(()=>{d.forEach(m=>gr(m,M_)),en(l,i.toStyles)}),u.forEach(m=>{ht(r,m,[]).push(f)}),f}_buildPlayer(e,i,n){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,n):new kn(e.duration,e.delay)}},Eo=class{constructor(e,i,n){this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new kn,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,n)=>{i.forEach(r=>Hf(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){ht(this._queuedCallbacks,e,[]).push(i)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let i=this._player;i.triggerCallback&&i.triggerCallback(e)}};vr=class{constructor(e,i,n,r){this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new jf(e.body,i,n,r),this._timelineEngine=new Lf(e.body,i,n),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,i,n,r,o){let s=e+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=G_(this._driver,o,l,c);if(l.length)throw BM(r,l);c.length&&void 0,a=IT(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(i,r,a)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,n,r){this._transitionEngine.insertNode(e,i,n,r)}onRemove(e,i,n){this._transitionEngine.removeNode(e,i,n)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,n,r){if(n.charAt(0)=="@"){let[o,s]=I_(n),a=r;this._timelineEngine.command(o,i,s,a)}else this._transitionEngine.trigger(e,i,n,r)}listen(e,i,n,r,o){if(n.charAt(0)=="@"){let[s,a]=I_(n);return this._timelineEngine.listen(s,i,a,o)}return this._transitionEngine.listen(e,i,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};br=class br{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let r=br.initialStylesByElement.get(e);r||br.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&en(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(en(this._element,this._initialStyles),this._endStyles&&(en(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(br.initialStylesByElement.delete(this._element),this._startStyles&&(wi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wi(this._element,this._endStyles),this._endStyles=null),en(this._element,this._initialStyles),this._state=3)}};br.initialStylesByElement=new WeakMap;Bf=br;ul=class{constructor(e,i,n,r){this.element=e,this.keyframes=i,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(e,i,n){return e.animate(this._convertKeyframesToObject(i),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&e.set(r,this._finished?n:qf(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},fl=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return B_(e,i)}getParentElement(e){return $f(e)}query(e,i,n){return z_(e,i,n)}computeStyle(e,i,n){return qf(e,i)}animate(e,i,n,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:n,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(f=>f instanceof ul);lT(n,r)&&d.forEach(f=>{f.currentSnapshot.forEach((m,b)=>c.set(b,m))});let u=oT(i).map(f=>new Map(f));u=cT(e,u,c);let h=zT(e,u);return new ul(e,u,l,h)}},il="@",Q_="@.disabled",hl=class{constructor(e,i,n,r){this.namespaceId=e,this.delegate=i,this.engine=n,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,n,r=!0){this.delegate.insertBefore(e,i,n),this.engine.onInsert(this.namespaceId,i,e,r)}removeChild(e,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,n,r){this.delegate.setAttribute(e,i,n,r)}removeAttribute(e,i,n){this.delegate.removeAttribute(e,i,n)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,n,r){this.delegate.setStyle(e,i,n,r)}removeStyle(e,i,n){this.delegate.removeStyle(e,i,n)}setProperty(e,i,n){i.charAt(0)==il&&i==Q_?this.disableAnimations(e,!!n):this.delegate.setProperty(e,i,n)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,n){return this.delegate.listen(e,i,n)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},zf=class extends hl{constructor(e,i,n,r,o){super(i,n,r,o),this.factory=e,this.namespaceId=i}setProperty(e,i,n){i.charAt(0)==il?i.charAt(1)=="."&&i==Q_?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,i.slice(1),n):this.delegate.setProperty(e,i,n)}listen(e,i,n){if(i.charAt(0)==il){let r=UT(e),o=i.slice(1),s="";return o.charAt(0)!=il&&([o,s]=$T(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a)})}return this.delegate.listen(e,i,n)}};ml=class{constructor(e,i,n){this.delegate=e,this.engine=i,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(r,o)=>{let s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(e,i){let n="",r=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new hl(n,r,this.engine,u),c.set(r,d)}return d}let o=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return i.data.animation.forEach(a),new zf(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>i(n));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([i,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}});function qT(){return new sl}function YT(t,e,i){return new ml(t,e,i)}function J_(){return hi("NgEagerAnimations"),[...ZT]}var GT,X_,ZT,Zj,ey=p(()=>{"use strict";T();T();Za();Kf();Kf();Me();GT=(()=>{let e=class e extends vr{constructor(n,r,o){super(n,r,o,C(Zr,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(g(B),g(xi),g(Di))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let t=e;return t})();X_=[{provide:Di,useFactory:qT},{provide:vr,useClass:GT},{provide:li,useFactory:YT,deps:[qa,vr,S]}],ZT=[{provide:xi,useFactory:()=>new fl},{provide:Be,useValue:"BrowserAnimations"},...X_],Zj=[{provide:xi,useClass:Wf},{provide:Be,useValue:"NoopAnimations"},...X_]});var Qf,ty=p(()=>{"use strict";Wa();ey();Qf={providers:[f_(),J_()]}});function KT(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function QT(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function XT(t){return typeof t=="function"}function JT(t,e){if(!Xf){let i=Element.prototype;Xf=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Xf.call(t,e):!1}function eA(t,e){return t===e||t!==t&&e!==e}function tA(t){let e={};return t.forEach(({propName:i,templateName:n,transform:r})=>{e[KT(n)]=[i,r]}),e}function nA(t,e){return e.get(fn).resolveComponentFactory(t).inputs}function iA(t,e){let i=t.childNodes,n=e.map(()=>[]),r=-1;e.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=i.length;o<s;++o){let a=i[o],l=rA(a,e,r);l!==-1&&n[l].push(a)}return n}function rA(t,e,i){let n=i;return QT(t)&&e.some((r,o)=>r!=="*"&&JT(t,r)?(n=o,!0):!1),n}function ny(t,e){let i=nA(t,e.injector),n=e.strategyFactory||new Jf(t,e.injector),r=tA(i),s=class s extends th{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let u=this[c];delete this[c],l.setInputValue(c,u,d)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,d,u){let[h,f]=r[l];this.ngElementStrategy.setInputValue(h,d,f)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(r);let o=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),o}var pl,Xf,oA,Jf,eh,th,iy=p(()=>{"use strict";T();Ve();et();pl={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return pl.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return pl.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};oA=10,Jf=class{constructor(e,i){this.componentFactory=i.get(fn).resolveComponentFactory(e)}create(e){return new eh(this.componentFactory,e)}},eh=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new Zn(1),this.events=this.eventEmitters.pipe(rn(n=>Ot(...n))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:n})=>n)),this.ngZone=this.injector.get(S),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=pl.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},oA))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}eA(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=jt.create({providers:[],parent:this.injector}),n=iA(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Ge),this.implementsOnChanges=XT(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Nn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:r})=>e.instance[n].pipe(re(s=>({name:r,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=pl.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let r=this.unchangedInputs.has(e),o=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Gr(o,i,r)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},th=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}});function lA(){let t=pn()?pn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function Pn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function hy(t){return t!=null&&typeof t.length=="number"}function uA(t){return e=>{if(Pn(e.value)||Pn(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function fA(t){return e=>{if(Pn(e.value)||Pn(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function hA(t){return Pn(t.value)?{required:!0}:null}function mA(t){return t.value===!0?null:{required:!0}}function pA(t){return Pn(t.value)||dA.test(t.value)?null:{email:!0}}function gA(t){return e=>Pn(e.value)||!hy(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function bA(t){return e=>hy(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function vA(t){if(!t)return my;let e,i;return typeof t=="string"?(i="",t.charAt(0)!=="^"&&(i+="^"),i+=t,t.charAt(t.length-1)!=="$"&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),n=>{if(Pn(n.value))return null;let r=n.value;return e.test(r)?null:{pattern:{requiredPattern:i,actualValue:r}}}}function my(t){return null}function py(t){return t!=null}function gy(t){return ao(t)?Je(t):t}function by(t){let e={};return t.forEach(i=>{e=i!=null?P(P({},e),i):e}),Object.keys(e).length===0?null:e}function vy(t,e){return e.map(i=>i(t))}function _A(t){return!t.validate}function _y(t){return t.map(e=>_A(e)?e:i=>e.validate(i))}function yy(t){if(!t)return null;let e=t.filter(py);return e.length==0?null:function(i){return by(vy(i,e))}}function sh(t){return t!=null?yy(_y(t)):null}function wy(t){if(!t)return null;let e=t.filter(py);return e.length==0?null:function(i){let n=vy(i,e).map(gy);return Fr(n).pipe(re(by))}}function ah(t){return t!=null?wy(_y(t)):null}function ry(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function xy(t){return t._rawValidators}function Dy(t){return t._rawAsyncValidators}function nh(t){return t?Array.isArray(t)?t:[t]:[]}function vl(t,e){return Array.isArray(t)?t.includes(e):t===e}function oy(t,e){let i=nh(e);return nh(t).forEach(r=>{vl(i,r)||i.push(r)}),i}function sy(t,e){return nh(e).filter(i=>!vl(t,i))}function Cy(t){return(Il(t)?t.validators:t)||null}function wA(t){return Array.isArray(t)?sh(t):t||null}function Iy(t,e){return(Il(e)?e.asyncValidators:t)||null}function xA(t){return Array.isArray(t)?ah(t):t||null}function Il(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function DA(t,e,i){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new x(1e3,"");if(!n[i])throw new x(1001,"")}function EA(t,e,i){t._forEachChild((n,r)=>{if(i[r]===void 0)throw new x(1002,"")})}function CA(t,e){return[...e.path,t]}function xl(t,e,i=lh){ch(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),SA(t,e),TA(t,e),MA(t,e),IA(t,e)}function ay(t,e,i=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),El(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Dl(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function IA(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function ch(t,e){let i=xy(t);e.validator!==null?t.setValidators(ry(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=Dy(t);e.asyncValidator!==null?t.setAsyncValidators(ry(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();Dl(e._rawValidators,r),Dl(e._rawAsyncValidators,r)}function El(t,e){let i=!1;if(t!==null){if(e.validator!==null){let r=xy(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.validator);o.length!==r.length&&(i=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=Dy(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(i=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Dl(e._rawValidators,n),Dl(e._rawAsyncValidators,n),i}function SA(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Sy(t,e)})}function MA(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Sy(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Sy(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function TA(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function My(t,e){t==null,ch(t,e)}function AA(t,e){return El(t,e)}function OA(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function NA(t){return Object.getPrototypeOf(t.constructor)===sA}function Ty(t,e){t._syncPendingControls(),e.forEach(i=>{let n=i.control;n.updateOn==="submit"&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function FA(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(o=>{o.constructor===Cl?i=o:NA(o)?n=o:r=o}),r||n||i||null}function kA(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function ly(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function cy(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var uy,sA,fy,aA,cA,Cl,rh,oh,dA,bl,_l,Ei,Ci,ih,yA,_2,Ey,Co,gl,_r,Io,yl,wl,Sl,lh,RA,So,dh,Ay,PA,LA,dy,uh,VA,fh,jA,Oy,Mo=p(()=>{"use strict";T();T();Me();Ve();et();uy=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(v(ur),v(V))},e.\u0275dir=Q({type:e});let t=e;return t})(),sA=(()=>{let e=class e extends uy{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ou(e)))(o||e)}})(),e.\u0275dir=Q({type:e,features:[wt]});let t=e;return t})(),fy=new D(""),aA={provide:fy,useExisting:di(()=>Cl),multi:!0};cA=new D(""),Cl=(()=>{let e=class e extends uy{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!lA())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(v(ur),v(V),v(cA,8))},e.\u0275dir=Q({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Oe("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Ke([aA]),wt]});let t=e;return t})();rh=new D(""),oh=new D(""),dA=/^(?=.{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])?)*$/,bl=class{static min(e){return uA(e)}static max(e){return fA(e)}static required(e){return hA(e)}static requiredTrue(e){return mA(e)}static email(e){return pA(e)}static minLength(e){return gA(e)}static maxLength(e){return bA(e)}static pattern(e){return vA(e)}static nullValidator(e){return my(e)}static compose(e){return yy(e)}static composeAsync(e){return wy(e)}};_l=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=sh(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ah(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},Ei=class extends _l{get formDirective(){return null}get path(){return null}},Ci=class extends _l{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ih=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},yA={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},_2=Le(P({},yA),{"[class.ng-submitted]":"isSubmitted"}),Ey=(()=>{let e=class e extends ih{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(v(Ci,2))},e.\u0275dir=Q({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&fe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[wt]});let t=e;return t})(),Co="VALID",gl="INVALID",_r="PENDING",Io="DISABLED";yl=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Co}get invalid(){return this.status===gl}get pending(){return this.status==_r}get disabled(){return this.status===Io}get enabled(){return this.status!==Io}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(oy(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(oy(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(sy(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(sy(e,this._rawAsyncValidators))}hasValidator(e){return vl(this._rawValidators,e)}hasAsyncValidator(e){return vl(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=_r,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Io,this.errors=null,this._forEachChild(n=>{n.disable(Le(P({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Le(P({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Co,this._forEachChild(n=>{n.enable(Le(P({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Le(P({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Co||this.status===_r)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Io:Co}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=_r,this._hasOwnPendingAsyncValidator=!0;let i=gy(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new se,this.statusChanges=new se}_calculateStatus(){return this._allControlsDisabled()?Io:this.errors?gl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_r)?_r:this._anyControlsHaveStatus(gl)?gl:Co}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Il(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=wA(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=xA(this._rawAsyncValidators)}},wl=class extends yl{constructor(e,i,n){super(Cy(i),Iy(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){EA(this,!0,e),Object.keys(e).forEach(n=>{DA(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>n._syncPendingControls()?!0:i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{let n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}},Sl=new D("CallSetDisabledState",{providedIn:"root",factory:()=>lh}),lh="always";RA={provide:Ei,useExisting:di(()=>dh)},So=Promise.resolve(),dh=(()=>{let e=class e extends Ei{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new se,this.form=new wl({},sh(n),ah(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){So.then(()=>{let r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),xl(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){So.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){So.then(()=>{let r=this._findContainer(n.path),o=new wl({});My(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){So.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){So.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,Ty(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(r){return new(r||e)(v(rh,10),v(oh,10),v(Sl,8))},e.\u0275dir=Q({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Oe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[y.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ke([RA]),wt]});let t=e;return t})();Ay=class extends yl{constructor(e=null,i,n){super(Cy(i),Iy(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Il(i)&&(i.nonNullable||i.initialValueIsDefault)&&(cy(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ly(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ly(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){cy(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},PA=t=>t instanceof Ay,LA={provide:Ci,useExisting:di(()=>uh)},dy=Promise.resolve(),uh=(()=>{let e=class e extends Ci{constructor(n,r,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Ay,this._registered=!1,this.name="",this.update=new se,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=FA(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),OA(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){xl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){dy.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&ue(r);dy.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?CA(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(v(Ei,9),v(rh,10),v(oh,10),v(fy,10),v(Ge,8),v(Sl,8))},e.\u0275dir=Q({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[y.None,"disabled","isDisabled"],model:[y.None,"ngModel","model"],options:[y.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ke([LA]),wt,_t]});let t=e;return t})(),VA={provide:Ei,useExisting:di(()=>fh)},fh=(()=>{let e=class e extends Ei{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new se,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(El(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return xl(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){ay(n.control||null,n,!1),kA(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,Ty(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,o=this.form.get(n.path);r!==o&&(ay(r||null,n),PA(o)&&(xl(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);My(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&AA(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ch(this.form,this),this._oldForm&&El(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(v(rh,10),v(oh,10),v(Sl,8))},e.\u0275dir=Q({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Oe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[y.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ke([VA]),wt,_t]});let t=e;return t})(),jA=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})(),Oy=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Sl,useValue:n.callSetDisabledState??lh}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[jA]});let t=e;return t})()});function BA(){if(To==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>To=!0}))}finally{To=To||!1}return To}function Ln(t){return BA()?t:!!t.capture}function Fy(){if(Ii==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ii=!1,Ii;if("scrollBehavior"in document.documentElement.style)Ii=!0;else{let t=Element.prototype.scrollTo;t?Ii=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Ii=!1}}return Ii}function zA(){if(hh==null){let t=typeof document<"u"?document.head:null;hh=!!(t&&(t.createShadowRoot||t.attachShadow))}return hh}function ky(t){if(zA()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function It(t){return t.composedPath?t.composedPath()[0]:t.target}function Ao(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var mh,be,To,Ii,hh,mt=p(()=>{"use strict";T();T();Me();try{mh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{mh=!1}be=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?i_(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||mh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(r){return new(r||e)(g(Kt))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function zt(t,...e){return e.length?e.some(i=>t[i]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var yr=p(()=>{"use strict"});function wr(t){return t!=null&&`${t}`!="false"}function Oo(t,e=0){return HA(t)?Number(t):e}function HA(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function xr(t){return Array.isArray(t)?t:[t]}function Te(t){return t==null?"":typeof t=="string"?t:`${t}px`}function bn(t){return t instanceof V?t.nativeElement:t}var jn=p(()=>{"use strict";T()});var UA,Ml,ph=p(()=>{"use strict";T();UA=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ml=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({providers:[UA]});let t=e;return t})()});function WA(t,e){if(!Ry.has(t))try{Si||(Si=document.createElement("style"),e&&Si.setAttribute("nonce",e),Si.setAttribute("type","text/css"),document.head.appendChild(Si)),Si.sheet&&(Si.sheet.insertRule(`@media ${t} {body{ }}`,0),Ry.add(t))}catch(i){console.error(i)}}function GA(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function Py(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}var Ry,Si,$A,Ly,Vy=p(()=>{"use strict";T();T();jn();Ve();et();mt();Ry=new Set,$A=(()=>{let e=class e{constructor(n,r){this._platform=n,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):GA}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&WA(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(r){return new(r||e)(g(be),g(no,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Ly=(()=>{let e=class e{constructor(n,r){this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Py(xr(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=Py(xr(n)).map(a=>this._registerQuery(a).observable),s=Uc(o);return s=Hi(s.pipe(gt(1)),s.pipe(Lr(1),Rr(0))),s.pipe(re(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),s={observable:new $(a=>{let l=c=>this._zone.run(()=>a.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(Xn(r),re(({matches:a})=>({query:n,matches:a})),oe(this._destroySubject)),mql:r};return this._queries.set(n,s),s}};e.\u0275fac=function(r){return new(r||e)(g($A),g(S))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function Dh(t,e,i){let n=Nl(t,e);i=i.trim(),!n.some(r=>r.trim()===i)&&(n.push(i),t.setAttribute(e,n.join(Hy)))}function Pl(t,e,i){let n=Nl(t,e);i=i.trim();let r=n.filter(o=>o!==i);r.length?t.setAttribute(e,r.join(Hy)):t.removeAttribute(e)}function Nl(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}function gh(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function jy(t,e){t.id||(t.id=`${Uy}-${e}-${vh++}`)}function Eh(t){return t.buttons===0||t.detail===0}function Ch(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}function dO(){return null}var Hy,Uy,Tl,vh,$y,_h,Fl,sO,aO,Wy,Dr,lO,cO,uO,fO,Gy,Ol,hO,Al,Ll,Mi,By,zy,bh,Ih,qy,Bn=p(()=>{"use strict";Me();T();T();mt();mt();Ve();yr();et();ph();jn();Vy();Hy=" ";Uy="cdk-describedby-message",Tl="cdk-describedby-host",vh=0,$y=(()=>{let e=class e{constructor(n,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${vh++}`,this._document=n,this._id=C(to)+"-"+vh++}describe(n,r,o){if(!this._canBeDescribed(n,r))return;let s=gh(r,o);typeof r!="string"?(jy(r,this._id),this._messageRegistry.set(s,{messageElement:r,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(r,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,r,o){if(!r||!this._isElementNode(n))return;let s=gh(r,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof r=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${Tl}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(Tl);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let o=this._document.createElement("div");jy(o,this._id),o.textContent=n,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(gh(n,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(n){this._messageRegistry.get(n)?.messageElement?.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let s=0;s<r.length;s++)r[s].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(n),o.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(n){let r=Nl(n,"aria-describedby").filter(o=>o.indexOf(Uy)!=0);n.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(n,r){let o=this._messageRegistry.get(r);Dh(n,"aria-describedby",o.messageElement.id),n.setAttribute(Tl,this._id),o.referenceCount++}_removeMessageReference(n,r){let o=this._messageRegistry.get(r);o.referenceCount--,Pl(n,"aria-describedby",o.messageElement.id),n.removeAttribute(Tl)}_isElementDescribedByMessage(n,r){let o=Nl(n,"aria-describedby"),s=this._messageRegistry.get(r),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(r){return new(r||e)(g(B),g(be))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();_h=class{constructor(e,i){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new R,this._typeaheadSubscription=ie.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new R,this.change=new R,e instanceof nr?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Sa(e)&&(this._effectRef=Ju(()=>this._itemsChanged(e()),{injector:i}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(En(i=>this._pressedLetters.push(i)),Rr(e),Ue(()=>this._pressedLetters.length>0),re(()=>this._pressedLetters.join(""))).subscribe(i=>{let n=this._getItemsArray();for(let r=1;r<n.length+1;r++){let o=(this._activeItemIndex+r)%n.length,s=n[o];if(!this._skipPredicateFn(s)&&s.getLabel().toUpperCase().trim().indexOf(i)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,i=10){return this._pageUpAndDown={enabled:e,delta:i},this}setActiveItem(e){let i=this._activeItem;this.updateActiveItem(e),this._activeItem!==i&&this.change.next(this._activeItemIndex)}onKeydown(e){let i=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(i){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(r||zt(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(i>=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let i=this._getItemsArray(),n=typeof e=="number"?e:i.indexOf(e),r=i[n];this._activeItem=r??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let i=this._getItemsArray();for(let n=1;n<=i.length;n++){let r=(this._activeItemIndex+e*n+i.length)%i.length,o=i[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,i){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=i,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return Sa(this._items)?this._items():this._items instanceof nr?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let i=e.indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}},Fl=class extends _h{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};sO=new D("cdk-input-modality-detector-options"),aO={ignoreKeys:[18,17,224,91,16]},Wy=650,Dr=Ln({passive:!0,capture:!0}),lO=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,r,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new Yn(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=It(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<Wy||(this._modality.next(Eh(a)?"keyboard":"mouse"),this._mostRecentTarget=It(a))},this._onTouchstart=a=>{if(Ch(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=It(a)},this._options=P(P({},aO),s),this.modalityDetected=this._modality.pipe(Lr(1)),this.modalityChanged=this.modalityDetected.pipe(Ui()),n.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Dr),o.addEventListener("mousedown",this._onMousedown,Dr),o.addEventListener("touchstart",this._onTouchstart,Dr)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Dr),document.removeEventListener("mousedown",this._onMousedown,Dr),document.removeEventListener("touchstart",this._onTouchstart,Dr))}};e.\u0275fac=function(r){return new(r||e)(g(be),g(S),g(B),g(sO,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),cO=new D("liveAnnouncerElement",{providedIn:"root",factory:dO});uO=new D("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),fO=0,Gy=(()=>{let e=class e{constructor(n,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...r){let o=this._defaultOptions,s,a;return r.length===1&&typeof r[0]=="number"?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s<r.length;s++)r[s].remove();return o.classList.add(n),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${fO++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let s=r[o],a=s.getAttribute("aria-owns");a?a.indexOf(n)===-1&&s.setAttribute("aria-owns",a+" "+n):s.setAttribute("aria-owns",n)}}};e.\u0275fac=function(r){return new(r||e)(g(cO,8),g(S),g(B),g(uO,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ol=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Ol||{}),hO=new D("cdk-focus-monitor-default-options"),Al=Ln({passive:!0,capture:!0}),Ll=(()=>{let e=class e{constructor(n,r,o,s,a){this._ngZone=n,this._platform=r,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=l=>{let c=It(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=a?.detectionMode||Ol.IMMEDIATE}monitor(n,r=!1){let o=bn(n);if(!this._platform.isBrowser||o.nodeType!==1)return Ye();let s=ky(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;let l={checkChildren:r,subject:new R,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){let r=bn(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){let s=bn(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Ol.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===Ol.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Wy:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,r){let o=this._elementInfo.get(r),s=It(n);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(n,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Al),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Al)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(oe(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Al),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Al),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(r))return!0}return!1}};e.\u0275fac=function(r){return new(r||e)(g(S),g(be),g(lO),g(B,8),g(hO,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mi=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Mi||{}),By="cdk-high-contrast-black-on-white",zy="cdk-high-contrast-white-on-black",bh="cdk-high-contrast-active",Ih=(()=>{let e=class e{constructor(n,r){this._platform=n,this._document=r,this._breakpointSubscription=C(Ly).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Mi.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Mi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Mi.BLACK_ON_WHITE}return Mi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(bh,By,zy),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Mi.BLACK_ON_WHITE?n.add(bh,By):r===Mi.WHITE_ON_BLACK&&n.add(bh,zy)}}};e.\u0275fac=function(r){return new(r||e)(g(be),g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qy=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(r){return new(r||e)(g(Ih))},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[Ml]});let t=e;return t})()});function pO(){return C(B)}function bO(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?gO.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var mO,gO,vn,zn,Hn=p(()=>{"use strict";T();T();Me();mO=new D("cdk-dir-doc",{providedIn:"root",factory:pO});gO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;vn=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new se,n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=bO(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(r){return new(r||e)(g(mO,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})()});function wO(t,e){if(t&1&&me(0,"mat-pseudo-checkbox",1),t&2){let i=pe();ne("disabled",i.disabled)("state",i.selected?"checked":"unchecked")}}function xO(t,e){if(t&1&&me(0,"mat-pseudo-checkbox",3),t&2){let i=pe();ne("disabled",i.disabled)}}function DO(t,e){if(t&1&&(k(0,"span",4),ut(1),j()),t&2){let i=pe();O(),gi("(",i.group.label,")")}}function EO(){return!0}function SO(t,e,i){let n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),r=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+r*r)}function s0(t,e,i){if(i.length){let n=e.toArray(),r=i.toArray(),o=0;for(let s=0;s<t+1;s++)n[s].group&&n[s].group===r[o]&&o++;return o}return 0}function a0(t,e,i,n){return t<i?t:t+e>i+n?Math.max(0,t-n+e):i}var vO,_O,yO,CO,ot,Bl,n0,St,Ah,Yy,Oh,Zy,IO,Ky,Qy,Xy,No,Nh,i0,r0,o0,MO,TO,kh,Rh,AO,Fh,Ul,Ph,Jy,e0,Mh,Th,t0,jl,l0,Ti=p(()=>{"use strict";T();T();Bn();Bn();Hn();Me();mt();mt();jn();Ve();yr();vO=["text"],_O=[[["mat-icon"]],"*"],yO=["mat-icon","*"];CO=new D("mat-sanity-checks",{providedIn:"root",factory:EO}),ot=(()=>{let e=class e{constructor(n,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return Ao()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(r){return new(r||e)(g(Ih),g(CO,8),g(B))},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[zn,zn]});let t=e;return t})(),Bl=class{constructor(e,i,n,r,o){this._defaultMatcher=e,this.ngControl=i,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,i=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(r,i)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}},n0=(()=>{let e=class e{isErrorState(n,r){return!!(n&&n.invalid&&(n.touched||r&&r.submitted))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),St=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(St||{}),Ah=class{constructor(e,i,n,r=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=St.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Yy=Ln({passive:!0,capture:!0}),Oh=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let i=It(e);i&&this._events.get(e.type)?.forEach((n,r)=>{(r===i||r.contains(i))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,i,n,r){let o=this._events.get(i);if(o){let s=o.get(n);s?s.add(r):o.set(n,new Set([r]))}else this._events.set(i,new Map([[n,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,Yy)})}removeHandler(e,i,n){let r=this._events.get(e);if(!r)return;let o=r.get(i);o&&(o.delete(n),o.size===0&&r.delete(i),r.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Yy)))}},Zy={enterDuration:225,exitDuration:150},IO=800,Ky=Ln({passive:!0,capture:!0}),Qy=["mousedown","touchstart"],Xy=["mouseup","mouseleave","touchend","touchcancel"],No=class No{constructor(e,i,n,r){this._target=e,this._ngZone=i,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=bn(n))}fadeInRipple(e,i,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=P(P({},Zy),n.animation);n.centered&&(e=r.left+r.width/2,i=r.top+r.height/2);let s=n.radius||SO(e,i,r),a=e-r.left,l=i-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),h=u.transitionProperty,f=u.transitionDuration,m=h==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,b=new Ah(this,d,n,m);d.style.transform="scale3d(1, 1, 1)",b.state=St.FADING_IN,n.persistent||(this._mostRecentTransientRipple=b);let w=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let _=()=>this._finishRippleTransition(b),L=()=>this._destroyRipple(b);d.addEventListener("transitionend",_),d.addEventListener("transitioncancel",L),w={onTransitionEnd:_,onTransitionCancel:L}}),this._activeRipples.set(b,w),(m||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(e){if(e.state===St.FADING_OUT||e.state===St.HIDDEN)return;let i=e.element,n=P(P({},Zy),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=St.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let i=bn(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,Qy.forEach(n=>{No._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Xy.forEach(i=>{this._triggerElement.addEventListener(i,this,Ky)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===St.FADING_IN?this._startFadeOutTransition(e):e.state===St.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=St.VISIBLE,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=St.HIDDEN,i!==null&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){let i=Eh(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+IO;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Ch(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=e.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let i=e.state===St.VISIBLE||e.config.terminateOnPointerUp&&e.state===St.FADING_IN;!e.config.persistent&&i&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Qy.forEach(i=>No._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&(Xy.forEach(i=>e.removeEventListener(i,this,Ky)),this._pointerUpEventsRegistered=!1))}};No._eventManager=new Oh;Nh=No;i0=new D("mat-ripple-global-options"),r0=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,r,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Nh(this,r,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:P(P(P({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,r=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,r,P(P({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,P(P({},this.rippleConfig),n))}};e.\u0275fac=function(r){return new(r||e)(v(V),v(S),v(be),v(i0,8),v(Be,8))},e.\u0275dir=Q({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&fe("mat-ripple-unbounded",o.unbounded)},inputs:{color:[y.None,"matRippleColor","color"],unbounded:[y.None,"matRippleUnbounded","unbounded"],centered:[y.None,"matRippleCentered","centered"],radius:[y.None,"matRippleRadius","radius"],animation:[y.None,"matRippleAnimation","animation"],disabled:[y.None,"matRippleDisabled","disabled"],trigger:[y.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),o0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[ot,ot]});let t=e;return t})(),MO=(()=>{let e=class e{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(r){return new(r||e)(v(Be,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&fe("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Se],decls:0,vars:0,template:function(r,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),TO=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[ot]});let t=e;return t})(),kh=new D("MAT_OPTION_PARENT_COMPONENT"),Rh=new D("MatOptgroup"),AO=0,Fh=class{constructor(e,i=!1){this.source=e,this.isUserInput=i}},Ul=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=n}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,r,o,s){this._element=n,this._changeDetectorRef=r,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${AO++}`,this.onSelectionChange=new se,this._stateChanges=new R}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,r){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!zt(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new Fh(this,n))}};e.\u0275fac=function(r){return new(r||e)(v(V),v(Ge),v(kh,8),v(Rh,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-option"]],viewQuery:function(r,o){if(r&1&&Ne(vO,7),r&2){let s;le(s=ce())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,o){r&1&&Oe("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),r&2&&(so("id",o.id),xe("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),fe("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[y.HasDecoratorInputTransform,"disabled","disabled",ue]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[We,Se],ngContentSelectors:yO,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(r,o){r&1&&(xt(_O),de(0,wO,1,2,"mat-pseudo-checkbox",1),De(1),k(2,"span",2,0),De(4,1),j(),de(5,xO,1,1,"mat-pseudo-checkbox",3)(6,DO,2,1,"span",4),me(7,"div",5)),r&2&&(Ie(0,o.multiple?0:-1),O(5),Ie(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),O(),Ie(6,o.group&&o.group._inert?6:-1),O(),ne("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[MO,r0],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();Ph=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[o0,ot,TO]});let t=e;return t})(),Jy={capture:!0},e0=["focus","click","mouseenter","touchstart"],Mh="mat-ripple-loader-uninitialized",Th="mat-ripple-loader-class-name",t0="mat-ripple-loader-centered",jl="mat-ripple-loader-disabled",l0=(()=>{let e=class e{constructor(){this._document=C(B,{optional:!0}),this._animationMode=C(Be,{optional:!0}),this._globalRippleOptions=C(i0,{optional:!0}),this._platform=C(be),this._ngZone=C(S),this._hosts=new Map,this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;let o=n.target.closest(`[${Mh}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let n of e0)this._document?.addEventListener(n,this._onInteraction,Jy)})}ngOnDestroy(){let n=this._hosts.keys();for(let r of n)this.destroyRipple(r);for(let r of e0)this._document?.removeEventListener(r,this._onInteraction,Jy)}configureRipple(n,r){n.setAttribute(Mh,""),(r.className||!n.hasAttribute(Th))&&n.setAttribute(Th,r.className||""),r.centered&&n.setAttribute(t0,""),r.disabled&&n.setAttribute(jl,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,r){let o=this._hosts.get(n);if(o){o.disabled=r;return}r?n.setAttribute(jl,""):n.removeAttribute(jl)}_createRipple(n){if(!this._document)return;let r=this._hosts.get(n);if(r)return r;n.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",n.getAttribute(Th)),n.append(o);let s=new r0(new V(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(t0),s.disabled=n.hasAttribute(jl),this.attachRipple(n,s),s}attachRipple(n,r){n.removeAttribute(Mh),this._hosts.set(n,r)}destroyRipple(n){let r=this._hosts.get(n);r&&(r.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});var OO,NO,FO,kO,RO,PO,d0,u0=p(()=>{"use strict";mt();T();T();Bn();Ti();OO=".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}",NO=["mat-icon-button",""],FO=["*"],kO=new D("MAT_BUTTON_CONFIG"),RO=[{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"]}],PO=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,r,o,s){this._elementRef=n,this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=C(Ll),this._rippleLoader=C(l0),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=C(kO,{optional:!0}),l=n.nativeElement,c=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of RO)l.hasAttribute(d)&&c.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(r){Xb()},e.\u0275dir=Q({type:e,inputs:{color:"color",disableRipple:[y.HasDecoratorInputTransform,"disableRipple","disableRipple",ue],disabled:[y.HasDecoratorInputTransform,"disabled","disabled",ue],ariaDisabled:[y.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",ue],disabledInteractive:[y.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",ue]},features:[We]});let t=e;return t})(),d0=(()=>{let e=class e extends PO{constructor(n,r,o,s){super(n,r,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(r){return new(r||e)(v(V),v(be),v(S),v(Be,8))},e.\u0275cmp=Ee({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(xe("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),fr(o.color?"mat-"+o.color:""),fe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[wt,Se],attrs:NO,ngContentSelectors:FO,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(xt(),me(0,"span",0),De(1),me(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',OO],encapsulation:2,changeDetection:0});let t=e;return t})()});function VO(){if($l===void 0&&($l=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&($l=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return $l}function Fo(t){return VO()?.createHTML(t)||t}function f0(t){return Error(`Unable to find icon with the name "${t}"`)}function jO(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function h0(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function m0(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function Wl(t){return t.cloneNode(!0)}function p0(t,e){return t+":"+e}function zO(t){return!!(t.url&&t.options)}function $O(){let t=C(B),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var LO,$l,_n,BO,HO,UO,g0,WO,GO,b0,v0=p(()=>{"use strict";T();T();Me();Ve();et();Wa();Za();LO=["*"];_n=class{constructor(e,i,n){this.url=e,this.svgText=i,this.options=n}},BO=(()=>{let e=class e{constructor(n,r,o,s){this._httpClient=n,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,r,o){return this.addSvgIconInNamespace("",n,r,o)}addSvgIconLiteral(n,r,o){return this.addSvgIconLiteralInNamespace("",n,r,o)}addSvgIconInNamespace(n,r,o,s){return this._addSvgIconConfig(n,r,new _n(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,o,s){let a=this._sanitizer.sanitize(rt.HTML,o);if(!a)throw m0(o);let l=Fo(a);return this._addSvgIconConfig(n,r,new _n("",l,s))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,o){return this._addSvgIconSetConfig(n,new _n(r,null,o))}addSvgIconSetLiteralInNamespace(n,r,o){let s=this._sanitizer.sanitize(rt.HTML,r);if(!s)throw m0(r);let a=Fo(s);return this._addSvgIconSetConfig(n,new _n("",a,o))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(rt.RESOURCE_URL,n);if(!r)throw h0(n);let o=this._cachedIconsByUrl.get(r);return o?Ye(Wl(o)):this._loadSvgIconFromConfig(new _n(n,null)).pipe(En(s=>this._cachedIconsByUrl.set(r,s)),re(s=>Wl(s)))}getNamedSvgIcon(n,r=""){let o=p0(r,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(r);return a?this._getSvgFromIconSetConfigs(n,a):Bc(f0(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?Ye(Wl(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(re(r=>Wl(r)))}_getSvgFromIconSetConfigs(n,r){let o=this._extractIconWithNameFromAnySet(n,r);if(o)return Ye(o);let s=r.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(As(l=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(rt.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(d)),Ye(null)})));return Fr(s).pipe(re(()=>{let a=this._extractIconWithNameFromAnySet(n,r);if(!a)throw f0(n);return a}))}_extractIconWithNameFromAnySet(n,r){for(let o=r.length-1;o>=0;o--){let s=r[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,n,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(En(r=>n.svgText=r),re(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?Ye(null):this._fetchIcon(n).pipe(En(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,o){let s=n.querySelector(`[id="${r}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(Fo("<svg></svg>"));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(n){let r=this._svgElementFromString(Fo("<svg></svg>")),o=n.attributes;for(let s=0;s<o.length;s++){let{name:a,value:l}=o[s];a!=="id"&&r.setAttribute(a,l)}for(let s=0;s<n.childNodes.length;s++)n.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:o}=n,s=o?.withCredentials??!1;if(!this._httpClient)throw jO();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let a=this._sanitizer.sanitize(rt.RESOURCE_URL,r);if(!a)throw h0(r);let l=this._inProgressUrlFetches.get(a);if(l)return l;let c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(re(d=>Fo(d)),Dn(()=>this._inProgressUrlFetches.delete(a)),Pr());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(n,r,o){return this._svgIconConfigs.set(p0(n,r),o),this}_addSvgIconSetConfig(n,r){let o=this._iconSetConfigs.get(n);return o?o.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let o=0;o<this._resolvers.length;o++){let s=this._resolvers[o](r,n);if(s)return zO(s)?new _n(s.url,null,s.options):new _n(s,null)}}};e.\u0275fac=function(r){return new(r||e)(g(fo,8),g(_f),g(B,8),g(it))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();HO=new D("MAT_ICON_DEFAULT_OPTIONS"),UO=new D("mat-icon-location",{providedIn:"root",factory:$O});g0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],WO=g0.map(t=>`[${t}]`).join(", "),GO=/^url\(['"]?#(.*?)['"]?\)$/,b0=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}constructor(n,r,o,s,a,l){this._elementRef=n,this._iconRegistry=r,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ie.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=n.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),r.forEach(o=>n.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let r=this._elementsWithExternalReferences;r&&r.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(WO),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)g0.forEach(a=>{let l=r[s],c=l.getAttribute(a),d=c?c.match(GO):null;if(d){let u=o.get(l);u||(u=[],o.set(l,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[r,o]=this._splitIconName(n);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(gt(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${r}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(r){return new(r||e)(v(V),v(BO),ar("aria-hidden"),v(UO),v(it),v(HO,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(xe("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),fr(o.color?"mat-"+o.color:""),fe("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[y.HasDecoratorInputTransform,"inline","inline",ue],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[We,Se],ngContentSelectors:LO,decls:1,vars:0,template:function(r,o){r&1&&(xt(),De(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let t=e;return t})()});var _0,y0=p(()=>{"use strict";Wa();T();T();_0=(()=>{var e;let i=class i{constructor(){zo(this,e,C(fo))}play(r,o,s){if(o==="lv-LV-general"){let a={"X-Api-Key":s};return Ir(this,e).get(`https://services.tilde.com/service/tts?system=${o}&text=${r}`,{headers:a,responseType:"blob"})}return Ir(this,e).post(`https://runa.tilde.lv/client/say/?text=${r}&voice=${o}`,null,{responseType:"blob"})}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=E({token:i,factory:i.\u0275fac,providedIn:"root"});let t=i;return t})()});function YO(t,e){if(t&1&&(eo(),k(0,"svg",11),me(1,"circle",12),j()),t&2){let i=pe();xe("viewBox",i._viewBox()),O(),hn("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeCircumference()/2,"px")("stroke-width",i._circleStrokeWidth(),"%"),xe("r",i._circleRadius())}}function KO(){return{diameter:w0}}var qO,ZO,w0,QO,x0,D0=p(()=>{"use strict";T();T();Me();qO=["determinateSpinner"];ZO=new D("mat-progress-spinner-default-options",{providedIn:"root",factory:KO});w0=100,QO=10,x0=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}constructor(n,r,o){this._elementRef=n,this._defaultColor="primary",this._value=0,this._diameter=w0,this._noopAnimations=r==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=n.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,n||0))}get diameter(){return this._diameter}set diameter(n){this._diameter=n||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(n){this._strokeWidth=n||0}_circleRadius(){return(this.diameter-QO)/2}_viewBox(){let n=this._circleRadius()*2+this.strokeWidth;return`0 0 ${n} ${n}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(r){return new(r||e)(v(V),v(Be,8),v(ZO))},e.\u0275cmp=Ee({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(r,o){if(r&1&&Ne(qO,5),r&2){let s;le(s=ce())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(r,o){r&2&&(xe("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),fr("mat-"+o.color),hn("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),fe("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[y.HasDecoratorInputTransform,"value","value",mn],diameter:[y.HasDecoratorInputTransform,"diameter","diameter",mn],strokeWidth:[y.HasDecoratorInputTransform,"strokeWidth","strokeWidth",mn]},exportAs:["matProgressSpinner"],standalone:!0,features:[We,Se],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(r,o){if(r&1&&(de(0,YO,2,8,"ng-template",null,0,Aa),k(2,"div",2,1),eo(),k(4,"svg",3),me(5,"circle",4),j()(),db(),k(6,"div",5)(7,"div",6)(8,"div",7),oo(9,8),j(),k(10,"div",9),oo(11,8),j(),k(12,"div",10),oo(13,8),j()()()),r&2){let s=pi(1);O(4),xe("viewBox",o._viewBox()),O(),hn("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),xe("r",o._circleRadius()),O(4),ne("ngTemplateOutlet",s),O(2),ne("ngTemplateOutlet",s),O(2),ne("ngTemplateOutlet",s)}},dependencies:[La],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let t=e;return t})()});var Gl,E0=p(()=>{"use strict";Gl={en:{selectVoice:"Voice",placeholder:'Enter text to listen to a demonstration of the text-to-speech technology. Remember, this service can only be used in accordance with its terms of use (see the "Terms of Use" section). It is not permitted to use this service for texts that contain offensive, indecent, defamatory, misleading, hateful, or discriminatory statements. Violation of the terms of use may result in liability as stipulated by the laws of the Republic of Latvia.',playDisabled:"Enter text to play",play:"Play",stop:"Stop",voiceList:{sandra4:"Sandra","lv-LV-general":"Aleksandrs"}},lv:{selectVoice:"Balss",placeholder:"Ievadi tekstu, lai noklaus\u012Btos balss sint\u0113zes tehnolo\u0123ijas demonstr\u0101ciju. Atceries, ka \u0161o pakalpojumu var lietot tikai atbilsto\u0161i t\u0101 lieto\u0161anas noteikumiem (skat\u012Bt sada\u013Cu \u201CLieto\u0161anas noteikumi\u201D)! To nav at\u013Cauts izmantot tekstiem, kas satur aizskaro\u0161us, nepiekl\u0101j\u012Bgus, apmelojo\u0161us, maldino\u0161us, naidu vai diskrimin\u0101ciju veicino\u0161us apgalvojumus. Par lieto\u0161anas noteikumu p\u0101rk\u0101pumu var iest\u0101ties LR likumos noteikt\u0101 atbild\u012Bba.",playDisabled:"Ievadi tekstu, lai atska\u0146ot to",play:"Atska\u0146ot",stop:"Apst\u0101din\u0101t",voiceList:{sandra4:"Sandra","lv-LV-general":"Aleksandrs"}}}});var ql,C0=p(()=>{"use strict";Ve();ql=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,i,n=!0,r){this._multiple=e,this._emitChanges=n,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,i&&i.length&&(e?i.forEach(o=>this._markSelected(o)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...e){this._verifyValueAssignment(e);let i=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),i.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let i=this._hasQueuedChanges();return e&&this._emitChangeEvent(),i}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,i){if(this.compareWith){i=i??this._selection;for(let n of i)if(this.compareWith(e,n))return n;return e}else return e}}});var JO,ko,eN,Cr,Er,Lh,Ai=p(()=>{"use strict";jn();T();Ve();et();mt();Me();Hn();JO=20,ko=(()=>{let e=class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=JO){return this._platform.isBrowser?new $(r=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(Ts(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Ye()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){let o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(Ue(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=bn(r),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return kr(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(r){return new(r||e)(g(S),g(be),g(B,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),eN=20,Cr=(()=>{let e=class e{constructor(n,r,o){this._platform=n,this._change=new R,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,l=-s.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(n=eN){return n>0?this._change.pipe(Ts(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(r){return new(r||e)(g(be),g(S),g(B,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Er=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})(),Lh=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[zn,Er,zn,Er]});let t=e;return t})()});var Ro,Po,Lo,Vh,jh,Yl,S0,Bh=p(()=>{"use strict";T();T();Ro=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Po=class extends Ro{constructor(e,i,n,r,o){super(),this.component=e,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}},Lo=class extends Ro{constructor(e,i,n,r){super(),this.templateRef=e,this.viewContainerRef=i,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,i=this.context){return this.context=i,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Vh=class extends Ro{constructor(e){super(),this.element=e instanceof V?e.nativeElement:e}},jh=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Po)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Lo)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Vh)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Yl=class extends jh{constructor(e,i,n,r,o){super(),this.outletElement=e,this._componentFactoryResolver=i,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){let n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(e.injector||this._defaultInjector||jt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=e,r}attachTemplatePortal(e){let i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=i.indexOf(n);r!==-1&&i.remove(r)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},S0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({});let t=e;return t})()});function Uh(t,e){return e.some(i=>{let n=t.bottom<i.top,r=t.top>i.bottom,o=t.right<i.left,s=t.left>i.right;return n||r||o||s})}function T0(t,e){return e.some(i=>{let n=t.top<i.top,r=t.bottom>i.bottom,o=t.left<i.left,s=t.right>i.right;return n||r||o||s})}function Oi(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function O0(t){if(typeof t!="number"&&t!=null){let[e,i]=t.split(rN);return!i||i==="px"?parseFloat(e):null}return t||null}function N0(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function oN(t,e){return t===e?!0:t.isOriginClipped===e.isOriginClipped&&t.isOriginOutsideView===e.isOriginOutsideView&&t.isOverlayClipped===e.isOverlayClipped&&t.isOverlayOutsideView===e.isOverlayOutsideView}function cN(t){return()=>t.scrollStrategies.reposition()}var M0,zh,Hh,Zl,$h,tN,Kl,Wh,k0,nN,iN,R0,Gh,A0,rN,qh,F0,Yh,sN,aN,Mt,lN,P0,Vo,Kh,dN,Ql,Xl=p(()=>{"use strict";Ai();Ai();Ai();Me();Me();T();T();jn();mt();mt();et();Hn();Hn();Bh();Ve();yr();M0=Fy(),zh=class{constructor(e,i){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Te(-this._previousScrollPosition.left),e.style.top=Te(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,i=this._document.body,n=e.style,r=i.style,o=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),M0&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),M0&&(n.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}},Hh=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Ue(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Zl=class{enable(){}disable(){}attach(){}};$h=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();Uh(i,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},tN=(()=>{let e=class e{constructor(n,r,o,s){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new Zl,this.close=a=>new Hh(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new zh(this._viewportRuler,this._document),this.reposition=a=>new $h(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(r){return new(r||e)(g(ko),g(Cr),g(S),g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kl=class{constructor(e){if(this.scrollStrategy=new Zl,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let i=Object.keys(e);for(let n of i)e[n]!==void 0&&(this[n]=e[n])}}},Wh=class{constructor(e,i){this.connectionPair=e,this.scrollableViewProperties=i}},k0=(()=>{let e=class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(r){return new(r||e)(g(B))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),nN=(()=>{let e=class e extends k0{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(S,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),iN=(()=>{let e=class e extends k0{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=It(s)},this._clickListener=s=>{let a=It(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(n){if(super.add(n),!this._isAttached){let r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(r){return new(r||e)(g(B),g(be),g(S,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),R0=(()=>{let e=class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||Ao()){let o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}let r=this._document.createElement("div");r.classList.add(n),Ao()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}};e.\u0275fac=function(r){return new(r||e)(g(B),g(be))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Gh=class{constructor(e,i,n,r,o,s,a,l,c,d=!1){this._portalOutlet=e,this._host=i,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new R,this._attachments=new R,this._detachments=new R,this._locationChanges=ie.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let i=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(gt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof i?.onDestroy=="function"&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=P(P({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Le(P({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Te(this._config.width),e.height=Te(this._config.height),e.minWidth=Te(this._config.minWidth),e.minHeight=Te(this._config.minHeight),e.maxWidth=Te(this._config.maxWidth),e.maxHeight=Te(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,i,n){let r=xr(i||[]).filter(o=>!!o);r.length&&(n?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(oe(Ot(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},A0="cdk-overlay-connected-position-bounding-box",rN=/([A-Za-z%]+)$/,qh=class{get positions(){return this._preferredPositions}constructor(e,i,n,r,o){this._viewportRuler=i,this._document=n,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=ie.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(A0),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,i=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,i,a),d=this._getOverlayFit(c,i,n,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){o.push({position:a,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:i})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Oi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(A0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,i)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,i,n){let r;if(n.originX=="center")r=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r=n.originX=="start"?s:a}i.left<0&&(r-=i.left);let o;return n.originY=="center"?o=e.top+e.height/2:o=n.originY=="top"?e.top:e.bottom,i.top<0&&(o-=i.top),{x:r,y:o}}_getOverlayPoint(e,i,n){let r;n.overlayX=="center"?r=-i.width/2:n.overlayX==="start"?r=this._isRtl()?-i.width:0:r=this._isRtl()?0:-i.width;let o;return n.overlayY=="center"?o=-i.height/2:o=n.overlayY=="top"?0:-i.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,i,n,r){let o=N0(i),{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-n.width,h=0-a,f=a+o.height-n.height,m=this._subtractOverflows(o.width,d,u),b=this._subtractOverflows(o.height,h,f),w=m*b;return{visibleArea:w,isCompletelyWithinViewport:o.width*o.height===w,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(e,i,n){if(this._hasFlexibleDimensions){let r=n.bottom-i.y,o=n.right-i.x,s=O0(this._overlayRef.getConfig().minHeight),a=O0(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=r,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let r=N0(i),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),c=Math.max(o.left-n.left-e.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=e.x<this._viewportMargin?o.left-n.left-e.x:0,r.height<=o.height?u=l||-a:u=e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,i){if(this._setTransformOrigin(e),this._setOverlayElementStyles(i,e),this._setBoundingBoxStyles(i,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!oN(this._lastScrollVisibility,n)){let r=new Wh(e,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let i=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let o=0;o<i.length;o++)i[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,i){let n=this._viewportRect,r=this._isRtl(),o,s,a;if(i.overlayY==="top")s=e.y,o=n.height-s+this._viewportMargin;else if(i.overlayY==="bottom")a=n.height-e.y+this._viewportMargin*2,o=n.height-a+this._viewportMargin;else{let f=Math.min(n.bottom-e.y+n.top,e.y),m=this._lastBoundingBoxSize.height;o=f*2,s=e.y-f,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-m/2)}let l=i.overlayX==="start"&&!r||i.overlayX==="end"&&r,c=i.overlayX==="end"&&!r||i.overlayX==="start"&&r,d,u,h;if(c)h=n.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=n.right-e.x;else{let f=Math.min(n.right-e.x+n.left,e.x),m=this._lastBoundingBoxSize.width;d=f*2,u=e.x-f,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-m/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(e,i){let n=this._calculateBoundingBoxRect(e,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Te(n.height),r.top=Te(n.top),r.bottom=Te(n.bottom),r.width=Te(n.width),r.left=Te(n.left),r.right=Te(n.right),i.overlayX==="center"?r.alignItems="center":r.alignItems=i.overlayX==="end"?"flex-end":"flex-start",i.overlayY==="center"?r.justifyContent="center":r.justifyContent=i.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Te(o)),s&&(r.maxWidth=Te(s))}this._lastBoundingBoxSize=n,Oi(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Oi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Oi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,i){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Oi(n,this._getExactOverlayY(i,e,d)),Oi(n,this._getExactOverlayX(i,e,d))}else n.position="static";let a="",l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(r?n.maxHeight=Te(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=Te(s.maxWidth):o&&(n.maxWidth="")),Oi(this._pane.style,n)}_getExactOverlayY(e,i,n){let r={top:"",bottom:""},o=this._getOverlayPoint(i,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=Te(o.y);return r}_getExactOverlayX(e,i,n){let r={left:"",right:""},o=this._getOverlayPoint(i,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=Te(o.x);return r}_getScrollVisibility(){let e=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:T0(e,n),isOriginOutsideView:Uh(e,n),isOverlayClipped:T0(i,n),isOverlayOutsideView:Uh(i,n)}}_subtractOverflows(e,...i){return i.reduce((n,r)=>n-Math.max(r,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:e-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,i){return i==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&xr(e).forEach(i=>{i!==""&&this._appliedPanelClasses.indexOf(i)===-1&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof V)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let i=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+i,height:n,width:i}}};F0="cdk-global-overlay-wrapper",Yh=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let i=e.getConfig();this._overlayRef=e,this._width&&!i.width&&e.updateSize({width:this._width}),this._height&&!i.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(F0),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=n,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",f="",m="",b="";l?b="flex-start":d==="center"?(b="center",h?m=u:f=u):h?d==="left"||d==="end"?(b="flex-end",f=u):(d==="right"||d==="start")&&(b="flex-start",m=u):d==="left"||d==="start"?(b="flex-start",f=u):(d==="right"||d==="end")&&(b="flex-end",m=u),e.position=this._cssPosition,e.marginLeft=l?"0":f,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":m,i.justifyContent=b,i.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(F0),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},sN=(()=>{let e=class e{constructor(n,r,o,s){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new Yh}flexibleConnectedTo(n){return new qh(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(r){return new(r||e)(g(Cr),g(B),g(be),g(R0))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),aN=0,Mt=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d,u,h,f,m){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=h,this._outsideClickDispatcher=f,this._animationsModuleType=m}create(n){let r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new Kl(n);return a.direction=a.direction||this._directionality.value,new Gh(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(n){let r=this._document.createElement("div");return r.id=`cdk-overlay-${aN++}`,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(Nn)),new Yl(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(r){return new(r||e)(g(tN),g(R0),g(fn),g(sN),g(nN),g(jt),g(S),g(B),g(vn),g(of),g(iN),g(Be,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lN=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],P0=new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Mt);return()=>t.scrollStrategies.reposition()}}),Vo=(()=>{let e=class e{constructor(n){this.elementRef=n}};e.\u0275fac=function(r){return new(r||e)(v(V))},e.\u0275dir=Q({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let t=e;return t})(),Kh=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(n){this._disposeOnNavigation=n}constructor(n,r,o,s,a){this._overlay=n,this._dir=a,this._backdropSubscription=ie.EMPTY,this._attachSubscription=ie.EMPTY,this._detachSubscription=ie.EMPTY,this._positionSubscription=ie.EMPTY,this._disposeOnNavigation=!1,this._ngZone=C(S),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new se,this.positionChange=new se,this.attach=new se,this.detach=new se,this.overlayKeydown=new se,this.overlayOutsideClick=new se,this._templatePortal=new Lo(r,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=lN);let n=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!zt(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),s=It(r);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Kl({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(n){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return n.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let n=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof Vo?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Vo?this.origin.elementRef.nativeElement:this.origin instanceof V?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Xc(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)(v(Mt),v(Pt),v(dt),v(P0),v(vn,8))},e.\u0275dir=Q({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[y.None,"cdkConnectedOverlayOrigin","origin"],positions:[y.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[y.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[y.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[y.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[y.None,"cdkConnectedOverlayWidth","width"],height:[y.None,"cdkConnectedOverlayHeight","height"],minWidth:[y.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[y.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[y.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[y.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[y.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[y.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[y.None,"cdkConnectedOverlayOpen","open"],disableClose:[y.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[y.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[y.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ue],lockPosition:[y.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",ue],flexibleDimensions:[y.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ue],growAfterOpen:[y.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ue],push:[y.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",ue],disposeOnNavigation:[y.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ue]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[We,_t]});let t=e;return t})();dN={provide:P0,deps:[Mt],useFactory:cN},Ql=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({providers:[Mt,dN],imports:[zn,S0,Lh,Lh]});let t=e;return t})()});function hN(t){return()=>t.scrollStrategies.reposition({scrollThrottle:j0})}function pN(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var fN,j0,B0,mN,gN,L0,V0,bN,vN,_N,yN,z0,wN,H0,Qh=p(()=>{"use strict";et();jn();yr();T();T();Me();mt();mt();Bn();Bn();Hn();Xl();Xl();Bh();Ve();Ai();Ti();fN=["tooltip"],j0=20,B0=new D("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Mt);return()=>t.scrollStrategies.reposition({scrollThrottle:j0})}});mN={provide:B0,deps:[Mt],useFactory:hN};gN=new D("mat-tooltip-default-options",{providedIn:"root",factory:pN}),L0="tooltip-panel",V0=Ln({passive:!0}),bN=8,vN=8,_N=24,yN=200,z0=(()=>{let e=class e{get position(){return this._position}set position(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(n){this._positionAtOrigin=wr(n),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(n){this._disabled=wr(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(n){this._showDelay=Oo(n)}get hideDelay(){return this._hideDelay}set hideDelay(n){this._hideDelay=Oo(n),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(n){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=n!=null?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(n,r,o,s,a,l,c,d,u,h,f,m){this._overlay=n,this._elementRef=r,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=d,this._dir=h,this._defaultOptions=f,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=wN,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new R,this._scrollStrategy=u,this._document=m,f&&(this._showDelay=f.showDelay,this._hideDelay=f.hideDelay,f.position&&(this.position=f.position),f.positionAtOrigin&&(this.positionAtOrigin=f.positionAtOrigin),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe(oe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=bN}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(oe(this._destroyed)).subscribe(n=>{n?n==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,o])=>{n.removeEventListener(r,o,V0)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}show(n=this.showDelay,r){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(r);this._detach(),this._portal=this._portal||new Po(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(oe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(n)}hide(n=this.hideDelay){let r=this._tooltipInstance;r&&(r.isVisible()?r.hide(n):(r._cancelPendingAnimations(),this._detach()))}toggle(n){this._isTooltipVisible()?this.hide():this.show(void 0,n)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(n){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!n)&&s._origin instanceof V)return this._overlayRef;this._detach()}let r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?n||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return o.positionChanges.pipe(oe(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${L0}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(oe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(oe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(oe(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!zt(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(n){let r=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(P(P({},o.main),s.main)),this._addOffset(P(P({},o.fallback),s.fallback))])}_addOffset(n){let r=vN,o=!this._dir||this._dir.value=="ltr";return n.originY==="top"?n.offsetY=-r:n.originY==="bottom"?n.offsetY=r:n.originX==="start"?n.offsetX=o?-r:r:n.originX==="end"&&(n.offsetX=o?r:-r),n}_getOrigin(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"||r=="below"?o={originX:"center",originY:r=="above"?"top":"bottom"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={originX:"start",originY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"?o={overlayX:"center",overlayY:"bottom"}:r=="below"?o={overlayX:"center",overlayY:"top"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={overlayX:"end",overlayY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(gt(1),oe(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}_invertPosition(n,r){return this.position==="above"||this.position==="below"?r==="top"?r="bottom":r==="bottom"&&(r="top"):n==="end"?n="start":n==="start"&&(n="end"),{x:n,y:r}}_updateCurrentPositionClass(n){let{overlayY:r,originX:o,originY:s}=n,a;if(r==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=r==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let c=`${this._cssClassPrefix}-${L0}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",n=>{this._setupPointerExitEventsIfNeeded();let r;n.x!==void 0&&n.y!==void 0&&(r=n),this.show(void 0,r)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",n=>{let r=n.targetTouches?.[0],o=r?{x:r.clientX,y:r.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",r=>{let o=r.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};n.push(["touchend",r],["touchcancel",r])}this._addListeners(n),this._passiveListeners.push(...n)}_addListeners(n){n.forEach(([r,o])=>{this._elementRef.nativeElement.addEventListener(r,o,V0)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(n){if(this._isTooltipVisible()){let r=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;r!==o&&!o.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){let n=this.touchGestures;if(n!=="off"){let r=this._elementRef.nativeElement,o=r.style;(n==="on"||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(n==="on"||!r.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(r){return new(r||e)(v(Mt),v(V),v(ko),v(dt),v(S),v(be),v($y),v(Ll),v(B0),v(vn),v(gN,8),v(B))},e.\u0275dir=Q({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(r,o){r&2&&fe("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[y.None,"matTooltipPosition","position"],positionAtOrigin:[y.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[y.None,"matTooltipDisabled","disabled"],showDelay:[y.None,"matTooltipShowDelay","showDelay"],hideDelay:[y.None,"matTooltipHideDelay","hideDelay"],touchGestures:[y.None,"matTooltipTouchGestures","touchGestures"],message:[y.None,"matTooltip","message"],tooltipClass:[y.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let t=e;return t})(),wN=(()=>{let e=class e{constructor(n,r,o){this._changeDetectorRef=n,this._elementRef=r,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(n){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},n)}hide(n){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},n)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:n}){(!n||!this._triggerElement.contains(n))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let n=this._elementRef.nativeElement.getBoundingClientRect();return n.height>_N&&n.width>=yN}_handleAnimationEnd({animationName:n}){(n===this._showAnimation||n===this._hideAnimation)&&this._finalizeAnimation(n===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(n){n?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(n){let r=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(r.classList.remove(n?s:o),r.classList.add(n?o:s),this._isVisible!==n&&(this._isVisible=n,this._changeDetectorRef.markForCheck()),n&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(r);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}n&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(n))}};e.\u0275fac=function(r){return new(r||e)(v(Ge),v(V),v(Be,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&Ne(fN,7),r&2){let s;le(s=ce())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(r,o){r&1&&Oe("mouseleave",function(a){return o._handleMouseLeave(a)}),r&2&&hn("zoom",o.isVisible()?1:null)},standalone:!0,features:[Se],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(r,o){if(r&1){let s=mi();k(0,"div",1,0),Oe("animationend",function(l){return Lt(s),Vt(o._handleAnimationEnd(l))}),k(2,"div",2),ut(3),j()()}r&2&&(fe("mdc-tooltip--multiline",o._isMultiline),ne("ngClass",o.tooltipClass),O(3),Qt(o.message))},dependencies:[Pa],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let t=e;return t})(),H0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({providers:[mN],imports:[qy,Et,Ql,ot,ot,Er]});let t=e;return t})()});var Xh,U0,$0=p(()=>{"use strict";T();T();Ve();et();Xh=class{constructor(e){this._box=e,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(i=>this._resizeSubject.next(i)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new $(i=>{let n=this._resizeSubject.subscribe(i);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),n.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Ue(i=>i.some(n=>n.target===e)),Os({bufferSize:1,refCount:!0}),oe(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},U0=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=C(S),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,n]of this._observers)n.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(n,r){let o=r?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Xh(o)),this._observers.get(o).observe(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function ON(t,e){t&1&&me(0,"span",17)}function NN(t,e){if(t&1&&(k(0,"label",16),De(1,1),de(2,ON,1,0,"span",17),j()),t&2){let i=pe(2);ne("floating",i._shouldLabelFloat())("monitorResize",i._hasOutline())("id",i._labelId),xe("for",i._control.disableAutomaticLabeling?null:i._control.id),O(2),Ie(2,!i.hideRequiredMarker&&i._control.required?2:-1)}}function FN(t,e){if(t&1&&de(0,NN,3,5,"label",16),t&2){let i=pe();Ie(0,i._hasFloatingLabel()?0:-1)}}function kN(t,e){t&1&&me(0,"div",5)}function RN(t,e){}function PN(t,e){if(t&1&&de(0,RN,0,0,"ng-template",11),t&2){pe(2);let i=pi(1);ne("ngTemplateOutlet",i)}}function LN(t,e){if(t&1&&(k(0,"div",7),de(1,PN,1,1,null,11),j()),t&2){let i=pe();ne("matFormFieldNotchedOutlineOpen",i._shouldLabelFloat()),O(),Ie(1,i._forceDisplayInfixLabel()?-1:1)}}function VN(t,e){t&1&&(k(0,"div",8,2),De(2,2),j())}function jN(t,e){t&1&&(k(0,"div",9,3),De(2,3),j())}function BN(t,e){}function zN(t,e){if(t&1&&de(0,BN,0,0,"ng-template",11),t&2){pe();let i=pi(1);ne("ngTemplateOutlet",i)}}function HN(t,e){t&1&&(k(0,"div",12),De(1,4),j())}function UN(t,e){t&1&&(k(0,"div",13),De(1,5),j())}function $N(t,e){t&1&&me(0,"div",14)}function WN(t,e){if(t&1&&(k(0,"div",18),De(1,6),j()),t&2){let i=pe();ne("@transitionMessages",i._subscriptAnimationState)}}function GN(t,e){if(t&1&&(k(0,"mat-hint",20),ut(1),j()),t&2){let i=pe(2);ne("id",i._hintLabelId),O(),Qt(i.hintLabel)}}function qN(t,e){if(t&1&&(k(0,"div",19),de(1,GN,2,2,"mat-hint",20),De(2,7),me(3,"div",21),De(4,8),j()),t&2){let i=pe();ne("@transitionMessages",i._subscriptAnimationState),O(),Ie(1,i.hintLabel?1:-1)}}function XN(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let i=e.cloneNode(!0);i.style.setProperty("position","absolute"),i.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(i);let n=i.scrollWidth;return i.remove(),n}var DN,EN,CN,IN,SN,MN,TN,AN,ec,YN,ZN,W0,KN,QN,J0,G0,q0,Jl,Y0,Z0,JN,Jh,em,eF,K0,Q0,tF,X0,nF,ew,tc,nc=p(()=>{"use strict";T();T();Hn();mt();Ve();et();$0();jn();Xa();Me();ph();Ti();DN=["notch"],EN=["matFormFieldNotchedOutline",""],CN=["*"],IN=["textField"],SN=["iconPrefixContainer"],MN=["textPrefixContainer"],TN=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],AN=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];ec=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Q({type:e,selectors:[["mat-label"]],standalone:!0});let t=e;return t})(),YN=new D("MatError"),ZN=0,W0=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${ZN++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Q({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,o){r&2&&(so("id",o.id),xe("align",null),fe("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let t=e;return t})(),KN=new D("MatPrefix"),QN=new D("MatSuffix"),J0=new D("FloatingLabelParent"),G0=(()=>{let e=class e{get floating(){return this._floating}set floating(n){this._floating=n,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(n){this._monitorResize=n,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(n){this._elementRef=n,this._floating=!1,this._monitorResize=!1,this._resizeObserver=C(U0),this._ngZone=C(S),this._parent=C(J0),this._resizeSubscription=new ie}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return XN(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(r){return new(r||e)(v(V))},e.\u0275dir=Q({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,o){r&2&&fe("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let t=e;return t})();q0="mdc-line-ripple--active",Jl="mdc-line-ripple--deactivating",Y0=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Jl);o.propertyName==="opacity"&&a&&s.remove(q0,Jl)},r.runOutsideAngular(()=>{n.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let n=this._elementRef.nativeElement.classList;n.remove(Jl),n.add(q0)}deactivate(){this._elementRef.nativeElement.classList.add(Jl)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(r){return new(r||e)(v(V),v(S))},e.\u0275dir=Q({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let t=e;return t})(),Z0=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._ngZone=r,this.open=!1}ngAfterViewInit(){let n=this._elementRef.nativeElement.querySelector(".mdc-floating-label");n?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(n){!this.open||!n?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${n}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(r){return new(r||e)(v(V),v(S))},e.\u0275cmp=Ee({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,o){if(r&1&&Ne(DN,5),r&2){let s;le(s=ce())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,o){r&2&&fe("mdc-notched-outline--notched",o.open)},inputs:{open:[y.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Se],attrs:EN,ngContentSelectors:CN,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(r,o){r&1&&(xt(),me(0,"div",1),k(1,"div",2,0),De(3),j(),me(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),JN={transitionMessages:bo("transitionMessages",[Ka("enter",Jt({opacity:1,transform:"translateY(0%)"})),pr("void => enter",[Jt({opacity:0,transform:"translateY(-5px)"}),vo("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Jh=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Q({type:e});let t=e;return t})(),em=new D("MatFormField"),eF=new D("MAT_FORM_FIELD_DEFAULT_OPTIONS"),K0=0,Q0="fill",tF="auto",X0="fixed",nF="translateY(-50%)",ew=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(n){this._hideRequiredMarker=wr(n)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||tF}set floatLabel(n){n!==this._floatLabel&&(this._floatLabel=n,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(n){let r=this._appearance,o=n||this._defaults?.appearance||Q0;this._appearance=o,this._appearance==="outline"&&this._appearance!==r&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||X0}set subscriptSizing(n){this._subscriptSizing=n||this._defaults?.subscriptSizing||X0}get hintLabel(){return this._hintLabel}set hintLabel(n){this._hintLabel=n,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(n){this._explicitFormFieldControl=n}constructor(n,r,o,s,a,l,c,d){this._elementRef=n,this._changeDetectorRef=r,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Q0,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${K0++}`,this._hintLabelId=`mat-mdc-hint-${K0++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let n=this._control;n.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${n.controlType}`),n.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),n.ngControl&&n.ngControl.valueChanges&&n.ngControl.valueChanges.pipe(oe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(n=>!n._isText),this._hasTextPrefix=!!this._prefixChildren.find(n=>n._isText),this._hasIconSuffix=!!this._suffixChildren.find(n=>!n._isText),this._hasTextSuffix=!!this._suffixChildren.find(n=>n._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Ot(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(oe(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(oe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(n){let r=this._control?this._control.ngControl:null;return r&&r[n]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let n=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&n.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?n.push(r.id):this._hintLabel&&n.push(this._hintLabelId),o&&n.push(o.id)}else this._errorChildren&&n.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(n)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let n=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){n.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let r=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=r?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${s+a}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;n.style.transform=`var(
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=i})});function ei(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var ds=g(()=>{"use strict"});function us(t){return t instanceof oe||t&&"closed"in t&&P(t.remove)&&P(t.add)&&P(t.unsubscribe)}function Wm(t){P(t)?t():t.unsubscribe()}var oe,kc,$i=g(()=>{"use strict";Fe();Gm();ds();oe=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let o of i)o.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(P(n))try{n()}catch(o){e=o instanceof cs?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{Wm(o)}catch(s){e=e??[],s instanceof cs?e=[...e,...s.errors]:e.push(s)}}if(e)throw new cs(e)}}add(e){var i;if(e&&e!==this)if(this.closed)Wm(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&ei(i,e)}remove(e){let{_finalizers:i}=this;i&&ei(i,e),e instanceof t&&e._removeParent(this)}};oe.EMPTY=(()=>{let t=new oe;return t.closed=!0,t})();kc=oe.EMPTY});var Ft,Ur=g(()=>{"use strict";Ft={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Gi,Nc=g(()=>{"use strict";Gi={setTimeout(t,e,...i){let{delegate:n}=Gi;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=Gi;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function fs(t){Gi.setTimeout(()=>{let{onUnhandledError:e}=Ft;if(e)e(t);else throw t})}var Pc=g(()=>{"use strict";Ur();Nc()});function zr(){}var Lc=g(()=>{"use strict"});function Ym(t){return jc("E",void 0,t)}function Qm(t){return jc("N",t,void 0)}function jc(t,e,i){return{kind:t,value:e,error:i}}var qm,Km=g(()=>{"use strict";qm=jc("C",void 0,void 0)});function Wi(t){if(Ft.useDeprecatedSynchronousErrorHandling){let e=!ti;if(e&&(ti={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=ti;if(ti=null,i)throw n}}else t()}function Zm(t){Ft.useDeprecatedSynchronousErrorHandling&&ti&&(ti.errorThrown=!0,ti.error=t)}var ti,hs=g(()=>{"use strict";Ur();ti=null});function Vc(t,e){return dw.call(t,e)}function ms(t){Ft.useDeprecatedSynchronousErrorHandling?Zm(t):fs(t)}function uw(t){throw t}function Bc(t,e){let{onStoppedNotification:i}=Ft;i&&Gi.setTimeout(()=>i(t,e))}var ni,dw,Hc,ln,fw,ps=g(()=>{"use strict";Fe();$i();Ur();Pc();Lc();Km();Nc();hs();ni=class extends oe{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,us(e)&&e.add(this)):this.destination=fw}static create(e,i,n){return new ln(e,i,n)}next(e){this.isStopped?Bc(Qm(e),this):this._next(e)}error(e){this.isStopped?Bc(Ym(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Bc(qm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},dw=Function.prototype.bind;Hc=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){ms(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){ms(n)}else ms(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){ms(i)}}},ln=class extends ni{constructor(e,i,n){super();let r;if(P(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&Ft.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&Vc(e.next,o),error:e.error&&Vc(e.error,o),complete:e.complete&&Vc(e.complete,o)}):r=e}this.destination=new Hc(r)}};fw={closed:!0,next:zr,error:uw,complete:zr}});var qi,gs=g(()=>{"use strict";qi=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function Ot(t){return t}var Yi=g(()=>{"use strict"});function Xm(t){return t.length===0?Ot:t.length===1?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}var Jm=g(()=>{"use strict";Yi()});function ep(t){var e;return(e=t??Ft.Promise)!==null&&e!==void 0?e:Promise}function hw(t){return t&&P(t.next)&&P(t.error)&&P(t.complete)}function mw(t){return t&&t instanceof ni||hw(t)&&us(t)}var G,tt=g(()=>{"use strict";ps();$i();gs();Jm();Ur();Fe();hs();G=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){let o=mw(i)?i:new ln(i,n,r);return Wi(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=ep(n),new n((r,o)=>{let s=new ln({next:a=>{try{i(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[qi](){return this}pipe(...i){return Xm(i)(this)}toPromise(i){return i=ep(i),new i((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o))})}}return t.create=e=>new t(e),t})()});function pw(t){return P(t?.lift)}function Z(t){return e=>{if(pw(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var Le=g(()=>{"use strict";Fe()});function te(t,e,i,n,r){return new Uc(t,e,i,n,r)}var Uc,$e=g(()=>{"use strict";ps();Uc=class extends ni{constructor(e,i,n,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}}});var tp,np=g(()=>{"use strict";Rc();tp=ls(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var R,bs,$r=g(()=>{"use strict";tt();$i();np();ds();hs();R=(()=>{class t extends G{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new bs(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new tp}next(i){Wi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){Wi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){Wi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:r,observers:o}=this;return n||r?kc:(this.currentObservers=null,o.push(i),new oe(()=>{this.currentObservers=null,ei(o,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){let i=new G;return i.source=this,i}}return t.create=(e,i)=>new bs(e,i),t})(),bs=class extends R{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:kc}}});var cn,ip=g(()=>{"use strict";$r();cn=class extends R{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}});var Gr,zc=g(()=>{"use strict";Gr={now(){return(Gr.delegate||Date).now()},delegate:void 0}});var ii,$c=g(()=>{"use strict";$r();zc();ii=class extends R{constructor(e=1/0,i=1/0,n=Gr){super(),this._bufferSize=e,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,i)}next(e){let{isStopped:i,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;i||(n.push(e),!r&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let i=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!e.closed;s+=n?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),i}_trimBuffer(){let{_bufferSize:e,_timestampProvider:i,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let s=i.now(),a=0;for(let l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}}}});var ys,rp=g(()=>{"use strict";$i();ys=class extends oe{constructor(e,i){super()}schedule(e,i=0){return this}}});var Wr,op=g(()=>{"use strict";Wr={setInterval(t,e,...i){let{delegate:n}=Wr;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=Wr;return(e?.clearInterval||clearInterval)(t)},delegate:void 0}});var vs,sp=g(()=>{"use strict";rp();op();ds();vs=class extends ys{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return Wr.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&Wr.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,r;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,ei(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}}});var Qi,ap=g(()=>{"use strict";zc();Qi=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};Qi.now=Gr.now});var _s,lp=g(()=>{"use strict";ap();_s=class extends Qi{constructor(e,i=Qi.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}}});var qr,cp,xs=g(()=>{"use strict";sp();lp();qr=new _s(vs),cp=qr});var ws,Gc=g(()=>{"use strict";tt();ws=new G(t=>t.complete())});function Ds(t){return t&&P(t.schedule)}var Wc=g(()=>{"use strict";Fe()});function qc(t){return t[t.length-1]}function Es(t){return P(qc(t))?t.pop():void 0}function $t(t){return Ds(qc(t))?t.pop():void 0}function dp(t,e){return typeof qc(t)=="number"?t.pop():e}var ri=g(()=>{"use strict";Fe();Wc()});function fp(t,e,i,n){function r(o){return o instanceof i?o:new i(function(s){s(o)})}return new(i||(i=Promise))(function(o,s){function a(d){try{c(n.next(d))}catch(u){s(u)}}function l(d){try{c(n.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function up(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function oi(t){return this instanceof oi?(this.v=t,this):new oi(t)}function hp(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),r,o=[];return r={},a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(m){return Promise.resolve(m).then(f,u)}}function a(f,m){n[f]&&(r[f]=function(y){return new Promise(function(w,_){o.push([f,y,w,_])>1||l(f,y)})},m&&(r[f]=m(r[f])))}function l(f,m){try{c(n[f](m))}catch(y){h(o[0][3],y)}}function c(f){f.value instanceof oi?Promise.resolve(f.value.v).then(d,u):h(o[0][2],f)}function d(f){l("next",f)}function u(f){l("throw",f)}function h(f,m){f(m),o.shift(),o.length&&l(o[0][0],o[0][1])}}function mp(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof up=="function"?up(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Yc=g(()=>{"use strict"});var Ki,Cs=g(()=>{"use strict";Ki=t=>t&&typeof t.length=="number"&&typeof t!="function"});function Is(t){return P(t?.then)}var Qc=g(()=>{"use strict";Fe()});function Ss(t){return P(t[qi])}var Kc=g(()=>{"use strict";gs();Fe()});function As(t){return Symbol.asyncIterator&&P(t?.[Symbol.asyncIterator])}var Zc=g(()=>{"use strict";Fe()});function Ms(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var Xc=g(()=>{"use strict"});function gw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ts,Jc=g(()=>{"use strict";Ts=gw()});function Fs(t){return P(t?.[Ts])}var ed=g(()=>{"use strict";Jc();Fe()});function Os(t){return hp(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:r}=yield oi(i.read());if(r)return yield oi(void 0);yield yield oi(n)}}finally{i.releaseLock()}})}function Rs(t){return P(t?.getReader)}var ks=g(()=>{"use strict";Yc();Fe()});function le(t){if(t instanceof G)return t;if(t!=null){if(Ss(t))return bw(t);if(Ki(t))return yw(t);if(Is(t))return vw(t);if(As(t))return pp(t);if(Fs(t))return _w(t);if(Rs(t))return xw(t)}throw Ms(t)}function bw(t){return new G(e=>{let i=t[qi]();if(P(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function yw(t){return new G(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function vw(t){return new G(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,fs)})}function _w(t){return new G(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function pp(t){return new G(e=>{ww(t,e).catch(i=>e.error(i))})}function xw(t){return pp(Os(t))}function ww(t,e){var i,n,r,o;return fp(this,void 0,void 0,function*(){try{for(i=mp(t);n=yield i.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})}var Ke=g(()=>{"use strict";Yc();Cs();Qc();tt();Kc();Zc();Xc();ed();ks();Fe();Pc();gs()});function nt(t,e,i,n=0,r=!1){let o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}var Zi=g(()=>{"use strict"});function Ns(t,e=0){return Z((i,n)=>{i.subscribe(te(n,r=>nt(n,t,()=>n.next(r),e),()=>nt(n,t,()=>n.complete(),e),r=>nt(n,t,()=>n.error(r),e)))})}var td=g(()=>{"use strict";Zi();Le();$e()});function Ps(t,e=0){return Z((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}var nd=g(()=>{"use strict";Le()});function gp(t,e){return le(t).pipe(Ps(e),Ns(e))}var bp=g(()=>{"use strict";Ke();td();nd()});function yp(t,e){return le(t).pipe(Ps(e),Ns(e))}var vp=g(()=>{"use strict";Ke();td();nd()});function _p(t,e){return new G(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}var xp=g(()=>{"use strict";tt()});function wp(t,e){return new G(i=>{let n;return nt(i,e,()=>{n=t[Ts](),nt(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(s){i.error(s);return}o?i.complete():i.next(r)},0,!0)}),()=>P(n?.return)&&n.return()})}var Dp=g(()=>{"use strict";tt();Jc();Fe();Zi()});function Ls(t,e){if(!t)throw new Error("Iterable cannot be null");return new G(i=>{nt(i,e,()=>{let n=t[Symbol.asyncIterator]();nt(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}var id=g(()=>{"use strict";tt();Zi()});function Ep(t,e){return Ls(Os(t),e)}var Cp=g(()=>{"use strict";id();ks()});function Ip(t,e){if(t!=null){if(Ss(t))return gp(t,e);if(Ki(t))return _p(t,e);if(Is(t))return yp(t,e);if(As(t))return Ls(t,e);if(Fs(t))return wp(t,e);if(Rs(t))return Ep(t,e)}throw Ms(t)}var Sp=g(()=>{"use strict";bp();vp();xp();Dp();id();Kc();Qc();Cs();ed();Zc();Xc();ks();Cp()});function it(t,e){return e?Ip(t,e):le(t)}var Xi=g(()=>{"use strict";Sp();Ke()});function Ge(...t){let e=$t(t);return it(t,e)}var Ap=g(()=>{"use strict";ri();Xi()});function rd(t,e){let i=P(t)?t:()=>t,n=r=>r.error(i());return new G(e?r=>e.schedule(n,0,r):n)}var Mp=g(()=>{"use strict";tt();Fe()});function Tp(t){return t instanceof Date&&!isNaN(t)}var Fp=g(()=>{"use strict"});function ie(t,e){return Z((i,n)=>{let r=0;i.subscribe(te(n,o=>{n.next(t.call(e,o,r++))}))})}var js=g(()=>{"use strict";Le();$e()});function Ew(t,e){return Dw(e)?t(...e):t(e)}function Ji(t){return ie(e=>Ew(t,e))}var Dw,Vs=g(()=>{"use strict";js();({isArray:Dw}=Array)});function Bs(t){if(t.length===1){let e=t[0];if(Cw(e))return{args:e,keys:null};if(Mw(e)){let i=Aw(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function Mw(t){return t&&typeof t=="object"&&Iw(t)===Sw}var Cw,Iw,Sw,Aw,od=g(()=>{"use strict";({isArray:Cw}=Array),{getPrototypeOf:Iw,prototype:Sw,keys:Aw}=Object});function Hs(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}var sd=g(()=>{"use strict"});function ad(...t){let e=$t(t),i=Es(t),{args:n,keys:r}=Bs(t);if(n.length===0)return it([],e);let o=new G(Tw(n,e,r?s=>Hs(r,s):Ot));return i?o.pipe(Ji(i)):o}function Tw(t,e,i=Ot){return n=>{Op(e,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)Op(e,()=>{let c=it(t[l],e),d=!1;c.subscribe(te(n,u=>{o[l]=u,d||(d=!0,a--),a||n.next(i(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Op(t,e,i){t?nt(i,t,e):e()}var Rp=g(()=>{"use strict";tt();od();Xi();Yi();Vs();ri();sd();$e();Zi()});function kp(t,e,i,n,r,o,s,a){let l=[],c=0,d=0,u=!1,h=()=>{u&&!l.length&&!c&&e.complete()},f=y=>c<n?m(y):l.push(y),m=y=>{o&&e.next(y),c++;let w=!1;le(i(y,d++)).subscribe(te(e,_=>{r?.(_),o?f(_):e.next(_)},()=>{w=!0},void 0,()=>{if(w)try{for(c--;l.length&&c<n;){let _=l.shift();s?nt(e,s,()=>m(_)):m(_)}h()}catch(_){e.error(_)}}))};return t.subscribe(te(e,f,()=>{u=!0,h()})),()=>{a?.()}}var Np=g(()=>{"use strict";Ke();Zi();$e()});function On(t,e,i=1/0){return P(e)?On((n,r)=>ie((o,s)=>e(n,o,r,s))(le(t(n,r))),i):(typeof e=="number"&&(i=e),Z((n,r)=>kp(n,r,t,i)))}var Us=g(()=>{"use strict";js();Ke();Le();Np();Fe()});function zs(t=1/0){return On(Ot,t)}var ld=g(()=>{"use strict";Us();Yi()});function Pp(){return zs(1)}var Lp=g(()=>{"use strict";ld()});function er(...t){return Pp()(it(t,$t(t)))}var cd=g(()=>{"use strict";Lp();ri();Xi()});function dd(t){return new G(e=>{le(t()).subscribe(e)})}var jp=g(()=>{"use strict";tt();Ke()});function Yr(...t){let e=Es(t),{args:i,keys:n}=Bs(t),r=new G(o=>{let{length:s}=i;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let u=!1;le(i[d]).subscribe(te(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(n?Hs(n,a):a),o.complete())}))}});return e?r.pipe(Ji(e)):r}var Vp=g(()=>{"use strict";tt();od();Ke();ri();$e();Vs();sd()});function tr(t,e,i,n){if(P(i)&&(n=i,i=void 0),n)return tr(t,e,i).pipe(Ji(n));let[r,o]=Pw(t)?Ow.map(s=>a=>t[s](e,a,i)):kw(t)?Fw.map(Bp(t,e)):Nw(t)?Rw.map(Bp(t,e)):[];if(!r&&Ki(t))return On(s=>tr(s,e,i))(le(t));if(!r)throw new TypeError("Invalid event target");return new G(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function Bp(t,e){return i=>n=>t[i](e,n)}function kw(t){return P(t.addListener)&&P(t.removeListener)}function Nw(t){return P(t.on)&&P(t.off)}function Pw(t){return P(t.addEventListener)&&P(t.removeEventListener)}var Fw,Ow,Rw,Hp=g(()=>{"use strict";Ke();tt();Us();Cs();Fe();Vs();Fw=["addListener","removeListener"],Ow=["addEventListener","removeEventListener"],Rw=["on","off"]});function Up(t=0,e,i=cp){let n=-1;return e!=null&&(Ds(e)?i=e:n=e),new G(r=>{let o=Tp(t)?+t-i.now():t;o<0&&(o=0);let s=0;return i.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete())},o)})}var zp=g(()=>{"use strict";tt();xs();Wc();Fp()});function rt(...t){let e=$t(t),i=dp(t,1/0),n=t;return n.length?n.length===1?le(n[0]):zs(i)(it(n,e)):ws}var $p=g(()=>{"use strict";ld();Ke();Gc();ri();Xi()});function Te(t,e){return Z((i,n)=>{let r=0;i.subscribe(te(n,o=>t.call(e,o,r++)&&n.next(o)))})}var ud=g(()=>{"use strict";Le();$e()});var Gp=g(()=>{"use strict"});function Wp(t){return Z((e,i)=>{let n=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let c=r;r=null,i.next(c)}s&&i.complete()},l=()=>{o=null,s&&i.complete()};e.subscribe(te(i,c=>{n=!0,r=c,o||le(t(c)).subscribe(o=te(i,a,l))},()=>{s=!0,(!n||!o||o.closed)&&i.complete()}))})}var qp=g(()=>{"use strict";Le();Ke();$e()});function $s(t,e=qr){return Wp(()=>Up(t,e))}var Yp=g(()=>{"use strict";xs();qp();zp()});function Gs(t){return Z((e,i)=>{let n=null,r=!1,o;n=e.subscribe(te(i,void 0,void 0,s=>{o=le(t(s,Gs(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}var Qp=g(()=>{"use strict";Ke();$e();Le()});function fd(t,e){return P(e)?On(t,e,1):On(t,1)}var Kp=g(()=>{"use strict";Us();Fe()});function nr(t,e=qr){return Z((i,n)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,n.next(c)}};function l(){let c=s+t,d=e.now();if(d<c){r=this.schedule(void 0,c-d),n.add(r);return}a()}i.subscribe(te(n,c=>{o=c,s=e.now(),r||(r=e.schedule(l,t),n.add(r))},()=>{a(),n.complete()},void 0,()=>{o=r=null}))})}var Zp=g(()=>{"use strict";xs();Le();$e()});function ft(t){return t<=0?()=>ws:Z((e,i)=>{let n=0;e.subscribe(te(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}var Xp=g(()=>{"use strict";Gc();Le();$e()});function si(t,e=Ot){return t=t??Lw,Z((i,n)=>{let r,o=!0;i.subscribe(te(n,s=>{let a=e(s);(o||!t(r,a))&&(o=!1,r=a,n.next(s))}))})}function Lw(t,e){return t===e}var Jp=g(()=>{"use strict";Yi();Le();$e()});function Rn(t){return Z((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}var hd=g(()=>{"use strict";Le()});function Qr(t={}){let{connector:e=()=>new R,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},m=()=>{let y=s;f(),y?.unsubscribe()};return Z((y,w)=>{c++,!u&&!d&&h();let _=l=l??e();w.add(()=>{c--,c===0&&!u&&!d&&(a=md(m,r))}),_.subscribe(w),!s&&c>0&&(s=new ln({next:H=>_.next(H),error:H=>{u=!0,h(),a=md(f,i,H),_.error(H)},complete:()=>{d=!0,h(),a=md(f,n),_.complete()}}),le(y).subscribe(s))})(o)}}function md(t,e,...i){if(e===!0){t();return}if(e===!1)return;let n=new ln({next:()=>{n.unsubscribe(),t()}});return le(e(...i)).subscribe(n)}var pd=g(()=>{"use strict";Ke();$r();ps();Le()});function Ws(t,e,i){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:i}=t:n=t??1/0,Qr({connector:()=>new ii(n,e,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var eg=g(()=>{"use strict";$c();pd()});function Kr(t){return Te((e,i)=>t<=i)}var tg=g(()=>{"use strict";ud()});function ai(...t){let e=$t(t);return Z((i,n)=>{(e?er(t,i,e):er(t,i)).subscribe(n)})}var ng=g(()=>{"use strict";cd();ri();Le()});function Gt(t,e){return Z((i,n)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&n.complete();i.subscribe(te(n,l=>{r?.unsubscribe();let c=0,d=o++;le(t(l,d)).subscribe(r=te(n,u=>n.next(e?e(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var ig=g(()=>{"use strict";Ke();Le();$e()});function re(t){return Z((e,i)=>{le(t).subscribe(te(i,()=>i.complete(),zr)),!i.closed&&e.subscribe(i)})}var rg=g(()=>{"use strict";Le();$e();Ke();Lc()});function gd(t,e=!1){return Z((i,n)=>{let r=0;i.subscribe(te(n,o=>{let s=t(o,r++);(s||e)&&n.next(o),!s&&n.complete()}))})}var og=g(()=>{"use strict";Le();$e()});function Wt(t,e,i){let n=P(t)||e||i?{next:t,error:e,complete:i}:t;return n?Z((r,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(te(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Ot}var sg=g(()=>{"use strict";Fe();Le();$e();Yi()});var je=g(()=>{"use strict";tt();$r();ip();$c();$i();Rp();cd();jp();Vp();Xi();Hp();$p();Ap();Mp();Gp();hd()});var Ze=g(()=>{"use strict";Yp();Qp();Kp();Zp();Jp();ud();hd();js();pd();eg();tg();ng();ig();Xp();rg();og();sg()});function Ea(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function fo(t){return{toString:t}.toString()}function jw(t){return function(...i){if(t){let n=t(...i);for(let r in n)this[r]=n[r]}}}function Gg(t,e,i){return fo(()=>{let n=jw(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(qs)?l[qs]:Object.defineProperty(l,qs,{value:[]})[qs];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function me(t){for(let e in t)if(t[e]===me)return e;throw Error("Could not find renamed property on target object.")}function Vw(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function ht(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ht).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
+ `);return i===-1?e:e.substring(0,i)}function Fd(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}function vi(t){return t.__forward_ref__=vi,t.toString=function(){return ht(this())},t}function Xe(t){return Wg(t)?t():t}function Wg(t){return typeof t=="function"&&t.hasOwnProperty(Bw)&&t.__forward_ref__===vi}function x(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function V(t){return{providers:t.providers||[],imports:t.imports||[]}}function Tu(t){return ag(t,qg)||ag(t,Yg)}function ag(t,e){return t.hasOwnProperty(e)?t[e]:null}function Hw(t){let e=t&&(t[qg]||t[Yg]);return e||null}function lg(t){return t&&(t.hasOwnProperty(cg)||t.hasOwnProperty(Uw))?t[cg]:null}function Qg(t){return t&&!!t.\u0275providers}function Xr(t){return typeof t=="string"?t:t==null?"":String(t)}function Ww(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Xr(t)}function qw(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new E(-200,t)}function Fu(t,e){throw new E(-201,!1)}function Kg(){return Od}function xt(t){let e=Od;return Od=t,e}function Zg(t,e,i){let n=Tu(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&K.Optional)return null;if(e!==void 0)return e;Fu(t,"Injector")}function Xw(){return sr}function kn(t){let e=sr;return sr=t,e}function Jw(t,e=K.Default){if(sr===void 0)throw new E(-203,!1);return sr===null?Zg(t,void 0,e):sr.get(t,e&K.Optional?null:void 0,e)}function p(t,e=K.Default){return(Kg()||Jw)(Xe(t),e)}function C(t,e=K.Default){return p(t,Ca(e))}function Ca(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function kd(t){let e=[];for(let i=0;i<t.length;i++){let n=Xe(t[i]);if(Array.isArray(n)){if(n.length===0)throw new E(900,!1);let r,o=K.Default;for(let s=0;s<n.length;s++){let a=n[s],l=eD(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}e.push(p(r,o))}else e.push(p(n))}return e}function Xg(t,e){return t[Rd]=e,t.prototype[Rd]=e,t}function eD(t){return t[Rd]}function tD(t,e,i,n){let r=t[sa];throw e[ug]&&r.unshift(e[ug]),t.message=nD(`
5
+ `+t.message,r,i,n),t[Qw]=r,t[sa]=null,t}function nD(t,e,i,n=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==Zw?t.slice(2):t;let r=ht(e);if(Array.isArray(e))r=e.map(ht).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ht(a)))}r=`{${o.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(Kw,`
7
+ `)}`}function lr(t,e){let i=t.hasOwnProperty(oa);return i?t[oa]:null}function iD(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=e[n];if(i&&(r=i(r),o=i(o)),o!==r)return!1}return!0}function rD(t){return t.flat(Number.POSITIVE_INFINITY)}function Ru(t,e){t.forEach(i=>Array.isArray(i)?Ru(i,e):e(i))}function eb(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function aa(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function oD(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function sD(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(r===1)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;){let o=r-2;t[r]=t[o],r--}t[e]=i,t[e+1]=n}}function Ia(t,e,i){let n=ho(t,e);return n>=0?t[n|1]=i:(n=~n,sD(t,n,e,i)),n}function bd(t,e){let i=ho(t,e);if(i>=0)return t[i|1]}function ho(t,e){return aD(t,e,1)}function aD(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){let o=n+(r-n>>1),s=t[o<<i];if(e===s)return o<<i;s>e?r=o:n=o+1}return~(r<<i)}function lD(t,e,i){let n=t.length;for(;;){let r=t.indexOf(e,i);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}i=r+1}}function Nd(t,e,i){let n=0;for(;n<i.length;){let r=i[n];if(typeof r=="number"){if(r!==0)break;n++;let o=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,o)}else{let o=r,s=i[++n];cD(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function rb(t){return t===3||t===4||t===6}function cD(t){return t.charCodeAt(0)===64}function to(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let r=e[n];typeof r=="number"?i=r:i===0||(i===-1||i===2?fg(t,i,r,null,e[++n]):fg(t,i,r,null,null))}}return t}function fg(t,e,i,n,r){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===i){if(n===null){r!==null&&(t[o+1]=r);return}else if(n===t[o+1]){t[o+2]=r;return}}o++,n!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,i),n!==null&&t.splice(o++,0,n),r!==null&&t.splice(o++,0,r)}function dD(t,e,i,n){let r=0;if(n){for(;r<e.length&&typeof e[r]=="string";r+=2)if(e[r]==="class"&&lD(e[r+1].toLowerCase(),i,0)!==-1)return!0}else if(ku(t))return!1;if(r=e.indexOf(1,r),r>-1){let o;for(;++r<e.length&&typeof(o=e[r])=="string";)if(o.toLowerCase()===i)return!0}return!1}function ku(t){return t.type===4&&t.value!==ob}function uD(t,e,i){let n=t.type===4&&!i?ob:t.value;return e===n}function fD(t,e,i){let n=4,r=t.attrs,o=r!==null?pD(r):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!Rt(n)&&!Rt(l))return!1;if(s&&Rt(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!uD(t,l,i)||l===""&&e.length===1){if(Rt(n))return!1;s=!0}}else if(n&8){if(r===null||!dD(t,r,l,i)){if(Rt(n))return!1;s=!0}}else{let c=e[++a],d=hD(l,r,ku(t),i);if(d===-1){if(Rt(n))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),n&2&&c!==u){if(Rt(n))return!1;s=!0}}}}return Rt(n)||s}function Rt(t){return(t&1)===0}function hD(t,e,i,n){if(e===null)return-1;let r=0;if(n||!i){let o=!1;for(;r<e.length;){let s=e[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++r];for(;typeof a=="string";)a=e[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return gD(e,t)}function sb(t,e,i=!1){for(let n=0;n<e.length;n++)if(fD(t,e[n],i))return!0;return!1}function mD(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function pD(t){for(let e=0;e<t.length;e++){let i=t[e];if(rb(i))return e}return t.length}function gD(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function bD(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function hg(t,e){return t?":not("+e.trim()+")":e}function yD(t){let e=t[0],i=1,n=2,r="",o=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?r+="."+s:n&4&&(r+=" "+s);else r!==""&&!Rt(s)&&(e+=hg(o,r),r=""),n=s,o=o||!Rt(n);i++}return r!==""&&(e+=hg(o,r)),e}function vD(t){return t.map(yD).join(",")}function _D(t){let e=[],i=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&e.push(o,t[++n]):r===8&&i.push(o);else{if(!Rt(r))break;r=o}n++}return{attrs:e,classes:i}}function Ce(t){return fo(()=>{let e=cb(t),i=Pe(M({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ib.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Qt.Emulated,styles:t.styles||ot,_:null,schemas:t.schemas||null,tView:null,id:""});db(i);let n=t.dependencies;return i.directiveDefs=pg(n,!1),i.pipeDefs=pg(n,!0),i.id=ED(i),i})}function xD(t){return dr(t)||ab(t)}function wD(t){return t!==null}function B(t){return fo(()=>({type:t.type,bootstrap:t.bootstrap||ot,declarations:t.declarations||ot,imports:t.imports||ot,exports:t.exports||ot,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mg(t,e){if(t==null)return cr;let i={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,s,a=v.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),e?(i[o]=a!==v.None?[n,a]:n,e[o]=s):i[o]=n}return i}function Y(t){return fo(()=>{let e=cb(t);return db(e),e})}function dr(t){return t[zw]||null}function ab(t){return t[$w]||null}function lb(t){return t[Gw]||null}function DD(t){let e=dr(t)||ab(t)||lb(t);return e!==null?e.standalone:!1}function cb(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||cr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||ot,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mg(t.inputs,e),outputs:mg(t.outputs),debugInfo:null}}function db(t){t.features?.forEach(e=>e(t))}function pg(t,e){if(!t)return null;let i=e?lb:xD;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(wD)}function ED(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Sa(t){return{\u0275providers:t}}function CD(...t){return{\u0275providers:ub(!0,t),\u0275fromNgModule:!0}}function ub(t,...e){let i=[],n=new Set,r,o=s=>{i.push(s)};return Ru(e,s=>{let a=s;Pd(a,o,[],n)&&(r||=[],r.push(a))}),r!==void 0&&fb(r,o),i}function fb(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:r}=t[i];Nu(r,o=>{e(o,n)})}}function Pd(t,e,i,n){if(t=Xe(t),!t)return!1;let r=null,o=lg(t),s=!o&&dr(t);if(!o&&!s){let l=t.ngModule;if(o=lg(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Pd(c,e,i,n)}}else if(o){if(o.imports!=null&&!a){n.add(r);let c;try{Ru(o.imports,d=>{Pd(d,e,i,n)&&(c||=[],c.push(d))})}finally{}c!==void 0&&fb(c,e)}if(!a){let c=lr(r)||(()=>new r);e({provide:r,useFactory:c,deps:ot},r),e({provide:nb,useValue:r,multi:!0},r),e({provide:eo,useValue:()=>p(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;Nu(l,d=>{e(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function Nu(t,e){for(let i of t)Qg(i)&&(i=i.\u0275providers),Array.isArray(i)?Nu(i,e):e(i)}function hb(t){return t!==null&&typeof t=="object"&&ID in t}function SD(t){return!!(t&&t.useExisting)}function AD(t){return!!(t&&t.useFactory)}function ur(t){return typeof t=="function"}function MD(t){return!!t.useClass}function Pu(){return yd===void 0&&(yd=new la),yd}function Ld(t){let e=Tu(t),i=e!==null?e.factory:lr(t);if(i!==null)return i;if(t instanceof D)throw new E(204,!1);if(t instanceof Function)return FD(t);throw new E(204,!1)}function FD(t){if(t.length>0)throw new E(204,!1);let i=Hw(t);return i!==null?()=>i.factory(t):()=>new t}function OD(t){if(hb(t))return ir(void 0,t.useValue);{let e=mb(t);return ir(e,Xs)}}function mb(t,e,i){let n;if(ur(t)){let r=Xe(t);return lr(r)||Ld(r)}else if(hb(t))n=()=>Xe(t.useValue);else if(AD(t))n=()=>t.useFactory(...kd(t.deps||[]));else if(SD(t))n=()=>p(Xe(t.useExisting));else{let r=Xe(t&&(t.useClass||t.provide));if(RD(t))n=()=>new r(...kd(t.deps));else return lr(r)||Ld(r)}return n}function ir(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function RD(t){return!!t.deps}function kD(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function ND(t){return typeof t=="function"||typeof t=="object"&&t instanceof D}function jd(t,e){for(let i of t)Array.isArray(i)?jd(i,e):i&&Qg(i)?jd(i.\u0275providers,e):e(i)}function pb(t,e){t instanceof no&&t.assertNotDestroyed();let i,n=kn(t),r=xt(void 0);try{return e()}finally{kn(n),xt(r)}}function gb(){return Kg()!==void 0||Xw()!=null}function PD(t){if(!gb())throw new E(-203,!1)}function LD(t){return typeof t=="function"}function ci(t){return Array.isArray(t)&&typeof t[yb]=="object"}function pn(t){return Array.isArray(t)&&t[yb]===!0}function ju(t){return(t.flags&4)!==0}function Ta(t){return t.componentOffset>-1}function Fa(t){return(t.flags&1)===1}function Pn(t){return!!t.template}function jD(t){return(t[L]&512)!==0}function vb(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function Je(){return _b}function _b(t){return t.type.prototype.ngOnChanges&&(t.setInput=BD),VD}function VD(){let t=wb(this),e=t?.current;if(e){let i=t.previous;if(i===cr)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function BD(t,e,i,n,r){let o=this.declaredInputs[n],s=wb(t)||HD(t,{previous:cr,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new so(c&&c.currentValue,i,l===cr),vb(t,e,r,i)}function wb(t){return t[xb]||null}function HD(t,e){return t[xb]=e}function $D(){return zD}function Xt(t){for(;Array.isArray(t);)t=t[mn];return t}function Eb(t,e){return Xt(e[t])}function Dt(t,e){return Xt(e[t.index])}function Vu(t,e){return t.data[e]}function GD(t,e){return t[e]}function jn(t,e){let i=e[t];return ci(i)?i:i[mn]}function WD(t){return(t[L]&4)===4}function Bu(t){return(t[L]&128)===128}function qD(t){return pn(t[Be])}function mr(t,e){return e==null?null:t[e]}function Cb(t){t[rr]=0}function YD(t){t[L]&1024||(t[L]|=1024,Bu(t)&&ao(t))}function QD(t,e){for(;t>0;)e=e[yr],t--;return e}function Hu(t){return!!(t[L]&9216||t[ui]?.dirty)}function Vd(t){t[Zt].changeDetectionScheduler?.notify(1),Hu(t)?ao(t):t[L]&64&&($D()?(t[L]|=1024,ao(t)):t[Zt].changeDetectionScheduler?.notify())}function ao(t){t[Zt].changeDetectionScheduler?.notify();let e=lo(t);for(;e!==null&&!(e[L]&8192||(e[L]|=8192,!Bu(e)));)e=lo(e)}function Ib(t,e){if((t[L]&256)===256)throw new E(911,!1);t[Nn]===null&&(t[Nn]=[]),t[Nn].push(e)}function KD(t,e){if(t[Nn]===null)return;let i=t[Nn].indexOf(e);i!==-1&&t[Nn].splice(i,1)}function lo(t){let e=t[Be];return pn(e)?e[Be]:e}function ZD(){return q.lFrame.elementDepthCount}function XD(){q.lFrame.elementDepthCount++}function JD(){q.lFrame.elementDepthCount--}function Sb(){return q.bindingsEnabled}function Ab(){return q.skipHydrationRootTNode!==null}function eE(t){return q.skipHydrationRootTNode===t}function tE(){q.skipHydrationRootTNode=null}function Q(){return q.lFrame.lView}function Ie(){return q.lFrame.tView}function jt(t){return q.lFrame.contextLView=t,t[wt]}function Vt(t){return q.lFrame.contextLView=null,t}function We(){let t=Mb();for(;t!==null&&t.type===64;)t=t.parent;return t}function Mb(){return q.lFrame.currentTNode}function nE(){let t=q.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function _i(t,e){let i=q.lFrame;i.currentTNode=t,i.isParent=e}function Uu(){return q.lFrame.isParent}function zu(){q.lFrame.isParent=!1}function iE(){return q.lFrame.contextLView}function rE(){return q.lFrame.bindingIndex}function oE(t){return q.lFrame.bindingIndex=t}function vr(){return q.lFrame.bindingIndex++}function $u(t){let e=q.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function sE(){return q.lFrame.inI18n}function aE(t,e){let i=q.lFrame;i.bindingIndex=i.bindingRootIndex=t,Bd(e)}function lE(){return q.lFrame.currentDirectiveIndex}function Bd(t){q.lFrame.currentDirectiveIndex=t}function cE(t){let e=q.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Tb(){return q.lFrame.currentQueryIndex}function Gu(t){q.lFrame.currentQueryIndex=t}function dE(t){let e=t[W];return e.type===2?e.declTNode:e.type===1?t[pt]:null}function Fb(t,e,i){if(i&K.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(i&K.Host);)if(r=dE(o),r===null||(o=o[yr],r.type&10))break;if(r===null)return!1;e=r,t=o}let n=q.lFrame=Ob();return n.currentTNode=e,n.lView=t,!0}function Wu(t){let e=Ob(),i=t[W];q.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function Ob(){let t=q.lFrame,e=t===null?null:t.child;return e===null?Rb(t):e}function Rb(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function kb(){let t=q.lFrame;return q.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function qu(){let t=kb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function uE(t){return(q.lFrame.contextLView=QD(t,q.lFrame.contextLView))[wt]}function Vn(){return q.lFrame.selectedIndex}function hi(t){q.lFrame.selectedIndex=t}function Oa(){let t=q.lFrame;return Vu(t.tView,t.selectedIndex)}function po(){q.lFrame.currentNamespace=Db}function Pb(){fE()}function fE(){q.lFrame.currentNamespace=null}function hE(){return q.lFrame.currentNamespace}function Ra(){return Lb}function ka(t){Lb=t}function mE(t,e,i){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){let s=_b(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}function Na(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let o=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),d!=null&&(t.destroyHooks??=[]).push(i,d)}}function ea(t,e,i){jb(t,e,3,i)}function ta(t,e,i,n){(t[L]&3)===i&&jb(t,e,i,n)}function vd(t,e){let i=t[L];(i&3)===e&&(i&=16383,i+=1,t[L]=i)}function jb(t,e,i,n){let r=n!==void 0?t[rr]&65535:0,o=n??-1,s=e.length-1,a=0;for(let l=r;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[rr]+=65536),(a<o||o==-1)&&(pE(t,i,e,l),t[rr]=(t[rr]&4294901760)+l+2),l++}function yg(t,e){qt(4,t,e);let i=ee(null);try{e.call(t)}finally{ee(i),qt(5,t,e)}}function pE(t,e,i,n){let r=i[n]<0,o=i[n+1],s=r?-i[n]:i[n],a=t[s];r?t[L]>>14<t[rr]>>16&&(t[L]&3)===e&&(t[L]+=16384,yg(a,o)):yg(a,o)}function gE(t){return t instanceof mi}function bE(t){return(t.flags&8)!==0}function yE(t){return(t.flags&16)!==0}function Vb(t){return t!==ar}function da(t){return t&32767}function vE(t){return t>>16}function ua(t,e){let i=vE(t),n=e;for(;i>0;)n=n[yr],i--;return n}function vg(t){let e=Hd;return Hd=t,e}function wE(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(Zr)&&(n=i[Zr]),n==null&&(n=i[Zr]=xE++);let r=n&Bb,o=1<<r;e.data[t+(r>>Hb)]|=o}function fa(t,e){let i=Ub(t,e);if(i!==-1)return i;let n=e[W];n.firstCreatePass&&(t.injectorIndex=e.length,_d(n.data,t),_d(e,null),_d(n.blueprint,null));let r=Yu(t,e),o=t.injectorIndex;if(Vb(r)){let s=da(r),a=ua(r,e),l=a[W].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function _d(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ub(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Yu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;r!==null;){if(n=qb(r),n===null)return ar;if(i++,r=r[yr],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return ar}function Ud(t,e,i){wE(t,e,i)}function DE(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,r=0;for(;r<n;){let o=i[r];if(rb(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof i[r]=="string";)r++;else{if(o===e)return i[r+1];r=r+2}}}return null}function zb(t,e,i){if(i&K.Optional||t!==void 0)return t;Fu(e,"NodeInjector")}function $b(t,e,i,n){if(i&K.Optional&&n===void 0&&(n=null),!(i&(K.Self|K.Host))){let r=t[fr],o=xt(void 0);try{return r?r.get(e,n,i&K.Optional):Zg(e,n,i&K.Optional)}finally{xt(o)}}return zb(n,e,i)}function Gb(t,e,i,n=K.Default,r){if(t!==null){if(e[L]&2048&&!(n&K.Self)){let s=SE(t,e,i,n,Yt);if(s!==Yt)return s}let o=Wb(t,e,i,n,Yt);if(o!==Yt)return o}return $b(e,i,n,r)}function Wb(t,e,i,n,r){let o=CE(i);if(typeof o=="function"){if(!Fb(e,t,n))return n&K.Host?zb(r,i,n):$b(e,i,n,r);try{let s;if(s=o(n),s==null&&!(n&K.Optional))Fu(i);else return s}finally{Nb()}}else if(typeof o=="number"){let s=null,a=Ub(t,e),l=ar,c=n&K.Host?e[Pt][pt]:null;for((a===-1||n&K.SkipSelf)&&(l=a===-1?Yu(t,e):e[a+8],l===ar||!xg(n,!1)?a=-1:(s=e[W],a=da(l),e=ua(l,e)));a!==-1;){let d=e[W];if(_g(o,a,d.data)){let u=EE(a,e,i,s,n,c);if(u!==Yt)return u}l=e[a+8],l!==ar&&xg(n,e[W].data[a+8]===c)&&_g(o,a,e)?(s=d,a=da(l),e=ua(l,e)):a=-1}}return r}function EE(t,e,i,n,r,o){let s=e[W],a=s.data[t+8],l=n==null?Ta(a)&&Hd:n!=s&&(a.type&3)!==0,c=r&K.Host&&o===a,d=na(a,s,i,l,c);return d!==null?pi(e,s,d,a):Yt}function na(t,e,i,n,r){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=n?a:a+d,h=r?a+d:c;for(let f=u;f<h;f++){let m=s[f];if(f<l&&i===m||f>=l&&m.type===i)return f}if(r){let f=s[l];if(f&&Pn(f)&&f.type===i)return l}return null}function pi(t,e,i,n){let r=t[i],o=e.data;if(gE(r)){let s=r;s.resolving&&qw(Ww(o[i]));let a=vg(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?xt(s.injectImpl):null,d=Fb(t,n,K.Default);try{r=t[i]=s.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&mE(i,o[i],e)}finally{c!==null&&xt(c),vg(a),s.resolving=!1,Nb()}}return r}function CE(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Zr)?t[Zr]:void 0;return typeof e=="number"?e>=0?e&Bb:IE:e}function _g(t,e,i){let n=1<<t;return!!(i[e+(t>>Hb)]&n)}function xg(t,e){return!(t&K.Self)&&!(t&K.Host&&e)}function IE(){return new di(We(),Q())}function xi(t){return fo(()=>{let e=t.prototype.constructor,i=e[oa]||zd(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[oa]||zd(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function zd(t){return Wg(t)?()=>{let e=zd(Xe(t));return e&&e()}:lr(t)}function SE(t,e,i,n,r){let o=t,s=e;for(;o!==null&&s!==null&&s[L]&2048&&!(s[L]&512);){let a=Wb(o,s,i,n|K.Self,Yt);if(a!==Yt)return a;let l=o.parent;if(!l){let c=s[bb];if(c){let d=c.get(i,Yt,n);if(d!==Yt)return d}l=qb(s),s=s[yr]}o=l}return r}function qb(t){let e=t[W],i=e.type;return i===2?e.declTNode:i===1?t[pt]:null}function _r(t){return DE(We(),t)}function wg(t,e=null,i=null,n){let r=AE(t,e,i,n);return r.resolveInjectorInitializers(),r}function AE(t,e=null,i=null,n,r=new Set){let o=[i||ot,CD(t)];return n=n||(typeof t=="object"?void 0:ht(t)),new no(o,e||Pu(),n||null,r)}function xd(t){return t[ME]}function TE(){return new $d(Q())}function FE(){return xr(We(),Q())}function xr(t,e){return new F(Dt(t,e))}function OE(t){return t instanceof F?t.nativeElement:t}function wd(t){return e=>{setTimeout(t,void 0,e)}}function RE(){return this._results[Symbol.iterator]()}function Qb(t){return(t.flags&128)===128}function NE(){return kE++}function PE(t){Kb.set(t[Ma],t)}function LE(t){Kb.delete(t[Ma])}function Ln(t,e){ci(e)?(t[Dg]=e[Ma],PE(e)):t[Dg]=e}function Zb(t){return Jb(t[oo])}function Xb(t){return Jb(t[Nt])}function Jb(t){for(;t!==null&&!pn(t);)t=t[Nt];return t}function ey(t){Wd=t}function jE(){if(Wd!==void 0)return Wd;if(typeof document<"u")return document;throw new E(210,!1)}function Zu(t,e,i=!1){return UE(t,e,i)}function $E(){if(Ys===void 0&&(Ys=null,li.trustedTypes))try{Ys=li.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ys}function Pa(t){return $E()?.createHTML(t)||t}function gn(t){return t instanceof un?t.changingThisBreaksApplicationSecurity:t}function wr(t,e){let i=GE(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${$g})`)}return i===e}function GE(t){return t instanceof un&&t.getTypeName()||null}function ny(t){return new qd(t)}function iy(t){return new Yd(t)}function ry(t){return new Qd(t)}function oy(t){return new Kd(t)}function sy(t){return new Zd(t)}function WE(t){let e=new Jd(t);return qE()?new Xd(e):e}function qE(){try{return!!new window.DOMParser().parseFromString(Pa(""),"text/html")}catch{return!1}}function Xu(t){return t=String(t),t.match(YE)?t:"unsafe:"+t}function bn(t){let e={};for(let i of t.split(","))e[i]=!0;return e}function bo(...t){let e={};for(let i of t)for(let n in i)i.hasOwnProperty(n)&&(e[n]=!0);return e}function nC(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function iC(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw uy(e);return e}function rC(t){let e=t.firstChild;if(e&&nC(t,e))throw uy(e);return e}function Cg(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function uy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function Ig(t){return t.replace(/&/g,"&amp;").replace(oC,function(e){let i=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(sC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function fy(t,e){let i=null;try{Qs=Qs||WE(t);let n=e?String(e):"";i=Qs.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=Qs.getInertBodyElement(n)}while(n!==o);let a=new eu().sanitizeChildren(Sg(i)||i);return Pa(a)}finally{if(i){let n=Sg(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Sg(t){return"content"in t&&aC(t)?t.content:null}function aC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function uC(t){return t.replace(lC,e=>e.replace(cC,dC))}function Ju(t,e){return fC(t,e)}function or(t,e,i,n,r){if(n!=null){let o,s=!1;pn(n)?o=n:ci(n)&&(s=!0,n=n[mn]);let a=Xt(n);t===0&&i!==null?r==null?by(e,i,a):ma(e,i,a,r||null,!0):t===1&&i!==null?ma(e,i,a,r||null,!0):t===2?AC(e,a,s):t===3&&e.destroyNode(a),o!=null&&TC(e,t,o,i,r)}}function hC(t,e){return t.createText(e)}function mC(t,e,i){t.setValue(e,i)}function pC(t,e){return t.createComment(uC(e))}function hy(t,e,i){return t.createElement(e,i)}function gC(t,e){my(t,e),e[mn]=null,e[pt]=null}function bC(t,e,i,n,r,o){n[mn]=r,n[pt]=e,ja(t,n,i,1,r,o)}function my(t,e){e[Zt].changeDetectionScheduler?.notify(1),ja(t,e,e[we],2,null,null)}function yC(t){let e=t[oo];if(!e)return Dd(t[W],t);for(;e;){let i=null;if(ci(e))i=e[oo];else{let n=e[st];n&&(i=n)}if(!i){for(;e&&!e[Nt]&&e!==t;)ci(e)&&Dd(e[W],e),e=e[Be];e===null&&(e=t),ci(e)&&Dd(e[W],e),i=e&&e[Nt]}e=i}}function vC(t,e,i,n){let r=st+n,o=i.length;n>0&&(i[r-1][Nt]=e),n<o-st?(e[Nt]=i[r],eb(i,st+n,e)):(i.push(e),e[Nt]=null),e[Be]=i;let s=e[mo];s!==null&&i!==s&&_C(s,e);let a=e[dn];a!==null&&a.insertView(t),Vd(e),e[L]|=128}function _C(t,e){let i=t[hr],r=e[Be][Be][Pt];e[Pt]!==r&&(t[L]|=Lu.HasTransplantedViews),i===null?t[hr]=[e]:i.push(e)}function py(t,e){let i=t[hr],n=i.indexOf(e);i.splice(n,1)}function ha(t,e){if(t.length<=st)return;let i=st+e,n=t[i];if(n){let r=n[mo];r!==null&&r!==t&&py(r,n),e>0&&(t[i-1][Nt]=n[Nt]);let o=aa(t,st+e);gC(n[W],n);let s=o[dn];s!==null&&s.detachView(o[W]),n[Be]=null,n[Nt]=null,n[L]&=-129}return n}function ef(t,e){if(!(e[L]&256)){let i=e[we];i.destroyNode&&ja(t,e,i,3,null,null),yC(e)}}function Dd(t,e){if(e[L]&256)return;let i=ee(null);try{e[L]&=-129,e[L]|=256,e[ui]&&Tc(e[ui]),wC(t,e),xC(t,e),e[W].type===1&&e[we].destroy();let n=e[mo];if(n!==null&&pn(e[Be])){n!==e[Be]&&py(n,e);let r=e[dn];r!==null&&r.detachView(t)}LE(e)}finally{ee(i)}}function xC(t,e){let i=t.cleanup,n=e[ro];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let s=i[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[i[o+1]];i[o].call(s)}n!==null&&(e[ro]=null);let r=e[Nn];if(r!==null){e[Nn]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function wC(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let r=e[i[n]];if(!(r instanceof mi)){let o=i[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];qt(4,a,l);try{l.call(a)}finally{qt(5,a,l)}}else{qt(4,r,o);try{o.call(r)}finally{qt(5,r,o)}}}}}function gy(t,e,i){return DC(t,e.parent,i)}function DC(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[mn];{let{componentOffset:r}=n;if(r>-1){let{encapsulation:o}=t.data[n.directiveStart+r];if(o===Qt.None||o===Qt.Emulated)return null}return Dt(n,i)}}function ma(t,e,i,n,r){t.insertBefore(e,i,n,r)}function by(t,e,i){t.appendChild(e,i)}function Ag(t,e,i,n,r){n!==null?ma(t,e,i,n,r):by(t,e,i)}function EC(t,e,i,n){t.removeChild(e,i,n)}function tf(t,e){return t.parentNode(e)}function CC(t,e){return t.nextSibling(e)}function yy(t,e,i){return SC(t,e,i)}function IC(t,e,i){return t.type&40?Dt(t,i):null}function La(t,e,i,n){let r=gy(t,n,e),o=e[we],s=n.parent||e[pt],a=yy(s,n,e);if(r!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)Ag(o,r,i[l],a,!1);else Ag(o,r,i,a,!1);Mg!==void 0&&Mg(o,n,e,i,r)}function ia(t,e){if(e!==null){let i=e.type;if(i&3)return Dt(e,t);if(i&4)return tu(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return ia(t,n);{let r=t[e.index];return pn(r)?tu(-1,r):Xt(r)}}else{if(i&32)return Ju(e,t)()||Xt(t[e.index]);{let n=vy(t,e);if(n!==null){if(Array.isArray(n))return n[0];let r=lo(t[Pt]);return ia(r,n)}else return ia(t,e.next)}}}return null}function vy(t,e){if(e!==null){let n=t[Pt][pt],r=e.projection;return n.projection[r]}return null}function tu(t,e){let i=st+t+1;if(i<e.length){let n=e[i],r=n[W].firstChild;if(r!==null)return ia(n,r)}return e[fi]}function AC(t,e,i){let n=tf(t,e);n&&EC(t,n,e,i)}function nf(t,e,i,n,r,o,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&Ln(Xt(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)nf(t,e,i.child,n,r,o,!1),or(e,t,r,a,o);else if(l&32){let c=Ju(i,n),d;for(;d=c();)or(e,t,r,d,o);or(e,t,r,a,o)}else l&16?_y(t,e,n,i,r,o):or(e,t,r,a,o);i=s?i.projectionNext:i.next}}function ja(t,e,i,n,r,o){nf(i,n,t.firstChild,e,r,o,!1)}function MC(t,e,i){let n=e[we],r=gy(t,i,e),o=i.parent||e[pt],s=yy(o,i,e);_y(n,0,e,i,r,s)}function _y(t,e,i,n,r,o){let s=i[Pt],l=s[pt].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];or(e,t,r,d,o)}else{let c=l,d=s[Be];Qb(n)&&(c.flags|=128),nf(t,e,c,d,r,o,!0)}}function TC(t,e,i,n,r){let o=i[fi],s=Xt(i);o!==s&&or(e,t,n,o,r);for(let a=st;a<i.length;a++){let l=i[a];ja(l[W],l,t,e,n,o)}}function FC(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=n.indexOf("-")===-1?void 0:fn.DashCase;r==null?t.removeStyle(i,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=fn.Important),t.setStyle(i,n,r,o))}}function OC(t,e,i){t.setAttribute(e,"style",i)}function xy(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function wy(t,e,i){let{mergedAttrs:n,classes:r,styles:o}=i;n!==null&&Nd(t,e,n),r!==null&&xy(t,e,r),o!==null&&OC(t,e,o)}function O(t=1){Dy(Ie(),Q(),Vn()+t,!1)}function Dy(t,e,i,n){if(!n)if((e[L]&3)===3){let o=t.preOrderCheckHooks;o!==null&&ea(e,o,i)}else{let o=t.preOrderHooks;o!==null&&ta(e,o,0,i)}hi(i)}function b(t,e=K.Default){let i=Q();if(i===null)return p(t,e);let n=We();return Gb(n,i,Xe(t),e)}function Ey(){let t="invalid";throw new Error(t)}function Cy(t,e,i,n,r,o){let s=ee(null);try{let a=null;r&v.SignalBased&&(a=e[n][ss]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&v.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,i,n):vb(e,a,n,o)}finally{ee(s)}}function RC(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let r=i[n];if(r<0)hi(~r);else{let o=r,s=i[++n],a=i[++n];aE(s,o);let l=e[o];a(2,l)}}}finally{hi(-1)}}function Va(t,e,i,n,r,o,s,a,l,c,d){let u=e.blueprint.slice();return u[mn]=r,u[L]=n|4|128|8|64,(c!==null||t&&t[L]&2048)&&(u[L]|=2048),Cb(u),u[Be]=u[yr]=t,u[wt]=i,u[Zt]=s||t&&t[Zt],u[we]=a||t&&t[we],u[fr]=l||t&&t[fr]||null,u[pt]=o,u[Ma]=NE(),u[io]=d,u[bb]=c,u[Pt]=e.type==2?t[Pt]:u,u}function Dr(t,e,i,n,r){let o=t.data[e];if(o===null)o=kC(t,e,i,n,r),sE()&&(o.flags|=32);else if(o.type&64){o.type=i,o.value=n,o.attrs=r;let s=nE();o.injectorIndex=s===null?-1:s.injectorIndex}return _i(o,!0),o}function kC(t,e,i,n,r){let o=Mb(),s=Uu(),a=s?o:o&&o.parent,l=t.data[e]=BC(t,a,i,e,n,r);return t.firstChild===null&&(t.firstChild=l),o!==null&&(s?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function Iy(t,e,i,n){if(i===0)return-1;let r=e.length;for(let o=0;o<i;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return r}function Sy(t,e,i,n,r){let o=Vn(),s=n&2;try{hi(-1),s&&e.length>mt&&Dy(t,e,mt,!1),qt(s?2:0,r),i(n,r)}finally{hi(o),qt(s?3:1,r)}}function rf(t,e,i){if(ju(e)){let n=ee(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{ee(n)}}}function of(t,e,i){Sb()&&(WC(t,e,i,Dt(i,e)),(i.flags&64)===64&&Ty(t,e,i))}function sf(t,e,i=Dt){let n=e.localNames;if(n!==null){let r=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?i(e,t):t[s];t[r++]=a}}}function Ay(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=af(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function af(t,e,i,n,r,o,s,a,l,c,d){let u=mt+n,h=u+r,f=NC(u,h),m=typeof c=="function"?c():c;return f[W]={type:t,blueprint:f,template:i,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1,ssrId:d}}function NC(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:en);return i}function PC(t,e,i,n){let o=n.get(zE,ty)||i===Qt.ShadowDom,s=t.selectRootElement(e,o);return LC(s),s}function LC(t){jC(t)}function VC(t,e,i,n){let r=Ry(e);r.push(i),t.firstCreatePass&&ky(t).push(n,r.length-1)}function BC(t,e,i,n,r,o){let s=e?e.injectorIndex:-1,a=0;return Ab()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Tg(t,e,i,n,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=v.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}t===0?Fg(n,i,c,a,l):Fg(n,i,c,a)}return n}function Fg(t,e,i,n,r){let o;t.hasOwnProperty(i)?(o=t[i]).push(e,n):o=t[i]=[e,n],r!==void 0&&o.push(r)}function HC(t,e,i){let n=e.directiveStart,r=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let d=n;d<r;d++){let u=o[d],h=i?i.get(u):null,f=h?h.inputs:null,m=h?h.outputs:null;l=Tg(0,u.inputs,d,l,f),c=Tg(1,u.outputs,d,c,m);let y=l!==null&&s!==null&&!ku(e)?iI(l,d,s):null;a.push(y)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function UC(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function lf(t,e,i,n,r,o,s,a){let l=Dt(e,i),c=e.inputs,d;!a&&c!=null&&(d=c[n])?(df(t,i,d,n,r),Ta(e)&&zC(i,e.index)):e.type&3?(n=UC(n),r=s!=null?s(r,e.value||"",n):r,o.setProperty(l,n,r)):e.type&12}function zC(t,e){let i=jn(e,t);i[L]&16||(i[L]|=64)}function cf(t,e,i,n){if(Sb()){let r=n===null?null:{"":-1},o=YC(t,i),s,a;o===null?s=a=null:[s,a]=o,s!==null&&My(t,e,i,s,r,a),r&&QC(i,n,r)}i.mergedAttrs=to(i.mergedAttrs,i.attrs)}function My(t,e,i,n,r,o){for(let c=0;c<n.length;c++)Ud(fa(i,e),t,n[c].type);ZC(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let d=n[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=Iy(t,e,n.length,null);for(let c=0;c<n.length;c++){let d=n[c];i.mergedAttrs=to(i.mergedAttrs,d.hostAttrs),XC(t,i,e,l,d),KC(l,d,r),d.contentQueries!==null&&(i.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(i.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}HC(t,i,o)}function $C(t,e,i,n,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;GC(s)!=a&&s.push(a),s.push(i,n,o)}}function GC(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function WC(t,e,i,n){let r=i.directiveStart,o=i.directiveEnd;Ta(i)&&JC(e,i,t.data[r+i.componentOffset]),t.firstCreatePass||fa(i,e),Ln(n,e);let s=i.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=pi(e,t,a,i);if(Ln(c,e),s!==null&&nI(e,a-r,c,l,i,s),Pn(l)){let d=jn(i.index,e);d[wt]=pi(e,t,a,i)}}}function Ty(t,e,i){let n=i.directiveStart,r=i.directiveEnd,o=i.index,s=lE();try{hi(o);for(let a=n;a<r;a++){let l=t.data[a],c=e[a];Bd(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&qC(l,c)}}finally{hi(-1),Bd(s)}}function qC(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function YC(t,e){let i=t.directiveRegistry,n=null,r=null;if(i)for(let o=0;o<i.length;o++){let s=i[o];if(sb(e,s.selectors,!1))if(n||(n=[]),Pn(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),n.unshift(...a,s);let l=a.length;nu(t,e,l)}else n.unshift(s),nu(t,e,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,n,r),n.push(s)}return n===null?null:[n,r]}function nu(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function QC(t,e,i){if(e){let n=t.localNames=[];for(let r=0;r<e.length;r+=2){let o=i[e[r+1]];if(o==null)throw new E(-301,!1);n.push(e[r],o)}}}function KC(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;Pn(e)&&(i[""]=t)}}function ZC(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function XC(t,e,i,n,r){t.data[n]=r;let o=r.factory||(r.factory=lr(r.type,!0)),s=new mi(o,Pn(r),b);t.blueprint[n]=s,i[n]=s,$C(t,e,n,Iy(t,i,r.hostVars,en),r)}function JC(t,e,i){let n=Dt(e,t),r=Ay(i),o=t[Zt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Ba(t,Va(t,r,null,s,n,e,null,o.createRenderer(n,i),null,null,null));t[e.index]=a}function eI(t,e,i,n,r,o){let s=Dt(t,e);tI(e[we],s,o,t.value,i,n,r)}function tI(t,e,i,n,r,o,s){if(o==null)t.removeAttribute(e,r,i);else{let a=s==null?Xr(o):s(o,n||"",r);t.setAttribute(e,r,a,i)}}function nI(t,e,i,n,r,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],d=s[a++],u=s[a++];Cy(n,i,l,c,d,u)}}function iI(t,e,i){let n=null,r=0;for(;r<i.length;){let o=i[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],i[r+1]);break}}r+=2}return n}function Fy(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function Oy(t,e){let i=t.contentQueries;if(i!==null){let n=ee(null);try{for(let r=0;r<i.length;r+=2){let o=i[r],s=i[r+1];if(s!==-1){let a=t.data[s];Gu(o),a.contentQueries(2,e[s],s)}}}finally{ee(n)}}}function Ba(t,e){return t[oo]?t[gg][Nt]=e:t[oo]=e,t[gg]=e,e}function iu(t,e,i){Gu(0);let n=ee(null);try{e(t,i)}finally{ee(n)}}function Ry(t){return t[ro]||(t[ro]=[])}function ky(t){return t.cleanup||(t.cleanup=[])}function Ny(t,e){let i=t[fr],n=i?i.get(at,null):null;n&&n.handleError(e)}function df(t,e,i,n,r){for(let o=0;o<i.length;){let s=i[o++],a=i[o++],l=i[o++],c=e[s],d=t.data[s];Cy(d,c,n,a,l,r)}}function Py(t,e,i){let n=Eb(e,t);mC(t[we],n,i)}function rI(t,e){let i=jn(e,t),n=i[W];oI(n,i);let r=i[mn];r!==null&&i[io]===null&&(i[io]=Zu(r,i[fr])),uf(n,i,i[wt])}function oI(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function uf(t,e,i){Wu(e);try{let n=t.viewQuery;n!==null&&iu(1,n,i);let r=t.template;r!==null&&Sy(t,e,r,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[dn]?.finishViewCreation(t),t.staticContentQueries&&Oy(t,e),t.staticViewQueries&&iu(2,t.viewQuery,i);let o=t.components;o!==null&&sI(e,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[L]&=-5,qu()}}function sI(t,e){for(let i=0;i<e.length;i++)rI(t,e[i])}function Ly(t,e,i,n){let r=ee(null);try{let o=e.tView,a=t[L]&4096?4096:16,l=Va(t,o,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[mo]=c;let d=t[dn];return d!==null&&(l[dn]=d.createEmbeddedView(o)),uf(o,l,i),l}finally{ee(r)}}function aI(t,e){let i=st+e;if(i<t.length)return t[i]}function ru(t,e){return!e||e.firstChild===null||Qb(t)}function jy(t,e,i,n=!0){let r=e[W];if(vC(r,e,t,i),n){let s=tu(i,t),a=e[we],l=tf(a,t[fi]);l!==null&&bC(r,t[pt],a,e,l,s)}let o=e[io];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function lI(t,e){let i=ha(t,e);return i!==void 0&&ef(i[W],i),i}function pa(t,e,i,n,r=!1){for(;i!==null;){let o=e[i.index];o!==null&&n.push(Xt(o)),pn(o)&&cI(o,n);let s=i.type;if(s&8)pa(t,e,i.child,n);else if(s&32){let a=Ju(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=vy(e,i);if(Array.isArray(a))n.push(...a);else{let l=lo(e[Pt]);pa(l[W],l,a,n,!0)}}i=r?i.projectionNext:i.next}return n}function cI(t,e){for(let i=st;i<t.length;i++){let n=t[i],r=n[W].firstChild;r!==null&&pa(n[W],n,r,e)}t[fi]!==t[mn]&&e.push(t[fi])}function dI(t){return t[ui]??uI(t)}function uI(t){let e=Vy.pop()??Object.create(hI);return e.lView=t,e}function fI(t){t.lView[ui]!==t&&(t.lView=null,Vy.push(t))}function Hy(t,e=!0,i=0){let n=t[Zt],r=n.rendererFactory,o=!1;o||r.begin?.();try{mI(t,i)}catch(s){throw e&&Ny(t,s),s}finally{o||(r.end?.(),n.inlineEffectRunner?.flush())}}function mI(t,e){ou(t,e);let i=0;for(;Hu(t);){if(i===By)throw new E(103,!1);i++,ou(t,1)}}function pI(t,e,i,n){let r=e[L];if((r&256)===256)return;let o=!1;!o&&e[Zt].inlineEffectRunner?.flush(),Wu(e);let s=null,a=null;!o&&gI(t)&&(a=dI(e),s=Ac(a));try{Cb(e),oE(t.bindingStartIndex),i!==null&&Sy(t,e,i,2,n);let l=(r&3)===3;if(!o)if(l){let u=t.preOrderCheckHooks;u!==null&&ea(e,u,null)}else{let u=t.preOrderHooks;u!==null&&ta(e,u,0,null),vd(e,0)}if(bI(e),Uy(e,0),t.contentQueries!==null&&Oy(t,e),!o)if(l){let u=t.contentCheckHooks;u!==null&&ea(e,u)}else{let u=t.contentHooks;u!==null&&ta(e,u,1),vd(e,1)}RC(t,e);let c=t.components;c!==null&&$y(e,c,0);let d=t.viewQuery;if(d!==null&&iu(2,d,n),!o)if(l){let u=t.viewCheckHooks;u!==null&&ea(e,u)}else{let u=t.viewHooks;u!==null&&ta(e,u,2),vd(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Js]){for(let u of e[Js])u();e[Js]=null}o||(e[L]&=-73)}catch(l){throw ao(e),l}finally{a!==null&&(Mc(a,s),fI(a)),qu()}}function gI(t){return t.type!==2}function Uy(t,e){for(let i=Zb(t);i!==null;i=Xb(i))for(let n=st;n<i.length;n++){let r=i[n];zy(r,e)}}function bI(t){for(let e=Zb(t);e!==null;e=Xb(e)){if(!(e[L]&Lu.HasTransplantedViews))continue;let i=e[hr];for(let n=0;n<i.length;n++){let r=i[n],o=r[Be];YD(r)}}}function yI(t,e,i){let n=jn(e,t);zy(n,i)}function zy(t,e){Bu(t)&&ou(t,e)}function ou(t,e){let n=t[W],r=t[L],o=t[ui],s=!!(e===0&&r&16);if(s||=!!(r&64&&e===0),s||=!!(r&1024),s||=!!(o?.dirty&&as(o)),o&&(o.dirty=!1),t[L]&=-9217,s)pI(n,t,n.template,t[wt]);else if(r&8192){Uy(t,1);let a=n.components;a!==null&&$y(t,a,1)}}function $y(t,e,i){for(let n=0;n<e.length;n++)yI(t,e[n],i)}function ff(t){for(t[Zt].changeDetectionScheduler?.notify();t;){t[L]|=64;let e=lo(t);if(jD(t)&&!e)return t;t=e}return null}function xI(){return Ha(We(),Q())}function Ha(t,e){return t.type&4?new _I(e,t,xr(t,e)):null}function su(t,e){return wI(t,e)}function DI(t){let e=Error(`No component factory found for ${ht(t)}.`);return e[EI]=t,e}function CI(){let t=Q(),e=We(),i=jn(e.index,t);return(ci(i)?i:t)[we]}function Di(t){Og.has(t)||(Og.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Rg(...t){}function SI(){let t=typeof li.requestAnimationFrame=="function",e=li[t?"requestAnimationFrame":"setTimeout"],i=li[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}function hf(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function MI(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(li,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,cu(t),t.isCheckStableRunning=!0,hf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),cu(t))}function TI(t){let e=()=>{MI(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,s,a)=>{if(FI(a))return i.invokeTask(r,o,s,a);try{return kg(t),i.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Ng(t)}},onInvoke:(i,n,r,o,s,a,l)=>{try{return kg(t),i.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Ng(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,cu(t),hf(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function cu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function kg(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ng(t){t._nesting--,hf(t)}function FI(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function ba(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)r=Fd(r,a);else if(o==2){let l=a,c=e[++s];n=Fd(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=r:t.classesWithoutHost=r}function Pg(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function OI(t){let e=t.toLowerCase();return e==="svg"?Db:e==="math"?UD:null}function RI(t,e){let i=t[W],n=mt;return t[n]=e,Dr(i,n,2,"#host",null)}function kI(t,e,i,n,r,o,s){let a=r[W];NI(n,t,e,s);let l=null;e!==null&&(l=Zu(e,r[fr]));let c=o.rendererFactory.createRenderer(e,i),d=16;i.signals?d=4096:i.onPush&&(d=64);let u=Va(r,Ay(i),null,d,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&nu(a,t,n.length-1),Ba(r,u),r[t.index]=u}function NI(t,e,i,n){for(let r of t)e.mergedAttrs=to(e.mergedAttrs,r.hostAttrs);e.mergedAttrs!==null&&(ba(e,e.mergedAttrs,!0),i!==null&&wy(n,i,e))}function PI(t,e,i,n,r,o){let s=We(),a=r[W],l=Dt(s,r);My(a,r,s,i,null,n);for(let d=0;d<i.length;d++){let u=s.directiveStart+d,h=pi(r,a,u,s);Ln(h,r)}Ty(a,r,s),l&&Ln(l,r);let c=pi(r,a,s.directiveStart+s.componentOffset,s);if(t[wt]=r[wt]=c,o!==null)for(let d of o)d(c,e);return rf(a,s,r),c}function LI(t,e,i,n){if(n)Nd(t,i,["ng-version","17.3.11"]);else{let{attrs:r,classes:o}=_D(e.selectors[0]);r&&Nd(t,i,r),o&&o.length>0&&xy(t,i,o.join(" "))}}function jI(t,e,i){let n=t.projection=[];for(let r=0;r<e.length;r++){let o=i[r];n.push(o!=null?Array.from(o):null)}}function VI(){let t=We();Na(Q()[W],t)}function BI(){let t=We();return qy(t,Q())}function Lg(t){return t[ca]}function Cd(t){return t[ca]||(t[ca]=[])}function qy(t,e){let i,n=e[t.index];return pn(n)?i=n:(i=Fy(n,e,null,t),e[t.index]=i,Ba(e,i)),zI(i,e,t,n),new Wy(i,t,e)}function UI(t,e){let i=t[we],n=i.createComment(""),r=Dt(e,t),o=tf(i,r);return ma(i,o,n,CC(i,r),!1),n}function GI(t,e,i){return $I(t,e,i)}function WI(t,e,i,n){if(t[fi])return;let r;i.type&8?r=Xt(n):r=UI(e,i),t[fi]=r}function qI(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function YI(t,e){return t.type&11?xr(t,e):t.type&4?Ha(t,e):null}function QI(t,e,i,n){return i===-1?YI(e,t):i===-2?KI(t,e,n):pi(t,t[W],i,e)}function KI(t,e,i){if(i===F)return xr(e,t);if(i===Lt)return Ha(e,t);if(i===gt)return qy(e,t)}function Yy(t,e,i,n){let r=e[dn].queries[n];if(r.matches===null){let o=t.data,s=i.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(QI(e,d,s[l+1],i.metadata.read))}}r.matches=a}return r.matches}function bu(t,e,i,n){let r=t.queries.getByIndex(i),o=r.matches;if(o!==null){let s=Yy(t,e,r,i);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)n.push(s[a/2]);else{let c=o[a+1],d=e[-l];for(let u=st;u<d.length;u++){let h=d[u];h[mo]===h[Be]&&bu(h[W],h,c,n)}if(d[hr]!==null){let u=d[hr];for(let h=0;h<u.length;h++){let f=u[h];bu(f[W],f,c,n)}}}}}return n}function ZI(t,e){return t[dn].queries[e].queryList}function Qy(t,e,i){let n=new pr((i&4)===4);return VC(t,e,n,n.destroy),(e[dn]??=new mu).queries.push(new hu(n))-1}function XI(t,e,i){let n=Ie();return n.firstCreatePass&&(Ky(n,new va(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),Qy(n,Q(),e)}function JI(t,e,i,n){let r=Ie();if(r.firstCreatePass){let o=We();Ky(r,new va(e,i,n),o.index),tS(r,t),(i&2)===2&&(r.staticContentQueries=!0)}return Qy(r,Q(),i)}function eS(t){return t.split(",").map(e=>e.trim())}function Ky(t,e,i){t.queries===null&&(t.queries=new pu),t.queries.track(new gu(e,i))}function tS(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function mf(t,e){return t.queries.getByIndex(e)}function nS(t,e){let i=t[W],n=mf(i,e);return n.crossesNgTemplate?bu(i,t,e,[]):Yy(i,t,n,e)}function Ua(t){return typeof t=="function"&&t[ss]!==void 0}function Zy(t){return Ua(t)&&typeof t.set=="function"}function iS(t){return Object.getPrototypeOf(t.prototype).constructor}function Ue(t){let e=iS(t.type),i=!0,n=[t];for(;e;){let r;if(Pn(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new E(903,!1);r=e.\u0275dir}if(r){if(i){n.push(r);let s=t;s.inputs=Ks(t.inputs),s.inputTransforms=Ks(t.inputTransforms),s.declaredInputs=Ks(t.declaredInputs),s.outputs=Ks(t.outputs);let a=r.hostBindings;a&&lS(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&sS(t,l),c&&aS(t,c),rS(t,r),Vw(t.outputs,r.outputs),Pn(r)&&r.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===Ue&&(i=!1)}}e=Object.getPrototypeOf(e)}oS(n)}function rS(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let r=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=e.inputTransforms[r]}}}function oS(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=to(r.hostAttrs,i=to(i,r.hostAttrs))}}function Ks(t){return t===cr?{}:t===ot?[]:t}function sS(t,e){let i=t.viewQuery;i?t.viewQuery=(n,r)=>{e(n,r),i(n,r)}:t.viewQuery=e}function aS(t,e){let i=t.contentQueries;i?t.contentQueries=(n,r,o)=>{e(n,r,o),i(n,r,o)}:t.contentQueries=e}function lS(t,e){let i=t.hostBindings;i?t.hostBindings=(n,r)=>{e(n,r),i(n,r)}:t.hostBindings=e}function Ye(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];Array.isArray(r)&&r[3]&&(i[n]=r[3])}t.inputTransforms=i}function cS(t,e,i=null){return new _a({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}function Xy(t){return uS(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function dS(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function uS(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Jt(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function fS(t,e,i,n){let r=Jt(t,e,i);return Jt(t,e+1,n)||r}function hS(t){return(t.flags&32)===32}function mS(t,e,i,n,r,o,s,a,l){let c=e.consts,d=Dr(e,t,4,s||null,mr(c,a));cf(e,i,d,mr(c,l)),Na(e,d);let u=d.tView=af(2,d,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function fe(t,e,i,n,r,o,s,a){let l=Q(),c=Ie(),d=t+mt,u=c.firstCreatePass?mS(d,c,l,e,i,n,r,o,s):c.data[d];_i(u,!1);let h=pS(c,l,u,t);Ra()&&La(c,l,h,u),Ln(h,l);let f=Fy(h,l,h,u);return l[d]=f,Ba(l,f),GI(f,u,l),Fa(u)&&of(c,l,u),s!=null&&sf(l,u,a),fe}function gS(t,e,i,n){return ka(!0),e[we].createComment("")}function De(t,e,i,n){let r=Q(),o=vr();if(Jt(r,o,e)){let s=Ie(),a=Oa();eI(a,r,t,e,i,n)}return De}function Jy(t,e,i,n){return Jt(t,vr(),i)?e+Xr(i)+n:en}function bS(t,e,i,n,r,o){let s=rE(),a=fS(t,s,i,r);return $u(2),a?e+Xr(i)+n+Xr(r)+o:en}function Zs(t,e){return t<<17|e<<2}function yi(t){return t>>17&32767}function yS(t){return(t&2)==2}function vS(t,e){return t&131071|e<<17}function yu(t){return t|2}function br(t){return(t&131068)>>2}function Id(t,e){return t&-131069|e<<2}function _S(t){return(t&1)===1}function vu(t){return t|1}function xS(t,e,i,n,r,o){let s=o?e.classBindings:e.styleBindings,a=yi(s),l=br(s);t[n]=i;let c=!1,d;if(Array.isArray(i)){let u=i;d=u[1],(d===null||ho(u,d)>0)&&(c=!0)}else d=i;if(r)if(l!==0){let h=yi(t[a+1]);t[n+1]=Zs(h,a),h!==0&&(t[h+1]=Id(t[h+1],n)),t[a+1]=vS(t[a+1],n)}else t[n+1]=Zs(a,0),a!==0&&(t[a+1]=Id(t[a+1],n)),a=n;else t[n+1]=Zs(l,0),a===0?a=n:t[l+1]=Id(t[l+1],n),l=n;c&&(t[n+1]=yu(t[n+1])),jg(t,d,n,!0),jg(t,d,n,!1),wS(e,d,t,n,o),s=Zs(a,l),o?e.classBindings=s:e.styleBindings=s}function wS(t,e,i,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&ho(o,e)>=0&&(i[n+1]=vu(i[n+1]))}function jg(t,e,i,n){let r=t[i+1],o=e===null,s=n?yi(r):br(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];DS(l,e)&&(a=!0,t[s+1]=n?vu(c):yu(c)),s=n?yi(c):br(c)}a&&(t[i+1]=n?yu(r):vu(r))}function DS(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?ho(t,e)>=0:!1}function ES(t){return t.substring(kt.key,kt.keyEnd)}function CS(t){return IS(t),ev(t,tv(t,0,kt.textEnd))}function ev(t,e){let i=kt.textEnd;return i===e?-1:(e=kt.keyEnd=SS(t,kt.key=e,i),tv(t,e,i))}function IS(t){kt.key=0,kt.keyEnd=0,kt.value=0,kt.valueEnd=0,kt.textEnd=t.length}function tv(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function SS(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function ne(t,e,i){let n=Q(),r=vr();if(Jt(n,r,e)){let o=Ie(),s=Oa();lf(o,s,n,t,e,n[we],i,!1)}return ne}function _u(t,e,i,n,r){let o=e.inputs,s=r?"class":"style";df(t,i,o[s],s,n)}function vn(t,e,i){return iv(t,e,i,!1),vn}function ue(t,e){return iv(t,e,null,!0),ue}function Er(t){rv(RS,nv,t,!0)}function nv(t,e){for(let i=CS(e);i>=0;i=ev(e,i))Ia(t,ES(e),!0)}function iv(t,e,i,n){let r=Q(),o=Ie(),s=$u(2);if(o.firstUpdatePass&&sv(o,t,s,n),e!==en&&Jt(r,s,e)){let a=o.data[Vn()];av(o,a,r,r[we],t,r[s+1]=NS(e,i),n,s)}}function rv(t,e,i,n){let r=Ie(),o=$u(2);r.firstUpdatePass&&sv(r,null,o,n);let s=Q();if(i!==en&&Jt(s,o,i)){let a=r.data[Vn()];if(lv(a,n)&&!ov(r,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=Fd(l,i||"")),_u(r,a,s,i,n)}else kS(r,a,s,s[we],s[o+1],s[o+1]=OS(t,e,i),n,o)}}function ov(t,e){return e>=t.expandoStartIndex}function sv(t,e,i,n){let r=t.data;if(r[i+1]===null){let o=r[Vn()],s=ov(t,i);lv(o,n)&&e===null&&!s&&(e=!1),e=AS(r,o,e,n),xS(r,o,e,i,s,n)}}function AS(t,e,i,n){let r=cE(t),o=n?e.residualClasses:e.residualStyles;if(r===null)(n?e.classBindings:e.styleBindings)===0&&(i=Sd(null,t,e,i,n),i=uo(i,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==r)if(i=Sd(r,t,e,i,n),o===null){let l=MS(t,e,n);l!==void 0&&Array.isArray(l)&&(l=Sd(null,t,e,l[1],n),l=uo(l,e.attrs,n),TS(t,e,n,l))}else o=FS(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),i}function MS(t,e,i){let n=i?e.classBindings:e.styleBindings;if(br(n)!==0)return t[yi(n)]}function TS(t,e,i,n){let r=i?e.classBindings:e.styleBindings;t[yi(r)]=n}function FS(t,e,i){let n,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;n=uo(n,s,i)}return uo(n,e.attrs,i)}function Sd(t,e,i,n,r){let o=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(o=e[a],n=uo(n,o.hostAttrs,r),o!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function uo(t,e,i){let n=i?1:2,r=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?r=s:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Ia(t,s,i?!0:e[++o]))}return t===void 0?null:t}function OS(t,e,i){if(i==null||i==="")return ot;let n=[],r=gn(i);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&e(n,r);return n}function RS(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&Ia(t,n,i)}function kS(t,e,i,n,r,o,s,a){r===en&&(r=ot);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;d!==null||u!==null;){let h=l<r.length?r[l+1]:void 0,f=c<o.length?o[c+1]:void 0,m=null,y;d===u?(l+=2,c+=2,h!==f&&(m=u,y=f)):u===null||d!==null&&d<u?(l+=2,m=d):(c+=2,m=u,y=f),m!==null&&av(t,e,i,n,m,y,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function av(t,e,i,n,r,o,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],d=_S(c)?Vg(l,e,i,r,br(c),s):void 0;if(!xa(d)){xa(o)||yS(c)&&(o=Vg(l,null,i,r,a,s));let u=Eb(Vn(),i);FC(n,s,u,r,o)}}function Vg(t,e,i,n,r,o){let s=e===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,h=i[r+1];h===en&&(h=u?ot:void 0);let f=u?bd(h,n):d===n?h:void 0;if(c&&!xa(f)&&(f=bd(l,n)),xa(f)&&(a=f,s))return a;let m=t[r+1];r=s?yi(m):br(m)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=bd(l,n))}return a}function xa(t){return t!==void 0}function NS(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ht(gn(t)))),t}function lv(t,e){return(t.flags&(e?8:16))!==0}function cv(t,e,i){let n=Q(),r=Jy(n,t,e,i);rv(Ia,nv,r,!0)}function Se(t,e,i){Di("NgControlFlow");let n=Q(),r=vr(),o=PS(n,mt+t),s=0;if(Jt(n,r,e)){let a=ee(null);try{if(lI(o,s),e!==-1){let l=LS(n[W],mt+e),c=su(o,l.tView.ssrId),d=Ly(n,l,i,{dehydratedView:c});jy(o,d,s,ru(l,c))}}finally{ee(a)}}else{let a=aI(o,s);a!==void 0&&(a[wt]=i)}}function PS(t,e){return t[e]}function LS(t,e){return Vu(t,e)}function jS(t,e,i,n,r,o){let s=e.consts,a=mr(s,r),l=Dr(e,t,2,n,a);return cf(e,i,l,mr(s,o)),l.attrs!==null&&ba(l,l.attrs,!1),l.mergedAttrs!==null&&ba(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function N(t,e,i,n){let r=Q(),o=Ie(),s=mt+t,a=r[we],l=o.firstCreatePass?jS(s,o,r,e,i,n):o.data[s],c=VS(o,r,l,a,e,t);r[s]=c;let d=Fa(l);return _i(l,!0),wy(a,c,l),!hS(l)&&Ra()&&La(o,r,c,l),ZD()===0&&Ln(c,r),XD(),d&&(of(o,r,l),rf(o,l,r)),n!==null&&sf(r,l),N}function U(){let t=We();Uu()?zu():(t=t.parent,_i(t,!1));let e=t;eE(e)&&tE(),JD();let i=Ie();return i.firstCreatePass&&(Na(i,t),ju(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&bE(e)&&_u(i,e,Q(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&yE(e)&&_u(i,e,Q(),e.stylesWithoutHost,!1),U}function pe(t,e,i,n){return N(t,e,i,n),U(),pe}function BS(t,e,i,n,r){let o=e.consts,s=mr(o,n),a=Dr(e,t,8,"ng-container",s);s!==null&&ba(a,s,!0);let l=mr(o,r);return cf(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function dv(t,e,i){let n=Q(),r=Ie(),o=t+mt,s=r.firstCreatePass?BS(o,r,n,e,i):r.data[o];_i(s,!0);let a=HS(r,n,s,t);return n[o]=a,Ra()&&La(r,n,a,s),Ln(a,n),Fa(s)&&(of(r,n,s),rf(r,s,n)),i!=null&&sf(n,s),dv}function uv(){let t=We(),e=Ie();return Uu()?zu():(t=t.parent,_i(t,!1)),e.firstCreatePass&&(Na(e,t),ju(t)&&e.queries.elementEnd(t)),uv}function vo(t,e,i){return dv(t,e,i),uv(),vo}function Ei(){return Q()}function _o(t,e,i){let n=Q(),r=vr();if(Jt(n,r,e)){let o=Ie(),s=Oa();lf(o,s,n,t,e,n[we],i,!0)}return _o}function zS(t){typeof t=="string"&&(US=t.toLowerCase().replace(/_/g,"-"))}function Oe(t,e,i,n){let r=Q(),o=Ie(),s=We();return fv(o,r,r[we],s,t,e,n),Oe}function $S(t,e,i,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===i&&r[o+1]===n){let a=e[ro],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function fv(t,e,i,n,r,o,s){let a=Fa(n),c=t.firstCreatePass&&ky(t),d=e[wt],u=Ry(e),h=!0;if(n.type&3||s){let y=Dt(n,e),w=s?s(y):y,_=u.length,H=s?$=>s(Xt($[n.index])):n.index,X=null;if(!s&&a&&(X=$S(t,e,r,n.index)),X!==null){let $=X.__ngLastListenerFn__||X;$.__ngNextListenerFn__=o,X.__ngLastListenerFn__=o,h=!1}else{o=Hg(n,e,d,o,!1);let $=i.listen(w,r,o);u.push(o,$),c&&c.push(r,H,_,_+1)}}else o=Hg(n,e,d,o,!1);let f=n.outputs,m;if(h&&f!==null&&(m=f[r])){let y=m.length;if(y)for(let w=0;w<y;w+=2){let _=m[w],H=m[w+1],Ve=e[_][H].subscribe(o),ve=u.length;u.push(o,Ve),c&&c.push(r,n.index,ve,-(ve+1))}}}function Bg(t,e,i,n){let r=ee(null);try{return qt(6,e,i),i(n)!==!1}catch(o){return Ny(t,o),!1}finally{qt(7,e,i),ee(r)}}function Hg(t,e,i,n,r){return function o(s){if(s===Function)return n;let a=t.componentOffset>-1?jn(t.index,e):e;ff(a);let l=Bg(e,i,n,s),c=o.__ngNextListenerFn__;for(;c;)l=Bg(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return r&&l===!1&&s.preventDefault(),l}}function ge(t=1){return uE(t)}function GS(t,e){let i=null,n=mD(t);for(let r=0;r<e.length;r++){let o=e[r];if(o==="*"){i=r;continue}if(n===null?sb(t,o,!0):bD(n,o))return r}return i}function Et(t){let e=Q()[Pt][pt];if(!e.projection){let i=t?t.length:1,n=e.projection=oD(i,null),r=n.slice(),o=e.child;for(;o!==null;){let s=t?GS(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:n[s]=o,r[s]=o),o=o.next}}}function Ee(t,e=0,i){let n=Q(),r=Ie(),o=Dr(r,mt+t,16,null,i||null);o.projection===null&&(o.projection=e),zu(),(!n[io]||Ab())&&(o.flags&32)!==32&&MC(r,n,o)}function Ct(t,e,i,n){JI(t,e,i,n)}function Re(t,e,i){XI(t,e,i)}function ce(t){let e=Q(),i=Ie(),n=Tb();Gu(n+1);let r=mf(i,n);if(t.dirty&&WD(e)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=nS(e,n);t.reset(o,OE),t.notifyOnChanges()}return!0}return!1}function de(){return ZI(Q(),Tb())}function Ci(t){let e=iE();return GD(e,mt+t)}function ct(t,e=""){let i=Q(),n=Ie(),r=t+mt,o=n.firstCreatePass?Dr(n,r,1,e,null):n.data[r],s=WS(n,i,o,e,t);i[r]=s,Ra()&&La(n,i,s,o),_i(o,!1)}function tn(t){return Ii("",t,""),tn}function Ii(t,e,i){let n=Q(),r=Jy(n,t,e,i);return r!==en&&Py(n,Vn(),r),Ii}function pf(t,e,i,n,r){let o=Q(),s=bS(o,t,e,i,n,r);return s!==en&&Py(o,Vn(),s),pf}function za(t,e,i){Zy(e)&&(e=e());let n=Q(),r=vr();if(Jt(n,r,e)){let o=Ie(),s=Oa();lf(o,s,n,t,e,n[we],i,!1)}return za}function gf(t,e){let i=Zy(t);return i&&t.set(e),i}function $a(t,e){let i=Q(),n=Ie(),r=We();return fv(n,i,i[we],r,t,e),$a}function qS(t,e,i){let n=Ie();if(n.firstCreatePass){let r=Pn(t);xu(i,n.data,n.blueprint,r,!0),xu(e,n.data,n.blueprint,r,!1)}}function xu(t,e,i,n,r){if(t=Xe(t),Array.isArray(t))for(let o=0;o<t.length;o++)xu(t[o],e,i,n,r);else{let o=Ie(),s=Q(),a=We(),l=ur(t)?t:Xe(t.provide),c=mb(t),d=a.providerIndexes&1048575,u=a.directiveStart,h=a.providerIndexes>>20;if(ur(t)||!t.multi){let f=new mi(c,r,b),m=Md(l,e,r?d:d+h,u);m===-1?(Ud(fa(a,s),o,l),Ad(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(f),s.push(f)):(i[m]=f,s[m]=f)}else{let f=Md(l,e,d+h,u),m=Md(l,e,d,d+h),y=f>=0&&i[f],w=m>=0&&i[m];if(r&&!w||!r&&!y){Ud(fa(a,s),o,l);let _=KS(r?QS:YS,i.length,r,n,c);!r&&w&&(i[m].providerFactory=_),Ad(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(_),s.push(_)}else{let _=hv(i[r?m:f],c,!r&&n);Ad(o,t,f>-1?f:m,_)}!r&&n&&w&&i[m].componentProviders++}}}function Ad(t,e,i,n){let r=ur(e),o=MD(e);if(r||o){let l=(o?Xe(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let d=c.indexOf(i);d===-1?c.push(i,[n,l]):c[d+1].push(n,l)}else c.push(i,l)}}}function hv(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Md(t,e,i,n){for(let r=i;r<n;r++)if(e[r]===t)return r;return-1}function YS(t,e,i,n){return wu(this.multi,[])}function QS(t,e,i,n){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=pi(i,i[W],this.providerFactory.index,n);o=a.slice(0,s),wu(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],wu(r,o);return o}function wu(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function KS(t,e,i,n,r){let o=new mi(t,i,b);return o.multi=[],o.index=e,o.componentProviders=0,hv(o,r,n&&!i),o}function et(t,e=[]){return i=>{i.providersResolver=(n,r)=>qS(n,r?r(t):t,e)}}function Ae(t){Di("NgStandalone"),t.getStandaloneInjector=e=>e.get(ZS).getOrCreateStandaloneInjector(t)}function Ga(t,e){return Ha(t,e)}function xo(t){return!!t&&typeof t.then=="function"}function pv(t){return!!t&&typeof t.subscribe=="function"}function JS(){Um(()=>{throw new E(600,!1)})}function eA(t){return t.isBoundToModule}function tA(t,e,i){try{let n=i();return xo(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Td(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function nA(t,e,i){!e&&!Du(t)||iA(t,i,e)}function Du(t){return Hu(t)}function iA(t,e,i){let n;i?(n=0,t[L]|=1024):t[L]&64?n=0:n=1,Hy(t,e,n)}function oA(t){return[{provide:S,useFactory:t},{provide:eo,multi:!0,useFactory:()=>{let e=C(rA,{optional:!0});return()=>e.initialize()}},{provide:eo,multi:!0,useFactory:()=>{let e=C(cA);return()=>{e.initialize()}}},{provide:Yb,useFactory:sA}]}function sA(){let t=C(S),e=C(at);return i=>t.runOutsideAngular(()=>e.handleError(i))}function aA(t){let e=oA(()=>new S(lA(t)));return Sa([[],e])}function lA(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function dA(){return typeof $localize<"u"&&$localize.locale||wa}function uA(t=[],e){return Bt.create({name:e,providers:[{provide:Aa,useValue:"platform"},{provide:bv,useValue:new Set([()=>ra=null])},...t]})}function fA(t=[]){if(ra)return ra;let e=uA(t);return ra=e,JS(),hA(e),e}function hA(t){t.get(Ku,null)?.forEach(i=>i())}function mA(t){return pA(We(),Q(),(t&16)===16)}function pA(t,e,i){if(Ta(t)&&!i){let n=jn(t.index,e);return new gi(n,n)}else if(t.type&47){let n=e[Pt];return new gi(n,e)}return null}function Ug(t,e,i){let n=t.previousIndex;if(n===null)return n;let r=0;return i&&n<i.length&&(r=i[n]),n+e+r}function zg(){return new Ya([new Eu])}function bf(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,r=fA(n),o=[aA(),...i||[]],a=new _a({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(S);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(at,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:f=>{c.handleError(f)}})});let u=()=>a.destroy(),h=r.get(bv);return h.add(u),a.onDestroy(()=>{d.unsubscribe(),h.delete(u)}),tA(c,l,()=>{let f=a.get(gv);return f.runInitializers(),f.donePromise.then(()=>{let m=a.get(qa,wa);zS(m||wa);let y=a.get(Hn);return e!==void 0&&y.bootstrap(e),y})})})}catch(e){return Promise.reject(e)}}function he(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function _n(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function yf(t,e){Di("NgSignals"),!e?.injector&&PD(yf);let i=e?.injector??C(Bt),n=e?.manualCleanup!==!0?i.get(Qu):null,r=new Mu(i.get(bA),t,typeof Zone>"u"?null:Zone.current,n,i,e?.allowSignalWrites??!1),o=i.get(Qe,null,{optional:!0});return!o||!(o._lView[L]&8)?r.watcher.notify():(o._lView[Js]??=[]).push(r.watcher.notify),r}var $g,E,qs,li,Bw,qg,cg,Yg,Uw,D,zw,$w,Gw,oa,Zr,dg,K,Od,Yw,Jr,Rd,sa,Qw,Kw,Zw,ug,sr,Ou,Jg,cr,ot,eo,tb,nb,la,ib,Qt,v,ob,ID,Aa,Xs,TD,yd,Kt,no,mn,W,L,Be,Nt,pt,io,ro,wt,fr,Zt,we,oo,gg,yr,Pt,mo,rr,dn,Ma,bb,Nn,Js,ui,mt,yb,fi,ca,hr,st,Lu,so,xb,bg,qt,Db,UD,zD,q,Nb,Lb,ar,mi,Hd,_E,Bb,Hb,xE,Yt,di,Bt,ME,at,Yb,Qu,$d,F,Gd,se,pr,Kb,kE,Dg,Wd,go,VE,Ku,qe,He,wi,BE,HE,UE,ty,zE,Ys,un,qd,Yd,Qd,Kd,Zd,Xd,Jd,YE,ay,ly,cy,QE,KE,ZE,Eg,dy,XE,JE,eC,tC,eu,oC,sC,Qs,lt,lC,cC,dC,fn,fC,SC,Mg,en,jC,Vy,hI,By,gi,Lt,vI,_I,a2,wI,co,au,ga,EI,lu,yn,bi,Bn,II,Ed,Og,S,AI,Gy,du,uu,ya,fu,gt,HI,Wy,zI,$I,hu,mu,va,pu,gu,gr,_a,yo,pS,kt,VS,HS,wa,US,WS,ZS,hn,mv,XS,gv,Wa,Hn,rA,cA,qa,bv,ra,Qe,Eu,gA,Cu,Iu,Su,Da,Ya,bA,yA,Au,Mu,A=g(()=>{"use strict";$m();je();Ze();$g="https://g.co/ng/security#xss",E=class extends Error{constructor(e,i){super(Ea(e,i)),this.code=e}};qs="__parameters__";li=globalThis;Bw=me({__forward_ref__:me});qg=me({\u0275prov:me}),cg=me({\u0275inj:me}),Yg=me({ngInjectableDef:me}),Uw=me({ngInjectorDef:me}),D=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=x({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};zw=me({\u0275cmp:me}),$w=me({\u0275dir:me}),Gw=me({\u0275pipe:me}),oa=me({\u0275fac:me}),Zr=me({__NG_ELEMENT_ID__:me}),dg=me({__NG_ENV_ID__:me});K=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(K||{});Yw={},Jr=Yw,Rd="__NG_DI_FLAG__",sa="ngTempTokenPath",Qw="ngTokenPath",Kw=/\n/gm,Zw="\u0275",ug="__source";Ou=Xg(Gg("Optional"),8),Jg=Xg(Gg("SkipSelf"),4);cr={},ot=[],eo=new D(""),tb=new D("",-1),nb=new D(""),la=class{get(e,i=Jr){if(i===Jr){let n=new Error(`NullInjectorError: No provider for ${ht(e)}!`);throw n.name="NullInjectorError",n}return i}},ib=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(ib||{}),Qt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Qt||{}),v=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(v||{});ob="ng-template";ID=me({provide:String,useValue:me});Aa=new D(""),Xs={},TD={};Kt=class{},no=class extends Kt{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,jd(e,s=>this.processProvider(s)),this.records.set(tb,ir(void 0,this)),r.has("environment")&&this.records.set(Kt,ir(void 0,this));let o=this.records.get(Aa);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(nb,ot,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=ee(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ee(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=kn(this),n=xt(void 0),r;try{return e()}finally{kn(i),xt(n)}}get(e,i=Jr,n=K.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(dg))return e[dg](this);n=Ca(n);let r,o=kn(this),s=xt(void 0);try{if(!(n&K.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=ND(e)&&Tu(e);c&&this.injectableDefInScope(c)?l=ir(Ld(e),Xs):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&K.Self?Pu():this.parent;return i=n&K.Optional&&i===Jr?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[sa]=a[sa]||[]).unshift(ht(e)),o)throw a;return tD(a,e,"R3InjectorError",this.source)}else throw a}finally{xt(s),kn(o)}}resolveInjectorInitializers(){let e=ee(null),i=kn(this),n=xt(void 0),r;try{let o=this.get(eo,ot,K.Self);for(let s of o)s()}finally{kn(i),xt(n),ee(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(ht(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(e){e=Xe(e);let i=ur(e)?e:Xe(e&&e.provide),n=OD(e);if(!ur(e)&&e.multi===!0){let r=this.records.get(i);r||(r=ir(void 0,Xs,!0),r.factory=()=>kd(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=ee(null);try{return i.value===Xs&&(i.value=TD,i.value=i.factory()),typeof i.value=="object"&&i.value&&kD(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{ee(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=Xe(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};mn=0,W=1,L=2,Be=3,Nt=4,pt=5,io=6,ro=7,wt=8,fr=9,Zt=10,we=11,oo=12,gg=13,yr=14,Pt=15,mo=16,rr=17,dn=18,Ma=19,bb=20,Nn=21,Js=22,ui=23,mt=25,yb=1,fi=7,ca=8,hr=9,st=10,Lu=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Lu||{});so=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};Je.ngInherit=!0;xb="__ngSimpleChanges__";bg=null,qt=function(t,e,i){bg?.(t,e,i)},Db="svg",UD="math",zD=!1;q={lFrame:Rb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};Nb=kb;Lb=!0;ar=-1,mi=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};Hd=!0;_E=256,Bb=_E-1,Hb=5,xE=0,Yt={};di=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return Gb(this._tNode,this._lView,e,Ca(n),i)}};Bt=(()=>{let e=class e{static create(n,r){if(Array.isArray(n))return wg({name:""},r,n,"");{let o=n.name??"";return wg({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=Jr,e.NULL=new la,e.\u0275prov=x({token:e,providedIn:"any",factory:()=>p(tb)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();ME="ngOriginalError";at=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&xd(e);for(;i&&xd(i);)i=xd(i);return i||null}},Yb=new D("",{providedIn:"root",factory:()=>C(at).handleError.bind(void 0)}),Qu=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=TE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),$d=class extends Qu{constructor(e){super(),this._lView=e}onDestroy(e){return Ib(this._lView,e),()=>KD(this._lView,e)}};F=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=FE;let t=e;return t})();Gd=class extends R{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,gb()&&(this.destroyRef=C(Qu,{optional:!0})??void 0)}emit(e){let i=ee(null);try{super.next(e)}finally{ee(i)}}subscribe(e,i,n){let r=e,o=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=wd(o),r&&(r=wd(r)),s&&(s=wd(s)));let a=super.subscribe({next:r,error:o,complete:s});return e instanceof oe&&e.add(a),a}};se=Gd;pr=class t{get changes(){return this._changes??=new se}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=RE)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=rD(e);(this._changesDetected=!iD(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};Kb=new Map,kE=0;Dg="__ngContext__";go=new D("",{providedIn:"root",factory:()=>VE}),VE="ng",Ku=new D(""),qe=new D("",{providedIn:"platform",factory:()=>"unknown"}),He=new D(""),wi=new D("",{providedIn:"root",factory:()=>jE().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),BE="h",HE="b",UE=()=>null;ty=!1,zE=new D("",{providedIn:"root",factory:()=>ty});un=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$g})`}},qd=class extends un{getTypeName(){return"HTML"}},Yd=class extends un{getTypeName(){return"Style"}},Qd=class extends un{getTypeName(){return"Script"}},Kd=class extends un{getTypeName(){return"URL"}},Zd=class extends un{getTypeName(){return"ResourceURL"}};Xd=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(Pa(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):(i.removeChild(i.firstChild),i)}catch{return null}}},Jd=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let i=this.inertDocument.createElement("template");return i.innerHTML=Pa(e),i}};YE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;ay=bn("area,br,col,hr,img,wbr"),ly=bn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cy=bn("rp,rt"),QE=bo(cy,ly),KE=bo(ly,bn("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")),ZE=bo(cy,bn("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")),Eg=bo(ay,KE,ZE,QE),dy=bn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),XE=bn("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"),JE=bn("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"),eC=bo(dy,XE,JE),tC=bn("script,style,template"),eu=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let i=e.firstChild,n=!0,r=[];for(;i;){if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild){r.push(i),i=rC(i);continue}for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let o=iC(i);if(o){i=o;break}i=r.pop()}}return this.buf.join("")}startElement(e){let i=Cg(e).toLowerCase();if(!Eg.hasOwnProperty(i))return this.sanitizedSomething=!0,!tC.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);let n=e.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),s=o.name,a=s.toLowerCase();if(!eC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;dy[a]&&(l=Xu(l)),this.buf.push(" ",s,'="',Ig(l),'"')}return this.buf.push(">"),!0}endElement(e){let i=Cg(e).toLowerCase();Eg.hasOwnProperty(i)&&!ay.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(e){this.buf.push(Ig(e))}};oC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sC=/([^\#-~ |!])/g;lt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(lt||{}),lC=/^>|^->|<!--|-->|--!>|<!-$/g,cC=/(<|>)/g,dC="\u200B$1\u200B";fn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(fn||{});SC=IC;en={};jC=()=>null;Vy=[];hI=Pe(M({},Sc),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{ao(t.lView)},consumerOnSignalRead(){this.lView[ui]=this}}),By=100;gi=class{get rootNodes(){let e=this._lView,i=e[W];return pa(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[wt]}set context(e){this._lView[wt]=e}get destroyed(){return(this._lView[L]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Be];if(pn(e)){let i=e[ca],n=i?i.indexOf(this):-1;n>-1&&(ha(e,n),aa(i,n))}this._attachedToViewContainer=!1}ef(this._lView[W],this._lView)}onDestroy(e){Ib(this._lView,e)}markForCheck(){ff(this._cdRefInjectingView||this._lView)}detach(){this._lView[L]&=-129}reattach(){Vd(this._lView),this._lView[L]|=128}detectChanges(){this._lView[L]|=1024,Hy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,my(this._lView[W],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=e,Vd(this._lView)}},Lt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=xI;let t=e;return t})(),vI=Lt,_I=class extends vI{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let r=Ly(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new gi(r)}};a2=new RegExp(`^(\\d+)*(${HE}|${BE})*(.*)`),wI=()=>null;co=class{},au=class{},ga=class{};EI="ngComponent",lu=class{resolveComponentFactory(e){throw DI(e)}},yn=(()=>{let e=class e{};e.NULL=new lu;let t=e;return t})(),bi=class{},Bn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>CI();let t=e;return t})();II=(()=>{let e=class e{};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Ed={},Og=new Set;S=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new se(!1),this.onMicrotaskEmpty=new se(!1),this.onStable=new se(!1),this.onError=new se(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=SI().nativeRequestAnimationFrame,TI(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new E(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,AI,Rg,Rg);try{return o.runTask(s,i,n)}finally{o.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},AI={};Gy=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();du=class extends yn{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=dr(e);return new ya(i,this.ngModule)}};uu=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=Ca(n);let r=this.injector.get(e,Ed,n);return r!==Ed||i===Ed?r:this.parentInjector.get(e,i,n)}},ya=class extends ga{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=Pg(e.inputs);if(i!==null)for(let r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return Pg(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=vD(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=ee(null);try{r=r||this.ngModule;let s=r instanceof Kt?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new uu(e,s):e,l=a.get(bi,null);if(l===null)throw new E(407,!1);let c=a.get(II,null),d=a.get(Gy,null),u=a.get(co,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:d,changeDetectionScheduler:u},f=l.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",y=n?PC(f,n,this.componentDef.encapsulation,a):hy(f,m,OI(m)),w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let _=null;y!==null&&(_=Zu(y,a,!0));let H=af(0,null,null,1,0,null,null,null,null,null,null),X=Va(null,H,null,w,null,null,h,f,a,null,_);Wu(X);let $,Ve;try{let ve=this.componentDef,_e,ke=null;ve.findHostDirectiveDefs?(_e=[],ke=new Map,ve.findHostDirectiveDefs(ve,_e,ke),_e.push(ve)):_e=[ve];let an=RI(X,y),Tn=kI(an,y,ve,_e,X,h,f);Ve=Vu(H,mt),y&&LI(f,ve,y,n),i!==void 0&&jI(Ve,this.ngContentSelectors,i),$=PI(Tn,ve,_e,ke,X,[VI]),uf(H,X,null)}finally{qu()}return new fu(this.componentType,$,xr(Ve,X),X,Ve)}finally{ee(o)}}},fu=class extends au{constructor(e,i,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new gi(r,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,r;if(n!==null&&(r=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let o=this._rootLView;df(o[W],o,r,e,i),this.previousInputValues.set(e,i);let s=jn(this._tNode.index,o);ff(s)}}get injector(){return new di(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};gt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=BI;let t=e;return t})();HI=gt,Wy=class extends HI{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return xr(this._hostTNode,this._hostLView)}get injector(){return new di(this._hostTNode,this._hostLView)}get parentInjector(){let e=Yu(this._hostTNode,this._hostLView);if(Vb(e)){let i=ua(e,this._hostLView),n=da(e),r=i[W].data[n+8];return new di(r,i)}else return new di(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=Lg(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-st}createEmbeddedView(e,i,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let s=su(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},o,s);return this.insertImpl(a,r,ru(this._hostTNode,s)),a}createComponent(e,i,n,r,o){let s=e&&!LD(e),a;if(s)a=i;else{let m=i||{};a=m.index,n=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}let l=s?e:new ya(dr(e)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let y=(s?c:this.parentInjector).get(Kt,null);y&&(o=y)}let d=dr(l.componentType??{}),u=su(this._lContainer,d?.id??null),h=u?.firstChild??null,f=l.create(c,r,h,o);return this.insertImpl(f.hostView,a,ru(this._hostTNode,u)),f}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let r=e._lView;if(qD(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=r[Be],c=new Wy(l,l[pt],l[Be]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(i),s=this._lContainer;return jy(s,r,o,n),e.attachToViewContainerRef(),eb(Cd(s),o,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=Lg(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=ha(this._lContainer,i);n&&(aa(Cd(this._lContainer),i),ef(n[W],n))}detach(e){let i=this._adjustIndex(e,-1),n=ha(this._lContainer,i);return n&&aa(Cd(this._lContainer),i)!=null?new gi(n):null}_adjustIndex(e,i=0){return e??this.length+i}};zI=WI,$I=()=>!1;hu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},mu=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,r=[];for(let o=0;o<n;o++){let s=i.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)mf(e,i).matches!==null&&this.queries[i].setDirty()}},va=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=eS(e):this.predicate=e}},pu=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let r=i!==null?i.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,i!==null?i.push(o):i=[o])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},gu=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(e,i,qI(i,o)),this.matchTNodeWithReadOption(e,i,na(i,e,o,!1,!1))}else n===Lt?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,na(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===F||r===gt||r===Lt&&i.type&4)this.addMatch(i.index,-2);else{let o=na(i,e,r,!1,!1);o!==null&&this.addMatch(i.index,o)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};gr=class{},_a=class extends gr{constructor(e){super(),this.componentFactoryResolver=new du(this),this.instance=null;let i=new no([...e.providers,{provide:gr,useValue:this},{provide:yn,useValue:this.componentFactoryResolver}],e.parent||Pu(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};yo=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new cn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();pS=gS;kt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};VS=(t,e,i,n,r,o)=>(ka(!0),hy(n,r,hE()));HS=(t,e,i,n)=>(ka(!0),pC(e[we],""));wa="en-US",US=wa;WS=(t,e,i,n,r)=>(ka(!0),hC(e[we],n));ZS=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ub(!1,n.type),o=r.length>0?cS([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(p(Kt))});let t=e;return t})();hn=class{constructor(e){this.full=e;let i=e.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}},mv=new D("");XS=new D(""),gv=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=C(XS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(xo(s))n.push(s);else if(pv(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wa=new D("");Hn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(Yb),this.afterRenderEffectManager=C(Gy),this.externalTestViews=new Set,this.beforeRender=new R,this.afterTick=new R,this.componentTypes=[],this.components=[],this.isStable=C(yo).hasPendingTasks.pipe(ie(n=>!n)),this._injector=C(Kt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ga;if(!this._injector.get(gv).done){let f=!o&&DD(n),m=!1;throw new E(405,m)}let a;o?a=n:a=this._injector.get(yn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=eA(a)?void 0:this._injector.get(gr),c=r||a.selector,d=a.create(Bt.NULL,[],c,l),u=d.location.nativeElement,h=d.injector.get(mv,null);return h?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),Td(this.components,d),h?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new E(101,!1);let r=ee(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,ee(r)}}detectChangesInAttachedViews(n){let r=0,o=this.afterRenderEffectManager;for(;;){if(r===By)throw new E(103,!1);if(n){let s=r===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)nA(a,s,l)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Du(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Du(s))))break}}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Td(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(Wa,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Td(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();rA=(()=>{let e=class e{constructor(){this.zone=C(S),this.applicationRef=C(Hn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();cA=(()=>{let e=class e{constructor(){this.subscription=new oe,this.initialized=!1,this.zone=C(S),this.pendingTasks=C(yo)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{S.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{S.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();qa=new D("",{providedIn:"root",factory:()=>C(qa,K.Optional|K.SkipSelf)||dA()}),bv=new D(""),ra=null;Qe=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mA;let t=e;return t})();Eu=class{constructor(){}supports(e){return Xy(e)}create(e){return new Cu(e)}},gA=(t,e)=>e,Cu=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||gA}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){let s=!n||i&&i.currentIndex<Ug(n,r,o)?i:n,a=Ug(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let h=0;h<c;h++){let f=h<o.length?o[h]:o[h]=0,m=f+h;d<=m&&m<c&&(o[h]=f+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!Xy(e))throw new E(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,r,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,o,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,o,s,a)),Object.is(i.item,o)||this._addIdentityChange(i,o)),i=i._next}else r=0,dS(e,a=>{s=this._trackByFn(r,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,r),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,r)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new Iu(i,n),o,r)),e}_verifyReinsertion(e,i,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let r=i===null?this._itHead:i._next;return e._next=r,e._prev=i,r===null?this._itTail=e:r._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new Da),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Da),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Iu=class{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Su=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},Da=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new Su,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,r=this.map.get(n);return r?r.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};Ya=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||zg()),deps:[[e,new Jg,new Ou]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new E(901,!1)}};e.\u0275prov=x({token:e,providedIn:"root",factory:zg});let t=e;return t})();bA=new D("",{providedIn:"root",factory:()=>C(yA)}),yA=(()=>{let e=class e{};e.\u0275prov=x({token:e,providedIn:"root",factory:()=>new Au});let t=e;return t})(),Au=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=C(yo),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}enqueue(e){let i=e.creationZone;this.queues.has(i)||this.queues.set(i,new Set);let n=this.queues.get(i);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,i]of this.queues)e===null?this.flushQueue(i):e.run(()=>this.flushQueue(i))}flushQueue(e){for(let i of e)e.delete(i),this.queuedEffectCount--,i.run()}},Mu=class{constructor(e,i,n,r,o,s){this.scheduler=e,this.effectFn=i,this.creationZone=n,this.injector=o,this.watcher=zm(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(i){this.injector.get(at,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}});function xn(){return Dv}function Ev(t){Dv??=t}function Iv(t,e){if(t.length==0)return e;if(e.length==0)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?t+e.substring(1):i==1?t+e:t+"/"+e}function yv(t){let e=t.match(/#|\?|$/),i=e&&e.index||t.length,n=i-(t[i-1]==="/"?1:0);return t.slice(0,n)+t.slice(i)}function Si(t){return t&&t[0]!=="?"?"?"+t:t}function DA(){return new Df(p(wf))}function EA(t,e){if(!t||!e.startsWith(t))return e;let i=e.substring(t.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function vv(t){return t.replace(/\/index.html$/,"")}function CA(t){if(new RegExp("^(https?:)?//").test(t)){let[,i]=t.split(/\/\/[^\/]+/);return i}return t}function Ka(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[r,o]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}function xv(t,e){t.context.$implicit=e.item}function wv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ht(e)}'.`)}function wn(t){return t===Ef}function Dn(t){return t===IA}var Dv,Qa,j,Cv,_A,wf,xA,wA,Df,vf,_v,Un,_f,Sv,Av,xf,Za,It,Ef,IA,Cr,be=g(()=>{"use strict";A();A();Dv=null;Qa=class{},j=new D(""),Cv=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:()=>C(_A),providedIn:"platform"});let t=e;return t})(),_A=(()=>{let e=class e extends Cv{constructor(){super(),this._doc=C(j),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xn().getBaseHref(this._doc)}onPopState(n){let r=xn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=xn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();wf=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:()=>C(wA),providedIn:"root"});let t=e;return t})(),xA=new D(""),wA=(()=>{let e=class e extends wf{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??C(j).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Iv(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Si(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+Si(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+Si(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(p(Cv),p(xA,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Df=(()=>{let e=class e{constructor(n){this._subject=new se,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=CA(yv(vv(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Si(r))}normalize(n){return e.stripTrailingSlash(EA(this._basePath,vv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Si(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Si(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}};e.normalizeQueryParams=Si,e.joinWithSlash=Iv,e.stripTrailingSlash=yv,e.\u0275fac=function(r){return new(r||e)(p(wf))},e.\u0275prov=x({token:e,factory:()=>DA(),providedIn:"root"});let t=e;return t})();vf=/\s+/,_v=[],Un=(()=>{let e=class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=_v,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(vf):_v}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(vf):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(vf).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(b(F),b(Bn))},e.\u0275dir=Y({type:e,selectors:[["","ngClass",""]],inputs:{klass:[v.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),_f=class{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Sv=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new _f(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)r.remove(s===null?void 0:s);else if(s!==null){let l=r.get(s);r.move(l,a),xv(l,o)}});for(let o=0,s=r.length;o<s;o++){let l=r.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);xv(s,o)})}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(b(gt),b(Lt),b(Ya))},e.\u0275dir=Y({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();Av=(()=>{let e=class e{constructor(n,r){this._viewContainer=n,this._context=new xf,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){wv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){wv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(b(gt),b(Lt))},e.\u0275dir=Y({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),xf=class{constructor(){this.$implicit=null,this.ngIf=null}};Za=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}};e.\u0275fac=function(r){return new(r||e)(b(gt))},e.\u0275dir=Y({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Je]});let t=e;return t})(),It=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({});let t=e;return t})(),Ef="browser",IA="server";Cr=class{}});function MA(t,e){let i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(s)||[];l.push(a),i.set(s,l)}),i}function Mv(t){return encodeURIComponent(t).replace(TA,(e,i)=>FA[i]??e)}function Ja(t){return`${t}`}function OA(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Tv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Fv(t){return typeof Blob<"u"&&t instanceof Blob}function Ov(t){return typeof FormData<"u"&&t instanceof FormData}function RA(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function Cf(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}function kA(t,e){return e(t)}function NA(t,e,i){return(n,r)=>pb(i,()=>e(n,o=>t(o,r)))}function VA(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function GA(t,e){let i=t.url.toLowerCase();if(!C(Pv)||t.method==="GET"||t.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(t);let n=C(rl).getToken(),r=C(zA);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}function Lv(...t){let e=[Co,kv,Rv,{provide:Do,useExisting:Rv},{provide:el,useExisting:kv},{provide:Nv,useValue:GA,multi:!0},{provide:Pv,useValue:!0},{provide:rl,useClass:$A}];for(let i of t)e.push(...i.\u0275providers);return Sa(e)}var Do,el,Ai,If,TA,FA,zn,Sf,wo,Ir,Eo,Af,tl,nl,il,Co,Nv,PA,LA,Rv,jA,kv,Pv,BA,HA,UA,zA,rl,$A,ol=g(()=>{"use strict";A();A();je();Ze();be();be();Do=class{},el=class{},Ai=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8
+ `).forEach(i=>{let n=i.indexOf(":");if(n>0){let r=i.slice(0,n),o=r.toLowerCase(),s=i.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new t;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":let o=e.value;if(!o)this.headers.delete(i),this.normalizedNames.delete(i);else{let s=this.headers.get(i);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}},If=class{encodeKey(e){return Mv(e)}encodeValue(e){return Mv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};TA=/%(\d[a-f0-9])/gi,FA={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};zn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new If,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=MA(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],r=Array.isArray(n)?n.map(Ja):[Ja(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new t({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(Ja(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(Ja(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},Sf=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};wo=class t{constructor(e,i,n,r){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(OA(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ai,this.context??=new Sf,!this.params)this.params=new zn,this.urlWithParams=i;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=i;else{let a=i.indexOf("?"),l=a===-1?"?":a<i.length-1?"&":"";this.urlWithParams=i+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Tv(this.body)||Fv(this.body)||Ov(this.body)||RA(this.body)?this.body:this.body instanceof zn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Ov(this.body)?null:Fv(this.body)?this.body.type||null:Tv(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof zn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,c=e.headers||this.headers,d=e.params||this.params,u=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((h,f)=>h.set(f,e.setHeaders[f]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((h,f)=>h.set(f,e.setParams[f]),d)),new t(i,n,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},Ir=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Ir||{}),Eo=class{constructor(e,i=il.Ok,n="OK"){this.headers=e.headers||new Ai,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Af=class t extends Eo{constructor(e={}){super(e),this.type=Ir.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},tl=class t extends Eo{constructor(e={}){super(e),this.type=Ir.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},nl=class extends Eo{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},il=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(il||{});Co=(()=>{let e=class e{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof wo)s=n;else{let c;o.headers instanceof Ai?c=o.headers:c=new Ai(o.headers);let d;o.params&&(o.params instanceof zn?d=o.params:d=new zn({fromObject:o.params})),s=new wo(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=Ge(s).pipe(fd(c=>this.handler.handle(c)));if(n instanceof wo||o.observe==="events")return a;let l=a.pipe(Te(c=>c instanceof tl));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(ie(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(ie(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(ie(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(ie(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new zn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Cf(o,r))}post(n,r,o={}){return this.request("POST",n,Cf(o,r))}put(n,r,o={}){return this.request("PUT",n,Cf(o,r))}};e.\u0275fac=function(r){return new(r||e)(p(Do))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();Nv=new D(""),PA=new D(""),LA=new D(""),Rv=(()=>{let e=class e extends Do{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=C(yo);let o=C(LA,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Nv),...this.injector.get(PA,[])]));this.chain=o.reduceRight((s,a)=>NA(s,a,this.injector),kA)}let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Rn(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(p(el),p(Kt))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),jA=/^\)\]\}',?\n/;kv=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?it(r.\u0275loadImpl()):Ge(null)).pipe(Gt(()=>new G(s=>{let a=r.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((w,_)=>a.setRequestHeader(w,_.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let w=n.detectContentTypeHeader();w!==null&&a.setRequestHeader("Content-Type",w)}if(n.responseType){let w=n.responseType.toLowerCase();a.responseType=w!=="json"?w:"text"}let l=n.serializeBody(),c=null,d=()=>{if(c!==null)return c;let w=a.statusText||"OK",_=new Ai(a.getAllResponseHeaders()),H=VA(a)||n.url;return c=new Af({headers:_,status:a.status,statusText:w,url:H}),c},u=()=>{let{headers:w,status:_,statusText:H,url:X}=d(),$=null;_!==il.NoContent&&($=typeof a.response>"u"?a.responseText:a.response),_===0&&(_=$?il.Ok:0);let Ve=_>=200&&_<300;if(n.responseType==="json"&&typeof $=="string"){let ve=$;$=$.replace(jA,"");try{$=$!==""?JSON.parse($):null}catch(_e){$=ve,Ve&&(Ve=!1,$={error:_e,text:$})}}Ve?(s.next(new tl({body:$,headers:w,status:_,statusText:H,url:X||void 0})),s.complete()):s.error(new nl({error:$,headers:w,status:_,statusText:H,url:X||void 0}))},h=w=>{let{url:_}=d(),H=new nl({error:w,status:a.status||0,statusText:a.statusText||"Unknown Error",url:_||void 0});s.error(H)},f=!1,m=w=>{f||(s.next(d()),f=!0);let _={type:Ir.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(_.total=w.total),n.responseType==="text"&&a.responseText&&(_.partialText=a.responseText),s.next(_)},y=w=>{let _={type:Ir.UploadProgress,loaded:w.loaded};w.lengthComputable&&(_.total=w.total),s.next(_)};return a.addEventListener("load",u),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",m),l!==null&&a.upload&&a.upload.addEventListener("progress",y)),a.send(l),s.next({type:Ir.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",u),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",m),l!==null&&a.upload&&a.upload.removeEventListener("progress",y)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(p(Cr))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Pv=new D(""),BA="XSRF-TOKEN",HA=new D("",{providedIn:"root",factory:()=>BA}),UA="X-XSRF-TOKEN",zA=new D("",{providedIn:"root",factory:()=>UA}),rl=class{},$A=(()=>{let e=class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ka(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(p(j),p(qe),p(HA))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})()});function YA(){return Io=Io||document.querySelector("base"),Io?Io.getAttribute("href"):null}function QA(t){return new URL(t,document.baseURI).pathname}function tM(t){return XA.replace(Nf,t)}function nM(t){return ZA.replace(Nf,t)}function zv(t,e){return e.map(i=>i.replace(Nf,t))}function jv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}function $v(t,e){return bf(M({rootComponent:t},Wv(e)))}function Gv(t){return bf(Wv(t))}function Wv(t){return{appProviders:[...uM,...t?.providers??[]],platformProviders:dM}}function aM(){Of.makeCurrent()}function lM(){return new at}function cM(){return ey(document),document}var Ff,Of,Io,KA,Rf,Bv,sl,Mf,Hv,Tf,Nf,Uv,ZA,XA,JA,eM,al,So,kf,Ao,ll,iM,Vv,rM,oM,sM,dM,uM,Pf,fM,cl=g(()=>{"use strict";A();A();be();Ff=class extends Qa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Of=class t extends Ff{static makeCurrent(){Ev(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=YA();return i==null?null:QA(i)}resetBaseElement(){Io=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ka(document.cookie,e)}},Io=null;KA=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Rf=new D(""),Bv=(()=>{let e=class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(n,r),r}};e.\u0275fac=function(r){return new(r||e)(p(Rf),p(S))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),sl=class{constructor(e){this._doc=e}},Mf="ng-app-id",Hv=(()=>{let e=class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Dn(s),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Mf}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(Mf),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(Mf,this.appId),n.appendChild(a),a}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(p(j),p(go),p(wi,8),p(qe))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Tf={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/"},Nf=/%COMP%/g,Uv="%COMP%",ZA=`_nghost-${Uv}`,XA=`_ngcontent-${Uv}`,JA=!0,eM=new D("",{providedIn:"root",factory:()=>JA});al=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Dn(l),this.defaultRenderer=new So(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Qt.ShadowDom&&(r=Pe(M({},r),{encapsulation:Qt.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof ll?o.applyToHost(n):o instanceof Ao&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case Qt.Emulated:s=new ll(c,d,r,this.appId,u,a,l,h);break;case Qt.ShadowDom:return new kf(c,d,n,r,a,l,this.nonce,h);default:s=new Ao(c,d,r,u,a,l,h);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(p(Bv),p(Hv),p(go),p(eM),p(j),p(qe),p(S),p(wi))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),So=class{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Tf[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(jv(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(jv(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new E(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;let o=Tf[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let r=Tf[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(fn.DashCase|fn.Important)?e.style.setProperty(i,n,r&fn.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&fn.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=xn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};kf=class extends So{constructor(e,i,n,r,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=zv(r.id,r.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ao=class extends So{constructor(e,i,n,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?zv(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ll=class extends Ao{constructor(e,i,n,r,o,s,a,l){let c=r+"-"+n.id;super(e,i,n,o,s,a,l,c),this.contentAttr=tM(c),this.hostAttr=nM(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},iM=(()=>{let e=class e extends sl{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(p(j))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Vv=["alt","control","meta","shift"],rM={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},oM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},sM=(()=>{let e=class e extends sl{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),Vv.forEach(d=>{let u=r.indexOf(d);u>-1&&(r.splice(u,1),a+=d+".")}),a+=s,r.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let o=rM[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Vv.forEach(a=>{if(a!==o){let l=oM[a];l(n)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(r){return new(r||e)(p(j))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();dM=[{provide:qe,useValue:Ef},{provide:Ku,useValue:aM,multi:!0},{provide:j,useFactory:cM,deps:[]}],uM=[{provide:Aa,useValue:"root"},{provide:at,useFactory:lM,deps:[]},{provide:Rf,useClass:iM,multi:!0,deps:[j,S,qe]},{provide:Rf,useClass:sM,multi:!0,deps:[j]},al,Hv,Bv,{provide:bi,useExisting:al},{provide:Cr,useClass:KA,deps:[]},[]],Pf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=p(fM),o},providedIn:"root"});let t=e;return t})(),fM=(()=>{let e=class e extends Pf{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case lt.NONE:return r;case lt.HTML:return wr(r,"HTML")?gn(r):fy(this._doc,String(r)).toString();case lt.STYLE:return wr(r,"Style")?gn(r):r;case lt.SCRIPT:if(wr(r,"Script"))return gn(r);throw new E(5200,!1);case lt.URL:return wr(r,"URL")?gn(r):Xu(String(r));case lt.RESOURCE_URL:if(wr(r,"ResourceURL"))return gn(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(n){return ny(n)}bypassSecurityTrustStyle(n){return iy(n)}bypassSecurityTrustScript(n){return ry(n)}bypassSecurityTrustUrl(n){return oy(n)}bypassSecurityTrustResourceUrl(n){return sy(n)}};e.\u0275fac=function(r){return new(r||e)(p(j))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function To(t,e){return{type:z.Trigger,name:t,definitions:e,options:{}}}function Fo(t,e=null){return{type:z.Animate,styles:e,timings:t}}function qv(t,e=null){return{type:z.Sequence,steps:t,options:e}}function rn(t){return{type:z.Style,styles:t,offset:null}}function dl(t,e,i){return{type:z.State,name:t,styles:e,options:i}}function Sr(t,e,i=null){return{type:z.Transition,expr:t,animation:e,options:i}}function Yv(t=null){return{type:z.AnimateChild,options:t}}function Qv(t,e,i=null){return{type:z.Query,selector:t,animation:e,options:i}}var z,nn,$n,Mo,ul,fl=g(()=>{"use strict";z=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(z||{}),nn="*";$n=class{constructor(e=0,i=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Mo=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let i=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++i==o&&this._onFinish()}),s.onDestroy(()=>{++n==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let i=e*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(r)})}getPosition(){let e=this.players.reduce((i,n)=>i===null||n.totalTime>i.totalTime?n:i,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},ul="!"});function Kv(t){return new E(3e3,!1)}function mM(){return new E(3100,!1)}function pM(){return new E(3101,!1)}function gM(t){return new E(3001,!1)}function bM(t){return new E(3003,!1)}function yM(t){return new E(3004,!1)}function vM(t,e){return new E(3005,!1)}function _M(){return new E(3006,!1)}function xM(){return new E(3007,!1)}function wM(t,e){return new E(3008,!1)}function DM(t){return new E(3002,!1)}function EM(t,e,i,n,r){return new E(3010,!1)}function CM(){return new E(3011,!1)}function IM(){return new E(3012,!1)}function SM(){return new E(3200,!1)}function AM(){return new E(3202,!1)}function MM(){return new E(3013,!1)}function TM(t){return new E(3014,!1)}function FM(t){return new E(3015,!1)}function OM(t){return new E(3016,!1)}function RM(t,e){return new E(3404,!1)}function kM(t){return new E(3502,!1)}function NM(t){return new E(3503,!1)}function PM(){return new E(3300,!1)}function LM(t){return new E(3504,!1)}function jM(t){return new E(3301,!1)}function VM(t,e){return new E(3302,!1)}function BM(t){return new E(3303,!1)}function HM(t,e){return new E(3400,!1)}function UM(t){return new E(3401,!1)}function zM(t){return new E(3402,!1)}function $M(t,e){return new E(3505,!1)}function Gn(t){switch(t.length){case 0:return new $n;case 1:return t[0];default:return new Mo(t)}}function d_(t,e,i=new Map,n=new Map){let r=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,f)=>{let m=f,y=h;if(f!=="offset")switch(m=t.normalizePropertyName(m,r),y){case ul:y=i.get(f);break;case nn:y=n.get(f);break;default:y=t.normalizeStyleValue(f,m,y,r);break}u.set(m,y)}),d||o.push(u),a=u,s=c}),r.length)throw kM(r);return o}function oh(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Lf(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Lf(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&Lf(i,"destroy",t)));break}}function Lf(t,e,i){let n=i.totalTime,r=!!i.disabled,o=sh(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function sh(t,e,i,n,r="",o=0,s){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!s}}function yt(t,e,i){let n=t.get(e);return n||t.set(e,n=i),n}function Zv(t){let e=t.indexOf(":"),i=t.substring(1,e),n=t.slice(e+1);return[i,n]}function ah(t){let e=t.parentNode||t.host||null;return e===GM?null:e}function WM(t){return t.substring(1,6)=="ebkit"}function qM(t){Mi||(Mi=YM()||{},Xv=Mi.style?"WebkitAppearance"in Mi.style:!1);let e=!0;return Mi.style&&!WM(t)&&(e=t in Mi.style,!e&&Xv&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Mi.style)),e}function YM(){return typeof document<"u"?document.body:null}function u_(t,e){for(;e;){if(e===t)return!0;e=ah(e)}return!1}function f_(t,e,i){if(i)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}function En(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Gf(parseFloat(e[1]),e[2])}function Gf(t,e){switch(e){case"s":return t*QM;default:return t}}function vl(t,e,i){return t.hasOwnProperty("duration")?t:ZM(t,e,i)}function ZM(t,e,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(Kv(t)),{duration:0,delay:0,easing:""};r=Gf(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Gf(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!i){let a=!1,l=e.length;r<0&&(e.push(mM()),a=!0),o<0&&(e.push(pM()),a=!0),a&&e.splice(l,0,Kv(t))}return{duration:r,delay:o,easing:s}}function XM(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function on(t,e,i){e.forEach((n,r)=>{let o=ch(r);i&&!i.has(r)&&i.set(r,t.style[o]),t.style[o]=n})}function Fi(t,e){e.forEach((i,n)=>{let r=ch(n);t.style[r]=""})}function Oo(t){return Array.isArray(t)?t.length==1?t[0]:qv(t):t}function JM(t,e,i){let n=e.params||{},r=p_(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||i.push(gM(o))})}function p_(t){let e=[];if(typeof t=="string"){let i;for(;i=Wf.exec(t);)e.push(i[1]);Wf.lastIndex=0}return e}function ko(t,e,i){let n=`${t}`,r=n.replace(Wf,(o,s)=>{let a=e[s];return a==null&&(i.push(bM(s)),a=""),a.toString()});return r==n?t:r}function ch(t){return t.replace(eT,(...e)=>e[1].toUpperCase())}function tT(t,e){return t===0||e===0}function nT(t,e,i){if(i.size&&e.length){let n=e[0],r=[];if(i.forEach((o,s)=>{n.has(s)||r.push(s),n.set(s,o)}),r.length)for(let o=1;o<e.length;o++){let s=e[o];r.forEach(a=>s.set(a,dh(t,a)))}}return e}function bt(t,e,i){switch(e.type){case z.Trigger:return t.visitTrigger(e,i);case z.State:return t.visitState(e,i);case z.Transition:return t.visitTransition(e,i);case z.Sequence:return t.visitSequence(e,i);case z.Group:return t.visitGroup(e,i);case z.Animate:return t.visitAnimate(e,i);case z.Keyframes:return t.visitKeyframes(e,i);case z.Style:return t.visitStyle(e,i);case z.Reference:return t.visitReference(e,i);case z.AnimateChild:return t.visitAnimateChild(e,i);case z.AnimateRef:return t.visitAnimateRef(e,i);case z.Query:return t.visitQuery(e,i);case z.Stagger:return t.visitStagger(e,i);default:throw yM(e.type)}}function dh(t,e){return window.getComputedStyle(t)[e]}function rT(t,e){let i=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>oT(n,i,e)):i.push(t),i}function oT(t,e,i){if(t[0]==":"){let l=sT(t,i);if(typeof l=="function"){e.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(FM(t)),e;let r=n[1],o=n[2],s=n[3];e.push(e_(r,s));let a=r==xl&&s==xl;o[0]=="<"&&!a&&e.push(e_(s,r))}function sT(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return e.push(OM(t)),"* => *"}}function e_(t,e){let i=ml.has(t)||pl.has(t),n=ml.has(e)||pl.has(e);return(r,o)=>{let s=t==xl||t==r,a=e==xl||e==o;return!s&&i&&typeof r=="boolean"&&(s=r?ml.has(t):pl.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?ml.has(e):pl.has(e)),s&&a}}function b_(t,e,i,n){return new qf(t).build(e,i,n)}function lT(t){let e=!!t.split(/\s*,\s*/).find(i=>i==g_);return e&&(t=t.replace(aT,"")),t=t.replace(/@\*/g,yl).replace(/@\w+/g,i=>yl+"-"+i.slice(1)).replace(/:animating/g,$f),[t,e]}function cT(t){return t?M({},t):null}function dT(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function uT(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=vl(t,e).duration;return jf(o,0,"")}let i=t;if(i.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=jf(0,0,"");return o.dynamic=!0,o.strValue=i,o}let r=vl(i,e);return jf(r.duration,r.delay,r.easing)}function Ti(t){return t?(t=M({},t),t.params&&(t.params=cT(t.params))):t={},t}function jf(t,e,i){return{duration:t,delay:e,easing:i}}function uh(t,e,i,n,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function y_(t,e,i,n,r,o=new Map,s=new Map,a,l,c=[]){return new Qf().buildKeyframes(t,e,i,n,r,o,s,a,l,c)}function n_(t,e=3){let i=Math.pow(10,e-1);return Math.round(t*i)/i}function bT(t,e){let i=new Map,n;return t.forEach(r=>{if(r==="*"){n??=e.keys();for(let o of n)i.set(o,nn)}else for(let[o,s]of r)i.set(o,s)}),i}function i_(t,e,i,n,r,o,s,a,l,c,d,u,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}function yT(t,e,i,n,r){return t.some(o=>o(e,i,n,r))}function v_(t,e){let i=M({},e);return Object.entries(t).forEach(([n,r])=>{r!=null&&(i[n]=r)}),i}function vT(t,e,i){return new Jf(t,e,i)}function _T(t,e,i){let n=[(s,a)=>!0],r={type:z.Sequence,steps:[],options:null},o={type:z.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new El(t,o,e)}function r_(t,e,i){t.has(e)?t.has(i)||t.set(i,t.get(e)):t.has(i)&&t.set(e,t.get(i))}function AT(t,e,i){let n=t.get(e);if(n){if(n.length){let r=n.indexOf(i);n.splice(r,1)}n.length==0&&t.delete(e)}return n}function MT(t){return t??null}function gl(t){return t&&t.nodeType===1}function TT(t){return t=="start"||t=="done"}function s_(t,e){let i=t.style.display;return t.style.display=e??"none",i}function a_(t,e,i,n,r){let o=[];i.forEach(l=>o.push(s_(l)));let s=[];n.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let h=e.computeStyle(c,u,r);d.set(u,h),(!h||h.length==0)&&(c[Ht]=ST,s.push(c))}),t.set(c,d)});let a=0;return i.forEach(l=>s_(l,o[a++])),s}function l_(t,e){let i=new Map;if(t.forEach(a=>i.set(a,[])),e.length==0)return i;let n=1,r=new Set(e),o=new Map;function s(a){if(!a)return n;let l=o.get(a);if(l)return l;let c=a.parentNode;return i.has(c)?l=c:r.has(c)?l=n:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==n&&i.get(l).push(a)}),i}function St(t,e){t.classList?.add(e)}function Ar(t,e){t.classList?.remove(e)}function FT(t,e,i){Gn(i).onDone(()=>t.processLeaveNode(e))}function OT(t){let e=[];return x_(t,e),e}function x_(t,e){for(let i=0;i<t.length;i++){let n=t[i];n instanceof Mo?x_(n.players,e):e.push(n)}}function RT(t,e){let i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let r=0;r<i.length;r++){let o=i[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function c_(t,e,i){let n=i.get(t);if(!n)return!1;let r=e.get(t);return r?n.forEach(o=>r.add(o)):e.set(t,n),i.delete(t),!0}function kT(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Uf(e[0]),e.length>1&&(n=Uf(e[e.length-1]))):e instanceof Map&&(i=Uf(e)),i||n?new ih(t,i,n):null}function Uf(t){let e=null;return t.forEach((i,n)=>{NT(n)&&(e=e||new Map,e.set(n,i))}),e}function NT(t){return t==="display"||t==="position"}function PT(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function LT(t){let e=t.indexOf("."),i=t.substring(0,e),n=t.slice(e+1);return[i,n]}var GM,Mi,Xv,lh,fh,Oi,Ri,QM,h_,KM,m_,zf,hl,yl,Jv,$f,Wf,eT,iT,_l,xl,ml,pl,g_,aT,t_,qf,Yf,No,fT,hT,mT,pT,gT,Qf,wl,Kf,Dl,Zf,Vf,El,Xf,Jf,xT,eh,o_,wT,Bf,DT,ET,CT,IT,__,ST,Ht,Po,Ro,Hf,th,nh,Lo,Tr,Mr,ih,Cl,Il,bl,w_,Sl,rh,Al,hh=g(()=>{"use strict";fl();A();A();GM=typeof document>"u"?null:document.documentElement;Mi=null,Xv=!1;lh=(()=>{let e=class e{validateStyleProperty(n){return qM(n)}matchesElement(n,r){return!1}containsElement(n,r){return u_(n,r)}getParentElement(n){return ah(n)}query(n,r,o){return f_(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,s,a,l=[],c){return new $n(o,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),fh=class fh{};fh.NOOP=new lh;Oi=fh,Ri=class{},QM=1e3,h_="{{",KM="}}",m_="ng-enter",zf="ng-leave",hl="ng-trigger",yl=".ng-trigger",Jv="ng-animating",$f=".ng-animating";Wf=new RegExp(`${h_}\\s*(.+?)\\s*${KM}`,"g");eT=/-+([a-z0-9])/g;iT=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"]),_l=class extends Ri{normalizePropertyName(e,i){return ch(e)}normalizeStyleValue(e,i,n,r){let o="",s=n.toString().trim();if(iT.has(i)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(vM(e,n))}return s+o}},xl="*";ml=new Set(["true","1"]),pl=new Set(["false","0"]);g_=":self",aT=new RegExp(`s*${g_}s*,?`,"g");t_="",qf=class{constructor(e){this._driver=e}build(e,i,n){let r=new Yf(i);return this._resetContextStyleTimingState(r),bt(this,Oo(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=t_,e.collectedStyles=new Map,e.collectedStyles.set(t_,new Map),e.currentTime=0}visitTrigger(e,i){let n=i.queryCount=0,r=i.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&i.errors.push(_M()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(i),a.type==z.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,i))}),l.name=c}else if(a.type==z.Transition){let l=this.visitTransition(a,i);n+=l.queryCount,r+=l.depCount,s.push(l)}else i.errors.push(xM())}),{type:z.Trigger,name:e.name,states:o,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,i){let n=this.visitStyle(e.styles,i),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{p_(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&i.errors.push(wM(e.name,[...o.values()]))}return{type:z.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let n=bt(this,Oo(e.animation),i),r=rT(e.expr,i.errors);return{type:z.Transition,matchers:r,animation:n,queryCount:i.queryCount,depCount:i.depCount,options:Ti(e.options)}}visitSequence(e,i){return{type:z.Sequence,steps:e.steps.map(n=>bt(this,n,i)),options:Ti(e.options)}}visitGroup(e,i){let n=i.currentTime,r=0,o=e.steps.map(s=>{i.currentTime=n;let a=bt(this,s,i);return r=Math.max(r,i.currentTime),a});return i.currentTime=r,{type:z.Group,steps:o,options:Ti(e.options)}}visitAnimate(e,i){let n=uT(e.timings,i.errors);i.currentAnimateTimings=n;let r,o=e.styles?e.styles:rn({});if(o.type==z.Keyframes)r=this.visitKeyframes(o,i);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};n.easing&&(c.easing=n.easing),s=rn(c)}i.currentTime+=n.duration+n.delay;let l=this.visitStyle(s,i);l.isEmptyStep=a,r=l}return i.currentAnimateTimings=null,{type:z.Animate,timings:n,style:r,options:null}}visitStyle(e,i){let n=this._makeStyleAst(e,i);return this._validateStyleAst(n,i),n}_makeStyleAst(e,i){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===nn?n.push(a):i.errors.push(DM(a)):n.push(new Map(Object.entries(a)));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(h_)>=0){o=!0;break}}}),{type:z.Style,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,i){let n=i.currentAnimateTimings,r=i.currentTime,o=i.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=i.collectedStyles.get(i.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(i.errors.push(EM(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),i.options&&JM(a,i.options,i.errors)})})}visitKeyframes(e,i){let n={type:z.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(CM()),n;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(_=>{let H=this._makeStyleAst(_,i),X=H.offset!=null?H.offset:dT(H.styles),$=0;return X!=null&&(o++,$=H.offset=X),l=l||$<0||$>1,a=a||$<c,c=$,s.push($),H});l&&i.errors.push(IM()),a&&i.errors.push(SM());let u=e.steps.length,h=0;o>0&&o<u?i.errors.push(AM()):o==0&&(h=r/(u-1));let f=u-1,m=i.currentTime,y=i.currentAnimateTimings,w=y.duration;return d.forEach((_,H)=>{let X=h>0?H==f?1:h*H:s[H],$=X*w;i.currentTime=m+y.delay+$,y.duration=$,this._validateStyleAst(_,i),_.offset=X,n.styles.push(_)}),n}visitReference(e,i){return{type:z.Reference,animation:bt(this,Oo(e.animation),i),options:Ti(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:z.AnimateChild,options:Ti(e.options)}}visitAnimateRef(e,i){return{type:z.AnimateRef,animation:this.visitReference(e.animation,i),options:Ti(e.options)}}visitQuery(e,i){let n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;let[o,s]=lT(e.selector);i.currentQuerySelector=n.length?n+" "+o:o,yt(i.collectedStyles,i.currentQuerySelector,new Map);let a=bt(this,Oo(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:z.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Ti(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(MM());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:vl(e.timings,i.errors,!0);return{type:z.Stagger,animation:bt(this,Oo(e.animation),i),timings:n,options:null}}};Yf=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};No=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},fT=1,hT=":enter",mT=new RegExp(hT,"g"),pT=":leave",gT=new RegExp(pT,"g");Qf=class{buildKeyframes(e,i,n,r,o,s,a,l,c,d=[]){c=c||new No;let u=new Kf(e,i,c,r,o,d,[]);u.options=l;let h=l.delay?En(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),bt(this,n,u);let f=u.timelines.filter(m=>m.containsAnimation());if(f.length&&a.size){let m;for(let y=f.length-1;y>=0;y--){let w=f[y];if(w.element===i){m=w;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return f.length?f.map(m=>m.buildKeyframes()):[uh(i,[],[],[],0,h,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let n=i.subInstructions.get(i.element);if(n){let r=i.createSubContext(e.options),o=i.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);o!=s&&i.transformIntoNewTimeline(s)}i.previousNode=e}visitAnimateRef(e,i){let n=i.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,n),this.visitReference(e.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,n){for(let r of e){let o=r?.delay;if(o){let s=typeof o=="number"?o:En(ko(o,r?.params??{},i.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,i,n){let o=i.currentTimeline.currentTime,s=n.duration!=null?En(n.duration):null,a=n.delay!=null?En(n.delay):null;return s!==0&&e.forEach(l=>{let c=i.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,i){i.updateOptions(e.options,!0),bt(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let n=i.subContextCount,r=i,o=e.options;if(o&&(o.params||o.delay)&&(r=i.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==z.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=wl);let s=En(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>bt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let n=[],r=i.currentTimeline.currentTime,o=e.options&&e.options.delay?En(e.options.delay):0;e.steps.forEach(s=>{let a=i.createSubContext(e.options);o&&a.delayNextStep(o),bt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>i.currentTimeline.mergeTimelineCollectedStyles(s)),i.transformIntoNewTimeline(r),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let n=e.strValue,r=i.params?ko(n,i.params,i.errors):n;return vl(r,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let n=i.currentAnimateTimings=this._visitTiming(e.timings,i),r=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),r.snapshotCurrentStyles());let o=e.style;o.type==z.Keyframes?this.visitKeyframes(o,i):(i.incrementTime(n.duration),this.visitStyle(o,i),r.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let n=i.currentTimeline,r=i.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let n=i.currentAnimateTimings,r=i.currentTimeline.duration,o=n.duration,a=i.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,i.errors,i.options),a.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(a),i.transformIntoNewTimeline(r+o),i.previousNode=e}visitQuery(e,i){let n=i.currentTimeline.currentTime,r=e.options||{},o=r.delay?En(r.delay):0;o&&(i.previousNode.type===z.Style||n==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=wl);let s=n,a=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,i.errors);i.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{i.currentQueryIndex=d;let u=i.createSubContext(e.options,c);o&&u.delayNextStep(o),c===i.element&&(l=u.currentTimeline),bt(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let h=u.currentTimeline.currentTime;s=Math.max(s,h)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(s),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let n=i.parentContext,r=i.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(i.currentQueryTotal-1),l=s*i.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break}let d=i.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;bt(this,e.animation,i),i.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}},wl={},Kf=class t{constructor(e,i,n,r,o,s,a,l){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Dl(this._driver,i,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=En(n.duration)),n.delay!=null&&(r.delay=En(n.delay));let o=n.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!i||!s.hasOwnProperty(a))&&(s[a]=ko(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let n=e.params={};Object.keys(i).forEach(r=>{n[r]=i[r]})}}return e}createSubContext(e=null,i,n){let r=i||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=wl,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){let r={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new Zf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(mT,"."+this._enterClassName),e=e.replace(gT,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,e,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!o&&a.length==0&&s.push(TM(i)),a}},Dl=class t{constructor(e,i,n,r){this._driver=e,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new t(this._driver,e,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=fT,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||nn),this._currentKeyframe.set(i,nn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,r){i&&this._previousKeyframe.set("easing",i);let o=r&&r.params||{},s=bT(e,this._globalTimelineStyles);for(let[a,l]of s){let c=ko(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??nn),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{let r=this._styleSummary.get(n);(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===ul?e.add(u):d===nn&&i.add(u)}),n||c.set("offset",l/this.duration),r.push(c)});let o=[...e.values()],s=[...i.values()];if(n){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return uh(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Zf=class extends Dl{constructor(e,i,n,r,o,s,a=!1){super(e,i,s.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:i,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&i){let o=[],s=n+i,a=i/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",n_(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let h=new Map(e[u]),f=h.get("offset"),m=i+f*n;h.set("offset",n_(m/s)),o.push(h)}n=s,i=0,r="",e=o}return uh(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}};Vf={},El=class{constructor(e,i,n){this._triggerName=e,this.ast=i,this._stateStyles=n}match(e,i,n,r){return yT(this.ast.matchers,e,i,n,r)}buildStyles(e,i,n){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(i,n):new Map}build(e,i,n,r,o,s,a,l,c,d){let u=[],h=this.ast.options&&this.ast.options.params||Vf,f=a&&a.params||Vf,m=this.buildStyles(n,f,u),y=l&&l.params||Vf,w=this.buildStyles(r,y,u),_=new Set,H=new Map,X=new Map,$=r==="void",Ve={params:v_(y,h),delay:this.ast.options?.delay},ve=d?[]:y_(e,i,this.ast.animation,o,s,m,w,Ve,c,u),_e=0;return ve.forEach(ke=>{_e=Math.max(ke.duration+ke.delay,_e)}),u.length?i_(i,this._triggerName,n,r,$,m,w,[],[],H,X,_e,u):(ve.forEach(ke=>{let an=ke.element,Tn=yt(H,an,new Set);ke.preStyleProps.forEach(Xn=>Tn.add(Xn));let Fm=yt(X,an,new Set);ke.postStyleProps.forEach(Xn=>Fm.add(Xn)),an!==i&&_.add(an)}),i_(i,this._triggerName,n,r,$,m,w,ve,[..._.values()],H,X,_e))}};Xf=class{constructor(e,i,n){this.styles=e,this.defaultParams=i,this.normalizer=n}buildStyles(e,i){let n=new Map,r=v_(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=ko(s,r,i));let l=this.normalizer.normalizePropertyName(a,i);s=this.normalizer.normalizeStyleValue(a,l,s,i),n.set(a,s)})}),n}};Jf=class{constructor(e,i,n){this.name=e,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Xf(r.style,o,n))}),r_(this.states,"true","1"),r_(this.states,"false","0"),i.transitions.forEach(r=>{this.transitionFactories.push(new El(e,r,this.states))}),this.fallbackTransition=_T(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,n,r){return this.transitionFactories.find(s=>s.match(e,i,n,r))||null}matchStyles(e,i,n){return this.fallbackTransition.buildStyles(e,i,n)}};xT=new No,eh=class{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let n=[],r=[],o=b_(this._driver,i,n,r);if(n.length)throw NM(n);r.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,i,n){let r=e.element,o=d_(this._normalizer,e.keyframes,i,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,i,n={}){let r=[],o=this._animations.get(e),s,a=new Map;if(o?(s=y_(this._driver,i,o,m_,zf,new Map,new Map,n,xT,r),s.forEach(d=>{let u=yt(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(PM()),s=[]),r.length)throw LM(r);a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,nn))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Gn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw jM(e);return i}listen(e,i,n,r){let o=sh(i,"","","");return oh(this._getPlayer(e),n,o,r),()=>{}}command(e,i,n,r){if(n=="register"){this.register(e,r[0]);return}if(n=="create"){let s=r[0]||{};this.create(e,i,s);return}let o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},o_="ng-animate-queued",wT=".ng-animate-queued",Bf="ng-animate-disabled",DT=".ng-animate-disabled",ET="ng-star-inserted",CT=".ng-star-inserted",IT=[],__={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ST={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ht="__ng_removed",Po=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=MT(r),n){let o=e,{value:s}=o,a=Ec(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let n=this.options.params;Object.keys(i).forEach(r=>{n[r]==null&&(n[r]=i[r])})}}},Ro="void",Hf=new Po(Ro),th=class{constructor(e,i,n){this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,St(i,this._hostClassName)}listen(e,i,n,r){if(!this._triggers.has(i))throw VM(n,i);if(n==null||n.length==0)throw BM(i);if(!TT(n))throw HM(n,i);let o=yt(this._elementListeners,e,[]),s={name:i,phase:n,callback:r};o.push(s);let a=yt(this._engine.statesByElement,e,new Map);return a.has(i)||(St(e,hl),St(e,hl+"-"+i),a.set(i,Hf)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(i)||a.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw UM(e);return i}trigger(e,i,n,r=!0){let o=this._getTrigger(i),s=new Lo(this.id,i,e),a=this._engine.statesByElement.get(e);a||(St(e,hl),St(e,hl+"-"+i),this._engine.statesByElement.set(e,a=new Map));let l=a.get(i),c=new Po(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(i,c),l||(l=Hf),!(c.value===Ro)&&l.value===c.value){if(!RT(l.params,c.params)){let y=[],w=o.matchStyles(l.value,l.params,y),_=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Fi(e,w),on(e,_)})}return}let h=yt(this._engine.playersByElement,e,[]);h.forEach(y=>{y.namespaceId==this.id&&y.triggerName==i&&y.queued&&y.destroy()});let f=o.matchTransition(l.value,c.value,e,c.params),m=!1;if(!f){if(!r)return;f=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(St(e,o_),s.onStart(()=>{Ar(e,o_)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let w=this._engine.playersByElement.get(e);if(w){let _=w.indexOf(s);_>=0&&w.splice(_,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let n=this._engine.driver.query(e,yl,!0);n.forEach(r=>{if(r[Ht])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,i,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,i,n,r){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,Ro,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,s),n&&Gn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(i&&n){let r=new Set;i.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=n.get(s)||Hf,d=new Po(Ro),u=new Lo(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,i){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,i);else{let o=e[Ht];(!o||o===__)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,i))}}insertNode(e,i){St(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let l=sh(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,oh(n.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):i.push(n)}),this._queue=[],i.sort((n,r)=>{let o=n.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},nh=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,n,r){this.bodyNode=e,this.driver=i,this._normalizer=n,this.scheduler=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,i){let n=new th(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,i){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(i);for(;a;){let l=r.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return r.set(i,e),e}register(e,i){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,i)),n}registerTrigger(e,i,n){let r=this._namespaceLookup[e];r&&r.register(i,n)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,n=this.statesByElement.get(e);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&i.add(o)}}return i}trigger(e,i,n,r){if(gl(i)){let o=this._fetchNamespace(e);if(o)return o.trigger(i,n,r),!0}return!1}insertNode(e,i,n,r){if(!gl(i))return;let o=i[Ht];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(i);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(i,n)}r&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),St(e,Bf)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ar(e,Bf))}removeNode(e,i,n){if(gl(i)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(i,n):this.markElementAsRemoved(e,i,!1,n);let o=this.namespacesByHostElement.get(i);o&&o.id!==e&&o.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(e,i,n,r,o){this.collectedLeaveElements.push(i),i[Ht]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,i,n,r,o){return gl(i)?this._fetchNamespace(e).listen(i,n,r,o):()=>{}}_buildInstruction(e,i,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,i,o)}destroyInnerAnimations(e){let i=this.driver.query(e,yl,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,$f,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Gn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[Ht];if(i&&i.setForRemoval){if(e[Ht]=__,i.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Bf)&&this.markElementAsDisabled(e,!1),this.driver.query(e,DT,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];St(r,ET)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{i=this._flushAnimations(n,e)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],i.length?Gn(i).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw zM(e)}_flushAnimations(e,i){let n=new No,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(I=>{d.add(I);let T=this.driver.query(I,wT,!0);for(let k=0;k<T.length;k++)d.add(T[k])});let u=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=l_(h,this.collectedEnterElements),m=new Map,y=0;f.forEach((I,T)=>{let k=m_+y++;m.set(T,k),I.forEach(J=>St(J,k))});let w=[],_=new Set,H=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){let T=this.collectedLeaveElements[I],k=T[Ht];k&&k.setForRemoval&&(w.push(T),_.add(T),k.hasAnimation?this.driver.query(T,CT,!0).forEach(J=>_.add(J)):H.add(T))}let X=new Map,$=l_(h,Array.from(_));$.forEach((I,T)=>{let k=zf+y++;X.set(T,k),I.forEach(J=>St(J,k))}),e.push(()=>{f.forEach((I,T)=>{let k=m.get(T);I.forEach(J=>Ar(J,k))}),$.forEach((I,T)=>{let k=X.get(T);I.forEach(J=>Ar(J,k))}),w.forEach(I=>{this.processLeaveNode(I)})});let Ve=[],ve=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(i).forEach(k=>{let J=k.player,Ne=k.element;if(Ve.push(J),this.collectedEnterElements.length){let ze=Ne[Ht];if(ze&&ze.setForMove){if(ze.previousTriggersValues&&ze.previousTriggersValues.has(k.triggerName)){let Jn=ze.previousTriggersValues.get(k.triggerName),_t=this.statesByElement.get(k.element);if(_t&&_t.has(k.triggerName)){let es=_t.get(k.triggerName);es.value=Jn,_t.set(k.triggerName,es)}}J.destroy();return}}let zt=!u||!this.driver.containsElement(u,Ne),ut=X.get(Ne),Fn=m.get(Ne),xe=this._buildInstruction(k,n,Fn,ut,zt);if(xe.errors&&xe.errors.length){ve.push(xe);return}if(zt){J.onStart(()=>Fi(Ne,xe.fromStyles)),J.onDestroy(()=>on(Ne,xe.toStyles)),r.push(J);return}if(k.isFallbackTransition){J.onStart(()=>Fi(Ne,xe.fromStyles)),J.onDestroy(()=>on(Ne,xe.toStyles)),r.push(J);return}let km=[];xe.timelines.forEach(ze=>{ze.stretchStartingKeyframe=!0,this.disabledNodes.has(ze.element)||km.push(ze)}),xe.timelines=km,n.append(Ne,xe.timelines);let X0={instruction:xe,player:J,element:Ne};s.push(X0),xe.queriedElements.forEach(ze=>yt(a,ze,[]).push(J)),xe.preStyleProps.forEach((ze,Jn)=>{if(ze.size){let _t=l.get(Jn);_t||l.set(Jn,_t=new Set),ze.forEach((es,Dc)=>_t.add(Dc))}}),xe.postStyleProps.forEach((ze,Jn)=>{let _t=c.get(Jn);_t||c.set(Jn,_t=new Set),ze.forEach((es,Dc)=>_t.add(Dc))})});if(ve.length){let I=[];ve.forEach(T=>{I.push($M(T.triggerName,T.errors))}),Ve.forEach(T=>T.destroy()),this.reportError(I)}let _e=new Map,ke=new Map;s.forEach(I=>{let T=I.element;n.has(T)&&(ke.set(T,T),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,_e))}),r.forEach(I=>{let T=I.element;this._getPreviousPlayers(T,!1,I.namespaceId,I.triggerName,null).forEach(J=>{yt(_e,T,[]).push(J),J.destroy()})});let an=w.filter(I=>c_(I,l,c)),Tn=new Map;a_(Tn,this.driver,H,c,nn).forEach(I=>{c_(I,l,c)&&an.push(I)});let Xn=new Map;f.forEach((I,T)=>{a_(Xn,this.driver,new Set(I),l,ul)}),an.forEach(I=>{let T=Tn.get(I),k=Xn.get(I);Tn.set(I,new Map([...T?.entries()??[],...k?.entries()??[]]))});let wc=[],Om=[],Rm={};s.forEach(I=>{let{element:T,player:k,instruction:J}=I;if(n.has(T)){if(d.has(T)){k.onDestroy(()=>on(T,J.toStyles)),k.disabled=!0,k.overrideTotalTime(J.totalTime),r.push(k);return}let Ne=Rm;if(ke.size>1){let ut=T,Fn=[];for(;ut=ut.parentNode;){let xe=ke.get(ut);if(xe){Ne=xe;break}Fn.push(ut)}Fn.forEach(xe=>ke.set(xe,Ne))}let zt=this._buildAnimation(k.namespaceId,J,_e,o,Xn,Tn);if(k.setRealPlayer(zt),Ne===Rm)wc.push(k);else{let ut=this.playersByElement.get(Ne);ut&&ut.length&&(k.parentPlayer=Gn(ut)),r.push(k)}}else Fi(T,J.fromStyles),k.onDestroy(()=>on(T,J.toStyles)),Om.push(k),d.has(T)&&r.push(k)}),Om.forEach(I=>{let T=o.get(I.element);if(T&&T.length){let k=Gn(T);I.setRealPlayer(k)}}),r.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I<w.length;I++){let T=w[I],k=T[Ht];if(Ar(T,zf),k&&k.hasAnimation)continue;let J=[];if(a.size){let zt=a.get(T);zt&&zt.length&&J.push(...zt);let ut=this.driver.query(T,$f,!0);for(let Fn=0;Fn<ut.length;Fn++){let xe=a.get(ut[Fn]);xe&&xe.length&&J.push(...xe)}}let Ne=J.filter(zt=>!zt.destroyed);Ne.length?FT(this,T,Ne):this.processLeaveNode(T)}return w.length=0,wc.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();let T=this.players.indexOf(I);this.players.splice(T,1)}),I.play()}),wc}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,n,r,o){let s=[];if(i){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==Ro;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(n||r)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,i,n){let r=i.triggerName,o=i.element,s=i.isRemovalTransition?void 0:e,a=i.isRemovalTransition?void 0:r;for(let l of i.timelines){let c=l.element,d=c!==o,u=yt(n,c,[]);this._getPreviousPlayers(c,d,s,a,i.toState).forEach(f=>{let m=f.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),f.destroy(),u.push(f)})}Fi(o,i.fromStyles)}_buildAnimation(e,i,n,r,o,s){let a=i.triggerName,l=i.element,c=[],d=new Set,u=new Set,h=i.timelines.map(m=>{let y=m.element;d.add(y);let w=y[Ht];if(w&&w.removedBeforeQueried)return new $n(m.duration,m.delay);let _=y!==l,H=OT((n.get(y)||IT).map(_e=>_e.getRealPlayer())).filter(_e=>{let ke=_e;return ke.element?ke.element===y:!1}),X=o.get(y),$=s.get(y),Ve=d_(this._normalizer,m.keyframes,X,$),ve=this._buildPlayer(m,Ve,H);if(m.subTimeline&&r&&u.add(y),_){let _e=new Lo(e,a,y);_e.setRealPlayer(ve),c.push(_e)}return ve});c.forEach(m=>{yt(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>AT(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>St(m,Jv));let f=Gn(h);return f.onDestroy(()=>{d.forEach(m=>Ar(m,Jv)),on(l,i.toStyles)}),u.forEach(m=>{yt(r,m,[]).push(f)}),f}_buildPlayer(e,i,n){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,n):new $n(e.duration,e.delay)}},Lo=class{constructor(e,i,n){this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new $n,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,n)=>{i.forEach(r=>oh(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){yt(this._queuedCallbacks,e,[]).push(i)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let i=this._player;i.triggerCallback&&i.triggerCallback(e)}};Tr=class{constructor(e,i,n,r){this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new nh(e.body,i,n,r),this._timelineEngine=new eh(e.body,i,n),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,i,n,r,o){let s=e+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=b_(this._driver,o,l,c);if(l.length)throw RM(r,l);c.length&&void 0,a=vT(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(i,r,a)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,n,r){this._transitionEngine.insertNode(e,i,n,r)}onRemove(e,i,n){this._transitionEngine.removeNode(e,i,n)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,n,r){if(n.charAt(0)=="@"){let[o,s]=Zv(n),a=r;this._timelineEngine.command(o,i,s,a)}else this._transitionEngine.trigger(e,i,n,r)}listen(e,i,n,r,o){if(n.charAt(0)=="@"){let[s,a]=Zv(n);return this._timelineEngine.listen(s,i,a,o)}return this._transitionEngine.listen(e,i,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};Mr=class Mr{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let r=Mr.initialStylesByElement.get(e);r||Mr.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Mr.initialStylesByElement.delete(this._element),this._startStyles&&(Fi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Fi(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}};Mr.initialStylesByElement=new WeakMap;ih=Mr;Cl=class{constructor(e,i,n,r){this.element=e,this.keyframes=i,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(e,i,n){return e.animate(this._convertKeyframesToObject(i),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&e.set(r,this._finished?n:dh(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Il=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return u_(e,i)}getParentElement(e){return ah(e)}query(e,i,n){return f_(e,i,n)}computeStyle(e,i,n){return dh(e,i)}animate(e,i,n,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:n,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(f=>f instanceof Cl);tT(n,r)&&d.forEach(f=>{f.currentSnapshot.forEach((m,y)=>c.set(y,m))});let u=XM(i).map(f=>new Map(f));u=nT(e,u,c);let h=kT(e,u);return new Cl(e,u,l,h)}},bl="@",w_="@.disabled",Sl=class{constructor(e,i,n,r){this.namespaceId=e,this.delegate=i,this.engine=n,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,n,r=!0){this.delegate.insertBefore(e,i,n),this.engine.onInsert(this.namespaceId,i,e,r)}removeChild(e,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,n,r){this.delegate.setAttribute(e,i,n,r)}removeAttribute(e,i,n){this.delegate.removeAttribute(e,i,n)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,n,r){this.delegate.setStyle(e,i,n,r)}removeStyle(e,i,n){this.delegate.removeStyle(e,i,n)}setProperty(e,i,n){i.charAt(0)==bl&&i==w_?this.disableAnimations(e,!!n):this.delegate.setProperty(e,i,n)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,n){return this.delegate.listen(e,i,n)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},rh=class extends Sl{constructor(e,i,n,r,o){super(i,n,r,o),this.factory=e,this.namespaceId=i}setProperty(e,i,n){i.charAt(0)==bl?i.charAt(1)=="."&&i==w_?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,i.slice(1),n):this.delegate.setProperty(e,i,n)}listen(e,i,n){if(i.charAt(0)==bl){let r=PT(e),o=i.slice(1),s="";return o.charAt(0)!=bl&&([o,s]=LT(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a)})}return this.delegate.listen(e,i,n)}};Al=class{constructor(e,i,n){this.delegate=e,this.engine=i,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(r,o)=>{let s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(e,i){let n="",r=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new Sl(n,r,this.engine,u),c.set(r,d)}return d}let o=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return i.data.animation.forEach(a),new rh(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>i(n));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([i,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}});function BT(){return new _l}function HT(t,e,i){return new Al(t,e,i)}function E_(){return Di("NgEagerAnimations"),[...UT]}var VT,D_,UT,yB,C_=g(()=>{"use strict";A();A();cl();hh();hh();be();VT=(()=>{let e=class e extends Tr{constructor(n,r,o){super(n,r,o,C(co,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(p(j),p(Oi),p(Ri))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})();D_=[{provide:Ri,useFactory:BT},{provide:Tr,useClass:VT},{provide:bi,useFactory:HT,deps:[al,Tr,S]}],UT=[{provide:Oi,useFactory:()=>new Il},{provide:He,useValue:"BrowserAnimations"},...D_],yB=[{provide:Oi,useClass:lh},{provide:He,useValue:"NoopAnimations"},...D_]});var mh,I_=g(()=>{"use strict";ol();C_();mh={providers:[Lv(),E_()]}});function zT(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function $T(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function GT(t){return typeof t=="function"}function WT(t,e){if(!ph){let i=Element.prototype;ph=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?ph.call(t,e):!1}function qT(t,e){return t===e||t!==t&&e!==e}function YT(t){let e={};return t.forEach(({propName:i,templateName:n,transform:r})=>{e[zT(n)]=[i,r]}),e}function QT(t,e){return e.get(yn).resolveComponentFactory(t).inputs}function KT(t,e){let i=t.childNodes,n=e.map(()=>[]),r=-1;e.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=i.length;o<s;++o){let a=i[o],l=ZT(a,e,r);l!==-1&&n[l].push(a)}return n}function ZT(t,e,i){let n=i;return $T(t)&&e.some((r,o)=>r!=="*"&&WT(t,r)?(n=o,!0):!1),n}function S_(t,e){let i=QT(t,e.injector),n=e.strategyFactory||new gh(t,e.injector),r=YT(i),s=class s extends yh{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let u=this[c];delete this[c],l.setInputValue(c,u,d)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,d,u){let[h,f]=r[l];this.ngElementStrategy.setInputValue(h,d,f)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(r);let o=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),o}var Ml,ph,XT,gh,bh,yh,A_=g(()=>{"use strict";A();je();Ze();Ml={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return Ml.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Ml.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};XT=10,gh=class{constructor(e,i){this.componentFactory=i.get(yn).resolveComponentFactory(e)}create(e){return new bh(this.componentFactory,e)}},bh=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new ii(1),this.events=this.eventEmitters.pipe(Gt(n=>rt(...n))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:n})=>n)),this.ngZone=this.injector.get(S),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Ml.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},XT))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}qT(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=Bt.create({providers:[],parent:this.injector}),n=KT(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Qe),this.implementsOnChanges=GT(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Hn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:r})=>e.instance[n].pipe(ie(s=>({name:r,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Ml.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let r=this.unchangedInputs.has(e),o=r?void 0:this.getInputValue(e);this.inputChanges[e]=new so(o,i,r)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},yh=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}});function tF(){let t=xn()?xn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function Wn(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function j_(t){return t!=null&&typeof t.length=="number"}function rF(t){return e=>{if(Wn(e.value)||Wn(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function oF(t){return e=>{if(Wn(e.value)||Wn(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function sF(t){return Wn(t.value)?{required:!0}:null}function aF(t){return t.value===!0?null:{required:!0}}function lF(t){return Wn(t.value)||iF.test(t.value)?null:{email:!0}}function cF(t){return e=>Wn(e.value)||!j_(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function dF(t){return e=>j_(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function uF(t){if(!t)return V_;let e,i;return typeof t=="string"?(i="",t.charAt(0)!=="^"&&(i+="^"),i+=t,t.charAt(t.length-1)!=="$"&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),n=>{if(Wn(n.value))return null;let r=n.value;return e.test(r)?null:{pattern:{requiredPattern:i,actualValue:r}}}}function V_(t){return null}function B_(t){return t!=null}function H_(t){return xo(t)?it(t):t}function U_(t){let e={};return t.forEach(i=>{e=i!=null?M(M({},e),i):e}),Object.keys(e).length===0?null:e}function z_(t,e){return e.map(i=>i(t))}function fF(t){return!t.validate}function $_(t){return t.map(e=>fF(e)?e:i=>e.validate(i))}function G_(t){if(!t)return null;let e=t.filter(B_);return e.length==0?null:function(i){return U_(z_(i,e))}}function Dh(t){return t!=null?G_($_(t)):null}function W_(t){if(!t)return null;let e=t.filter(B_);return e.length==0?null:function(i){let n=z_(i,e).map(H_);return Yr(n).pipe(ie(U_))}}function Eh(t){return t!=null?W_($_(t)):null}function M_(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function q_(t){return t._rawValidators}function Y_(t){return t._rawAsyncValidators}function vh(t){return t?Array.isArray(t)?t:[t]:[]}function Ol(t,e){return Array.isArray(t)?t.includes(e):t===e}function T_(t,e){let i=vh(e);return vh(t).forEach(r=>{Ol(i,r)||i.push(r)}),i}function F_(t,e){return vh(e).filter(i=>!Ol(t,i))}function K_(t){return(Bl(t)?t.validators:t)||null}function mF(t){return Array.isArray(t)?Dh(t):t||null}function Z_(t,e){return(Bl(e)?e.asyncValidators:t)||null}function pF(t){return Array.isArray(t)?Eh(t):t||null}function Bl(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function gF(t,e,i){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new E(1e3,"");if(!n[i])throw new E(1001,"")}function bF(t,e,i){t._forEachChild((n,r)=>{if(i[r]===void 0)throw new E(1002,"")})}function yF(t,e){return[...e.path,t]}function Pl(t,e,i=Ch){Ih(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),_F(t,e),wF(t,e),xF(t,e),vF(t,e)}function O_(t,e,i=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),jl(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Ll(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function vF(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function Ih(t,e){let i=q_(t);e.validator!==null?t.setValidators(M_(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=Y_(t);e.asyncValidator!==null?t.setAsyncValidators(M_(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();Ll(e._rawValidators,r),Ll(e._rawAsyncValidators,r)}function jl(t,e){let i=!1;if(t!==null){if(e.validator!==null){let r=q_(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.validator);o.length!==r.length&&(i=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=Y_(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(i=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Ll(e._rawValidators,n),Ll(e._rawAsyncValidators,n),i}function _F(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&X_(t,e)})}function xF(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&X_(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function X_(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function wF(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function J_(t,e){t==null,Ih(t,e)}function DF(t,e){return jl(t,e)}function EF(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function CF(t){return Object.getPrototypeOf(t.constructor)===JT}function ex(t,e){t._syncPendingControls(),e.forEach(i=>{let n=i.control;n.updateOn==="submit"&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function IF(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(o=>{o.constructor===Vl?i=o:CF(o)?n=o:r=o}),r||n||i||null}function SF(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function R_(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function k_(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var P_,JT,L_,eF,nF,Vl,xh,wh,iF,Fl,Rl,ki,Ni,_h,hF,UB,Q_,jo,Tl,Fr,Vo,kl,Nl,Hl,Ch,AF,Bo,Sh,tx,MF,TF,N_,Ah,FF,Mh,OF,nx,Ho=g(()=>{"use strict";A();A();be();je();Ze();P_=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(b(Bn),b(F))},e.\u0275dir=Y({type:e});let t=e;return t})(),JT=(()=>{let e=class e extends P_{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=xi(e)))(o||e)}})(),e.\u0275dir=Y({type:e,features:[Ue]});let t=e;return t})(),L_=new D(""),eF={provide:L_,useExisting:vi(()=>Vl),multi:!0};nF=new D(""),Vl=(()=>{let e=class e extends P_{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!tF())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(b(Bn),b(F),b(nF,8))},e.\u0275dir=Y({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Oe("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[et([eF]),Ue]});let t=e;return t})();xh=new D(""),wh=new D(""),iF=/^(?=.{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])?)*$/,Fl=class{static min(e){return rF(e)}static max(e){return oF(e)}static required(e){return sF(e)}static requiredTrue(e){return aF(e)}static email(e){return lF(e)}static minLength(e){return cF(e)}static maxLength(e){return dF(e)}static pattern(e){return uF(e)}static nullValidator(e){return V_(e)}static compose(e){return G_(e)}static composeAsync(e){return W_(e)}};Rl=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Dh(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Eh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},ki=class extends Rl{get formDirective(){return null}get path(){return null}},Ni=class extends Rl{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},_h=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},hF={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},UB=Pe(M({},hF),{"[class.ng-submitted]":"isSubmitted"}),Q_=(()=>{let e=class e extends _h{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(b(Ni,2))},e.\u0275dir=Y({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&ue("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ue]});let t=e;return t})(),jo="VALID",Tl="INVALID",Fr="PENDING",Vo="DISABLED";kl=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===jo}get invalid(){return this.status===Tl}get pending(){return this.status==Fr}get disabled(){return this.status===Vo}get enabled(){return this.status!==Vo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(T_(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(T_(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(F_(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(F_(e,this._rawAsyncValidators))}hasValidator(e){return Ol(this._rawValidators,e)}hasAsyncValidator(e){return Ol(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Fr,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Vo,this.errors=null,this._forEachChild(n=>{n.disable(Pe(M({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Pe(M({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=jo,this._forEachChild(n=>{n.enable(Pe(M({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Pe(M({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===jo||this.status===Fr)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Vo:jo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Fr,this._hasOwnPendingAsyncValidator=!0;let i=H_(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new se,this.statusChanges=new se}_calculateStatus(){return this._allControlsDisabled()?Vo:this.errors?Tl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fr)?Fr:this._anyControlsHaveStatus(Tl)?Tl:jo}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Bl(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=mF(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=pF(this._rawAsyncValidators)}},Nl=class extends kl{constructor(e,i,n){super(K_(i),Z_(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){bF(this,!0,e),Object.keys(e).forEach(n=>{gF(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>n._syncPendingControls()?!0:i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{let n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}},Hl=new D("CallSetDisabledState",{providedIn:"root",factory:()=>Ch}),Ch="always";AF={provide:ki,useExisting:vi(()=>Sh)},Bo=Promise.resolve(),Sh=(()=>{let e=class e extends ki{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new se,this.form=new Nl({},Dh(n),Eh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Bo.then(()=>{let r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Pl(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Bo.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Bo.then(()=>{let r=this._findContainer(n.path),o=new Nl({});J_(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Bo.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Bo.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,ex(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(r){return new(r||e)(b(xh,10),b(wh,10),b(Hl,8))},e.\u0275dir=Y({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Oe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[v.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[et([AF]),Ue]});let t=e;return t})();tx=class extends kl{constructor(e=null,i,n){super(K_(i),Z_(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Bl(i)&&(i.nonNullable||i.initialValueIsDefault)&&(k_(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){R_(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){R_(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){k_(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},MF=t=>t instanceof tx,TF={provide:Ni,useExisting:vi(()=>Ah)},N_=Promise.resolve(),Ah=(()=>{let e=class e extends Ni{constructor(n,r,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new tx,this._registered=!1,this.name="",this.update=new se,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=IF(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),EF(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Pl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){N_.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&he(r);N_.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?yF(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(b(ki,9),b(xh,10),b(wh,10),b(L_,10),b(Qe,8),b(Hl,8))},e.\u0275dir=Y({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[v.None,"disabled","isDisabled"],model:[v.None,"ngModel","model"],options:[v.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[et([TF]),Ue,Je]});let t=e;return t})(),FF={provide:ki,useExisting:vi(()=>Mh)},Mh=(()=>{let e=class e extends ki{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new se,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(jl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return Pl(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){O_(n.control||null,n,!1),SF(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,ex(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,o=this.form.get(n.path);r!==o&&(O_(r||null,n),MF(o)&&(Pl(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);J_(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&DF(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ih(this.form,this),this._oldForm&&jl(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(b(xh,10),b(wh,10),b(Hl,8))},e.\u0275dir=Y({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Oe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[v.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[et([FF]),Ue,Je]});let t=e;return t})(),OF=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({});let t=e;return t})(),nx=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Hl,useValue:n.callSetDisabledState??Ch}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[OF]});let t=e;return t})()});function RF(){if(Uo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Uo=!0}))}finally{Uo=Uo||!1}return Uo}function qn(t){return RF()?t:!!t.capture}function rx(){if(Pi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Pi=!1,Pi;if("scrollBehavior"in document.documentElement.style)Pi=!0;else{let t=Element.prototype.scrollTo;t?Pi=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Pi=!1}}return Pi}function kF(){if(Th==null){let t=typeof document<"u"?document.head:null;Th=!!(t&&(t.createShadowRoot||t.attachShadow))}return Th}function ox(t){if(kF()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function At(t){return t.composedPath?t.composedPath()[0]:t.target}function zo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Fh,ye,Uo,Pi,Th,vt=g(()=>{"use strict";A();A();be();try{Fh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Fh=!1}ye=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?wn(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Fh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(r){return new(r||e)(p(qe))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function Ut(t,...e){return e.length?e.some(i=>t[i]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Or=g(()=>{"use strict"});function Rr(t){return t!=null&&`${t}`!="false"}function $o(t,e=0){return NF(t)?Number(t):e}function NF(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function kr(t){return Array.isArray(t)?t:[t]}function Me(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Cn(t){return t instanceof F?t.nativeElement:t}var Qn=g(()=>{"use strict";A()});var PF,Ul,Oh=g(()=>{"use strict";A();PF=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ul=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({providers:[PF]});let t=e;return t})()});function jF(t,e){if(!sx.has(t))try{Li||(Li=document.createElement("style"),e&&Li.setAttribute("nonce",e),Li.setAttribute("type","text/css"),document.head.appendChild(Li)),Li.sheet&&(Li.sheet.insertRule(`@media ${t} {body{ }}`,0),sx.add(t))}catch(i){console.error(i)}}function VF(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function ax(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}var sx,Li,LF,lx,cx=g(()=>{"use strict";A();A();Qn();je();Ze();vt();sx=new Set,LF=(()=>{let e=class e{constructor(n,r){this._platform=n,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):VF}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&jF(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(r){return new(r||e)(p(ye),p(wi,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();lx=(()=>{let e=class e{constructor(n,r){this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return ax(kr(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=ax(kr(n)).map(a=>this._registerQuery(a).observable),s=ad(o);return s=er(s.pipe(ft(1)),s.pipe(Kr(1),nr(0))),s.pipe(ie(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),s={observable:new G(a=>{let l=c=>this._zone.run(()=>a.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(ai(r),ie(({matches:a})=>({query:n,matches:a})),re(this._destroySubject)),mql:r};return this._queries.set(n,s),s}};e.\u0275fac=function(r){return new(r||e)(p(LF),p(S))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function Bh(t,e,i){let n=Wl(t,e);i=i.trim(),!n.some(r=>r.trim()===i)&&(n.push(i),t.setAttribute(e,n.join(hx)))}function Kl(t,e,i){let n=Wl(t,e);i=i.trim();let r=n.filter(o=>o!==i);r.length?t.setAttribute(e,r.join(hx)):t.removeAttribute(e)}function Wl(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}function Rh(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function dx(t,e){t.id||(t.id=`${mx}-${e}-${Nh++}`)}function Hh(t){return t.buttons===0||t.detail===0}function Uh(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}function iO(){return null}var hx,mx,zl,Nh,px,Ph,ql,JF,eO,gx,Nr,tO,nO,rO,oO,bx,Gl,sO,$l,Zl,ji,ux,fx,kh,zh,yx,Kn=g(()=>{"use strict";be();A();A();vt();vt();je();Or();Ze();Oh();Qn();cx();hx=" ";mx="cdk-describedby-message",zl="cdk-describedby-host",Nh=0,px=(()=>{let e=class e{constructor(n,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Nh++}`,this._document=n,this._id=C(go)+"-"+Nh++}describe(n,r,o){if(!this._canBeDescribed(n,r))return;let s=Rh(r,o);typeof r!="string"?(dx(r,this._id),this._messageRegistry.set(s,{messageElement:r,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(r,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,r,o){if(!r||!this._isElementNode(n))return;let s=Rh(r,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof r=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${zl}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(zl);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let o=this._document.createElement("div");dx(o,this._id),o.textContent=n,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Rh(n,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(n){this._messageRegistry.get(n)?.messageElement?.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let s=0;s<r.length;s++)r[s].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(n),o.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(n){let r=Wl(n,"aria-describedby").filter(o=>o.indexOf(mx)!=0);n.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(n,r){let o=this._messageRegistry.get(r);Bh(n,"aria-describedby",o.messageElement.id),n.setAttribute(zl,this._id),o.referenceCount++}_removeMessageReference(n,r){let o=this._messageRegistry.get(r);o.referenceCount--,Kl(n,"aria-describedby",o.messageElement.id),n.removeAttribute(zl)}_isElementDescribedByMessage(n,r){let o=Wl(n,"aria-describedby"),s=this._messageRegistry.get(r),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(r){return new(r||e)(p(j),p(ye))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Ph=class{constructor(e,i){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new R,this._typeaheadSubscription=oe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new R,this.change=new R,e instanceof pr?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Ua(e)&&(this._effectRef=yf(()=>this._itemsChanged(e()),{injector:i}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Wt(i=>this._pressedLetters.push(i)),nr(e),Te(()=>this._pressedLetters.length>0),ie(()=>this._pressedLetters.join(""))).subscribe(i=>{let n=this._getItemsArray();for(let r=1;r<n.length+1;r++){let o=(this._activeItemIndex+r)%n.length,s=n[o];if(!this._skipPredicateFn(s)&&s.getLabel().toUpperCase().trim().indexOf(i)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,i=10){return this._pageUpAndDown={enabled:e,delta:i},this}setActiveItem(e){let i=this._activeItem;this.updateActiveItem(e),this._activeItem!==i&&this.change.next(this._activeItemIndex)}onKeydown(e){let i=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(i){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(r||Ut(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(i>=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let i=this._getItemsArray(),n=typeof e=="number"?e:i.indexOf(e),r=i[n];this._activeItem=r??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let i=this._getItemsArray();for(let n=1;n<=i.length;n++){let r=(this._activeItemIndex+e*n+i.length)%i.length,o=i[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,i){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=i,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return Ua(this._items)?this._items():this._items instanceof pr?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let i=e.indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}},ql=class extends Ph{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};JF=new D("cdk-input-modality-detector-options"),eO={ignoreKeys:[18,17,224,91,16]},gx=650,Nr=qn({passive:!0,capture:!0}),tO=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,r,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new cn(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=At(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<gx||(this._modality.next(Hh(a)?"keyboard":"mouse"),this._mostRecentTarget=At(a))},this._onTouchstart=a=>{if(Uh(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=At(a)},this._options=M(M({},eO),s),this.modalityDetected=this._modality.pipe(Kr(1)),this.modalityChanged=this.modalityDetected.pipe(si()),n.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Nr),o.addEventListener("mousedown",this._onMousedown,Nr),o.addEventListener("touchstart",this._onTouchstart,Nr)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Nr),document.removeEventListener("mousedown",this._onMousedown,Nr),document.removeEventListener("touchstart",this._onTouchstart,Nr))}};e.\u0275fac=function(r){return new(r||e)(p(ye),p(S),p(j),p(JF,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),nO=new D("liveAnnouncerElement",{providedIn:"root",factory:iO});rO=new D("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),oO=0,bx=(()=>{let e=class e{constructor(n,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...r){let o=this._defaultOptions,s,a;return r.length===1&&typeof r[0]=="number"?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s<r.length;s++)r[s].remove();return o.classList.add(n),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${oO++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let s=r[o],a=s.getAttribute("aria-owns");a?a.indexOf(n)===-1&&s.setAttribute("aria-owns",a+" "+n):s.setAttribute("aria-owns",n)}}};e.\u0275fac=function(r){return new(r||e)(p(nO,8),p(S),p(j),p(rO,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Gl=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Gl||{}),sO=new D("cdk-focus-monitor-default-options"),$l=qn({passive:!0,capture:!0}),Zl=(()=>{let e=class e{constructor(n,r,o,s,a){this._ngZone=n,this._platform=r,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=l=>{let c=At(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=a?.detectionMode||Gl.IMMEDIATE}monitor(n,r=!1){let o=Cn(n);if(!this._platform.isBrowser||o.nodeType!==1)return Ge();let s=ox(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;let l={checkChildren:r,subject:new R,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){let r=Cn(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){let s=Cn(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Gl.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===Gl.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?gx:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,r){let o=this._elementInfo.get(r),s=At(n);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(n,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,$l),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,$l)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(re(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$l),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$l),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(r))return!0}return!1}};e.\u0275fac=function(r){return new(r||e)(p(S),p(ye),p(tO),p(j,8),p(sO,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ji=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(ji||{}),ux="cdk-high-contrast-black-on-white",fx="cdk-high-contrast-white-on-black",kh="cdk-high-contrast-active",zh=(()=>{let e=class e{constructor(n,r){this._platform=n,this._document=r,this._breakpointSubscription=C(lx).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ji.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ji.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ji.BLACK_ON_WHITE}return ji.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(kh,ux,fx),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===ji.BLACK_ON_WHITE?n.add(kh,ux):r===ji.WHITE_ON_BLACK&&n.add(kh,fx)}}};e.\u0275fac=function(r){return new(r||e)(p(ye),p(j))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yx=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(r){return new(r||e)(p(zh))},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[Ul]});let t=e;return t})()});function lO(){return C(j)}function dO(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?cO.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var aO,cO,In,sn,Sn=g(()=>{"use strict";A();A();be();aO=new D("cdk-dir-doc",{providedIn:"root",factory:lO});cO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;In=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new se,n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=dO(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(r){return new(r||e)(p(aO,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),sn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({});let t=e;return t})()});function mO(t,e){if(t&1&&pe(0,"mat-pseudo-checkbox",1),t&2){let i=ge();ne("disabled",i.disabled)("state",i.selected?"checked":"unchecked")}}function pO(t,e){if(t&1&&pe(0,"mat-pseudo-checkbox",3),t&2){let i=ge();ne("disabled",i.disabled)}}function gO(t,e){if(t&1&&(N(0,"span",4),ct(1),U()),t&2){let i=ge();O(),Ii("(",i.group.label,")")}}function bO(){return!0}function _O(t,e,i){let n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),r=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+r*r)}function Fx(t,e,i){if(i.length){let n=e.toArray(),r=i.toArray(),o=0;for(let s=0;s<t+1;s++)n[s].group&&n[s].group===r[o]&&o++;return o}return 0}function Ox(t,e,i,n){return t<i?t:t+e>i+n?Math.max(0,t-n+e):i}var uO,fO,hO,yO,dt,ec,Sx,Mt,qh,vx,Yh,_x,vO,xx,wx,Dx,Go,Qh,Ax,Mx,Tx,xO,wO,Zh,Xh,DO,Kh,ic,Jh,Ex,Cx,Gh,Wh,Ix,Jl,Rx,Vi=g(()=>{"use strict";A();A();Kn();Kn();Sn();be();vt();vt();Qn();je();Or();uO=["text"],fO=[[["mat-icon"]],"*"],hO=["mat-icon","*"];yO=new D("mat-sanity-checks",{providedIn:"root",factory:bO}),dt=(()=>{let e=class e{constructor(n,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return zo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(r){return new(r||e)(p(zh),p(yO,8),p(j))},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[sn,sn]});let t=e;return t})(),ec=class{constructor(e,i,n,r,o){this._defaultMatcher=e,this.ngControl=i,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,i=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(r,i)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}},Sx=(()=>{let e=class e{isErrorState(n,r){return!!(n&&n.invalid&&(n.touched||r&&r.submitted))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mt=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Mt||{}),qh=class{constructor(e,i,n,r=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=Mt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},vx=qn({passive:!0,capture:!0}),Yh=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let i=At(e);i&&this._events.get(e.type)?.forEach((n,r)=>{(r===i||r.contains(i))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,i,n,r){let o=this._events.get(i);if(o){let s=o.get(n);s?s.add(r):o.set(n,new Set([r]))}else this._events.set(i,new Map([[n,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,vx)})}removeHandler(e,i,n){let r=this._events.get(e);if(!r)return;let o=r.get(i);o&&(o.delete(n),o.size===0&&r.delete(i),r.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,vx)))}},_x={enterDuration:225,exitDuration:150},vO=800,xx=qn({passive:!0,capture:!0}),wx=["mousedown","touchstart"],Dx=["mouseup","mouseleave","touchend","touchcancel"],Go=class Go{constructor(e,i,n,r){this._target=e,this._ngZone=i,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Cn(n))}fadeInRipple(e,i,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=M(M({},_x),n.animation);n.centered&&(e=r.left+r.width/2,i=r.top+r.height/2);let s=n.radius||_O(e,i,r),a=e-r.left,l=i-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),h=u.transitionProperty,f=u.transitionDuration,m=h==="none"||f==="0s"||f==="0s, 0s"||r.width===0&&r.height===0,y=new qh(this,d,n,m);d.style.transform="scale3d(1, 1, 1)",y.state=Mt.FADING_IN,n.persistent||(this._mostRecentTransientRipple=y);let w=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let _=()=>this._finishRippleTransition(y),H=()=>this._destroyRipple(y);d.addEventListener("transitionend",_),d.addEventListener("transitioncancel",H),w={onTransitionEnd:_,onTransitionCancel:H}}),this._activeRipples.set(y,w),(m||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(e){if(e.state===Mt.FADING_OUT||e.state===Mt.HIDDEN)return;let i=e.element,n=M(M({},_x),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=Mt.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let i=Cn(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,wx.forEach(n=>{Go._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Dx.forEach(i=>{this._triggerElement.addEventListener(i,this,xx)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Mt.FADING_IN?this._startFadeOutTransition(e):e.state===Mt.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=Mt.VISIBLE,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Mt.HIDDEN,i!==null&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){let i=Hh(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+vO;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Uh(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=e.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let i=e.state===Mt.VISIBLE||e.config.terminateOnPointerUp&&e.state===Mt.FADING_IN;!e.config.persistent&&i&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(wx.forEach(i=>Go._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&(Dx.forEach(i=>e.removeEventListener(i,this,xx)),this._pointerUpEventsRegistered=!1))}};Go._eventManager=new Yh;Qh=Go;Ax=new D("mat-ripple-global-options"),Mx=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,r,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Qh(this,r,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:M(M(M({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,r=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,r,M(M({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,M(M({},this.rippleConfig),n))}};e.\u0275fac=function(r){return new(r||e)(b(F),b(S),b(ye),b(Ax,8),b(He,8))},e.\u0275dir=Y({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&ue("mat-ripple-unbounded",o.unbounded)},inputs:{color:[v.None,"matRippleColor","color"],unbounded:[v.None,"matRippleUnbounded","unbounded"],centered:[v.None,"matRippleCentered","centered"],radius:[v.None,"matRippleRadius","radius"],animation:[v.None,"matRippleAnimation","animation"],disabled:[v.None,"matRippleDisabled","disabled"],trigger:[v.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),Tx=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[dt,dt]});let t=e;return t})(),xO=(()=>{let e=class e{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(r){return new(r||e)(b(He,8))},e.\u0275cmp=Ce({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&ue("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Ae],decls:0,vars:0,template:function(r,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),wO=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[dt]});let t=e;return t})(),Zh=new D("MAT_OPTION_PARENT_COMPONENT"),Xh=new D("MatOptgroup"),DO=0,Kh=class{constructor(e,i=!1){this.source=e,this.isUserInput=i}},ic=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=n}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,r,o,s){this._element=n,this._changeDetectorRef=r,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${DO++}`,this.onSelectionChange=new se,this._stateChanges=new R}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,r){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!Ut(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new Kh(this,n))}};e.\u0275fac=function(r){return new(r||e)(b(F),b(Qe),b(Zh,8),b(Xh,8))},e.\u0275cmp=Ce({type:e,selectors:[["mat-option"]],viewQuery:function(r,o){if(r&1&&Re(uO,7),r&2){let s;ce(s=de())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,o){r&1&&Oe("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),r&2&&(_o("id",o.id),De("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ue("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[v.HasDecoratorInputTransform,"disabled","disabled",he]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Ye,Ae],ngContentSelectors:hO,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(r,o){r&1&&(Et(fO),fe(0,mO,1,2,"mat-pseudo-checkbox",1),Ee(1),N(2,"span",2,0),Ee(4,1),U(),fe(5,pO,1,1,"mat-pseudo-checkbox",3)(6,gO,2,1,"span",4),pe(7,"div",5)),r&2&&(Se(0,o.multiple?0:-1),O(5),Se(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),O(),Se(6,o.group&&o.group._inert?6:-1),O(),ne("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[xO,Mx],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();Jh=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[Tx,dt,wO]});let t=e;return t})(),Ex={capture:!0},Cx=["focus","click","mouseenter","touchstart"],Gh="mat-ripple-loader-uninitialized",Wh="mat-ripple-loader-class-name",Ix="mat-ripple-loader-centered",Jl="mat-ripple-loader-disabled",Rx=(()=>{let e=class e{constructor(){this._document=C(j,{optional:!0}),this._animationMode=C(He,{optional:!0}),this._globalRippleOptions=C(Ax,{optional:!0}),this._platform=C(ye),this._ngZone=C(S),this._hosts=new Map,this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;let o=n.target.closest(`[${Gh}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let n of Cx)this._document?.addEventListener(n,this._onInteraction,Ex)})}ngOnDestroy(){let n=this._hosts.keys();for(let r of n)this.destroyRipple(r);for(let r of Cx)this._document?.removeEventListener(r,this._onInteraction,Ex)}configureRipple(n,r){n.setAttribute(Gh,""),(r.className||!n.hasAttribute(Wh))&&n.setAttribute(Wh,r.className||""),r.centered&&n.setAttribute(Ix,""),r.disabled&&n.setAttribute(Jl,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,r){let o=this._hosts.get(n);if(o){o.disabled=r;return}r?n.setAttribute(Jl,""):n.removeAttribute(Jl)}_createRipple(n){if(!this._document)return;let r=this._hosts.get(n);if(r)return r;n.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",n.getAttribute(Wh)),n.append(o);let s=new Mx(new F(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(Ix),s.disabled=n.hasAttribute(Jl),this.attachRipple(n,s),s}attachRipple(n,r){n.removeAttribute(Gh),this._hosts.set(n,r)}destroyRipple(n){let r=this._hosts.get(n);r&&(r.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});var EO,CO,IO,SO,AO,MO,Nx,Px=g(()=>{"use strict";vt();A();A();Kn();Vi();EO=".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}",CO=["mat-icon-button",""],IO=["*"],SO=new D("MAT_BUTTON_CONFIG"),AO=[{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"]}],MO=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,r,o,s){this._elementRef=n,this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=C(Zl),this._rippleLoader=C(Rx),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=C(SO,{optional:!0}),l=n.nativeElement,c=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of AO)l.hasAttribute(d)&&c.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(r){Ey()},e.\u0275dir=Y({type:e,inputs:{color:"color",disableRipple:[v.HasDecoratorInputTransform,"disableRipple","disableRipple",he],disabled:[v.HasDecoratorInputTransform,"disabled","disabled",he],ariaDisabled:[v.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",he],disabledInteractive:[v.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",he]},features:[Ye]});let t=e;return t})(),Nx=(()=>{let e=class e extends MO{constructor(n,r,o,s){super(n,r,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(r){return new(r||e)(b(F),b(ye),b(S),b(He,8))},e.\u0275cmp=Ce({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(De("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Er(o.color?"mat-"+o.color:""),ue("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ue,Ae],attrs:CO,ngContentSelectors:IO,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Et(),pe(0,"span",0),Ee(1),pe(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}',EO],encapsulation:2,changeDetection:0});let t=e;return t})()});function FO(){if(rc===void 0&&(rc=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(rc=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return rc}function Wo(t){return FO()?.createHTML(t)||t}function Lx(t){return Error(`Unable to find icon with the name "${t}"`)}function OO(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function jx(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Vx(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function oc(t){return t.cloneNode(!0)}function Bx(t,e){return t+":"+e}function kO(t){return!!(t.url&&t.options)}function LO(){let t=C(j),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var TO,rc,An,RO,NO,PO,Hx,jO,VO,Ux,zx=g(()=>{"use strict";A();A();be();je();Ze();ol();cl();TO=["*"];An=class{constructor(e,i,n){this.url=e,this.svgText=i,this.options=n}},RO=(()=>{let e=class e{constructor(n,r,o,s){this._httpClient=n,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,r,o){return this.addSvgIconInNamespace("",n,r,o)}addSvgIconLiteral(n,r,o){return this.addSvgIconLiteralInNamespace("",n,r,o)}addSvgIconInNamespace(n,r,o,s){return this._addSvgIconConfig(n,r,new An(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,o,s){let a=this._sanitizer.sanitize(lt.HTML,o);if(!a)throw Vx(o);let l=Wo(a);return this._addSvgIconConfig(n,r,new An("",l,s))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,o){return this._addSvgIconSetConfig(n,new An(r,null,o))}addSvgIconSetLiteralInNamespace(n,r,o){let s=this._sanitizer.sanitize(lt.HTML,r);if(!s)throw Vx(r);let a=Wo(s);return this._addSvgIconSetConfig(n,new An("",a,o))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(lt.RESOURCE_URL,n);if(!r)throw jx(n);let o=this._cachedIconsByUrl.get(r);return o?Ge(oc(o)):this._loadSvgIconFromConfig(new An(n,null)).pipe(Wt(s=>this._cachedIconsByUrl.set(r,s)),ie(s=>oc(s)))}getNamedSvgIcon(n,r=""){let o=Bx(r,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(r);return a?this._getSvgFromIconSetConfigs(n,a):rd(Lx(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?Ge(oc(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(ie(r=>oc(r)))}_getSvgFromIconSetConfigs(n,r){let o=this._extractIconWithNameFromAnySet(n,r);if(o)return Ge(o);let s=r.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Gs(l=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(lt.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(d)),Ge(null)})));return Yr(s).pipe(ie(()=>{let a=this._extractIconWithNameFromAnySet(n,r);if(!a)throw Lx(n);return a}))}_extractIconWithNameFromAnySet(n,r){for(let o=r.length-1;o>=0;o--){let s=r[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,n,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Wt(r=>n.svgText=r),ie(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?Ge(null):this._fetchIcon(n).pipe(Wt(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,o){let s=n.querySelector(`[id="${r}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(Wo("<svg></svg>"));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(n){let r=this._svgElementFromString(Wo("<svg></svg>")),o=n.attributes;for(let s=0;s<o.length;s++){let{name:a,value:l}=o[s];a!=="id"&&r.setAttribute(a,l)}for(let s=0;s<n.childNodes.length;s++)n.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:o}=n,s=o?.withCredentials??!1;if(!this._httpClient)throw OO();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let a=this._sanitizer.sanitize(lt.RESOURCE_URL,r);if(!a)throw jx(r);let l=this._inProgressUrlFetches.get(a);if(l)return l;let c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(ie(d=>Wo(d)),Rn(()=>this._inProgressUrlFetches.delete(a)),Qr());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(n,r,o){return this._svgIconConfigs.set(Bx(n,r),o),this}_addSvgIconSetConfig(n,r){let o=this._iconSetConfigs.get(n);return o?o.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let o=0;o<this._resolvers.length;o++){let s=this._resolvers[o](r,n);if(s)return kO(s)?new An(s.url,null,s.options):new An(s,null)}}};e.\u0275fac=function(r){return new(r||e)(p(Co,8),p(Pf),p(j,8),p(at))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();NO=new D("MAT_ICON_DEFAULT_OPTIONS"),PO=new D("mat-icon-location",{providedIn:"root",factory:LO});Hx=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],jO=Hx.map(t=>`[${t}]`).join(", "),VO=/^url\(['"]?#(.*?)['"]?\)$/,Ux=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}constructor(n,r,o,s,a,l){this._elementRef=n,this._iconRegistry=r,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=oe.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=n.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),r.forEach(o=>n.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let r=this._elementsWithExternalReferences;r&&r.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(jO),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)Hx.forEach(a=>{let l=r[s],c=l.getAttribute(a),d=c?c.match(VO):null;if(d){let u=o.get(l);u||(u=[],o.set(l,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[r,o]=this._splitIconName(n);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(ft(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${r}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(r){return new(r||e)(b(F),b(RO),_r("aria-hidden"),b(PO),b(at),b(NO,8))},e.\u0275cmp=Ce({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(De("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Er(o.color?"mat-"+o.color:""),ue("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[v.HasDecoratorInputTransform,"inline","inline",he],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Ye,Ae],ngContentSelectors:TO,decls:1,vars:0,template:function(r,o){r&1&&(Et(),Ee(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let t=e;return t})()});var $x,Gx=g(()=>{"use strict";ol();A();A();$x=(()=>{var e;let i=class i{constructor(){ns(this,e,C(Co))}play(r,o,s){if(o==="lv-LV-general"){let a={"X-Api-Key":s};return Hr(this,e).get(`https://services.tilde.com/service/tts?system=${o}&text=${r}`,{headers:a,responseType:"blob"})}return Hr(this,e).post(`https://runa.tilde.lv/client/say/?text=${r}&voice=${o}`,null,{responseType:"blob"})}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=x({token:i,factory:i.\u0275fac,providedIn:"root"});let t=i;return t})()});function HO(t,e){if(t&1&&(po(),N(0,"svg",11),pe(1,"circle",12),U()),t&2){let i=ge();De("viewBox",i._viewBox()),O(),vn("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeCircumference()/2,"px")("stroke-width",i._circleStrokeWidth(),"%"),De("r",i._circleRadius())}}function zO(){return{diameter:Wx}}var BO,UO,Wx,$O,qx,Yx=g(()=>{"use strict";A();A();be();BO=["determinateSpinner"];UO=new D("mat-progress-spinner-default-options",{providedIn:"root",factory:zO});Wx=100,$O=10,qx=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}constructor(n,r,o){this._elementRef=n,this._defaultColor="primary",this._value=0,this._diameter=Wx,this._noopAnimations=r==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=n.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,n||0))}get diameter(){return this._diameter}set diameter(n){this._diameter=n||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(n){this._strokeWidth=n||0}_circleRadius(){return(this.diameter-$O)/2}_viewBox(){let n=this._circleRadius()*2+this.strokeWidth;return`0 0 ${n} ${n}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(r){return new(r||e)(b(F),b(He,8),b(UO))},e.\u0275cmp=Ce({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(r,o){if(r&1&&Re(BO,5),r&2){let s;ce(s=de())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(r,o){r&2&&(De("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),Er("mat-"+o.color),vn("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),ue("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[v.HasDecoratorInputTransform,"value","value",_n],diameter:[v.HasDecoratorInputTransform,"diameter","diameter",_n],strokeWidth:[v.HasDecoratorInputTransform,"strokeWidth","strokeWidth",_n]},exportAs:["matProgressSpinner"],standalone:!0,features:[Ye,Ae],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(r,o){if(r&1&&(fe(0,HO,2,8,"ng-template",null,0,Ga),N(2,"div",2,1),po(),N(4,"svg",3),pe(5,"circle",4),U()(),Pb(),N(6,"div",5)(7,"div",6)(8,"div",7),vo(9,8),U(),N(10,"div",9),vo(11,8),U(),N(12,"div",10),vo(13,8),U()()()),r&2){let s=Ci(1);O(4),De("viewBox",o._viewBox()),O(),vn("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),De("r",o._circleRadius()),O(4),ne("ngTemplateOutlet",s),O(2),ne("ngTemplateOutlet",s),O(2),ne("ngTemplateOutlet",s)}},dependencies:[Za],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let t=e;return t})()});var sc,Qx=g(()=>{"use strict";sc={en:{selectVoice:"Demo voices (currently only for Latvian language)",placeholder:'Enter text to listen to a demonstration of the text-to-speech technology. Remember, this service can only be used in accordance with its terms of use (see the "Frequently asked questions" section). It is not permitted to use this service for texts that contain offensive, indecent, defamatory, misleading, hateful, or discriminatory statements. Violation of the terms of use may result in liability as stipulated by the laws of the Republic of Latvia. A maximum of 1000 characters will be spoken.',playDisabled:"Enter text to play",play:"Play",stop:"Stop",voiceList:{sandra4:"Voice 1","lv-LV-general":"Voice 2"}},lv:{selectVoice:"Demo balsis (\u0161obr\u012Bd tikai Latvie\u0161u valod\u0101)",placeholder:"Ievadi tekstu, lai noklaus\u012Btos balss sint\u0113zes tehnolo\u0123ijas demonstr\u0101ciju. Atceries, ka \u0161o pakalpojumu var lietot tikai atbilsto\u0161i t\u0101 lieto\u0161anas noteikumiem (skat\u012Bt sada\u013Cu \u201CBie\u017E\u0101k uzdotie jaut\u0101jumi\u201D)! To nav at\u013Cauts izmantot tekstiem, kas satur aizskaro\u0161us, nepiekl\u0101j\u012Bgus, apmelojo\u0161us, maldino\u0161us, naidu vai diskrimin\u0101ciju veicino\u0161us apgalvojumus. Par lieto\u0161anas noteikumu p\u0101rk\u0101pumu var iest\u0101ties LR likumos noteikt\u0101 atbild\u012Bba. Tiks izrun\u0101ti ne vair\u0101k k\u0101 1000 simboli.",playDisabled:"Ievadi tekstu, lai atska\u0146ot to",play:"Atska\u0146ot",stop:"Apst\u0101din\u0101t",voiceList:{sandra4:"Balss 1","lv-LV-general":"Balss 2"}}}});var ac,Kx=g(()=>{"use strict";je();ac=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,i,n=!0,r){this._multiple=e,this._emitChanges=n,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,i&&i.length&&(e?i.forEach(o=>this._markSelected(o)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...e){this._verifyValueAssignment(e);let i=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),i.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let i=this._hasQueuedChanges();return e&&this._emitChangeEvent(),i}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,i){if(this.compareWith){i=i??this._selection;for(let n of i)if(this.compareWith(e,n))return n;return e}else return e}}});var qO,qo,YO,Lr,Pr,em,Bi=g(()=>{"use strict";Qn();A();je();Ze();vt();be();Sn();qO=20,qo=(()=>{let e=class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=qO){return this._platform.isBrowser?new G(r=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe($s(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Ge()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){let o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(Te(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=Cn(r),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return tr(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(r){return new(r||e)(p(S),p(ye),p(j,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),YO=20,Lr=(()=>{let e=class e{constructor(n,r,o){this._platform=n,this._change=new R,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,l=-s.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(n=YO){return n>0?this._change.pipe($s(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(r){return new(r||e)(p(ye),p(S),p(j,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Pr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({});let t=e;return t})(),em=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[sn,Pr,sn,Pr]});let t=e;return t})()});var Yo,Qo,Ko,tm,nm,lc,Xx,im=g(()=>{"use strict";A();A();Yo=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Qo=class extends Yo{constructor(e,i,n,r,o){super(),this.component=e,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}},Ko=class extends Yo{constructor(e,i,n,r){super(),this.templateRef=e,this.viewContainerRef=i,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,i=this.context){return this.context=i,super.attach(e)}detach(){return this.context=void 0,super.detach()}},tm=class extends Yo{constructor(e){super(),this.element=e instanceof F?e.nativeElement:e}},nm=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Qo)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Ko)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof tm)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},lc=class extends nm{constructor(e,i,n,r,o){super(),this.outletElement=e,this._componentFactoryResolver=i,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){let n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(e.injector||this._defaultInjector||Bt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=e,r}attachTemplatePortal(e){let i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=i.indexOf(n);r!==-1&&i.remove(r)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},Xx=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({});let t=e;return t})()});function sm(t,e){return e.some(i=>{let n=t.bottom<i.top,r=t.top>i.bottom,o=t.right<i.left,s=t.left>i.right;return n||r||o||s})}function e0(t,e){return e.some(i=>{let n=t.top<i.top,r=t.bottom>i.bottom,o=t.left<i.left,s=t.right>i.right;return n||r||o||s})}function Hi(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function n0(t){if(typeof t!="number"&&t!=null){let[e,i]=t.split(XO);return!i||i==="px"?parseFloat(e):null}return t||null}function i0(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function JO(t,e){return t===e?!0:t.isOriginClipped===e.isOriginClipped&&t.isOriginOutsideView===e.isOriginOutsideView&&t.isOverlayClipped===e.isOverlayClipped&&t.isOverlayOutsideView===e.isOverlayOutsideView}function iR(t){return()=>t.scrollStrategies.reposition()}var Jx,rm,om,cc,am,QO,dc,lm,o0,KO,ZO,s0,cm,t0,XO,dm,r0,um,eR,tR,Tt,nR,a0,Zo,hm,rR,uc,fc=g(()=>{"use strict";Bi();Bi();Bi();be();be();A();A();Qn();vt();vt();Ze();Sn();Sn();im();je();Or();Jx=rx(),rm=class{constructor(e,i){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Me(-this._previousScrollPosition.left),e.style.top=Me(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,i=this._document.body,n=e.style,r=i.style,o=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Jx&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Jx&&(n.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}},om=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Te(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},cc=class{enable(){}disable(){}attach(){}};am=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();sm(i,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},QO=(()=>{let e=class e{constructor(n,r,o,s){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new cc,this.close=a=>new om(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new rm(this._viewportRuler,this._document),this.reposition=a=>new am(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(r){return new(r||e)(p(qo),p(Lr),p(S),p(j))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),dc=class{constructor(e){if(this.scrollStrategy=new cc,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let i=Object.keys(e);for(let n of i)e[n]!==void 0&&(this[n]=e[n])}}},lm=class{constructor(e,i){this.connectionPair=e,this.scrollableViewProperties=i}},o0=(()=>{let e=class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(r){return new(r||e)(p(j))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),KO=(()=>{let e=class e extends o0{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(r){return new(r||e)(p(j),p(S,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ZO=(()=>{let e=class e extends o0{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=At(s)},this._clickListener=s=>{let a=At(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(n){if(super.add(n),!this._isAttached){let r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(r){return new(r||e)(p(j),p(ye),p(S,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),s0=(()=>{let e=class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||zo()){let o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}let r=this._document.createElement("div");r.classList.add(n),zo()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}};e.\u0275fac=function(r){return new(r||e)(p(j),p(ye))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),cm=class{constructor(e,i,n,r,o,s,a,l,c,d=!1){this._portalOutlet=e,this._host=i,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new R,this._attachments=new R,this._detachments=new R,this._locationChanges=oe.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let i=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(ft(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof i?.onDestroy=="function"&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=M(M({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Pe(M({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Me(this._config.width),e.height=Me(this._config.height),e.minWidth=Me(this._config.minWidth),e.minHeight=Me(this._config.minHeight),e.maxWidth=Me(this._config.maxWidth),e.maxHeight=Me(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,i,n){let r=kr(i||[]).filter(o=>!!o);r.length&&(n?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(re(rt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},t0="cdk-overlay-connected-position-bounding-box",XO=/([A-Za-z%]+)$/,dm=class{get positions(){return this._preferredPositions}constructor(e,i,n,r,o){this._viewportRuler=i,this._document=n,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=oe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(t0),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,i=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,i,a),d=this._getOverlayFit(c,i,n,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){o.push({position:a,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:i})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Hi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(t0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,i)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,i,n){let r;if(n.originX=="center")r=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r=n.originX=="start"?s:a}i.left<0&&(r-=i.left);let o;return n.originY=="center"?o=e.top+e.height/2:o=n.originY=="top"?e.top:e.bottom,i.top<0&&(o-=i.top),{x:r,y:o}}_getOverlayPoint(e,i,n){let r;n.overlayX=="center"?r=-i.width/2:n.overlayX==="start"?r=this._isRtl()?-i.width:0:r=this._isRtl()?0:-i.width;let o;return n.overlayY=="center"?o=-i.height/2:o=n.overlayY=="top"?0:-i.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,i,n,r){let o=i0(i),{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-n.width,h=0-a,f=a+o.height-n.height,m=this._subtractOverflows(o.width,d,u),y=this._subtractOverflows(o.height,h,f),w=m*y;return{visibleArea:w,isCompletelyWithinViewport:o.width*o.height===w,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(e,i,n){if(this._hasFlexibleDimensions){let r=n.bottom-i.y,o=n.right-i.x,s=n0(this._overlayRef.getConfig().minHeight),a=n0(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=r,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let r=i0(i),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),c=Math.max(o.left-n.left-e.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=e.x<this._viewportMargin?o.left-n.left-e.x:0,r.height<=o.height?u=l||-a:u=e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,i){if(this._setTransformOrigin(e),this._setOverlayElementStyles(i,e),this._setBoundingBoxStyles(i,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!JO(this._lastScrollVisibility,n)){let r=new lm(e,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let i=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let o=0;o<i.length;o++)i[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,i){let n=this._viewportRect,r=this._isRtl(),o,s,a;if(i.overlayY==="top")s=e.y,o=n.height-s+this._viewportMargin;else if(i.overlayY==="bottom")a=n.height-e.y+this._viewportMargin*2,o=n.height-a+this._viewportMargin;else{let f=Math.min(n.bottom-e.y+n.top,e.y),m=this._lastBoundingBoxSize.height;o=f*2,s=e.y-f,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-m/2)}let l=i.overlayX==="start"&&!r||i.overlayX==="end"&&r,c=i.overlayX==="end"&&!r||i.overlayX==="start"&&r,d,u,h;if(c)h=n.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=n.right-e.x;else{let f=Math.min(n.right-e.x+n.left,e.x),m=this._lastBoundingBoxSize.width;d=f*2,u=e.x-f,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-m/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(e,i){let n=this._calculateBoundingBoxRect(e,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=Me(n.height),r.top=Me(n.top),r.bottom=Me(n.bottom),r.width=Me(n.width),r.left=Me(n.left),r.right=Me(n.right),i.overlayX==="center"?r.alignItems="center":r.alignItems=i.overlayX==="end"?"flex-end":"flex-start",i.overlayY==="center"?r.justifyContent="center":r.justifyContent=i.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Me(o)),s&&(r.maxWidth=Me(s))}this._lastBoundingBoxSize=n,Hi(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Hi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Hi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,i){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Hi(n,this._getExactOverlayY(i,e,d)),Hi(n,this._getExactOverlayX(i,e,d))}else n.position="static";let a="",l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(r?n.maxHeight=Me(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=Me(s.maxWidth):o&&(n.maxWidth="")),Hi(this._pane.style,n)}_getExactOverlayY(e,i,n){let r={top:"",bottom:""},o=this._getOverlayPoint(i,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=Me(o.y);return r}_getExactOverlayX(e,i,n){let r={left:"",right:""},o=this._getOverlayPoint(i,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=Me(o.x);return r}_getScrollVisibility(){let e=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:e0(e,n),isOriginOutsideView:sm(e,n),isOverlayClipped:e0(i,n),isOverlayOutsideView:sm(i,n)}}_subtractOverflows(e,...i){return i.reduce((n,r)=>n-Math.max(r,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:e-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,i){return i==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&kr(e).forEach(i=>{i!==""&&this._appliedPanelClasses.indexOf(i)===-1&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof F)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let i=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+i,height:n,width:i}}};r0="cdk-global-overlay-wrapper",um=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let i=e.getConfig();this._overlayRef=e,this._width&&!i.width&&e.updateSize({width:this._width}),this._height&&!i.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(r0),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=n,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",f="",m="",y="";l?y="flex-start":d==="center"?(y="center",h?m=u:f=u):h?d==="left"||d==="end"?(y="flex-end",f=u):(d==="right"||d==="start")&&(y="flex-start",m=u):d==="left"||d==="start"?(y="flex-start",f=u):(d==="right"||d==="end")&&(y="flex-end",m=u),e.position=this._cssPosition,e.marginLeft=l?"0":f,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":m,i.justifyContent=y,i.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(r0),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},eR=(()=>{let e=class e{constructor(n,r,o,s){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new um}flexibleConnectedTo(n){return new dm(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(r){return new(r||e)(p(Lr),p(j),p(ye),p(s0))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tR=0,Tt=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d,u,h,f,m){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=h,this._outsideClickDispatcher=f,this._animationsModuleType=m}create(n){let r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new dc(n);return a.direction=a.direction||this._directionality.value,new cm(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(n){let r=this._document.createElement("div");return r.id=`cdk-overlay-${tR++}`,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(Hn)),new lc(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(r){return new(r||e)(p(QO),p(s0),p(yn),p(eR),p(KO),p(Bt),p(S),p(j),p(In),p(Df),p(ZO),p(He,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),nR=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],a0=new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Tt);return()=>t.scrollStrategies.reposition()}}),Zo=(()=>{let e=class e{constructor(n){this.elementRef=n}};e.\u0275fac=function(r){return new(r||e)(b(F))},e.\u0275dir=Y({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let t=e;return t})(),hm=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(n){this._disposeOnNavigation=n}constructor(n,r,o,s,a){this._overlay=n,this._dir=a,this._backdropSubscription=oe.EMPTY,this._attachSubscription=oe.EMPTY,this._detachSubscription=oe.EMPTY,this._positionSubscription=oe.EMPTY,this._disposeOnNavigation=!1,this._ngZone=C(S),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new se,this.positionChange=new se,this.attach=new se,this.detach=new se,this.overlayKeydown=new se,this.overlayOutsideClick=new se,this._templatePortal=new Ko(r,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=nR);let n=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Ut(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),s=At(r);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new dc({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(n){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return n.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let n=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof Zo?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Zo?this.origin.elementRef.nativeElement:this.origin instanceof F?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(gd(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)(b(Tt),b(Lt),b(gt),b(a0),b(In,8))},e.\u0275dir=Y({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[v.None,"cdkConnectedOverlayOrigin","origin"],positions:[v.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[v.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[v.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[v.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[v.None,"cdkConnectedOverlayWidth","width"],height:[v.None,"cdkConnectedOverlayHeight","height"],minWidth:[v.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[v.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[v.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[v.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[v.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[v.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[v.None,"cdkConnectedOverlayOpen","open"],disableClose:[v.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[v.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[v.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",he],lockPosition:[v.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",he],flexibleDimensions:[v.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",he],growAfterOpen:[v.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",he],push:[v.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",he],disposeOnNavigation:[v.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",he]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Ye,Je]});let t=e;return t})();rR={provide:a0,deps:[Tt],useFactory:iR},uc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({providers:[Tt,rR],imports:[sn,Xx,em,em]});let t=e;return t})()});function aR(t){return()=>t.scrollStrategies.reposition({scrollThrottle:d0})}function cR(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var sR,d0,u0,lR,dR,l0,c0,uR,fR,hR,mR,f0,pR,h0,mm=g(()=>{"use strict";Ze();Qn();Or();A();A();be();vt();vt();Kn();Kn();Sn();fc();fc();im();je();Bi();Vi();sR=["tooltip"],d0=20,u0=new D("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Tt);return()=>t.scrollStrategies.reposition({scrollThrottle:d0})}});lR={provide:u0,deps:[Tt],useFactory:aR};dR=new D("mat-tooltip-default-options",{providedIn:"root",factory:cR}),l0="tooltip-panel",c0=qn({passive:!0}),uR=8,fR=8,hR=24,mR=200,f0=(()=>{let e=class e{get position(){return this._position}set position(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(n){this._positionAtOrigin=Rr(n),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(n){this._disabled=Rr(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(n){this._showDelay=$o(n)}get hideDelay(){return this._hideDelay}set hideDelay(n){this._hideDelay=$o(n),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(n){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=n!=null?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(n,r,o,s,a,l,c,d,u,h,f,m){this._overlay=n,this._elementRef=r,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=d,this._dir=h,this._defaultOptions=f,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=pR,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new R,this._scrollStrategy=u,this._document=m,f&&(this._showDelay=f.showDelay,this._hideDelay=f.hideDelay,f.position&&(this.position=f.position),f.positionAtOrigin&&(this.positionAtOrigin=f.positionAtOrigin),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe(re(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=uR}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(re(this._destroyed)).subscribe(n=>{n?n==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,o])=>{n.removeEventListener(r,o,c0)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}show(n=this.showDelay,r){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(r);this._detach(),this._portal=this._portal||new Qo(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(re(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(n)}hide(n=this.hideDelay){let r=this._tooltipInstance;r&&(r.isVisible()?r.hide(n):(r._cancelPendingAnimations(),this._detach()))}toggle(n){this._isTooltipVisible()?this.hide():this.show(void 0,n)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(n){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!n)&&s._origin instanceof F)return this._overlayRef;this._detach()}let r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?n||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return o.positionChanges.pipe(re(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${l0}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(re(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(re(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(re(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!Ut(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(n){let r=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(M(M({},o.main),s.main)),this._addOffset(M(M({},o.fallback),s.fallback))])}_addOffset(n){let r=fR,o=!this._dir||this._dir.value=="ltr";return n.originY==="top"?n.offsetY=-r:n.originY==="bottom"?n.offsetY=r:n.originX==="start"?n.offsetX=o?-r:r:n.originX==="end"&&(n.offsetX=o?r:-r),n}_getOrigin(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"||r=="below"?o={originX:"center",originY:r=="above"?"top":"bottom"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={originX:"start",originY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"?o={overlayX:"center",overlayY:"bottom"}:r=="below"?o={overlayX:"center",overlayY:"top"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={overlayX:"end",overlayY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(ft(1),re(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}_invertPosition(n,r){return this.position==="above"||this.position==="below"?r==="top"?r="bottom":r==="bottom"&&(r="top"):n==="end"?n="start":n==="start"&&(n="end"),{x:n,y:r}}_updateCurrentPositionClass(n){let{overlayY:r,originX:o,originY:s}=n,a;if(r==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=r==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let c=`${this._cssClassPrefix}-${l0}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",n=>{this._setupPointerExitEventsIfNeeded();let r;n.x!==void 0&&n.y!==void 0&&(r=n),this.show(void 0,r)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",n=>{let r=n.targetTouches?.[0],o=r?{x:r.clientX,y:r.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",r=>{let o=r.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};n.push(["touchend",r],["touchcancel",r])}this._addListeners(n),this._passiveListeners.push(...n)}_addListeners(n){n.forEach(([r,o])=>{this._elementRef.nativeElement.addEventListener(r,o,c0)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(n){if(this._isTooltipVisible()){let r=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;r!==o&&!o.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){let n=this.touchGestures;if(n!=="off"){let r=this._elementRef.nativeElement,o=r.style;(n==="on"||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(n==="on"||!r.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(r){return new(r||e)(b(Tt),b(F),b(qo),b(gt),b(S),b(ye),b(px),b(Zl),b(u0),b(In),b(dR,8),b(j))},e.\u0275dir=Y({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(r,o){r&2&&ue("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[v.None,"matTooltipPosition","position"],positionAtOrigin:[v.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[v.None,"matTooltipDisabled","disabled"],showDelay:[v.None,"matTooltipShowDelay","showDelay"],hideDelay:[v.None,"matTooltipHideDelay","hideDelay"],touchGestures:[v.None,"matTooltipTouchGestures","touchGestures"],message:[v.None,"matTooltip","message"],tooltipClass:[v.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let t=e;return t})(),pR=(()=>{let e=class e{constructor(n,r,o){this._changeDetectorRef=n,this._elementRef=r,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(n){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},n)}hide(n){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},n)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:n}){(!n||!this._triggerElement.contains(n))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let n=this._elementRef.nativeElement.getBoundingClientRect();return n.height>hR&&n.width>=mR}_handleAnimationEnd({animationName:n}){(n===this._showAnimation||n===this._hideAnimation)&&this._finalizeAnimation(n===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(n){n?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(n){let r=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(r.classList.remove(n?s:o),r.classList.add(n?o:s),this._isVisible!==n&&(this._isVisible=n,this._changeDetectorRef.markForCheck()),n&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(r);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}n&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(n))}};e.\u0275fac=function(r){return new(r||e)(b(Qe),b(F),b(He,8))},e.\u0275cmp=Ce({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&Re(sR,7),r&2){let s;ce(s=de())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(r,o){r&1&&Oe("mouseleave",function(a){return o._handleMouseLeave(a)}),r&2&&vn("zoom",o.isVisible()?1:null)},standalone:!0,features:[Ae],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(r,o){if(r&1){let s=Ei();N(0,"div",1,0),Oe("animationend",function(l){return jt(s),Vt(o._handleAnimationEnd(l))}),N(2,"div",2),ct(3),U()()}r&2&&(ue("mdc-tooltip--multiline",o._isMultiline),ne("ngClass",o.tooltipClass),O(3),tn(o.message))},dependencies:[Un],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let t=e;return t})(),h0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({providers:[lR],imports:[yx,It,uc,dt,dt,Pr]});let t=e;return t})()});var pm,m0,p0=g(()=>{"use strict";A();A();je();Ze();pm=class{constructor(e){this._box=e,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(i=>this._resizeSubject.next(i)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new G(i=>{let n=this._resizeSubject.subscribe(i);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),n.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Te(i=>i.some(n=>n.target===e)),Ws({bufferSize:1,refCount:!0}),re(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},m0=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=C(S),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,n]of this._observers)n.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(n,r){let o=r?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new pm(o)),this._observers.get(o).observe(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function CR(t,e){t&1&&pe(0,"span",17)}function IR(t,e){if(t&1&&(N(0,"label",16),Ee(1,1),fe(2,CR,1,0,"span",17),U()),t&2){let i=ge(2);ne("floating",i._shouldLabelFloat())("monitorResize",i._hasOutline())("id",i._labelId),De("for",i._control.disableAutomaticLabeling?null:i._control.id),O(2),Se(2,!i.hideRequiredMarker&&i._control.required?2:-1)}}function SR(t,e){if(t&1&&fe(0,IR,3,5,"label",16),t&2){let i=ge();Se(0,i._hasFloatingLabel()?0:-1)}}function AR(t,e){t&1&&pe(0,"div",5)}function MR(t,e){}function TR(t,e){if(t&1&&fe(0,MR,0,0,"ng-template",11),t&2){ge(2);let i=Ci(1);ne("ngTemplateOutlet",i)}}function FR(t,e){if(t&1&&(N(0,"div",7),fe(1,TR,1,1,null,11),U()),t&2){let i=ge();ne("matFormFieldNotchedOutlineOpen",i._shouldLabelFloat()),O(),Se(1,i._forceDisplayInfixLabel()?-1:1)}}function OR(t,e){t&1&&(N(0,"div",8,2),Ee(2,2),U())}function RR(t,e){t&1&&(N(0,"div",9,3),Ee(2,3),U())}function kR(t,e){}function NR(t,e){if(t&1&&fe(0,kR,0,0,"ng-template",11),t&2){ge();let i=Ci(1);ne("ngTemplateOutlet",i)}}function PR(t,e){t&1&&(N(0,"div",12),Ee(1,4),U())}function LR(t,e){t&1&&(N(0,"div",13),Ee(1,5),U())}function jR(t,e){t&1&&pe(0,"div",14)}function VR(t,e){if(t&1&&(N(0,"div",18),Ee(1,6),U()),t&2){let i=ge();ne("@transitionMessages",i._subscriptAnimationState)}}function BR(t,e){if(t&1&&(N(0,"mat-hint",20),ct(1),U()),t&2){let i=ge(2);ne("id",i._hintLabelId),O(),tn(i.hintLabel)}}function HR(t,e){if(t&1&&(N(0,"div",19),fe(1,BR,2,2,"mat-hint",20),Ee(2,7),pe(3,"div",21),Ee(4,8),U()),t&2){let i=ge();ne("@transitionMessages",i._subscriptAnimationState),O(),Se(1,i.hintLabel?1:-1)}}function WR(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let i=e.cloneNode(!0);i.style.setProperty("position","absolute"),i.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(i);let n=i.scrollWidth;return i.remove(),n}var bR,yR,vR,_R,xR,wR,DR,ER,mc,UR,zR,g0,$R,GR,E0,b0,y0,hc,v0,_0,qR,gm,bm,YR,x0,w0,QR,D0,KR,C0,pc,gc=g(()=>{"use strict";A();A();Sn();vt();je();Ze();p0();Qn();fl();be();Oh();Vi();bR=["notch"],yR=["matFormFieldNotchedOutline",""],vR=["*"],_R=["textField"],xR=["iconPrefixContainer"],wR=["textPrefixContainer"],DR=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ER=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];mc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Y({type:e,selectors:[["mat-label"]],standalone:!0});let t=e;return t})(),UR=new D("MatError"),zR=0,g0=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${zR++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Y({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,o){r&2&&(_o("id",o.id),De("align",null),ue("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let t=e;return t})(),$R=new D("MatPrefix"),GR=new D("MatSuffix"),E0=new D("FloatingLabelParent"),b0=(()=>{let e=class e{get floating(){return this._floating}set floating(n){this._floating=n,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(n){this._monitorResize=n,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(n){this._elementRef=n,this._floating=!1,this._monitorResize=!1,this._resizeObserver=C(m0),this._ngZone=C(S),this._parent=C(E0),this._resizeSubscription=new oe}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return WR(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(r){return new(r||e)(b(F))},e.\u0275dir=Y({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,o){r&2&&ue("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let t=e;return t})();y0="mdc-line-ripple--active",hc="mdc-line-ripple--deactivating",v0=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(hc);o.propertyName==="opacity"&&a&&s.remove(y0,hc)},r.runOutsideAngular(()=>{n.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let n=this._elementRef.nativeElement.classList;n.remove(hc),n.add(y0)}deactivate(){this._elementRef.nativeElement.classList.add(hc)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(r){return new(r||e)(b(F),b(S))},e.\u0275dir=Y({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let t=e;return t})(),_0=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._ngZone=r,this.open=!1}ngAfterViewInit(){let n=this._elementRef.nativeElement.querySelector(".mdc-floating-label");n?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(n){!this.open||!n?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${n}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(r){return new(r||e)(b(F),b(S))},e.\u0275cmp=Ce({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,o){if(r&1&&Re(bR,5),r&2){let s;ce(s=de())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,o){r&2&&ue("mdc-notched-outline--notched",o.open)},inputs:{open:[v.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ae],attrs:yR,ngContentSelectors:vR,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(r,o){r&1&&(Et(),pe(0,"div",1),N(1,"div",2,0),Ee(3),U(),pe(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),qR={transitionMessages:To("transitionMessages",[dl("enter",rn({opacity:1,transform:"translateY(0%)"})),Sr("void => enter",[rn({opacity:0,transform:"translateY(-5px)"}),Fo("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},gm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Y({type:e});let t=e;return t})(),bm=new D("MatFormField"),YR=new D("MAT_FORM_FIELD_DEFAULT_OPTIONS"),x0=0,w0="fill",QR="auto",D0="fixed",KR="translateY(-50%)",C0=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(n){this._hideRequiredMarker=Rr(n)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||QR}set floatLabel(n){n!==this._floatLabel&&(this._floatLabel=n,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(n){let r=this._appearance,o=n||this._defaults?.appearance||w0;this._appearance=o,this._appearance==="outline"&&this._appearance!==r&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||D0}set subscriptSizing(n){this._subscriptSizing=n||this._defaults?.subscriptSizing||D0}get hintLabel(){return this._hintLabel}set hintLabel(n){this._hintLabel=n,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(n){this._explicitFormFieldControl=n}constructor(n,r,o,s,a,l,c,d){this._elementRef=n,this._changeDetectorRef=r,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=w0,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${x0++}`,this._hintLabelId=`mat-mdc-hint-${x0++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let n=this._control;n.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${n.controlType}`),n.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),n.ngControl&&n.ngControl.valueChanges&&n.ngControl.valueChanges.pipe(re(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(n=>!n._isText),this._hasTextPrefix=!!this._prefixChildren.find(n=>n._isText),this._hasIconSuffix=!!this._suffixChildren.find(n=>!n._isText),this._hasTextSuffix=!!this._suffixChildren.find(n=>n._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),rt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(re(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(re(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(n){let r=this._control?this._control.ngControl:null;return r&&r[n]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let n=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&n.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?n.push(r.id):this._hintLabel&&n.push(this._hintLabelId),o&&n.push(o.id)}else this._errorChildren&&n.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(n)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let n=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){n.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let r=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=r?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${s+a}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;n.style.transform=`var(
9
9
  --mat-mdc-form-field-label-transform,
10
- ${nF} translateX(${u})
11
- )`}_isAttachedToDom(){let n=this._elementRef.nativeElement;if(n.getRootNode){let r=n.getRootNode();return r&&r!==n}return document.documentElement.contains(n)}};e.\u0275fac=function(r){return new(r||e)(v(V),v(Ge),v(S),v(vn),v(be),v(eF,8),v(Be,8),v(B))},e.\u0275cmp=Ee({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,o,s){if(r&1&&(Dt(s,ec,5),Dt(s,ec,7),Dt(s,Jh,5),Dt(s,KN,5),Dt(s,QN,5),Dt(s,YN,5),Dt(s,W0,5)),r&2){let a;le(a=ce())&&(o._labelChildNonStatic=a.first),le(a=ce())&&(o._labelChildStatic=a.first),le(a=ce())&&(o._formFieldControl=a.first),le(a=ce())&&(o._prefixChildren=a),le(a=ce())&&(o._suffixChildren=a),le(a=ce())&&(o._errorChildren=a),le(a=ce())&&(o._hintChildren=a)}},viewQuery:function(r,o){if(r&1&&(Ne(IN,5),Ne(SN,5),Ne(MN,5),Ne(G0,5),Ne(Z0,5),Ne(Y0,5)),r&2){let s;le(s=ce())&&(o._textField=s.first),le(s=ce())&&(o._iconPrefixContainer=s.first),le(s=ce())&&(o._textPrefixContainer=s.first),le(s=ce())&&(o._floatingLabel=s.first),le(s=ce())&&(o._notchedOutline=s.first),le(s=ce())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(r,o){r&2&&fe("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Ke([{provide:em,useExisting:e},{provide:J0,useExisting:e}]),Se],ngContentSelectors:AN,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,o){if(r&1){let s=mi();xt(TN),de(0,FN,1,1,"ng-template",null,0,Aa),k(2,"div",4,1),Oe("click",function(l){return Lt(s),Vt(o._control.onContainerClick(l))}),de(4,kN,1,0,"div",5),k(5,"div",6),de(6,LN,2,2,"div",7)(7,VN,3,0,"div",8)(8,jN,3,0,"div",9),k(9,"div",10),de(10,zN,1,1,null,11),De(11),j(),de(12,HN,2,0,"div",12)(13,UN,2,0,"div",13),j(),de(14,$N,1,0,"div",14),j(),k(15,"div",15),de(16,WN,2,1)(17,qN,5,2),j()}if(r&2){let s;O(2),fe("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),O(2),Ie(4,!o._hasOutline()&&!o._control.disabled?4:-1),O(2),Ie(6,o._hasOutline()?6:-1),O(),Ie(7,o._hasIconPrefix?7:-1),O(),Ie(8,o._hasTextPrefix?8:-1),O(2),Ie(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),O(2),Ie(12,o._hasTextSuffix?12:-1),O(),Ie(13,o._hasIconSuffix?13:-1),O(),Ie(14,o._hasOutline()?-1:14),O(),fe("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),O(),Ie(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[G0,Z0,La,Y0,W0],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:[JN.transitionMessages]},changeDetection:0});let t=e;return t})(),tc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({imports:[ot,Et,Ml,ot]});let t=e;return t})()});function lF(t,e){if(t&1&&(k(0,"span",4),ut(1),j()),t&2){let i=pe();O(),Qt(i.placeholder)}}function cF(t,e){t&1&&De(0)}function dF(t,e){if(t&1&&(k(0,"span",11),ut(1),j()),t&2){let i=pe(2);O(),Qt(i.triggerValue)}}function uF(t,e){if(t&1&&(k(0,"span",10),de(1,cF,1,0)(2,dF,2,1),j()),t&2){let i=pe();O(),Ie(1,i.customTrigger?1:2)}}function fF(t,e){if(t&1){let i=mi();k(0,"div",12,1),Oe("@transformPanel.done",function(r){Lt(i);let o=pe();return Vt(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){Lt(i);let o=pe();return Vt(o._handleKeydown(r))}),De(2,1),j()}if(t&2){let i=pe();Pv("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",i._getPanelTheme(),""),ne("ngClass",i.panelClass)("@transformPanel","showing"),xe("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}function mF(t){return()=>t.scrollStrategies.reposition()}var rF,oF,sF,aF,hF,tw,nw,pF,gF,bF,tm,iw,rw,nm=p(()=>{"use strict";Xl();Me();T();T();Ti();Ti();nc();Ai();Ai();Bn();Bn();Hn();C0();yr();Mo();Mo();Ve();et();Xa();rF=["trigger"],oF=["panel"],sF=[[["mat-select-trigger"]],"*"],aF=["mat-select-trigger","*"];hF={transformPanelWrap:bo("transformPanelWrap",[pr("* => void",E_("@transformPanel",[D_()],{optional:!0}))]),transformPanel:bo("transformPanel",[Ka("void",Jt({opacity:0,transform:"scale(1, 0.8)"})),pr("void => showing",vo("120ms cubic-bezier(0, 0, 0.2, 1)",Jt({opacity:1,transform:"scale(1, 1)"}))),pr("* => void",vo("100ms linear",Jt({opacity:0})))])},tw=0,nw=new D("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Mt);return()=>t.scrollStrategies.reposition()}});pF=new D("MAT_SELECT_CONFIG"),gF={provide:nw,deps:[Mt],useFactory:mF},bF=new D("MatSelectTrigger"),tm=class{constructor(e,i){this.source=e,this.value=i}},iw=(()=>{let e=class e{_scrollOptionIntoView(n){let r=this.options.toArray()[n];if(r){let o=this.panel.nativeElement,s=s0(n,this.options,this.optionGroups),a=r._getHostElement();n===0&&s===1?o.scrollTop=0:o.scrollTop=a0(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(n){return new tm(this,n)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(n){this._hideSingleSelectionIndicator=n,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(bl.required)??!1}set required(n){this._required=n,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(n){this._selectionModel,this._multiple=n}get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){this._assignValue(n)&&this._onChange(n)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}constructor(n,r,o,s,a,l,c,d,u,h,f,m,b,w){this._viewportRuler=n,this._changeDetectorRef=r,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=h,this._liveAnnouncer=b,this._defaultOptions=w,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(_,L)=>_===L,this._uid=`mat-select-${tw++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${tw++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=Gc(()=>{let _=this.options;return _?_.changes.pipe(Xn(_),rn(()=>Ot(..._.map(L=>L.onSelectionChange)))):this._initialized.pipe(rn(()=>this.optionSelectionChanges))}),this.openedChange=new se,this._openedStream=this.openedChange.pipe(Ue(_=>_),re(()=>{})),this._closedStream=this.openedChange.pipe(Ue(_=>!_),re(()=>{})),this.selectionChange=new se,this.valueChange=new se,this._trackedModal=null,this._skipPredicate=_=>this.panelOpen?!1:_.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),w?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=w.typeaheadDebounceInterval),this._errorStateTracker=new Bl(s,h,d,c,this.stateChanges),this._scrollStrategyFactory=m,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ql(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ui(),oe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(oe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(oe(this._destroy)).subscribe(n=>{n.added.forEach(r=>r.select()),n.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(Xn(null),oe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let n=this._getTriggerAriaLabelledby(),r=this.ngControl;if(n!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?o.setAttribute("aria-labelledby",n):o.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(this._previousControl!==void 0&&r.disabled!==null&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(n){(n.disabled||n.userAriaDescribedBy)&&this.stateChanges.next(),n.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let n=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!n)return;let r=`${this.id}-panel`;this._trackedModal&&Pl(this._trackedModal,"aria-owns",r),Dh(n,"aria-owns",r),this._trackedModal=n}_clearFromModal(){if(!this._trackedModal)return;let n=`${this.id}-panel`;Pl(this._trackedModal,"aria-owns",n),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(n){this._assignValue(n)}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let n=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){let r=n.keyCode,o=r===40||r===38||r===37||r===39,s=r===13||r===32,a=this._keyManager;if(!a.isTyping()&&s&&!zt(n)||(this.multiple||n.altKey)&&o)n.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(n);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(n){let r=this._keyManager,o=n.keyCode,s=o===40||o===38,a=r.isTyping();if(s&&n.altKey)n.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&r.activeItem&&!zt(n))n.preventDefault(),r.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&n.ctrlKey){n.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=r.activeItemIndex;r.onKeydown(n),this._multiple&&s&&n.shiftKey&&r.activeItem&&r.activeItemIndex!==l&&r.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(gt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(n){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{let r=this._selectOptionByValue(n);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(n){let r=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,n)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(n){return n!==this._value||this._multiple&&Array.isArray(n)?(this.options&&this._setSelectionByValue(n),this._value=n,!0):!1}_getOverlayWidth(n){return this.panelWidth==="auto"?(n instanceof Vo?n.elementRef:n||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let n of this.options)n._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Fl(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let n=Ot(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(oe(n)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Ot(...this.options.map(r=>r._stateChanges)).pipe(oe(n)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(n,r){let o=this._selectionModel.isSelected(n);n.value==null&&!this._multiple?(n.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(n.value)):(o!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),r&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),r&&this.focus())),o!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let n=this.options.toArray();this._selectionModel.sort((r,o)=>this.sortComparator?this.sortComparator(r,o,n):n.indexOf(r)-n.indexOf(o)),this.stateChanges.next()}}_propagateChanges(n){let r;this.multiple?r=this.selected.map(o=>o.value):r=this.selected?this.selected.value:n,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let n=-1;for(let r=0;r<this.options.length;r++)if(!this.options.get(r).disabled){n=r;break}this._keyManager.setActiveItem(n)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=n?n+" ":"";return this.ariaLabelledby?r+this.ariaLabelledby:n}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=(n?n+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(n){this.openedChange.emit(n)}setDescribedByIds(n){n.length?this._elementRef.nativeElement.setAttribute("aria-describedby",n.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(r){return new(r||e)(v(Cr),v(Ge),v(S),v(n0),v(V),v(vn,8),v(dh,8),v(fh,8),v(em,8),v(Ci,10),ar("tabindex"),v(nw),v(Gy),v(pF,8))},e.\u0275cmp=Ee({type:e,selectors:[["mat-select"]],contentQueries:function(r,o,s){if(r&1&&(Dt(s,bF,5),Dt(s,Ul,5),Dt(s,Rh,5)),r&2){let a;le(a=ce())&&(o.customTrigger=a.first),le(a=ce())&&(o.options=a),le(a=ce())&&(o.optionGroups=a)}},viewQuery:function(r,o){if(r&1&&(Ne(rF,5),Ne(oF,5),Ne(Kh,5)),r&2){let s;le(s=ce())&&(o.trigger=s.first),le(s=ce())&&(o.panel=s.first),le(s=ce())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(r,o){r&1&&Oe("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),r&2&&(xe("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),fe("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[y.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[y.HasDecoratorInputTransform,"disabled","disabled",ue],disableRipple:[y.HasDecoratorInputTransform,"disableRipple","disableRipple",ue],tabIndex:[y.HasDecoratorInputTransform,"tabIndex","tabIndex",n=>n==null?0:mn(n)],hideSingleSelectionIndicator:[y.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ue],placeholder:"placeholder",required:[y.HasDecoratorInputTransform,"required","required",ue],multiple:[y.HasDecoratorInputTransform,"multiple","multiple",ue],disableOptionCentering:[y.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",ue],compareWith:"compareWith",value:"value",ariaLabel:[y.None,"aria-label","ariaLabel"],ariaLabelledby:[y.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[y.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",mn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Ke([{provide:Jh,useExisting:e},{provide:kh,useExisting:e}]),We,_t,Se],ngContentSelectors:aF,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(r,o){if(r&1){let s=mi();xt(sF),k(0,"div",2,0),Oe("click",function(){return Lt(s),Vt(o.open())}),k(3,"div",3),de(4,lF,2,1,"span",4)(5,uF,3,1),j(),k(6,"div",5)(7,"div",6),eo(),k(8,"svg",7),me(9,"path",8),j()()()(),de(10,fF,3,9,"ng-template",9),Oe("backdropClick",function(){return Lt(s),Vt(o.close())})("attach",function(){return Lt(s),Vt(o._onAttached())})("detach",function(){return Lt(s),Vt(o.close())})}if(r&2){let s=pi(1);O(3),xe("id",o._valueId),O(),Ie(4,o.empty?4:5),O(6),ne("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Vo,Kh,Pa],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[hF.transformPanel]},changeDetection:0});let t=e;return t})(),rw=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=q({type:e}),e.\u0275inj=G({providers:[gF],imports:[Et,Ql,Ph,ot,Er,tc,Ph,ot]});let t=e;return t})()});function _F(t,e){if(t&1&&(k(0,"mat-option",11),ut(1),j()),t&2){let i=e.$implicit,n=pe();ne("value",i),O(),gi(" ",n.translations.voiceList[i]," ")}}function yF(t,e){if(t&1&&(k(0,"mat-icon"),ut(1),j()),t&2){let i=pe();O(),gi(" ",i.isPlaying?"stop":"volume_up"," ")}}function wF(t,e){t&1&&me(0,"mat-spinner",12),t&2&&ne("diameter",20)}var ic,im=p(()=>{"use strict";Me();T();Mo();u0();v0();y0();Ve();D0();E0();Qh();nm();nc();T();Me();Mo();Qh();nc();nm();Ti();ic=(()=>{var e;let i=class i{constructor(){zo(this,e,void 0);this.langAttributeKey="lang",this.defaultLanguage="lv",this.voiceList=["sandra4","lv-LV-general"],this.selectedVoice=this.voiceList[0],fm(this,e,C(_0))}get translations(){return Gl[this.language]?Gl[this.language]:Gl[this.defaultLanguage]}ngOnInit(){this.watchHtmlLangAttributeChanges()}playText(){if(this.isPlaying){this.stop();return}this.isLoading=!0,Ir(this,e).play(this.text,this.selectedVoice,this.xApiKey).pipe(Dn(()=>{this.isLoading=!1})).subscribe({next:r=>{let o=URL.createObjectURL(r);this.audio=new Audio(o),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(o),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.isPlaying=!1)}watchHtmlLangAttributeChanges(){let r=this.getHtmlLangAttribute();!this.language&&r!==this.defaultLanguage&&(this.language=r);let o=c=>{for(let d of c)if(d.type==="attributes"&&d.attributeName===this.langAttributeKey){let u=this.getHtmlLangAttribute();this.language=u}},s=new MutationObserver(o),a=document.querySelector("html"),l={attributes:!0,attributeFilter:[this.langAttributeKey]};s.observe(a,l)}getHtmlLangAttribute(){return document.querySelector("html").getAttribute(this.langAttributeKey).split("-")[0]}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=Ee({type:i,selectors:[["lib-text-to-speech"]],inputs:{xApiKey:"xApiKey",language:"language"},standalone:!0,features:[Se],decls:13,vars:10,consts:[[1,"text-to-speech-wrapper"],["appearance","outline","color","accent"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[1,"text-to-speech-textarea-wrapper"],[1,"text-to-speech-textarea",3,"ngModelChange","ngModel","placeholder"],[1,"text-to-speech-actions"],[3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[3,"diameter",4,"ngIf"],[3,"value"],[3,"diameter"]],template:function(o,s){o&1&&(k(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),ut(3),j(),k(4,"mat-select",2),Ta("valueChange",function(l){return Qu(s.selectedVoice,l)||(s.selectedVoice=l),l}),de(5,_F,2,2,"mat-option",3),j()(),k(6,"div",4)(7,"textarea",5),Ta("ngModelChange",function(l){return Qu(s.text,l)||(s.text=l),l}),j()(),k(8,"div",6)(9,"div",7)(10,"button",8),Oe("click",function(){return s.playText()}),de(11,yF,2,1,"mat-icon",9)(12,wF,1,1,"mat-spinner",10),j()()()()),o&2&&(O(3),Qt(s.translations.selectVoice),O(),Ma("value",s.selectedVoice),O(),ne("ngForOf",s.voiceList),O(2),Ma("ngModel",s.text),ne("placeholder",s.translations.placeholder),O(2),ne("matTooltip",s.text?"":s.translations.playDisabled),O(),ne("matTooltip",s.isPlaying?s.translations.stop:s.translations.play)("disabled",!s.text||s.isLoading),O(),ne("ngIf",!s.isLoading),O(),ne("ngIf",s.isLoading))},dependencies:[Et,t_,n_,d0,b0,Oy,Cl,Ey,uh,x0,H0,z0,tc,ew,ec,rw,iw,Ul],styles:[".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-25px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}"]});let t=i;return t})()});var ow,sw=p(()=>{"use strict";Me();im();T();ow=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Ee({type:e,selectors:[["app-root"]],standalone:!0,features:[Ke([]),Se],decls:1,vars:0,template:function(r,o){r&1&&me(0,"lib-text-to-speech")},dependencies:[Et,ic],encapsulation:2});let t=e;return t})()});var xF=fw(aw=>{Za();ty();iy();sw();im();Ho(aw,null,function*(){let t=yield y_(Qf),e=ny(ic,{injector:t.injector});customElements.define("tilde-text-to-speech",e)});__(ow,Qf).catch(t=>console.error(t))});export default xF();
10
+ ${KR} translateX(${u})
11
+ )`}_isAttachedToDom(){let n=this._elementRef.nativeElement;if(n.getRootNode){let r=n.getRootNode();return r&&r!==n}return document.documentElement.contains(n)}};e.\u0275fac=function(r){return new(r||e)(b(F),b(Qe),b(S),b(In),b(ye),b(YR,8),b(He,8),b(j))},e.\u0275cmp=Ce({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,o,s){if(r&1&&(Ct(s,mc,5),Ct(s,mc,7),Ct(s,gm,5),Ct(s,$R,5),Ct(s,GR,5),Ct(s,UR,5),Ct(s,g0,5)),r&2){let a;ce(a=de())&&(o._labelChildNonStatic=a.first),ce(a=de())&&(o._labelChildStatic=a.first),ce(a=de())&&(o._formFieldControl=a.first),ce(a=de())&&(o._prefixChildren=a),ce(a=de())&&(o._suffixChildren=a),ce(a=de())&&(o._errorChildren=a),ce(a=de())&&(o._hintChildren=a)}},viewQuery:function(r,o){if(r&1&&(Re(_R,5),Re(xR,5),Re(wR,5),Re(b0,5),Re(_0,5),Re(v0,5)),r&2){let s;ce(s=de())&&(o._textField=s.first),ce(s=de())&&(o._iconPrefixContainer=s.first),ce(s=de())&&(o._textPrefixContainer=s.first),ce(s=de())&&(o._floatingLabel=s.first),ce(s=de())&&(o._notchedOutline=s.first),ce(s=de())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(r,o){r&2&&ue("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[et([{provide:bm,useExisting:e},{provide:E0,useExisting:e}]),Ae],ngContentSelectors:ER,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,o){if(r&1){let s=Ei();Et(DR),fe(0,SR,1,1,"ng-template",null,0,Ga),N(2,"div",4,1),Oe("click",function(l){return jt(s),Vt(o._control.onContainerClick(l))}),fe(4,AR,1,0,"div",5),N(5,"div",6),fe(6,FR,2,2,"div",7)(7,OR,3,0,"div",8)(8,RR,3,0,"div",9),N(9,"div",10),fe(10,NR,1,1,null,11),Ee(11),U(),fe(12,PR,2,0,"div",12)(13,LR,2,0,"div",13),U(),fe(14,jR,1,0,"div",14),U(),N(15,"div",15),fe(16,VR,2,1)(17,HR,5,2),U()}if(r&2){let s;O(2),ue("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),O(2),Se(4,!o._hasOutline()&&!o._control.disabled?4:-1),O(2),Se(6,o._hasOutline()?6:-1),O(),Se(7,o._hasIconPrefix?7:-1),O(),Se(8,o._hasTextPrefix?8:-1),O(2),Se(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),O(2),Se(12,o._hasTextSuffix?12:-1),O(),Se(13,o._hasIconSuffix?13:-1),O(),Se(14,o._hasOutline()?-1:14),O(),ue("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),O(),Se(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[b0,_0,Za,v0,g0],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:[qR.transitionMessages]},changeDetection:0});let t=e;return t})(),pc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[dt,It,Ul,dt]});let t=e;return t})()});function nk(t,e){if(t&1&&(N(0,"span",4),ct(1),U()),t&2){let i=ge();O(),tn(i.placeholder)}}function ik(t,e){t&1&&Ee(0)}function rk(t,e){if(t&1&&(N(0,"span",11),ct(1),U()),t&2){let i=ge(2);O(),tn(i.triggerValue)}}function ok(t,e){if(t&1&&(N(0,"span",10),fe(1,ik,1,0)(2,rk,2,1),U()),t&2){let i=ge();O(),Se(1,i.customTrigger?1:2)}}function sk(t,e){if(t&1){let i=Ei();N(0,"div",12,1),Oe("@transformPanel.done",function(r){jt(i);let o=ge();return Vt(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){jt(i);let o=ge();return Vt(o._handleKeydown(r))}),Ee(2,1),U()}if(t&2){let i=ge();cv("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",i._getPanelTheme(),""),ne("ngClass",i.panelClass)("@transformPanel","showing"),De("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}function lk(t){return()=>t.scrollStrategies.reposition()}var XR,JR,ek,tk,ak,I0,S0,ck,dk,uk,ym,A0,M0,vm=g(()=>{"use strict";fc();be();A();A();Vi();Vi();gc();Bi();Bi();Kn();Kn();Sn();Kx();Or();Ho();Ho();je();Ze();fl();XR=["trigger"],JR=["panel"],ek=[[["mat-select-trigger"]],"*"],tk=["mat-select-trigger","*"];ak={transformPanelWrap:To("transformPanelWrap",[Sr("* => void",Qv("@transformPanel",[Yv()],{optional:!0}))]),transformPanel:To("transformPanel",[dl("void",rn({opacity:0,transform:"scale(1, 0.8)"})),Sr("void => showing",Fo("120ms cubic-bezier(0, 0, 0.2, 1)",rn({opacity:1,transform:"scale(1, 1)"}))),Sr("* => void",Fo("100ms linear",rn({opacity:0})))])},I0=0,S0=new D("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=C(Tt);return()=>t.scrollStrategies.reposition()}});ck=new D("MAT_SELECT_CONFIG"),dk={provide:S0,deps:[Tt],useFactory:lk},uk=new D("MatSelectTrigger"),ym=class{constructor(e,i){this.source=e,this.value=i}},A0=(()=>{let e=class e{_scrollOptionIntoView(n){let r=this.options.toArray()[n];if(r){let o=this.panel.nativeElement,s=Fx(n,this.options,this.optionGroups),a=r._getHostElement();n===0&&s===1?o.scrollTop=0:o.scrollTop=Ox(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(n){return new ym(this,n)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(n){this._hideSingleSelectionIndicator=n,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Fl.required)??!1}set required(n){this._required=n,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(n){this._selectionModel,this._multiple=n}get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){this._assignValue(n)&&this._onChange(n)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}constructor(n,r,o,s,a,l,c,d,u,h,f,m,y,w){this._viewportRuler=n,this._changeDetectorRef=r,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=h,this._liveAnnouncer=y,this._defaultOptions=w,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(_,H)=>_===H,this._uid=`mat-select-${I0++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${I0++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=dd(()=>{let _=this.options;return _?_.changes.pipe(ai(_),Gt(()=>rt(..._.map(H=>H.onSelectionChange)))):this._initialized.pipe(Gt(()=>this.optionSelectionChanges))}),this.openedChange=new se,this._openedStream=this.openedChange.pipe(Te(_=>_),ie(()=>{})),this._closedStream=this.openedChange.pipe(Te(_=>!_),ie(()=>{})),this.selectionChange=new se,this.valueChange=new se,this._trackedModal=null,this._skipPredicate=_=>this.panelOpen?!1:_.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),w?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=w.typeaheadDebounceInterval),this._errorStateTracker=new ec(s,h,d,c,this.stateChanges),this._scrollStrategyFactory=m,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(f)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ac(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(si(),re(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(re(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(re(this._destroy)).subscribe(n=>{n.added.forEach(r=>r.select()),n.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(ai(null),re(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let n=this._getTriggerAriaLabelledby(),r=this.ngControl;if(n!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?o.setAttribute("aria-labelledby",n):o.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(this._previousControl!==void 0&&r.disabled!==null&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(n){(n.disabled||n.userAriaDescribedBy)&&this.stateChanges.next(),n.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let n=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!n)return;let r=`${this.id}-panel`;this._trackedModal&&Kl(this._trackedModal,"aria-owns",r),Bh(n,"aria-owns",r),this._trackedModal=n}_clearFromModal(){if(!this._trackedModal)return;let n=`${this.id}-panel`;Kl(this._trackedModal,"aria-owns",n),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(n){this._assignValue(n)}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let n=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){let r=n.keyCode,o=r===40||r===38||r===37||r===39,s=r===13||r===32,a=this._keyManager;if(!a.isTyping()&&s&&!Ut(n)||(this.multiple||n.altKey)&&o)n.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(n);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(n){let r=this._keyManager,o=n.keyCode,s=o===40||o===38,a=r.isTyping();if(s&&n.altKey)n.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&r.activeItem&&!Ut(n))n.preventDefault(),r.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&n.ctrlKey){n.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=r.activeItemIndex;r.onKeydown(n),this._multiple&&s&&n.shiftKey&&r.activeItem&&r.activeItemIndex!==l&&r.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(ft(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(n){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{let r=this._selectOptionByValue(n);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(n){let r=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,n)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(n){return n!==this._value||this._multiple&&Array.isArray(n)?(this.options&&this._setSelectionByValue(n),this._value=n,!0):!1}_getOverlayWidth(n){return this.panelWidth==="auto"?(n instanceof Zo?n.elementRef:n||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let n of this.options)n._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new ql(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let n=rt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(re(n)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),rt(...this.options.map(r=>r._stateChanges)).pipe(re(n)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(n,r){let o=this._selectionModel.isSelected(n);n.value==null&&!this._multiple?(n.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(n.value)):(o!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),r&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),r&&this.focus())),o!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let n=this.options.toArray();this._selectionModel.sort((r,o)=>this.sortComparator?this.sortComparator(r,o,n):n.indexOf(r)-n.indexOf(o)),this.stateChanges.next()}}_propagateChanges(n){let r;this.multiple?r=this.selected.map(o=>o.value):r=this.selected?this.selected.value:n,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let n=-1;for(let r=0;r<this.options.length;r++)if(!this.options.get(r).disabled){n=r;break}this._keyManager.setActiveItem(n)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=n?n+" ":"";return this.ariaLabelledby?r+this.ariaLabelledby:n}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=(n?n+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(n){this.openedChange.emit(n)}setDescribedByIds(n){n.length?this._elementRef.nativeElement.setAttribute("aria-describedby",n.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(r){return new(r||e)(b(Lr),b(Qe),b(S),b(Sx),b(F),b(In,8),b(Sh,8),b(Mh,8),b(bm,8),b(Ni,10),_r("tabindex"),b(S0),b(bx),b(ck,8))},e.\u0275cmp=Ce({type:e,selectors:[["mat-select"]],contentQueries:function(r,o,s){if(r&1&&(Ct(s,uk,5),Ct(s,ic,5),Ct(s,Xh,5)),r&2){let a;ce(a=de())&&(o.customTrigger=a.first),ce(a=de())&&(o.options=a),ce(a=de())&&(o.optionGroups=a)}},viewQuery:function(r,o){if(r&1&&(Re(XR,5),Re(JR,5),Re(hm,5)),r&2){let s;ce(s=de())&&(o.trigger=s.first),ce(s=de())&&(o.panel=s.first),ce(s=de())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(r,o){r&1&&Oe("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),r&2&&(De("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),ue("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[v.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[v.HasDecoratorInputTransform,"disabled","disabled",he],disableRipple:[v.HasDecoratorInputTransform,"disableRipple","disableRipple",he],tabIndex:[v.HasDecoratorInputTransform,"tabIndex","tabIndex",n=>n==null?0:_n(n)],hideSingleSelectionIndicator:[v.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",he],placeholder:"placeholder",required:[v.HasDecoratorInputTransform,"required","required",he],multiple:[v.HasDecoratorInputTransform,"multiple","multiple",he],disableOptionCentering:[v.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",he],compareWith:"compareWith",value:"value",ariaLabel:[v.None,"aria-label","ariaLabel"],ariaLabelledby:[v.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[v.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",_n],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[et([{provide:gm,useExisting:e},{provide:Zh,useExisting:e}]),Ye,Je,Ae],ngContentSelectors:tk,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(r,o){if(r&1){let s=Ei();Et(ek),N(0,"div",2,0),Oe("click",function(){return jt(s),Vt(o.open())}),N(3,"div",3),fe(4,nk,2,1,"span",4)(5,ok,3,1),U(),N(6,"div",5)(7,"div",6),po(),N(8,"svg",7),pe(9,"path",8),U()()()(),fe(10,sk,3,9,"ng-template",9),Oe("backdropClick",function(){return jt(s),Vt(o.close())})("attach",function(){return jt(s),Vt(o._onAttached())})("detach",function(){return jt(s),Vt(o.close())})}if(r&2){let s=Ci(1);O(3),De("id",o._valueId),O(),Se(4,o.empty?4:5),O(6),ne("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Zo,hm,Un],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[ak.transformPanel]},changeDetection:0});let t=e;return t})(),M0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({providers:[dk],imports:[It,uc,Jh,dt,Pr,pc,Jh,dt]});let t=e;return t})()});function xm(t){for(let e in t){let i=t[e]??"";switch(e){case"display":i==="flex"?t.display=["-webkit-flex","flex"]:i==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.display=i;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+e]=i;break;case"flex-direction":t["-webkit-flex-direction"]=i,t["flex-direction"]=i;break;case"order":t.order=t["-webkit-"+e]=isNaN(+i)?"0":i;break}}return t}function F0(t){let[e,i,n]=hk(t);return pk(e,i,n)}function hk(t){t=t?.toLowerCase()??"";let[e,i,n]=t.split(" ");return T0.find(r=>r===e)||(e=T0[0]),i===_m&&(i=n!==_m?n:"",n=_m),[e,mk(i),!!n]}function mk(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap";break}return t}function pk(t,e=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}function O0(t,...e){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let i of e)if(i!=null)for(let n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t}var _m,T0,R0=g(()=>{"use strict";_m="inline",T0=["row","column","row-reverse","column-reverse"];});function gk(t,e){return()=>{if(wn(e)){let i=Array.from(t.querySelectorAll(`[class*=${k0}]`)),n=/\bflex-layout-.+?\b/g;i.forEach(r=>{r.classList.contains(`${k0}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(n,"")})}}}function z0(t,e){return t=t?.clone()??new Ui,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}function vk(t,e){return $0(t)[e]??""}function _k(t,e,i){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let n=$0(t);n[e]=i??"",xk(t,n)}function xk(t,e){let i="";for(let n in e)e[n]&&(i+=`${n}:${e[n]};`);t.setAttribute("style",i)}function $0(t){let e={},i=t.getAttribute("style");if(i){let n=i.split(/;+/g);for(let r=0;r<n.length;r++){let o=n[r].trim();if(o.length>0){let s=o.indexOf(":");if(s===-1)throw new Error(`Invalid CSS style: ${o}`);let a=o.substr(0,s).trim();e[a]=o.substr(s+1).trim()}}}return e}function Xo(t,e){let i=t&&t.priority||0;return(e&&e.priority||0)-i}function wk(t,e){let i=t.priority||0,n=e.priority||0;return i-n}function Ek(t,e,i){let n=t.filter(r=>!N0[r]);if(n.length>0){let r=n.join(", ");try{let o=e.createElement("style");if(o.setAttribute("type","text/css"),i&&o.setAttribute("nonce",i),!o.styleSheet){let s=`
12
+ /*
13
+ @ngbracket/ngx-layout - workaround for possible browser quirk with mediaQuery listeners
14
+ see http://bit.ly/2sd4HMP
15
+ */
16
+ @media ${r} {.fx-query-test{ }}
17
+ `;o.appendChild(e.createTextNode(s))}e.head.appendChild(o),n.forEach(s=>N0[s]=o)}catch(o){console.error(o)}}}function Ck(t){let e=new EventTarget;return e.matches=t==="all"||t==="",e.media=t,e.addListener=()=>{},e.removeListener=()=>{},e.addEventListener=()=>{},e.dispatchEvent=()=>!1,e.onchange=null,e}function Ik(t,e){return e&&!!window.matchMedia("all").addListener?window.matchMedia(t):Ck(t)}function Ak(t){let e=t.length>0?t.charAt(0):"",i=t.length>1?t.slice(1):"";return e.toUpperCase()+i}function Mk(t){return t.replace(Sk,"|").split("|").map(Ak).join("")}function Tk(t){return t.forEach(e=>{e.suffix||(e.suffix=Mk(e.alias),e.overlapping=!!e.overlapping)}),t}function Fk(t,e=[]){let i={};return t.forEach(n=>{i[n.alias]=n}),e.forEach(n=>{i[n.alias]?O0(i[n.alias],n):i[n.alias]=n}),Tk(Object.keys(i).map(n=>i[n]))}function Lk(t){return t?.mediaQuery.startsWith(jr)??!1}function U0(t,e,i,n){if(n!==void 0){let r=t.get(e)??new Map;r.set(i,n),t.set(e,r)}}var bk,k0,Br,Ui,yk,bc,Zn,Jo,yc,Vr,Dm,Dk,N0,Sk,Ok,P0,L0,j0,V0,B0,H0,Mn,Rk,kk,G0,jr,Nk,Pk,wm,Em,vc,zi=g(()=>{"use strict";A();A();be();je();R0();Ze();bk={provide:Wa,useFactory:gk,deps:[j,qe],multi:!0},k0="flex-layout-";Br=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({providers:[bk]});let t=e;return t})(),Ui=class t{constructor(e=!1,i="all",n="",r="",o=0){this.matches=e,this.mediaQuery=i,this.mqAlias=n,this.suffix=r,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};yk=(()=>{let e=class e{constructor(){this.stylesheet=new Map}addStyleToElement(n,r,o){let s=this.stylesheet.get(n);s?s.set(r,o):this.stylesheet.set(n,new Map([[r,o]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(n,r){let o=this.stylesheet.get(n),s="";if(o){let a=o.get(r);(typeof a=="number"||typeof a=="string")&&(s=a+"")}return s}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();bc={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Zn=new D("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>bc});Jo=new D("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});yc=new D("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});Vr=class{constructor(){this.shouldCache=!0}sideEffect(e,i,n){}};Dm=(()=>{let e=class e{constructor(n,r,o,s){this._serverStylesheet=n,this._serverModuleLoaded=r,this._platformId=o,this.layoutConfig=s}applyStyleToElement(n,r,o=null){let s={};typeof r=="string"&&(s[r]=o,r=s),s=this.layoutConfig.disableVendorPrefixes?r:xm(r),this._applyMultiValueStyleToElement(s,n)}applyStyleToElements(n,r=[]){let o=this.layoutConfig.disableVendorPrefixes?n:xm(n);r.forEach(s=>{this._applyMultiValueStyleToElement(o,s)})}getFlowDirection(n){let r="flex-direction",o=this.lookupStyle(n,r),s=this.lookupInlineStyle(n,r)||Dn(this._platformId)&&this._serverModuleLoaded?o:"";return[o||"row",s]}hasWrap(n){return this.lookupStyle(n,"flex-wrap")==="wrap"}lookupAttributeValue(n,r){return n.getAttribute(r)??""}lookupInlineStyle(n,r){return wn(this._platformId)?n.style.getPropertyValue(r):vk(n,r)}lookupStyle(n,r,o=!1){let s="";return n&&((s=this.lookupInlineStyle(n,r))||(wn(this._platformId)?o||(s=getComputedStyle(n).getPropertyValue(r)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(n,r)))),s?s.trim():""}_applyMultiValueStyleToElement(n,r){Object.keys(n).sort().forEach(o=>{let s=n[o],a=Array.isArray(s)?s:[s];a.sort();for(let l of a)l=l?l+"":"",wn(this._platformId)||!this._serverModuleLoaded?wn(this._platformId)?r.style.setProperty(o,l):_k(r,o,l):this._serverStylesheet.addStyleToElement(r,o,l)})}};e.\u0275fac=function(r){return new(r||e)(p(yk),p(Jo),p(qe),p(Zn))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Dk=(()=>{let e=class e{constructor(n,r,o,s){this._zone=n,this._platformId=r,this._document=o,this._nonce=s,this.source=new cn(new Ui(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let n=[];return this.registry.forEach((r,o)=>{r.matches&&n.push(o)}),n}isActive(n){return this.registry.get(n)?.matches??this.registerQuery(n).some(o=>o.matches)}observe(n,r=!1){if(n&&n.length){let o=this._observable$.pipe(Te(a=>r?n.indexOf(a.mediaQuery)>-1:!0)),s=new G(a=>{let l=this.registerQuery(n);if(l.length){let c=l.pop();l.forEach(d=>{a.next(d)}),this.source.next(c)}a.complete()});return rt(s,o)}return this._observable$}registerQuery(n){let r=Array.isArray(n)?n:[n],o=[];return Ek(r,this._document,this._nonce),r.forEach(s=>{let a=c=>{this._zone.run(()=>this.source.next(new Ui(c.matches,s)))},l=this.registry.get(s);l||(l=this.buildMQL(s),l.addListener(a),this.pendingRemoveListenerFns.push(()=>l.removeListener(a)),this.registry.set(s,l)),l.matches&&o.push(new Ui(!0,s))}),o}ngOnDestroy(){let n;for(;n=this.pendingRemoveListenerFns.pop();)n()}buildMQL(n){return Ik(n,wn(this._platformId))}};e.\u0275fac=function(r){return new(r||e)(p(S),p(qe),p(j),p(wi,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),N0={};Sk=/(\.|-|_)/g;Ok=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}];P0="(orientation: portrait) and (max-width: 599.98px)",L0="(orientation: landscape) and (max-width: 959.98px)",j0="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",V0="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",B0="(orientation: portrait) and (min-width: 840px)",H0="(orientation: landscape) and (min-width: 1280px)",Mn={HANDSET:`${P0}, ${L0}`,TABLET:`${j0} , ${V0}`,WEB:`${B0}, ${H0} `,HANDSET_PORTRAIT:`${P0}`,TABLET_PORTRAIT:`${j0} `,WEB_PORTRAIT:`${B0}`,HANDSET_LANDSCAPE:`${L0}`,TABLET_LANDSCAPE:`${V0}`,WEB_LANDSCAPE:`${H0}`},Rk=[{alias:"handset",priority:2e3,mediaQuery:Mn.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Mn.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Mn.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Mn.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Mn.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Mn.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Mn.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Mn.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Mn.WEB_PORTRAIT,overlapping:!0}];kk=new D("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=C(yc),e=C(Zn),i=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r])),n=(e.disableDefaultBps?[]:Ok).concat(e.addOrientationBps?Rk:[]);return Fk(n,i)}});G0=(()=>{let e=class e{constructor(n){this.findByMap=new Map,this.items=[...n].sort(wk)}findByAlias(n){return n?this.findWithPredicate(n,r=>r.alias===n):null}findByQuery(n){return this.findWithPredicate(n,r=>r.mediaQuery===n)}get overlappings(){return this.items.filter(n=>n.overlapping)}get aliases(){return this.items.map(n=>n.alias)}get suffixes(){return this.items.map(n=>n?.suffix??"")}findWithPredicate(n,r){let o=this.findByMap.get(n);return o||(o=this.items.find(r)??null,this.findByMap.set(n,o)),o??null}};e.\u0275fac=function(r){return new(r||e)(p(kk))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();jr="print",Nk={alias:jr,mediaQuery:jr,priority:1e3},Pk=(()=>{let e=class e{constructor(n,r,o){this.breakpoints=n,this.layoutConfig=r,this._document=o,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new wm,this.deactivations=[]}withPrintQuery(n){return[...n,jr]}isPrintEvent(n){return n.mediaQuery.startsWith(jr)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(n=>this.breakpoints.findByAlias(n)).filter(n=>n!==null)}getEventBreakpoints({mediaQuery:n}){let r=this.breakpoints.findByQuery(n);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(Xo)}updateEvent(n){let r=this.breakpoints.findByQuery(n.mediaQuery);return this.isPrintEvent(n)&&(r=this.getEventBreakpoints(n)[0],n.mediaQuery=r?.mediaQuery??""),z0(n,r)}registerBeforeAfterPrintHooks(n){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(n,this.getEventBreakpoints(new Ui(!0,jr))),n.updateStyles())},o=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(n),n.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",o),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(o)}interceptEvents(n){return r=>{if(this.isPrintEvent(r)){r.matches&&!this.isPrinting?(this.startPrinting(n,this.getEventBreakpoints(r)),n.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(n),n.updateStyles());return}this.collectActivations(n,r)}}blockPropagation(){return n=>!(this.isPrinting||this.isPrintEvent(n))}startPrinting(n,r){this.isPrinting=!0,this.formerActivations=n.activatedBreakpoints,n.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(n){n.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(n,r){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!r.matches){let o=this.breakpoints.findByQuery(r.mediaQuery);if(o){let s=this.formerActivations&&this.formerActivations.includes(o),a=!this.formerActivations&&n.activatedBreakpoints.includes(o);(s||a)&&(this.deactivations.push(o),this.deactivations.sort(Xo))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(n=>this._document.defaultView.removeEventListener("beforeprint",n)),this.afterPrintEventListeners.forEach(n=>this._document.defaultView.removeEventListener("afterprint",n)))}};e.\u0275fac=function(r){return new(r||e)(p(G0),p(Zn),p(j))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wm=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(Nk),e.sort(Xo),e.forEach(i=>this.addBreakpoint(i)),this.printBreakpoints}addBreakpoint(e){e&&this.printBreakpoints.find(n=>n.mediaQuery===e.mediaQuery)===void 0&&(this.printBreakpoints=Lk(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}};Em=(()=>{let e=class e{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(n){this._activatedBreakpoints=[...n]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(n){this._useFallbacks=n}constructor(n,r,o){this.matchMedia=n,this.breakpoints=r,this.hook=o,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new R,this.observeActivations()}onMediaChange(n){let r=this.findByQuery(n.mediaQuery);if(r){n=z0(n,r);let o=this.activatedBreakpoints.indexOf(r);n.matches&&o===-1?(this._activatedBreakpoints.push(r),this._activatedBreakpoints.sort(Xo),this.updateStyles()):!n.matches&&o!==-1&&(this._activatedBreakpoints.splice(o,1),this._activatedBreakpoints.sort(Xo),this.updateStyles())}}init(n,r,o,s,a=[]){U0(this.updateMap,n,r,o),U0(this.clearMap,n,r,s),this.buildElementKeyMap(n,r),this.watchExtraTriggers(n,r,a)}getValue(n,r,o){let s=this.elementMap.get(n);if(s){let a=o!==void 0?s.get(o):this.getActivatedValues(s,r);if(a)return a.get(r)}}hasValue(n,r){let o=this.elementMap.get(n);if(o){let s=this.getActivatedValues(o,r);if(s)return s.get(r)!==void 0||!1}return!1}setValue(n,r,o,s){let a=this.elementMap.get(n);if(!a)a=new Map().set(s,new Map().set(r,o)),this.elementMap.set(n,a);else{let c=(a.get(s)??new Map).set(r,o);a.set(s,c),this.elementMap.set(n,a)}let l=this.getValue(n,r);l!==void 0&&this.updateElement(n,r,l)}trackValue(n,r){return this.subject.asObservable().pipe(Te(o=>o.element===n&&o.key===r))}updateStyles(){this.elementMap.forEach((n,r)=>{let o=new Set(this.elementKeyMap.get(r)),s=this.getActivatedValues(n);s&&s.forEach((a,l)=>{this.updateElement(r,l,a),o.delete(l)}),o.forEach(a=>{if(s=this.getActivatedValues(n,a),s){let l=s.get(a);this.updateElement(r,a,l)}else this.clearElement(r,a)})})}clearElement(n,r){let o=this.clearMap.get(n);if(o){let s=o.get(r);s&&(s(),this.subject.next({element:n,key:r,value:""}))}}updateElement(n,r,o){let s=this.updateMap.get(n);if(s){let a=s.get(r);a&&(a(o),this.subject.next({element:n,key:r,value:o}))}}releaseElement(n){let r=this.watcherMap.get(n);r&&(r.forEach(s=>s.unsubscribe()),this.watcherMap.delete(n));let o=this.elementMap.get(n);o&&(o.forEach((s,a)=>o.delete(a)),this.elementMap.delete(n))}triggerUpdate(n,r){let o=this.elementMap.get(n);if(o){let s=this.getActivatedValues(o,r);s&&(r?this.updateElement(n,r,s.get(r)):s.forEach((a,l)=>this.updateElement(n,l,a)))}}buildElementKeyMap(n,r){let o=this.elementKeyMap.get(n);o||(o=new Set,this.elementKeyMap.set(n,o)),o.add(r)}watchExtraTriggers(n,r,o){if(o&&o.length){let s=this.watcherMap.get(n);if(s||(s=new Map,this.watcherMap.set(n,s)),!s.get(r)){let l=rt(...o).subscribe(()=>{let c=this.getValue(n,r);this.updateElement(n,r,c)});s.set(r,l)}}}findByQuery(n){return this.breakpoints.findByQuery(n)}getActivatedValues(n,r){for(let s=0;s<this.activatedBreakpoints.length;s++){let a=this.activatedBreakpoints[s],l=n.get(a.alias);if(l&&(r===void 0||l.has(r)&&l.get(r)!=null))return l}if(!this._useFallbacks)return;let o=n.get("");return r===void 0||o&&o.has(r)?o:void 0}observeActivations(){let n=this.breakpoints.items.map(r=>r.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(n)).pipe(Wt(this.hook.interceptEvents(this)),Te(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}};e.\u0275fac=function(r){return new(r||e)(p(Dk),p(G0),p(Pk))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();vc=(()=>{let e=class e{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(n){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,n,this.marshal.activatedAlias)}constructor(n,r,o,s){this.elementRef=n,this.styleBuilder=r,this.styler=o,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new R,this.styleCache=new Map}ngOnChanges(n){Object.keys(n).forEach(r=>{if(this.inputs.indexOf(r)!==-1){let o=r.split(".").slice(1).join("."),s=n[r].currentValue;this.setValue(s,o)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(n=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),n)}addStyles(n,r){let o=this.styleBuilder,s=o.shouldCache,a=this.styleCache.get(n);(!a||!s)&&(a=o.buildStyles(n,r),s&&this.styleCache.set(n,a)),this.mru=M({},a),this.applyStyleToElement(a),o.sideEffect(n,a,r)}clearStyles(){Object.keys(this.mru).forEach(n=>{this.mru[n]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(n,r=!1){if(n){let[o,s]=this.styler.getFlowDirection(n);if(!s&&r){let a=F0(o),l=[n];this.styler.applyStyleToElements(a,l)}return o.trim()}return"row"}hasWrap(n){return this.styler.hasWrap(n)}applyStyleToElement(n,r,o=this.nativeElement){this.styler.applyStyleToElement(o,n,r)}setValue(n,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,n,r)}updateWithValue(n){this.currentValue!==n&&(this.addStyles(n),this.currentValue=n)}};e.\u0275fac=function(r){return new(r||e)(b(F),b(Vr),b(Dm),b(Em))},e.\u0275dir=Y({type:e,features:[Je]});let t=e;return t})();});var Bk,Hk,W0,Cm,_c=g(()=>{"use strict";A();zi();zi();be();be();Bk=(()=>{let e=class e extends vc{set klass(n){this.ngClassInstance.klass=n,this.setValue(n,"")}constructor(n,r,o,s,a){super(n,null,r,o),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new Un(n,s)),this.init(),this.setValue("","")}updateWithValue(n){this.ngClassInstance.ngClass=n,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}};e.\u0275fac=function(r){return new(r||e)(b(F),b(Dm),b(Em),b(Bn),b(Un,10))},e.\u0275dir=Y({type:e,inputs:{klass:[v.None,"class","klass"]},features:[Ue]});let t=e;return t})(),Hk=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],W0=(()=>{let e=class e extends Bk{constructor(){super(...arguments),this.inputs=Hk}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=xi(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[Ue]});let t=e;return t})();Cm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[Br]});let t=e;return t})();});var Im,Sm=g(()=>{"use strict";Sn();A();zi();Im=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[Br,sn]});let t=e;return t})();});var Am,Mm=g(()=>{"use strict";A();zi();Am=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[Br]});let t=e;return t})();});var q0,C5,Y0=g(()=>{"use strict";zi();zi();_c();_c();Sm();Sm();Mm();Mm();be();A();A();q0=(()=>{let e=class e{static withConfig(n,r=[]){return{ngModule:e,providers:n.serverLoaded?[{provide:Zn,useValue:M(M({},bc),n)},{provide:yc,useValue:r,multi:!0},{provide:Jo,useValue:!0}]:[{provide:Zn,useValue:M(M({},bc),n)},{provide:yc,useValue:r,multi:!0}]}}constructor(n,r){Dn(r)&&!n&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}};e.\u0275fac=function(r){return new(r||e)(p(Jo),p(qe))},e.\u0275mod=B({type:e}),e.\u0275inj=V({imports:[Im,Cm,Am,Im,Cm,Am]});let t=e;return t})();C5=new hn("17.0.1");});function zk(t,e){if(t&1&&(N(0,"mat-option",12),ct(1),U()),t&2){let i=e.$implicit,n=ge();ne("value",i),O(),Ii(" ",n.translations.voiceList[i]," ")}}function $k(t,e){if(t&1&&(N(0,"mat-icon"),ct(1),U()),t&2){let i=ge();O(),Ii(" ",i.isPlaying?"stop":"volume_up"," ")}}function Gk(t,e){t&1&&pe(0,"mat-spinner",13),t&2&&ne("diameter",20)}var xc,Tm=g(()=>{"use strict";be();A();Ho();Px();zx();Gx();je();Yx();Qx();mm();vm();gc();Y0();A();be();Ho();mm();gc();vm();Vi();_c();xc=(()=>{var e;let i=class i{constructor(){ns(this,e,void 0);this.maxCharLength=1e3,this.langAttributeKey="lang",this.defaultLanguage="lv",this.voiceList=["sandra4","lv-LV-general"],this.selectedVoice=this.voiceList[0],Vm(this,e,C($x))}get translations(){return sc[this.language]?sc[this.language]:sc[this.defaultLanguage]}get hasOverflow(){let r=document.querySelector("textarea");return r?.clientHeight<r?.scrollHeight}ngOnInit(){this.watchHtmlLangAttributeChanges()}playText(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let r=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;Hr(this,e).play(r,this.selectedVoice,this.xApiKey).pipe(Rn(()=>{this.isLoading=!1})).subscribe({next:o=>{let s=URL.createObjectURL(o);this.audio=new Audio(s),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(s),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.isPlaying=!1)}watchHtmlLangAttributeChanges(){let r=this.getHtmlLangAttribute();!this.language&&r!==this.defaultLanguage&&(this.language=r);let o=c=>{for(let d of c)if(d.type==="attributes"&&d.attributeName===this.langAttributeKey){let u=this.getHtmlLangAttribute();this.language=u}},s=new MutationObserver(o),a=document.querySelector("html"),l={attributes:!0,attributeFilter:[this.langAttributeKey]};s.observe(a,l)}getHtmlLangAttribute(){return document.querySelector("html").getAttribute(this.langAttributeKey).split("-")[0]}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=Ce({type:i,selectors:[["lib-text-to-speech"]],inputs:{xApiKey:"xApiKey",language:"language",maxCharLength:"maxCharLength"},standalone:!0,features:[Ae],decls:15,vars:15,consts:[[1,"text-to-speech-wrapper",3,"ngClass.lt-md"],["appearance","outline","color","accent"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[1,"text-to-speech-textarea-wrapper"],[1,"text-to-speech-textarea",3,"ngModelChange","ngModel","placeholder"],[1,"text-to-speech-characters"],[1,"text-to-speech-actions"],[3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[3,"diameter",4,"ngIf"],[3,"value"],[3,"diameter"]],template:function(o,s){if(o&1&&(N(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),ct(3),U(),N(4,"mat-select",2),$a("valueChange",function(l){return gf(s.selectedVoice,l)||(s.selectedVoice=l),l}),fe(5,zk,2,2,"mat-option",3),U()(),N(6,"div",4)(7,"textarea",5),$a("ngModelChange",function(l){return gf(s.text,l)||(s.text=l),l}),U(),N(8,"div",6),ct(9),U()(),N(10,"div",7)(11,"div",8)(12,"button",9),Oe("click",function(){return s.playText()}),fe(13,$k,2,1,"mat-icon",10)(14,Gk,1,1,"mat-spinner",11),U()()()()),o&2){let a;ne("ngClass.lt-md","mobile"),O(3),tn(s.translations.selectVoice),O(),za("value",s.selectedVoice),O(),ne("ngForOf",s.voiceList),O(2),za("ngModel",s.text),ne("placeholder",s.translations.placeholder),O(),ue("text-overflow",s.hasOverflow),O(),pf(" ",(a=s.text==null?null:s.text.length)!==null&&a!==void 0?a:0,"/",s.maxCharLength," "),O(2),ne("matTooltip",s.text?"":s.translations.playDisabled),O(),ne("matTooltip",s.isPlaying?s.translations.stop:s.translations.play)("disabled",!s.text||s.isLoading),O(),ne("ngIf",!s.isLoading),O(),ne("ngIf",s.isLoading)}},dependencies:[It,Sv,Av,Nx,Ux,nx,Vl,Q_,Ah,qx,h0,f0,pc,C0,mc,M0,A0,ic,q0,W0],styles:[".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-25px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"]});let t=i;return t})()});var Q0,K0=g(()=>{"use strict";be();Tm();A();Q0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=Ce({type:e,selectors:[["app-root"]],standalone:!0,features:[et([]),Ae],decls:1,vars:0,template:function(r,o){r&1&&pe(0,"lib-text-to-speech")},dependencies:[It,xc],encapsulation:2});let t=e;return t})()});var Wk=nw(Z0=>{cl();I_();A_();K0();Tm();is(Z0,null,function*(){let t=yield Gv(mh),e=S_(xc,{injector:t.injector});customElements.define("tilde-text-to-speech",e)});$v(Q0,mh).catch(t=>console.error(t))});export default Wk();